0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

11340 Commits

Author SHA1 Message Date
Loic Teixeira
312eae3a26 Prevent creation of issues without using a template 2021-04-26 10:22:08 +01:00
Loic Teixeira
a8f10b3b28 Replace question issue template with contact links 2021-04-26 10:22:08 +01:00
Jacob Topp-Mugglestone
82897ee573
Set show_comments_toggle based on required fields (#7092)
* Set show_comments_toggle based on required fields

* Update test to use correct TabbedInterface arguments
2021-04-26 08:56:00 +01:00
Karl Hobley
c97bc56c68
Add warning to bottom of draft comments (#7089)
* Add warning to bottom of draft comments

* Add a warning to bottom of edited comments

* Add a warning at the bottom of comments with unsaved replies

* Set role="status" on the comment notice
2021-04-23 17:53:54 +01:00
Simon Evans
05f1eb51aa
Feature/commenting improve notification toggle UI (#7085) 2021-04-23 16:24:27 +01:00
jacobtoppm
8f85d95078 Hide comments for collapsed blocks and panels 2021-04-23 15:05:58 +01:00
jacobtoppm
e09ab4e597 Move resolve action to comment menu 2021-04-23 15:05:36 +01:00
jacobtoppm
d6ff2d51ea Fix comment menu on non-IE11 2021-04-23 15:05:36 +01:00
Robert Rollins
0bd4224bfa Apply WidgetAdapter to CheckboxSelectMultiple.
Without this, any project that uses django.forms.widgets.CheckboxSelectMultiple crashes needlessly in any step that touches the database, because of Telepath's "don't know how to pack object" error.

Simply applying WidgetAdapter to CheckboxSelectMultiple seems to work fine, though I haven't tested it in any robust way. I just went in to my site that uses CheckboxSelectMultiple in several places, and confirmed that it still works.
2021-04-23 13:59:20 +01:00
Karl Hobley
84db8436d6 Don't include tab-content--comments-enabled in initial response
Let the JS add this when it's ready
2021-04-23 13:42:43 +01:00
Karl Hobley
e62103ae1c Remove field width transition when commenting is enabled/disabled 2021-04-23 13:42:43 +01:00
Matt Westcott
5885494908 Move #6962 release note to 2.14 2021-04-23 12:52:21 +01:00
Storm Heg
01d8185459
fixup! Changelog / release note for #6962 2021-04-23 12:11:14 +02:00
Storm Heg
22bb5746bd
Changelog / release note for #6962 2021-04-23 11:59:17 +02:00
André Fonseca
6e77e0d415
swap order of operands of the query intersection
This way the order_by of right side operand takes precedence
2021-04-23 11:59:17 +02:00
Matt Westcott
0c59a68766 Avoid evaluating StreamField media on startup
Fixes #7070. BlockWidget now evaluates js_context / block_json lazily on first render, so that it doesn't try resolving media files on startup, which may fail if (for example) ManifestStaticFileStorage is in use and collectstatic has not yet been run.
2021-04-23 10:46:03 +01:00
Karl Hobley
06be13fda0 Changelog / release note for #7077 2021-04-22 17:29:24 +01:00
Jaap Roes
aafd32b66f
Fix #7007: Add ancestor_of API filter (#7077)
* Fix #7007: Add ancestor_of API filter

* Alter descendant_of_with_type test to find at least one page
2021-04-22 17:23:26 +01:00
Jacob Topp-Mugglestone
dba3a438c0
Feature/commenting disable on snippets (#7080)
* Default to comments disabled

* Don't depend on window.comments being defined
2021-04-22 17:23:03 +01:00
Karl Hobley
feab09a6d6
Start 2.14 (#7081)
* Version bump to start work on 2.14

* Removed StreamValue.stream_data and StreamValue.TupleView

* Rotate deprecation warning classes

* Set up changelog and release notes for 2.14

* Changelog / release note for #7023

* Add 2.14 to the compatibility table in the upgrading guide
2021-04-22 17:10:57 +01:00
jacobtoppm
67f99f33ce Remove the comment formset if the management form is missing 2021-04-22 16:26:09 +01:00
Matt Westcott
a006caac94 Version bump to telepath 0.1.1 for gettext_lazy fix
Fixes #7059 and #7074
2021-04-22 16:18:49 +01:00
Karl Hobley
d1115c463c
IE11 support for commenting (#7057)
* Polyfill URLSearchParams

* Workaround unimplemented methods for IE11

* Add a fallback for the <details>/<summary> elements
2021-04-22 15:58:08 +01:00
Karl Hobley
711a3310a7 Unfocus comment when user clicks cancel 2021-04-22 15:43:50 +01:00
jacobtoppm
333a22a274 Close the comment menu when unfocused, and focus the first menu item when opened as expected 2021-04-22 14:50:02 +01:00
jacobtoppm
97f605c14c Fix comments list height to prevent grey bar at bottom 2021-04-22 14:49:46 +01:00
Thibaud Colas
90a98f0cf5
Add search details and contributors to theme release notes (#7062) 2021-04-21 15:23:56 +01:00
Simon Evans
6c065fad8b Make comment buttons focusable 2021-04-21 14:51:31 +01:00
jacobtoppm
1ff4bdceef Alter the date format on comments to match Wagtail listings 2021-04-21 13:39:05 +01:00
Matt Westcott
dede38be65 Add translations for simple_translation app 2021-04-21 09:36:33 +01:00
Tijani-Dia
6349f4a28b
Wagtail API pages endpoint to respond with a 400 error (instead of 500 error) when entering an invalid value to a filter 2021-04-21 06:41:45 +01:00
Matt Westcott
075bfa9eab Update project template to use Django 3.2 2021-04-20 20:43:27 +01:00
Matt Westcott
e1766874eb Finalise release notes for 2.13rc1 2021-04-20 20:28:33 +01:00
Matt Westcott
deade75907 Generate new translation strings 2021-04-20 20:25:38 +01:00
Matt Westcott
a0f6662293 Update translator credits 2021-04-20 20:25:38 +01:00
Matt Westcott
41c516aa9d Fetch new translations from transifex 2021-04-20 20:25:38 +01:00
Matt Westcott
cee245e701 Rename wagtail.core.logging to wagtail.core.log_actions
Having a module called logging clashes with the standard library one in weird ways (specifically: it causes a circular import error when running django-admin compilemessages from inside wagtail/core)
2021-04-20 20:24:47 +01:00
Matt Westcott
ebcb6f01c8 Release notes for #6702 / #7050 2021-04-20 18:59:13 +01:00
Matt Westcott
7c0af39a17 Fix UI of password change form as per https://github.com/wagtail/wagtail/pull/6702#issuecomment-823334786
Remove 'required' asterisks and auto-focus
2021-04-20 18:43:23 +01:00
Matt Westcott
b1006e61d1 Remove no-longer-used localisation from language names
Also remove Turkish (Turkey) from the list - it now appears as a duplicate in the list, and the usefulness of having both Turkish and Turkish (Turkey) is questionable enough that people who really want it should opt in via WAGTAILADMIN_PERMITTED_LANGUAGES
2021-04-20 18:43:23 +01:00
Karl Hobley
b528b063e5 Add 'data-tab-nav' to tabbed interface
For compatibility with https://github.com/wagtail/wagtail/pull/7020
2021-04-20 18:43:23 +01:00
Karl Hobley
43c6cd776a Change "Revert to Gravatar" to "Reset to default" 2021-04-20 18:43:22 +01:00
Karl Hobley
4999a757c9 Hide timezone selector if USE_TZ is false 2021-04-20 18:43:22 +01:00
Karl Hobley
ab8608a74f Docs for customising account settings 2021-04-20 18:43:22 +01:00
Karl Hobley
dff6942a48 Improved layout of profile picture panel 2021-04-20 18:43:22 +01:00
Karl Hobley
30fb7daf77 Convert change password view into a settings panel 2021-04-20 18:43:21 +01:00
Karl Hobley
72a01e1df5 Show language options in local language 2021-04-20 18:43:21 +01:00
Karl Hobley
7c08d4ccd2 Combine name and email settings into one panel 2021-04-20 18:43:21 +01:00
Karl Hobley
de1497a1fa Combine locale settings into one panel 2021-04-20 18:43:21 +01:00
Karl Hobley
e13bfb4324 Add separate tab for notification settings 2021-04-20 18:42:48 +01:00