commentail 1.3.1__tar.gz → 1.3.2__tar.gz

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.
Files changed (273) hide show
  1. {commentail-1.3.1 → commentail-1.3.2}/CHANGELOG.md +7 -0
  2. {commentail-1.3.1/commentail.egg-info → commentail-1.3.2}/PKG-INFO +8 -7
  3. {commentail-1.3.1 → commentail-1.3.2}/README.md +7 -6
  4. {commentail-1.3.1 → commentail-1.3.2}/README.ru.md +7 -6
  5. {commentail-1.3.1 → commentail-1.3.2}/commentail/admission.py +2 -1
  6. {commentail-1.3.1 → commentail-1.3.2}/commentail/mail_access.py +2 -1
  7. commentail-1.3.2/commentail/page_access.py +19 -0
  8. {commentail-1.3.1 → commentail-1.3.2}/commentail/recent.py +9 -6
  9. {commentail-1.3.1 → commentail-1.3.2/commentail.egg-info}/PKG-INFO +8 -7
  10. {commentail-1.3.1 → commentail-1.3.2}/commentail.egg-info/SOURCES.txt +4 -0
  11. commentail-1.3.2/docs/releases/1.3.2.md +54 -0
  12. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Changelog.md +7 -0
  13. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Configuration.md +1 -1
  14. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Deployment.md +43 -1
  15. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Home.md +5 -4
  16. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Installation.md +16 -4
  17. commentail-1.3.2/docs/wiki/Release-1.3.2.md +54 -0
  18. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Security-and-privacy.md +8 -1
  19. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/_Sidebar.md +1 -0
  20. {commentail-1.3.1 → commentail-1.3.2}/pyproject.toml +1 -1
  21. commentail-1.3.2/tests/test_translated_site_roots.py +222 -0
  22. {commentail-1.3.1 → commentail-1.3.2}/LICENSE +0 -0
  23. {commentail-1.3.1 → commentail-1.3.2}/MANIFEST.in +0 -0
  24. {commentail-1.3.1 → commentail-1.3.2}/commentail/__init__.py +0 -0
  25. {commentail-1.3.1 → commentail-1.3.2}/commentail/admin_queries.py +0 -0
  26. {commentail-1.3.1 → commentail-1.3.2}/commentail/admin_settings.py +0 -0
  27. {commentail-1.3.1 → commentail-1.3.2}/commentail/admin_urls.py +0 -0
  28. {commentail-1.3.1 → commentail-1.3.2}/commentail/admin_views.py +0 -0
  29. {commentail-1.3.1 → commentail-1.3.2}/commentail/antispam.py +0 -0
  30. {commentail-1.3.1 → commentail-1.3.2}/commentail/apps.py +0 -0
  31. {commentail-1.3.1 → commentail-1.3.2}/commentail/assets.py +0 -0
  32. {commentail-1.3.1 → commentail-1.3.2}/commentail/author_access.py +0 -0
  33. {commentail-1.3.1 → commentail-1.3.2}/commentail/avatars.py +0 -0
  34. {commentail-1.3.1 → commentail-1.3.2}/commentail/background.py +0 -0
  35. {commentail-1.3.1 → commentail-1.3.2}/commentail/captcha_providers.py +0 -0
  36. {commentail-1.3.1 → commentail-1.3.2}/commentail/checks.py +0 -0
  37. {commentail-1.3.1 → commentail-1.3.2}/commentail/config.py +0 -0
  38. {commentail-1.3.1 → commentail-1.3.2}/commentail/content_checks.py +0 -0
  39. {commentail-1.3.1 → commentail-1.3.2}/commentail/detection.py +0 -0
  40. {commentail-1.3.1 → commentail-1.3.2}/commentail/drafts.py +0 -0
  41. {commentail-1.3.1 → commentail-1.3.2}/commentail/fingerprints.py +0 -0
  42. {commentail-1.3.1 → commentail-1.3.2}/commentail/forms.py +0 -0
  43. {commentail-1.3.1 → commentail-1.3.2}/commentail/group_permissions.py +0 -0
  44. {commentail-1.3.1 → commentail-1.3.2}/commentail/limits.py +0 -0
  45. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/de/LC_MESSAGES/django.mo +0 -0
  46. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/de/LC_MESSAGES/django.po +0 -0
  47. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/es/LC_MESSAGES/django.mo +0 -0
  48. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/es/LC_MESSAGES/django.po +0 -0
  49. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/fr/LC_MESSAGES/django.mo +0 -0
  50. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/fr/LC_MESSAGES/django.po +0 -0
  51. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
  52. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/pt_BR/LC_MESSAGES/django.po +0 -0
  53. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/ru/LC_MESSAGES/django.mo +0 -0
  54. {commentail-1.3.1 → commentail-1.3.2}/commentail/locale/ru/LC_MESSAGES/django.po +0 -0
  55. {commentail-1.3.1 → commentail-1.3.2}/commentail/logging.py +0 -0
  56. {commentail-1.3.1 → commentail-1.3.2}/commentail/management/__init__.py +0 -0
  57. {commentail-1.3.1 → commentail-1.3.2}/commentail/management/commands/__init__.py +0 -0
  58. {commentail-1.3.1 → commentail-1.3.2}/commentail/management/commands/process_commentail.py +0 -0
  59. {commentail-1.3.1 → commentail-1.3.2}/commentail/middleware.py +0 -0
  60. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0001_initial.py +0 -0
  61. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0002_sitegrouppermission_hide_sitegrouppermission_view.py +0 -0
  62. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0003_actiontoken_captchachallenge_guestgrant.py +0 -0
  63. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0004_submissionrecord.py +0 -0
  64. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0005_rateevent.py +0 -0
  65. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0006_alter_comment_guest_name_and_more.py +0 -0
  66. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0007_actiontoken_nonce_replysubscription_mailjob.py +0 -0
  67. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0008_mailjob_revision.py +0 -0
  68. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0009_formticket.py +0 -0
  69. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0010_captchachallenge_backend_and_more.py +0 -0
  70. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0011_discussion_content_type_discussion_object_id_and_more.py +0 -0
  71. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0012_formticket_draft.py +0 -0
  72. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0013_sitecommentsettings_email_enabled.py +0 -0
  73. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0014_reading_indexes.py +0 -0
  74. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0015_sitecommentsettings_highlight_staff.py +0 -0
  75. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0016_guest_antispam.py +0 -0
  76. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0017_revision_spam_signals.py +0 -0
  77. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/0018_private_fingerprints.py +0 -0
  78. {commentail-1.3.1 → commentail-1.3.2}/commentail/migrations/__init__.py +0 -0
  79. {commentail-1.3.1 → commentail-1.3.2}/commentail/models.py +0 -0
  80. {commentail-1.3.1 → commentail-1.3.2}/commentail/objects.py +0 -0
  81. {commentail-1.3.1 → commentail-1.3.2}/commentail/outbox.py +0 -0
  82. {commentail-1.3.1 → commentail-1.3.2}/commentail/page_integration.py +0 -0
  83. {commentail-1.3.1 → commentail-1.3.2}/commentail/panels.py +0 -0
  84. {commentail-1.3.1 → commentail-1.3.2}/commentail/permissions.py +0 -0
  85. {commentail-1.3.1 → commentail-1.3.2}/commentail/policies.py +0 -0
  86. {commentail-1.3.1 → commentail-1.3.2}/commentail/presentation.py +0 -0
  87. {commentail-1.3.1 → commentail-1.3.2}/commentail/public.py +0 -0
  88. {commentail-1.3.1 → commentail-1.3.2}/commentail/reading.py +0 -0
  89. {commentail-1.3.1 → commentail-1.3.2}/commentail/rules_csv.py +0 -0
  90. {commentail-1.3.1 → commentail-1.3.2}/commentail/security.py +0 -0
  91. {commentail-1.3.1 → commentail-1.3.2}/commentail/services.py +0 -0
  92. {commentail-1.3.1 → commentail-1.3.2}/commentail/signals.py +0 -0
  93. {commentail-1.3.1 → commentail-1.3.2}/commentail/static/commentail/admin.css +0 -0
  94. {commentail-1.3.1 → commentail-1.3.2}/commentail/static/commentail/admin.js +0 -0
  95. {commentail-1.3.1 → commentail-1.3.2}/commentail/static/commentail/commentail.css +0 -0
  96. {commentail-1.3.1 → commentail-1.3.2}/commentail/static/commentail/commentail.js +0 -0
  97. {commentail-1.3.1 → commentail-1.3.2}/commentail/structured.py +0 -0
  98. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/action.html +0 -0
  99. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/action_error.html +0 -0
  100. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/base.html +0 -0
  101. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/confirm_delete.html +0 -0
  102. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/detail.html +0 -0
  103. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/field.html +0 -0
  104. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/form.html +0 -0
  105. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/group_permission_row.html +0 -0
  106. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/group_permissions.html +0 -0
  107. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/heading.html +0 -0
  108. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/list.html +0 -0
  109. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/mail.html +0 -0
  110. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/management.html +0 -0
  111. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/objects.html +0 -0
  112. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/page_panel.html +0 -0
  113. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/rules.html +0 -0
  114. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/rules_import.html +0 -0
  115. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/admin/selection.html +0 -0
  116. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/author.html +0 -0
  117. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/avatar.html +0 -0
  118. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/base.html +0 -0
  119. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/block.html +0 -0
  120. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/captcha.html +0 -0
  121. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/comment.html +0 -0
  122. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/edit-form.html +0 -0
  123. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/base.html +0 -0
  124. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/button.html +0 -0
  125. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/confirm.html +0 -0
  126. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/confirm.txt +0 -0
  127. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/confirm_subject.txt +0 -0
  128. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/edit.html +0 -0
  129. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/edit.txt +0 -0
  130. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/edit_subject.txt +0 -0
  131. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/published.html +0 -0
  132. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/published.txt +0 -0
  133. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/published_subject.txt +0 -0
  134. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/rejected.html +0 -0
  135. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/rejected.txt +0 -0
  136. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/rejected_subject.txt +0 -0
  137. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/reply.html +0 -0
  138. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/reply.txt +0 -0
  139. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/emails/reply_subject.txt +0 -0
  140. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/form.html +0 -0
  141. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/provider-captcha.html +0 -0
  142. {commentail-1.3.1 → commentail-1.3.2}/commentail/templates/commentail/replies.html +0 -0
  143. {commentail-1.3.1 → commentail-1.3.2}/commentail/templatetags/__init__.py +0 -0
  144. {commentail-1.3.1 → commentail-1.3.2}/commentail/templatetags/commentail_admin.py +0 -0
  145. {commentail-1.3.1 → commentail-1.3.2}/commentail/templatetags/commentail_tags.py +0 -0
  146. {commentail-1.3.1 → commentail-1.3.2}/commentail/text.py +0 -0
  147. {commentail-1.3.1 → commentail-1.3.2}/commentail/urls.py +0 -0
  148. {commentail-1.3.1 → commentail-1.3.2}/commentail/validation.py +0 -0
  149. {commentail-1.3.1 → commentail-1.3.2}/commentail/views.py +0 -0
  150. {commentail-1.3.1 → commentail-1.3.2}/commentail/wagtail_hooks.py +0 -0
  151. {commentail-1.3.1 → commentail-1.3.2}/commentail/widget.py +0 -0
  152. {commentail-1.3.1 → commentail-1.3.2}/commentail.egg-info/dependency_links.txt +0 -0
  153. {commentail-1.3.1 → commentail-1.3.2}/commentail.egg-info/requires.txt +0 -0
  154. {commentail-1.3.1 → commentail-1.3.2}/commentail.egg-info/top_level.txt +0 -0
  155. {commentail-1.3.1 → commentail-1.3.2}/docs/assets/commentail-preview.png +0 -0
  156. {commentail-1.3.1 → commentail-1.3.2}/docs/assets/support-qr.png +0 -0
  157. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/0.1.0.md +0 -0
  158. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/0.1.1.md +0 -0
  159. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/0.2.0.md +0 -0
  160. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/1.0.0.md +0 -0
  161. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/1.1.0.md +0 -0
  162. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/1.2.0.md +0 -0
  163. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/1.3.0.md +0 -0
  164. {commentail-1.3.1 → commentail-1.3.2}/docs/releases/1.3.1.md +0 -0
  165. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Callbacks.md +0 -0
  166. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Email-and-worker.md +0 -0
  167. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Example-and-testing.md +0 -0
  168. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Guest-comments.md +0 -0
  169. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Moderation.md +0 -0
  170. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Object-adapters.md +0 -0
  171. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Performance.md +0 -0
  172. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Recent-comments.md +0 -0
  173. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-0.1.0.md +0 -0
  174. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-0.1.1.md +0 -0
  175. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-0.2.0.md +0 -0
  176. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-1.0.0.md +0 -0
  177. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-1.1.0.md +0 -0
  178. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-1.2.0.md +0 -0
  179. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-1.3.0.md +0 -0
  180. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Release-1.3.1.md +0 -0
  181. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Replies-and-editing.md +0 -0
  182. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Roadmap.md +0 -0
  183. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Rules-and-CSV.md +0 -0
  184. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Stability.md +0 -0
  185. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Structured-data.md +0 -0
  186. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Styling.md +0 -0
  187. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Support.md +0 -0
  188. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Template-contract.md +0 -0
  189. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Templates.md +0 -0
  190. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/Troubleshooting.md +0 -0
  191. {commentail-1.3.1 → commentail-1.3.2}/docs/wiki/_Footer.md +0 -0
  192. {commentail-1.3.1 → commentail-1.3.2}/example/README.md +0 -0
  193. {commentail-1.3.1 → commentail-1.3.2}/example/demo/__init__.py +0 -0
  194. {commentail-1.3.1 → commentail-1.3.2}/example/demo/settings.py +0 -0
  195. {commentail-1.3.1 → commentail-1.3.2}/example/demo/urls.py +0 -0
  196. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/__init__.py +0 -0
  197. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/comments.py +0 -0
  198. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/management/__init__.py +0 -0
  199. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/management/commands/__init__.py +0 -0
  200. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/management/commands/bootstrap_demo.py +0 -0
  201. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/migrations/0001_initial.py +0 -0
  202. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/migrations/0002_product.py +0 -0
  203. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/migrations/__init__.py +0 -0
  204. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/models.py +0 -0
  205. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/templates/demo_home/home_page.html +0 -0
  206. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/templates/demo_home/product.html +0 -0
  207. {commentail-1.3.1 → commentail-1.3.2}/example/demo_home/views.py +0 -0
  208. {commentail-1.3.1 → commentail-1.3.2}/example/manage.py +0 -0
  209. {commentail-1.3.1 → commentail-1.3.2}/requirements-test-common.txt +0 -0
  210. {commentail-1.3.1 → commentail-1.3.2}/requirements-test.txt +0 -0
  211. {commentail-1.3.1 → commentail-1.3.2}/setup.cfg +0 -0
  212. {commentail-1.3.1 → commentail-1.3.2}/tests/__init__.py +0 -0
  213. {commentail-1.3.1 → commentail-1.3.2}/tests/settings.py +0 -0
  214. {commentail-1.3.1 → commentail-1.3.2}/tests/targets/__init__.py +0 -0
  215. {commentail-1.3.1 → commentail-1.3.2}/tests/targets/apps.py +0 -0
  216. {commentail-1.3.1 → commentail-1.3.2}/tests/targets/migrations/0001_initial.py +0 -0
  217. {commentail-1.3.1 → commentail-1.3.2}/tests/targets/migrations/__init__.py +0 -0
  218. {commentail-1.3.1 → commentail-1.3.2}/tests/targets/models.py +0 -0
  219. {commentail-1.3.1 → commentail-1.3.2}/tests/templates/wagtailcore/page.html +0 -0
  220. {commentail-1.3.1 → commentail-1.3.2}/tests/test_actions.py +0 -0
  221. {commentail-1.3.1 → commentail-1.3.2}/tests/test_admin.js +0 -0
  222. {commentail-1.3.1 → commentail-1.3.2}/tests/test_admin_ui.py +0 -0
  223. {commentail-1.3.1 → commentail-1.3.2}/tests/test_admission.py +0 -0
  224. {commentail-1.3.1 → commentail-1.3.2}/tests/test_antispam.py +0 -0
  225. {commentail-1.3.1 → commentail-1.3.2}/tests/test_avatars.py +0 -0
  226. {commentail-1.3.1 → commentail-1.3.2}/tests/test_background.py +0 -0
  227. {commentail-1.3.1 → commentail-1.3.2}/tests/test_capability_access.py +0 -0
  228. {commentail-1.3.1 → commentail-1.3.2}/tests/test_captcha_backend.py +0 -0
  229. {commentail-1.3.1 → commentail-1.3.2}/tests/test_captcha_providers.py +0 -0
  230. {commentail-1.3.1 → commentail-1.3.2}/tests/test_cleanup.py +0 -0
  231. {commentail-1.3.1 → commentail-1.3.2}/tests/test_concurrency.py +0 -0
  232. {commentail-1.3.1 → commentail-1.3.2}/tests/test_content_checks.py +0 -0
  233. {commentail-1.3.1 → commentail-1.3.2}/tests/test_detection.py +0 -0
  234. {commentail-1.3.1 → commentail-1.3.2}/tests/test_email_backends.py +0 -0
  235. {commentail-1.3.1 → commentail-1.3.2}/tests/test_email_presentation.py +0 -0
  236. {commentail-1.3.1 → commentail-1.3.2}/tests/test_extension_contracts.py +0 -0
  237. {commentail-1.3.1 → commentail-1.3.2}/tests/test_fingerprints.py +0 -0
  238. {commentail-1.3.1 → commentail-1.3.2}/tests/test_form_issuance_limits.py +0 -0
  239. {commentail-1.3.1 → commentail-1.3.2}/tests/test_group_panel.py +0 -0
  240. {commentail-1.3.1 → commentail-1.3.2}/tests/test_inline_edit.py +0 -0
  241. {commentail-1.3.1 → commentail-1.3.2}/tests/test_input_boundaries.py +0 -0
  242. {commentail-1.3.1 → commentail-1.3.2}/tests/test_lifecycle.py +0 -0
  243. {commentail-1.3.1 → commentail-1.3.2}/tests/test_localization.py +0 -0
  244. {commentail-1.3.1 → commentail-1.3.2}/tests/test_mail_admin.py +0 -0
  245. {commentail-1.3.1 → commentail-1.3.2}/tests/test_name_limit.js +0 -0
  246. {commentail-1.3.1 → commentail-1.3.2}/tests/test_notifications.py +0 -0
  247. {commentail-1.3.1 → commentail-1.3.2}/tests/test_object_adapters.py +0 -0
  248. {commentail-1.3.1 → commentail-1.3.2}/tests/test_outbox.py +0 -0
  249. {commentail-1.3.1 → commentail-1.3.2}/tests/test_performance.py +0 -0
  250. {commentail-1.3.1 → commentail-1.3.2}/tests/test_presentation_contracts.py +0 -0
  251. {commentail-1.3.1 → commentail-1.3.2}/tests/test_progressive.js +0 -0
  252. {commentail-1.3.1 → commentail-1.3.2}/tests/test_provider_widgets.js +0 -0
  253. {commentail-1.3.1 → commentail-1.3.2}/tests/test_public_ui.py +0 -0
  254. {commentail-1.3.1 → commentail-1.3.2}/tests/test_rate_limits.py +0 -0
  255. {commentail-1.3.1 → commentail-1.3.2}/tests/test_reading_contracts.py +0 -0
  256. {commentail-1.3.1 → commentail-1.3.2}/tests/test_recent_comments.py +0 -0
  257. {commentail-1.3.1 → commentail-1.3.2}/tests/test_registry_diagnostics.py +0 -0
  258. {commentail-1.3.1 → commentail-1.3.2}/tests/test_release_gaps.py +0 -0
  259. {commentail-1.3.1 → commentail-1.3.2}/tests/test_reply.js +0 -0
  260. {commentail-1.3.1 → commentail-1.3.2}/tests/test_rules_admin.py +0 -0
  261. {commentail-1.3.1 → commentail-1.3.2}/tests/test_rules_csv.py +0 -0
  262. {commentail-1.3.1 → commentail-1.3.2}/tests/test_security.py +0 -0
  263. {commentail-1.3.1 → commentail-1.3.2}/tests/test_security_boundaries.py +0 -0
  264. {commentail-1.3.1 → commentail-1.3.2}/tests/test_smtp_chain.py +0 -0
  265. {commentail-1.3.1 → commentail-1.3.2}/tests/test_staff_authors.py +0 -0
  266. {commentail-1.3.1 → commentail-1.3.2}/tests/test_structured_data.py +0 -0
  267. {commentail-1.3.1 → commentail-1.3.2}/tests/test_submission.py +0 -0
  268. {commentail-1.3.1 → commentail-1.3.2}/tests/test_transaction_contracts.py +0 -0
  269. {commentail-1.3.1 → commentail-1.3.2}/tests/urls.py +0 -0
  270. {commentail-1.3.1 → commentail-1.3.2}/tests/urls_custom_prefix.py +0 -0
  271. {commentail-1.3.1 → commentail-1.3.2}/tools/benchmark_performance.py +0 -0
  272. {commentail-1.3.1 → commentail-1.3.2}/tools/check_dist.py +0 -0
  273. {commentail-1.3.1 → commentail-1.3.2}/tools/check_translations.py +0 -0
