lino 25.8.0__py3-none-any.whl → 25.8.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
lino/__init__.py CHANGED
@@ -31,7 +31,7 @@ from django import VERSION
31
31
  from django.apps import AppConfig
32
32
  from django.conf import settings
33
33
  import warnings
34
- __version__ = '25.8.0'
34
+ __version__ = '25.8.1'
35
35
 
36
36
  # import setuptools # avoid UserWarning "Distutils was imported before Setuptools"?
37
37
 
@@ -127,5 +127,8 @@ class Commentable(MemoReferrable):
127
127
  # def add_comments_filter(cls, qs, ar):
128
128
  # return qs
129
129
 
130
+ def get_comment_group(self):
131
+ pass
132
+
130
133
  def on_create_comment(self, comment, ar):
131
134
  comment.private = dd.plugins.comments.private_default
@@ -287,6 +287,10 @@ class Comment(
287
287
  if self.owner_id:
288
288
  self.owner.on_create_comment(self, ar)
289
289
 
290
+ def get_default_group(self):
291
+ if self.owner_id:
292
+ return self.owner.get_comment_group()
293
+
290
294
  def after_ui_save(self, ar, cw):
291
295
  super().after_ui_save(ar, cw)
292
296
  if self.owner is not None:
@@ -72,7 +72,7 @@ class CommentDetail(dd.DetailLayout):
72
72
  )
73
73
 
74
74
  more2 = """
75
- id user
75
+ id user group
76
76
  owner_type owner_id
77
77
  created modified
78
78
  comment_type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lino
3
- Version: 25.8.0
3
+ Version: 25.8.1
4
4
  Summary: A framework for writing desktop-like web applications using Django and ExtJS or React
5
5
  Project-URL: Homepage, https://www.lino-framework.org
6
6
  Project-URL: Repository, https://gitlab.com/lino-framework/lino
@@ -1,6 +1,6 @@
1
1
  lino/.cvsignore,sha256=1vrrWoP-WD8hPfCszHHIiJEi8KUMRCt5WvoKB9TSB1k,28
2
2
  lino/SciTEDirectory.properties,sha256=rCYi_e-6h8Yx5DwXhAa6MBPlVINcl6Vv9BQDYZV2_go,28
3
- lino/__init__.py,sha256=3LpwRlkMk6xt6IDAzhjZGE8PgM2L4Ypq6yP6kuhqqJs,6176
3
+ lino/__init__.py,sha256=SAUG9WJQxlJPY6VB5ga-HE3k5vefql6UsZTQk7kre7E,6176
4
4
  lino/ad.py,sha256=AQ-vJ4scac1mx3xegXezxnxyOQpV-a0q3VFMJSDbj2s,142
5
5
  lino/apps.py,sha256=ECq-dPARDkuhngwNrcipse3b4Irj70HxJs44uWEZFc4,27
6
6
  lino/hello.py,sha256=7-PJg7PnEiznyETqGjOwXcKh8rda0qLetpbS2gvRYy0,532
@@ -174,10 +174,10 @@ lino/modlib/checkdata/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-
174
174
  lino/modlib/checkdata/management/commands/checkdata.py,sha256=z-mvg8R0G7-BiWcyeyeMUoaLEhi9n58lockOtPdmhCg,1962
175
175
  lino/modlib/comments/__init__.py,sha256=XoRLIB-pSsz4EfA2FhsbKQ27fsW_AAvS7SyA0_vhHv8,1678
176
176
  lino/modlib/comments/choicelists.py,sha256=SIA7P_KwtaayqOJxCkwyZouK0Z23-2v4ZFV9a0Zexnk,3314
177
- lino/modlib/comments/mixins.py,sha256=pDlWCsBmIDlGM5EC7znciY5-GytApn6_KuUelWfp1Lo,4370
178
- lino/modlib/comments/models.py,sha256=adzmBA5MBufTcgEIqAKBowz57yr6qoWkBtVd88DHb5M,15980
177
+ lino/modlib/comments/mixins.py,sha256=834JYMsK7qnnqSsQDNSkuHqLw8p4Cu2O7GW3qmVfU5I,4417
178
+ lino/modlib/comments/models.py,sha256=t_uQeElsbl8X-oaDxwGEIOQZhvvlbgJlImgD7nLIq2s,16090
179
179
  lino/modlib/comments/roles.py,sha256=z3gctvlTa_5PAs-D4pounyzNyuEc31jTFq9g33r6Z1w,751
180
- lino/modlib/comments/ui.py,sha256=Ttl-Fgx6AzPbeLA0DWE8xPbcHpAoJC5A4s_7QWNCaI8,9909
180
+ lino/modlib/comments/ui.py,sha256=u46TU1Qn2jz3CN-pCmhV8D2HXezEhGGSTZjuTJ4GWME,9915
181
181
  lino/modlib/comments/config/comments/comments.js,sha256=7oAnNyx_MKM1iWPu-QSp6iKfnOVdgq7EciQPpxTvYU8,242
182
182
  lino/modlib/comments/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
183
  lino/modlib/comments/fixtures/demo2.py,sha256=DSIqNtGOQlwbg8k43nE2ax1x-H_ifRsozvw6LZM330Y,25407
@@ -4636,8 +4636,8 @@ lino/utils/xml.py,sha256=EGDnO1UaREst9fS7KTESdbHnrrVCwKbRQdvut6B6GmQ,1612
4636
4636
  lino/utils/mldbc/__init__.py,sha256=QqWRlzeXaOmFfbCk-vTY3SZMn1-FCf67XnpZdd_Nim0,1134
4637
4637
  lino/utils/mldbc/fields.py,sha256=tAX8G5UKigr9c6g0F3ARIjZZtg406mdaZ--PWSbiH9E,2873
4638
4638
  lino/utils/mldbc/mixins.py,sha256=CkYe5jDa7xp9fJq_V8zcZf8ocxgIjUgHc9KZccvA_Yw,1945
4639
- lino-25.8.0.dist-info/METADATA,sha256=XrP3oqzSF9Mk0zoFtZXTU6oJ77YRw4e-pyhhX469cGg,42534
4640
- lino-25.8.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4641
- lino-25.8.0.dist-info/licenses/AUTHORS.rst,sha256=8VEm_G4HOmYEa4oi1nVoKKsdo4JanekEJCefWd2E8vk,981
4642
- lino-25.8.0.dist-info/licenses/COPYING,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
4643
- lino-25.8.0.dist-info/RECORD,,
4639
+ lino-25.8.1.dist-info/METADATA,sha256=S4pvxNfayUCSdOc2fhkj8KdaPN-WvT5pK8PuwHU3Fd4,42534
4640
+ lino-25.8.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4641
+ lino-25.8.1.dist-info/licenses/AUTHORS.rst,sha256=8VEm_G4HOmYEa4oi1nVoKKsdo4JanekEJCefWd2E8vk,981
4642
+ lino-25.8.1.dist-info/licenses/COPYING,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
4643
+ lino-25.8.1.dist-info/RECORD,,
File without changes