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

13791 Commits

Author SHA1 Message Date
Matt Westcott
d202624458 Set atomic = False when renaming PageRevision table
This allows it to complete on SQLite <3.26, as per https://github.com/wagtail/wagtail/issues/8635#issuecomment-1209385465
2022-08-12 09:52:02 +01:00
LB Johnston
51dfcd2fd9 changelog entry for #8873 2022-08-12 17:35:42 +10:00
Matt Westcott
5466981f96 rename show_locale_labels attribute to i18n_enabled
It brings the whole locale filtering logic into play, so it's used for more than just showing labels or not
2022-08-12 17:35:42 +10:00
Matt Westcott
ff121bfa90 Split out get_object_list and filter_object_list methods from browse view 2022-08-12 17:35:42 +10:00
Matt Westcott
8dd7a4cc93 Make show_locale_labels a property of the relevant column objects
This saves having to pass it in the template context
2022-08-12 17:35:42 +10:00
Matt Westcott
89c2d705a2 Extract a common base class for the link form views 2022-08-12 17:35:42 +10:00
Matt Westcott
84a8faaaa1 Split link form views into get/post cases 2022-08-12 17:35:42 +10:00
Matt Westcott
6c8b3de3e2 Convert page chooser views to class-based views 2022-08-12 17:35:42 +10:00
Matt Westcott
267cac0fe1 Remove outdated fixme comment and redundant results_only parameter 2022-08-12 17:35:42 +10:00
LB Johnston
3e6e9eb618 update docs/test spelling of colour 2022-08-12 17:29:16 +10:00
LB Johnston
9321cd9404 documentation - extending generic views - fix typo
- closing ``` (backticks) were missing
2022-08-12 17:20:24 +10:00
LB Johnston
7964e2b20d add contributor for #8978 2022-08-12 17:19:28 +10:00
Xabier Bello
e29bb7e062 Update images.md
BASE_URL no longer works.
2022-08-12 17:17:33 +10:00
Matt Westcott
ad73080a99 Fix tests for lock message to account for timezones 2022-08-11 17:06:17 +01:00
Matt Westcott
e5dd080fce Release note for #8917 2022-08-11 13:45:35 +01:00
Matt Westcott
bcd2a54067 Wording fixes 2022-08-11 13:45:35 +01:00
Karl Hobley
b095879297 Allow scheduled publishing to be cancelled from the editor 2022-08-11 13:17:59 +01:00
Karl Hobley
a425dd0683 Lock page when scheduled for publishing 2022-08-11 13:17:59 +01:00
Karl Hobley
a743bf962d Use lock objects in side panels and add help text for each state 2022-08-11 13:17:59 +01:00
Karl Hobley
40c1227edc Use Lock objects in page action menus
Removes about 20 queries
2022-08-11 13:17:58 +01:00
Karl Hobley
315d9a938a Refactor how lock banner messages are constructed 2022-08-11 13:17:37 +01:00
Karl Hobley
9dcf09d27f Implement a .get_lock() method on LockableMixin 2022-08-11 13:17:37 +01:00
Karl Hobley
1cec004d97 Extract page locking fields into a mixin 2022-08-11 13:17:37 +01:00
Sage Abdullah
fcbb494747 Show Status column in snippet chooser view if DraftStateMixin is applied 2022-08-11 10:03:32 +01:00
Sage Abdullah
0960e5f596 Allow StatusTagColumn to dynamically add the primary class 2022-08-11 10:03:32 +01:00
LB Johnston
fd9a4a8745 add documentation for overriding the password reset form content
- relates to work done via #8925
- relates to request for override capacity in #2309
2022-08-10 20:32:35 +01:00
Matt Westcott
5de877967d Reword static files docs to fix formatting error 2022-08-10 20:01:17 +01:00
Matt Westcott
61ed6caa57 Add upgrade consideration note for change to BaseSetting 2022-08-10 19:56:57 +01:00
Matt Westcott
29d564c238 Release note for #6411 2022-08-10 19:42:00 +01:00
Andy Babic
fab0f7bb68 Add test for InvokeViaAttributeShortcut 2022-08-10 18:52:46 +01:00
Andy Babic
ca115e6509 Make InvokeViaAttributeShortcut pickleable 2022-08-10 18:52:46 +01:00
Andy Babic
9922d80e30 Ignore self.page_url when pickling a site settings object 2022-08-10 18:52:46 +01:00
Andy Babic
9e717ced1d Add failing test 2022-08-10 18:52:46 +01:00
LB Johnston
4151b8ae21 add changelog for #8964 2022-08-10 15:15:20 +10:00
Thibaud Colas
2c17d5021a Update to latest Draftail, draftjs-filters 2022-08-10 15:15:20 +10:00
Thibaud Colas
cee3e6d28b Add target styles for block toolbar 2022-08-10 15:15:20 +10:00
Thibaud Colas
5014c2ea1c Move rich text comments from block toolbar to inline 2022-08-10 15:15:20 +10:00
Thibaud Colas
dca2294293 Fully move rich text split from meta toolbar to block toolbar 2022-08-10 15:15:20 +10:00
Thibaud Colas
53dded86c8 Update base Draftail/TextField form styles to match designs 2022-08-10 15:15:20 +10:00
LB Johnston
41db4c62c4 add changelog for #8934 2022-08-10 15:08:57 +10:00
Thibaud Colas
b253a3850f Use field_row template tag for search term picker field 2022-08-10 15:08:57 +10:00
Thibaud Colas
c620e58c86 Fix keyboard focus not showing the chooser‘s actions 2022-08-10 15:08:57 +10:00
Thibaud Colas
21b5ad5ce9 Update chooser styles across all types 2022-08-10 15:08:57 +10:00
LB Johnston
8068d6f233 add changelog for #8820 2022-08-10 14:53:41 +10:00
Matt Westcott
f9fe6d0ca8 Documentation for generating chooser blocks via ChooserViewSet 2022-08-10 14:53:41 +10:00
Matt Westcott
252f9dcc1f Use ChooserViewSet to generate DocumentChooserBlock 2022-08-10 14:53:41 +10:00
Matt Westcott
161dd69c8a Implement generating a StreamField ChooserBlock from ChooserViewSet 2022-08-10 14:53:41 +10:00
Matt Westcott
316493873f Allow specifying target_model on ChooserBlock subclasses as a string 2022-08-10 14:53:41 +10:00
Matt Westcott
b10acebd31 Replace ChooserBlock get_form_state methods with a base implementation that delegates to the widget 2022-08-10 14:53:41 +10:00
Matt Westcott
90e91e0e4a Consistently use edit_url in the state representation of choosers
Previously we were using edit_link in dicts handled by JS, and edit_url in dicts handled by Python, meaning that ChooserBlock.get_form_state had to rewrite it
2022-08-10 14:53:41 +10:00