@@ -3,6 +3,13 @@
3
3
  Each release records changes relative to the previous version. Upgrade notes
4
4
  describe changes that an existing installation needs to review.
5
5
 
6
+ ## [1.3.2] — 2026-10-23 · Translated Site roots
7
+
8
+ - Restore Page discussions under translated Site homepages when Wagtail content
9
+ internationalization is enabled. Apply the same Site boundary to forms,
10
+ protected links, queued mail and recent comments while retaining live-page
11
+ and view-restriction checks. No data migration is required for this fix.
12
+
6
13
  ## [1.3.1] — 2026-10-23 · Security update
7
14
 
8
15
  - Key quota identities and submission actor/payload fingerprints with purpose-scoped
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commentail
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Self-hosted Wagtail comments with moderation, verified guests and threaded replies
5
5
  License-Expression: MIT
6
6
  Project-URL: Source, https://github.com/hardcodd/Commentail
@@ -34,11 +34,12 @@ Dynamic: license-file
34
34
 
35
35
  Moderated discussions, verified guests and inline replies — styled by your site.
36
36
 
37
- **Current release: [1.3.1](https://github.com/hardcodd/Commentail/releases/tag/v1.3.1)** · [PyPI](https://pypi.org/project/commentail/1.3.1/)
37
+ **Current release: [1.3.2](https://github.com/hardcodd/Commentail/releases/tag/v1.3.2)** · [PyPI](https://pypi.org/project/commentail/1.3.2/)
38
38
 
39
- [1.3.1 is a security update](docs/releases/1.3.1.md). Upgrading requires an
40
- irreversible fingerprint data migration; review the backup, downtime and
41
- form-quota guidance before upgrading.
39
+ [1.3.2 restores discussions under translated Site homepages](docs/releases/1.3.2.md).
40
+ There is no new migration over 1.3.1. Upgrading from 1.3.0 or earlier includes
41
+ the [irreversible 1.3.1 fingerprint migration](docs/releases/1.3.1.md);
42
+ review its backup, downtime and form-quota guidance first.
42
43
 
43
44
  [![Tests and distributions](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml)
44
45
  [![Django Packages · Commentail](https://img.shields.io/badge/Django%20Packages-Commentail-0C4B33.svg)](https://djangopackages.org/packages/p/commentail/)
@@ -175,11 +176,11 @@ The guides are in English; this README is also [available in Russian](README.ru.
175
176
  In your existing Wagtail site's virtual environment, install the published release:
176
177
 
177
178
  ```sh
178
- python -m pip install commentail==1.3.1
179
+ python -m pip install commentail==1.3.2
179
180
  ```
180
181
 
181
182
  For the optional PostgreSQL driver, use
182
- `python -m pip install 'commentail[postgres]==1.3.1'`.
183
+ `python -m pip install 'commentail[postgres]==1.3.2'`.
183
184
  For an existing installation, follow
184
185
  the [upgrade guide](docs/wiki/Installation.md#upgrading-and-restoring) for your target version.
185
186
 
@@ -6,11 +6,12 @@
6
6
 
7
7
  Moderated discussions, verified guests and inline replies — styled by your site.
8
8
 
9
- **Current release: [1.3.1](https://github.com/hardcodd/Commentail/releases/tag/v1.3.1)** · [PyPI](https://pypi.org/project/commentail/1.3.1/)
9
+ **Current release: [1.3.2](https://github.com/hardcodd/Commentail/releases/tag/v1.3.2)** · [PyPI](https://pypi.org/project/commentail/1.3.2/)
10
10
 
11
- [1.3.1 is a security update](docs/releases/1.3.1.md). Upgrading requires an
12
- irreversible fingerprint data migration; review the backup, downtime and
13
- form-quota guidance before upgrading.
11
+ [1.3.2 restores discussions under translated Site homepages](docs/releases/1.3.2.md).
12
+ There is no new migration over 1.3.1. Upgrading from 1.3.0 or earlier includes
13
+ the [irreversible 1.3.1 fingerprint migration](docs/releases/1.3.1.md);
14
+ review its backup, downtime and form-quota guidance first.
14
15
 
15
16
  [![Tests and distributions](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml)
16
17
  [![Django Packages · Commentail](https://img.shields.io/badge/Django%20Packages-Commentail-0C4B33.svg)](https://djangopackages.org/packages/p/commentail/)
@@ -147,11 +148,11 @@ The guides are in English; this README is also [available in Russian](README.ru.
147
148
  In your existing Wagtail site's virtual environment, install the published release:
148
149
 
149
150
  ```sh
150
- python -m pip install commentail==1.3.1
151
+ python -m pip install commentail==1.3.2
151
152
  ```
152
153
 
153
154
  For the optional PostgreSQL driver, use
154
- `python -m pip install 'commentail[postgres]==1.3.1'`.
155
+ `python -m pip install 'commentail[postgres]==1.3.2'`.
155
156
  For an existing installation, follow
156
157
  the [upgrade guide](docs/wiki/Installation.md#upgrading-and-restoring) for your target version.
157
158
 
@@ -6,11 +6,12 @@
6
6
 
7
7
  Модерация обсуждений, подтверждённые гости и ответы рядом с комментарием — в стиле вашего сайта.
8
8
 
9
- **Текущая версия: [1.3.1](https://github.com/hardcodd/Commentail/releases/tag/v1.3.1)** · [PyPI](https://pypi.org/project/commentail/1.3.1/)
9
+ **Текущая версия: [1.3.2](https://github.com/hardcodd/Commentail/releases/tag/v1.3.2)** · [PyPI](https://pypi.org/project/commentail/1.3.2/)
10
10
 
11
- [1.3.1 — обновление безопасности](docs/releases/1.3.1.md). Обновление требует
12
- необратимой миграции отпечатков; заранее проверьте рекомендации о резервной
13
- копии, остановке записи и лимитах выдачи форм.
11
+ [1.3.2 восстанавливает обсуждения под переводами главной страницы Site](docs/releases/1.3.2.md).
12
+ После 1.3.1 новой миграции нет. Обновление с 1.3.0 или более ранней версии
13
+ включает [необратимую миграцию отпечатков из 1.3.1](docs/releases/1.3.1.md);
14
+ заранее проверьте рекомендации о резервной копии, остановке записи и лимитах выдачи форм.
14
15
 
15
16
  [![Tests and distributions](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml)
16
17
  [![Django Packages · Commentail](https://img.shields.io/badge/Django%20Packages-Commentail-0C4B33.svg)](https://djangopackages.org/packages/p/commentail/)
@@ -148,11 +149,11 @@ CDN и CAPTCHA-сервисов нет. См. [настройку писем](do
148
149
  В виртуальном окружении существующего сайта Wagtail установите опубликованный выпуск:
149
150
 
150
151
  ```sh
151
- python -m pip install commentail==1.3.1
152
+ python -m pip install commentail==1.3.2
152
153
  ```
153
154
 
154
155
  Для необязательного драйвера PostgreSQL используйте
155
- `python -m pip install 'commentail[postgres]==1.3.1'`.
156
+ `python -m pip install 'commentail[postgres]==1.3.2'`.
156
157
  Для существующей установки следуйте [инструкции обновления](docs/wiki/Installation.md#upgrading-and-restoring)
157
158
  до нужной версии.
158
159
 
@@ -23,6 +23,7 @@ from .config import technical_settings
23
23
  from .fingerprints import fingerprint_candidates
24
24
  from .limits import client_ip, consume
25
25
  from .models import Access, Comment, Discussion, FormTicket, Mode, SubmissionRecord
26
+ from .page_access import site_page_paths
26
27
  from .policies import editorial_settings, email_enabled
27
28
  from .security import digest, remembered_guest, verify_captcha
28
29
  from .services import DomainError, _text, confirm_email, submit_once
@@ -50,7 +51,7 @@ def can_view(request: HttpRequest, discussion: Discussion) -> bool:
50
51
  page = discussion.page
51
52
  return (
52
53
  page.live
53
- and page.path.startswith(discussion.site.root_page.path)
54
+ and page.path.startswith(site_page_paths(discussion.site))
54
55
  and all(
55
56
  restriction.accept_request(request)
56
57
  for restriction in page.get_view_restrictions()
@@ -8,6 +8,7 @@ from django.utils.module_loading import import_string
8
8
 
9
9
  from .config import technical_settings
10
10
  from .models import Comment
11
+ from .page_access import site_page_paths
11
12
  from .services import DomainError
12
13
 
13
14
 
@@ -69,7 +70,7 @@ def _can_receive(recipient: Comment) -> bool:
69
70
  return _guest_can_receive(recipient, target)
70
71
  page = recipient.discussion.page
71
72
  if not page.live or not page.path.startswith(
72
- recipient.discussion.site.root_page.path
73
+ site_page_paths(recipient.discussion.site)
73
74
  ):
74
75
  return False
75
76
  restrictions = list(page.get_view_restrictions())
@@ -0,0 +1,19 @@
1
+ """Current Site page-tree boundaries, including Wagtail's translated homepages."""
2
+
3
+ from django.conf import settings
4
+ from wagtail.models import Site
5
+
6
+
7
+ def site_page_paths(site: Site) -> tuple[str, ...]:
8
+ """Return allowed tree prefixes without caching access across requests.
9
+
10
+ Wagtail routes translated homepages as sibling trees of the configured root
11
+ when content internationalization is enabled. Only that root's translation
12
+ group belongs here; an arbitrary page translation grants no tree access.
13
+ Callers still enforce live state and restrictions on the actual target.
14
+ """
15
+ root = site.root_page
16
+ if not getattr(settings, "WAGTAIL_I18N_ENABLED", False):
17
+ return (root.path,)
18
+
19
+ return tuple(root.get_translations(inclusive=True).values_list("path", flat=True))
@@ -10,6 +10,7 @@ from django.utils import timezone
10
10
  from wagtail.models import Page, PageViewRestriction, Site
11
11
 
12
12
  from .models import Comment, Discussion, Mode, SiteCommentSettings
13
+ from .page_access import site_page_paths
13
14
 
14
15
 
15
16
  class RecentComment(TypedDict):
@@ -103,6 +104,7 @@ def _page_access(request: HttpRequest, pages: dict[int, Page]) -> dict[int, bool
103
104
  def _target_data(
104
105
  request: HttpRequest,
105
106
  discussion: Discussion,
107
+ root_paths: tuple[str, ...],
106
108
  page_allowed: bool = True,
107
109
  ) -> tuple[str, str] | None:
108
110
  """Check a target and resolve its title and URL once, including widget removal."""
@@ -120,7 +122,7 @@ def _target_data(
120
122
  try:
121
123
  if (
122
124
  not obj.live
123
- or not obj.path.startswith(discussion.site.root_page.path)
125
+ or not obj.path.startswith(root_paths)
124
126
  or not page_allowed
125
127
  or not has_comments(obj, request)
126
128
  ):
@@ -161,12 +163,13 @@ def recent_comments(
161
163
  site = Site.find_for_request(request)
162
164
  if site is None:
163
165
  return []
166
+ root_paths = site_page_paths(site)
167
+ page_trees = Q()
168
+ for path in root_paths:
169
+ page_trees |= Q(page__path__startswith=path)
164
170
  discussions = (
165
171
  Discussion.objects.filter(site=site)
166
- .filter(
167
- Q(page__isnull=True)
168
- | Q(page__live=True, page__path__startswith=site.root_page.path)
169
- )
172
+ .filter(Q(page__isnull=True) | (Q(page__live=True) & page_trees))
170
173
  .exclude(mode=Mode.HIDDEN)
171
174
  )
172
175
  if page is not None:
@@ -237,7 +240,7 @@ def recent_comments(
237
240
  continue
238
241
  discussion.page = pages[discussion.page_id]
239
242
  data = _target_data(
240
- request, discussion, allowed.get(discussion.page_id, True)
243
+ request, discussion, root_paths, allowed.get(discussion.page_id, True)
241
244
  )
242
245
  targets[discussion.pk] = data
243
246
  if data is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commentail
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Self-hosted Wagtail comments with moderation, verified guests and threaded replies
5
5
  License-Expression: MIT
6
6
  Project-URL: Source, https://github.com/hardcodd/Commentail
@@ -34,11 +34,12 @@ Dynamic: license-file
34
34
 
35
35
  Moderated discussions, verified guests and inline replies — styled by your site.
36
36
 
37
- **Current release: [1.3.1](https://github.com/hardcodd/Commentail/releases/tag/v1.3.1)** · [PyPI](https://pypi.org/project/commentail/1.3.1/)
37
+ **Current release: [1.3.2](https://github.com/hardcodd/Commentail/releases/tag/v1.3.2)** · [PyPI](https://pypi.org/project/commentail/1.3.2/)
38
38
 
39
- [1.3.1 is a security update](docs/releases/1.3.1.md). Upgrading requires an
40
- irreversible fingerprint data migration; review the backup, downtime and
41
- form-quota guidance before upgrading.
39
+ [1.3.2 restores discussions under translated Site homepages](docs/releases/1.3.2.md).
40
+ There is no new migration over 1.3.1. Upgrading from 1.3.0 or earlier includes
41
+ the [irreversible 1.3.1 fingerprint migration](docs/releases/1.3.1.md);
42
+ review its backup, downtime and form-quota guidance first.
42
43
 
43
44
  [![Tests and distributions](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/hardcodd/Commentail/actions/workflows/tests.yml)
44
45
  [![Django Packages · Commentail](https://img.shields.io/badge/Django%20Packages-Commentail-0C4B33.svg)](https://djangopackages.org/packages/p/commentail/)
@@ -175,11 +176,11 @@ The guides are in English; this README is also [available in Russian](README.ru.
175
176
  In your existing Wagtail site's virtual environment, install the published release:
176
177
 
177
178
  ```sh
178
- python -m pip install commentail==1.3.1
179
+ python -m pip install commentail==1.3.2
179
180
  ```
180
181
 
181
182
  For the optional PostgreSQL driver, use
182
- `python -m pip install 'commentail[postgres]==1.3.1'`.
183
+ `python -m pip install 'commentail[postgres]==1.3.2'`.
183
184
  For an existing installation, follow
184
185
  the [upgrade guide](docs/wiki/Installation.md#upgrading-and-restoring) for your target version.
185
186
 
@@ -34,6 +34,7 @@ commentail/middleware.py
34
34
  commentail/models.py
35
35
  commentail/objects.py
36
36
  commentail/outbox.py
37
+ commentail/page_access.py
37
38
  commentail/page_integration.py
38
39
  commentail/panels.py
39
40
  commentail/permissions.py
@@ -152,6 +153,7 @@ docs/releases/1.1.0.md
152
153
  docs/releases/1.2.0.md
153
154
  docs/releases/1.3.0.md
154
155
  docs/releases/1.3.1.md
156
+ docs/releases/1.3.2.md
155
157
  docs/wiki/Callbacks.md
156
158
  docs/wiki/Changelog.md
157
159
  docs/wiki/Configuration.md
@@ -173,6 +175,7 @@ docs/wiki/Release-1.1.0.md
173
175
  docs/wiki/Release-1.2.0.md
174
176
  docs/wiki/Release-1.3.0.md
175
177
  docs/wiki/Release-1.3.1.md
178
+ docs/wiki/Release-1.3.2.md
176
179
  docs/wiki/Replies-and-editing.md
177
180
  docs/wiki/Roadmap.md
178
181
  docs/wiki/Rules-and-CSV.md
@@ -254,6 +257,7 @@ tests/test_staff_authors.py
254
257
  tests/test_structured_data.py
255
258
  tests/test_submission.py
256
259
  tests/test_transaction_contracts.py
260
+ tests/test_translated_site_roots.py
257
261
  tests/urls.py
258
262
  tests/urls_custom_prefix.py
259
263
  tests/targets/__init__.py
@@ -0,0 +1,54 @@
1
+ # Commentail 1.3.2 — translated Site roots
2
+
3
+ **Released 23 October 2026.** This patch fixes a regression introduced in 1.3.1.
4
+
5
+ ## Changes
6
+
7
+ With `WAGTAIL_I18N_ENABLED=True`, Wagtail can serve a Site's translated
8
+ homepages from sibling page trees. The 1.3.1 Site-boundary check only accepted
9
+ the configured root tree, making valid translated discussions unavailable.
10
+
11
+ Commentail now also accepts trees rooted at translations of the Site's
12
+ homepage. This applies consistently to the widget, forms and submissions,
13
+ protected links, queued email and recent comments. The actual page must still
14
+ be live and pass its own inherited view restrictions. Unrelated trees, moved
15
+ pages outside the allowed trees and capabilities for another Site remain denied.
16
+ With content internationalization disabled, only the configured root tree is
17
+ accepted.
18
+
19
+ ## Upgrade from 1.3.1
20
+
21
+ 1. Back up the site using your normal procedure and install
22
+ `python -m pip install commentail==1.3.2` in its environment.
23
+ 2. Run `migrate`, `check` and `collectstatic --noinput`, then restart application
24
+ and background processes. There is no new Commentail migration, dependency
25
+ change or template change over 1.3.1.
26
+ 3. Check existing discussions in every language, a new submission, protected
27
+ guest links and queued mail. Verify that restricted pages remain private.
28
+ Existing discussions do not need to be recreated or reassigned to another Site.
29
+
30
+ This fix does not automatically requeue email jobs already cancelled by 1.3.1.
31
+ Review their state separately before deciding whether a replacement is needed.
32
+
33
+ For installations behind nginx, explicitly configure the actual
34
+ [`TRUSTED_PROXIES`](../wiki/Deployment.md#client-ip-behind-nginx) and verify
35
+ forwarded-header handling so visitors do not share the proxy's IP quotas.
36
+
37
+ ## Upgrade from 1.3.0 or earlier
38
+
39
+ Also follow the [1.3.1 upgrade procedure](1.3.1.md). Its irreversible fingerprint
40
+ migration `0018` still requires stopped writers, the same key and a matching
41
+ database/key/package backup. This patch does not remove that requirement.
42
+
43
+ ## Verification
44
+
45
+ Thirteen new regressions cover translated roots and descendants, rendered host
46
+ widgets, registered submissions, guest links/mail, inherited restrictions,
47
+ disabled internationalization, unpublished pages, moved targets and Site isolation.
48
+ The 508-test Python suite passed locally on Wagtail 7.4 / Django 5.2 and
49
+ Wagtail 8.0 / Django 6.1 using SQLite; the eight concurrency tests ran separately
50
+ against file databases. Lint, formatting and migration checks passed.
51
+ Publication is gated on successful hosted CI for the exact publishing commit,
52
+ including the supported framework/Python matrix and PostgreSQL 16.
53
+
54
+ Deployment and acceptance on an existing production site are separate checks.
@@ -3,6 +3,13 @@
3
3
  Each release records changes relative to the previous version. Upgrade notes
4
4
  describe changes that an existing installation needs to review.
5
5
 
6
+ ## [1.3.2] — 2026-10-23 · Translated Site roots
7
+
8
+ - Restore Page discussions under translated Site homepages when Wagtail content
9
+ internationalization is enabled. Apply the same Site boundary to forms,
10
+ protected links, queued mail and recent comments while retaining live-page
11
+ and view-restriction checks. No data migration is required for this fix.
12
+
6
13
  ## [1.3.1] — 2026-10-23 · Security update
7
14
 
8
15
  - Key quota identities and submission actor/payload fingerprints with purpose-scoped
@@ -118,7 +118,7 @@ own settings, rather than keys in `COMMENTAIL`; see [email configuration](Email-
118
118
  | `RESEND_IP_LIMIT_PER_HOUR` | `20` | Resends per IP/Site/hour. |
119
119
  | `CAPTCHA_IP_LIMIT_PER_MINUTE` | `10` | Challenge creations per IP/Site/minute. |
120
120
  | `CAPTCHA_IP_LIMIT_PER_HOUR` | `100` | Challenge creations per IP/Site/hour. |
121
- | `TRUSTED_PROXIES` | `[]` | Trusted immediate proxy networks; [] uses the direct peer. |
121
+ | `TRUSTED_PROXIES` | `[]` | Trusted proxy networks; [] uses the direct peer and ignores forwarded IPs. Configure explicitly behind nginx; see the [example and trust boundaries](Deployment.md#client-ip-behind-nginx). |
122
122
  | `GUEST_REQUEST_CHECKS` | `['missing_user_agent', 'cross_site']` | Supplemental guest header signals; [] disables these signals only. |
123
123
  | `MAIL_RETENTION_SECONDS` | `604800` | Queued notification lifetime. |
124
124
  | `MAIL_LEASE_SECONDS` | `300` | Outbox worker claim lease. |
@@ -4,7 +4,8 @@
4
4
 
5
5
  - Install a supported version in a test environment; back up your database.
6
6
  - Run migrations, system checks and collectstatic; serve the static assets.
7
- - Check Wagtail Site host/port, HTTPS scheme, ALLOWED_HOSTS, cookies and proxy settings.
7
+ - Check Wagtail Site host/port, HTTPS scheme, ALLOWED_HOSTS, cookies and
8
+ [trusted proxy settings](#client-ip-behind-nginx).
8
9
  - Enforce request-body, request-rate and connection limits at the web server/proxy;
9
10
  application quotas do not replace protection against distributed traffic.
10
11
  - Configure [email delivery](Email-and-worker.md) through secrets/environment and
@@ -18,6 +19,47 @@
18
19
  - Check [database/query costs and load-test guidance](Performance.md) against your
19
20
  expected traffic; account for index-building time when upgrading large tables.
20
21
 
22
+ ## Client IP behind nginx
23
+
24
+ For a site behind nginx, explicitly configure `TRUSTED_PROXIES` if Django sees
25
+ nginx as the connection's direct peer. By default it is empty: Commentail uses
26
+ `REMOTE_ADDR` and ignores `X-Forwarded-For`. Without this configuration, visitors
27
+ can share nginx's IP quota, including the form/recovery ticket limits of 120 per
28
+ minute and 1200 per hour per IP/Site.
29
+
30
+ For example, if Django's actual `REMOTE_ADDR` for nginx is `127.0.0.1`, merge this
31
+ setting into your existing `COMMENTAIL` dictionary without replacing other options:
32
+
33
+ ```python
34
+ COMMENTAIL = {
35
+ "default": {
36
+ "TRUSTED_PROXIES": ["127.0.0.1/32"],
37
+ },
38
+ }
39
+ ```
40
+
41
+ Use only the verified proxy addresses in your deployment. Add `::1/128` only if
42
+ nginx actually connects over IPv6 loopback; for containers or a separate proxy
43
+ host, use its actual address or a narrowly scoped, controlled proxy network.
44
+ Check hostname-specific Commentail overrides too, since they take precedence over
45
+ `default`.
46
+
47
+ At the public-facing proxy, strip or overwrite client-supplied `X-Forwarded-For`
48
+ with the verified client address. For multiple proxy hops, review the complete
49
+ header chain and trust only controlled proxy hops. Commentail processes the
50
+ forwarded chain from right to left and stops at the first untrusted address.
51
+ Restrict direct access to the application backend to the intended proxies.
52
+
53
+ Never use `0.0.0.0/0` or `::/0`: trusting every address lets clients supply a forged
54
+ forwarded IP and evade IP quotas. Trusting loopback automatically is also
55
+ inappropriate for deployments where the actual peer or header handling differs.
56
+
57
+ After installation or upgrade, run `python manage.py check` and verify through
58
+ the real proxy that requests from two distinct client IPs resolve to their
59
+ respective addresses. Also verify that a client-supplied forwarded address
60
+ cannot override the actual address. A passing system check validates settings,
61
+ not nginx's header handling or the live network path.
62
+
21
63
  ## Host acceptance
22
64
 
23
65
  Test a registered comment, approval, direct reply and eligible edit. In another
@@ -3,15 +3,16 @@
3
3
  **Self-hosted comments for Wagtail CMS.** Add moderated discussions to Wagtail
4
4
  Pages and registered Django models using your site's accounts, templates and styles.
5
5
 
6
- > **1.3.1 Stable:** Wagtail 7.4.3+ / Django 5.2 or 6.0; Wagtail 8.0 / Django 5.2, 6.0 or 6.1; Python 3.12–3.14; file SQLite and PostgreSQL 16.
6
+ > **1.3.2 Stable:** Wagtail 7.4.3+ / Django 5.2 or 6.0; Wagtail 8.0 / Django 5.2, 6.0 or 6.1; Python 3.12–3.14; file SQLite and PostgreSQL 16.
7
7
  > Published 0.1.0 retains Wagtail >=7.4.3,<7.5 and Django 5.2 support.
8
8
 
9
9
  Protect guest comments with local form checks, attempt budgets and review signals
10
10
  for repeated text and link bursts. Google reCAPTCHA v2 and Yandex SmartCaptcha
11
11
  are opt-in; arithmetic remains the default. Configure Django email delivery and
12
12
  one background schedule through the command or your existing task queue.
13
- See the [1.3.1 security update and upgrade guide](Release-1.3.1.md).
14
- Review its irreversible migration and shared-network form quotas.
13
+ See the [1.3.2 translated Site root fix and upgrade guide](Release-1.3.2.md).
14
+ Upgrading from 1.3.0 or earlier also requires the
15
+ [1.3.1 irreversible migration procedure](Release-1.3.1.md).
15
16
 
16
17
  ## Find your guide
17
18
 
@@ -35,7 +36,7 @@ Review its irreversible migration and shared-network form quotas.
35
36
  | Understand query costs and run load checks | [Performance](Performance.md) |
36
37
  | Diagnose a problem | [Troubleshooting](Troubleshooting.md) |
37
38
  | Run the example and tests | [Example and testing](Example-and-testing.md) |
38
- | Read the current release scope and upgrade steps | [Release 1.3.1](Release-1.3.1.md) |
39
+ | Read the current release scope and upgrade steps | [Release 1.3.2](Release-1.3.2.md) |
39
40
  | Understand the stable contract | [Stability](Stability.md) |
40
41
  | Compare versions | [Changelog](Changelog.md) |
41
42
  | See planned work | [Roadmap](Roadmap.md) |
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Requirements and package
4
4
 
5
- | Component | 1.3.1 Stable |
5
+ | Component | 1.3.2 Stable |
6
6
  | --- | --- |
7
7
  | Python | 3.12, 3.13, 3.14 |
8
8
  | Wagtail / Django | 7.4.3+ in 7.4 / Django 5.2 or 6.0; 8.0.x / Django 5.2, 6.0 or 6.1 |
@@ -18,16 +18,16 @@ verification. The published 0.1.0 artifact retains its original bounds:
18
18
  In a virtual environment, install the release from PyPI:
19
19
 
20
20
  ```sh
21
- python -m pip install commentail==1.3.1
21
+ python -m pip install commentail==1.3.2
22
22
  ```
23
23
 
24
24
  For the PostgreSQL driver use
25
- `python -m pip install 'commentail[postgres]==1.3.1'`.
25
+ `python -m pip install 'commentail[postgres]==1.3.2'`.
26
26
  Alternatively, install a downloaded wheel or extract the source archive and run
27
27
  `python -m pip install .` in its root. Your site's `DATABASES` setting still selects
28
28
  the actual database.
29
29
  For downloaded release archives, verify the supplied checksum before installation.
30
- See [1.3.1 changes and upgrade notes](Release-1.3.1.md) and the
30
+ See [1.3.2 changes and upgrade notes](Release-1.3.2.md) and the
31
31
  [version-to-version changelog](Changelog.md).
32
32
 
33
33
  The Wagtail 8 CI stacks now select 8.0.1 or a newer patch within 8.0; the
@@ -62,6 +62,11 @@ urlpatterns = [
62
62
 
63
63
  ## 3. Database and assets
64
64
 
65
+ If the site runs behind nginx, explicitly configure Commentail's
66
+ [`TRUSTED_PROXIES`](Deployment.md#client-ip-behind-nginx) before opening it to
67
+ visitors. The guide includes a local nginx example and explains how to prevent
68
+ forwarded-IP spoofing. Otherwise visitors can share the proxy's IP quotas.
69
+
65
70
  ```sh
66
71
  python manage.py migrate
67
72
  python manage.py check
@@ -104,6 +109,7 @@ Review the notes for your target version and every intervening release:
104
109
 
105
110
  | Target | Main upgrade considerations |
106
111
  | --- | --- |
112
+ | [1.3.2](Release-1.3.2.md) | Restore translated Site home trees; no new migration over 1.3.1. Earlier installations must also follow the 1.3.1 migration procedure. |
107
113
  | [1.3.1](Release-1.3.1.md) | Irreversible data migration `0018`: stop writers, keep the same key and back up database/key/package. Review form overrides and shared-network issuance quotas. |
108
114
  | [1.3.0](Release-1.3.0.md) | Migrations `0016`/`0017`, refreshed assets and reviewed form/provider overrides. New guest checks are review signals; external CAPTCHA is opt-in. |
109
115
  | [1.2.0](Release-1.2.0.md) | No new Commentail migration over 1.1.0. Refresh assets and review form/CAPTCHA overrides; choose one background schedule. |
@@ -116,6 +122,12 @@ For every upgrade, run `migrate`, `check` and `collectstatic --noinput`, refresh
116
122
  cached assets and restart application/background processes through your normal
117
123
  deployment procedure. Framework upgrades can require their own migrations.
118
124
 
125
+ For sites behind nginx, also review
126
+ [`TRUSTED_PROXIES` and forwarded-header handling](Deployment.md#client-ip-behind-nginx),
127
+ including existing installations that have never configured them. Verify distinct
128
+ client IPs through the real proxy before resuming traffic; shared proxy quotas
129
+ can otherwise throttle visitors together, including new form/recovery tickets.
130
+
119
131
  Rehearse the upgrade on a restored copy of your site's database before changing
120
132
  the live installation. Keep the previous package and exact dependency versions,
121
133
  host settings, template overrides, media and secrets in a protected backup. Retain
@@ -0,0 +1,54 @@
1
+ # Commentail 1.3.2 — translated Site roots
2
+
3
+ **Released 23 October 2026.** This patch fixes a regression introduced in 1.3.1.
4
+
5
+ ## Changes
6
+
7
+ With `WAGTAIL_I18N_ENABLED=True`, Wagtail can serve a Site's translated
8
+ homepages from sibling page trees. The 1.3.1 Site-boundary check only accepted
9
+ the configured root tree, making valid translated discussions unavailable.
10
+
11
+ Commentail now also accepts trees rooted at translations of the Site's
12
+ homepage. This applies consistently to the widget, forms and submissions,
13
+ protected links, queued email and recent comments. The actual page must still
14
+ be live and pass its own inherited view restrictions. Unrelated trees, moved
15
+ pages outside the allowed trees and capabilities for another Site remain denied.
16
+ With content internationalization disabled, only the configured root tree is
17
+ accepted.
18
+
19
+ ## Upgrade from 1.3.1
20
+
21
+ 1. Back up the site using your normal procedure and install
22
+ `python -m pip install commentail==1.3.2` in its environment.
23
+ 2. Run `migrate`, `check` and `collectstatic --noinput`, then restart application
24
+ and background processes. There is no new Commentail migration, dependency
25
+ change or template change over 1.3.1.
26
+ 3. Check existing discussions in every language, a new submission, protected
27
+ guest links and queued mail. Verify that restricted pages remain private.
28
+ Existing discussions do not need to be recreated or reassigned to another Site.
29
+
30
+ This fix does not automatically requeue email jobs already cancelled by 1.3.1.
31
+ Review their state separately before deciding whether a replacement is needed.
32
+
33
+ For installations behind nginx, explicitly configure the actual
34
+ [`TRUSTED_PROXIES`](Deployment.md#client-ip-behind-nginx) and verify
35
+ forwarded-header handling so visitors do not share the proxy's IP quotas.
36
+
37
+ ## Upgrade from 1.3.0 or earlier
38
+
39
+ Also follow the [1.3.1 upgrade procedure](Release-1.3.1.md). Its irreversible fingerprint
40
+ migration `0018` still requires stopped writers, the same key and a matching
41
+ database/key/package backup. This patch does not remove that requirement.
42
+
43
+ ## Verification
44
+
45
+ Thirteen new regressions cover translated roots and descendants, rendered host
46
+ widgets, registered submissions, guest links/mail, inherited restrictions,
47
+ disabled internationalization, unpublished pages, moved targets and Site isolation.
48
+ The 508-test Python suite passed locally on Wagtail 7.4 / Django 5.2 and
49
+ Wagtail 8.0 / Django 6.1 using SQLite; the eight concurrency tests ran separately
50
+ against file databases. Lint, formatting and migration checks passed.
51
+ Publication is gated on successful hosted CI for the exact publishing commit,
52
+ including the supported framework/Python matrix and PostgreSQL 16.
53
+
54
+ Deployment and acceptance on an existing production site are separate checks.
@@ -5,7 +5,12 @@
5
5
  Every request rechecks target existence, Site and visitor permission. Direct URLs
6
6
  do not bypass restricted Page/object access. Discussion identity includes the Site.
7
7
  Page targets must remain inside their saved Site's root tree, including capability
8
- access and queued email. Moving a Page outside that tree revokes this access.
8
+ access and queued email. When `WAGTAIL_I18N_ENABLED` is true, this also includes
9
+ the trees rooted at translations of that Site's homepage, following Wagtail's
10
+ multilingual routing. Live-page checks and restrictions apply to the actual target
11
+ in its own language tree. A translation of an individual article outside these
12
+ home trees does not grant access. Moving a Page outside all allowed trees revokes
13
+ access. The same boundaries apply to recent-comment selection.
9
14
  Protect your object's own view with the same policy as its adapter. Trusted Python
10
15
  services are not an HTTP admission API; use built-in views for untrusted forms.
11
16
 
@@ -30,6 +35,8 @@ are unaffected by these guest-only signals. An empty signal list disables them o
30
35
  Rate limits use the direct peer by default. Add only actual immediate proxy networks
31
36
  to `TRUSTED_PROXIES`; never trust every internet address. Forwarded headers influence
32
37
  client IP only through trusted peers. Quotas are Site-wide with independent counters.
38
+ For nginx installations and upgrades, follow the
39
+ [configuration example and forwarded-header checks](Deployment.md#client-ip-behind-nginx).
33
40
 
34
41
  New form/recovery tickets are also limited for guests and signed-in readers:
35
42
  120 per IP/Site/minute and 1200 per hour by default. Navigation and recovery count
@@ -29,6 +29,7 @@
29
29
  - [Release 1.2.0](Release-1.2.0.md)
30
30
  - [Release 1.3.0](Release-1.3.0.md)
31
31
  - [Security update 1.3.1](Release-1.3.1.md)
32
+ - [Translated Site roots 1.3.2](Release-1.3.2.md)
32
33
  - [Changelog](Changelog.md)
33
34
  - [Roadmap](Roadmap.md)
34
35
  - [Support](Support.md)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "commentail"
7
- version = "1.3.1"
7
+ version = "1.3.2"
8
8
  description = "Self-hosted Wagtail comments with moderation, verified guests and threaded replies"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"