LB Johnston
401e84dfd9
fix various typos and backtick usage in 4.0 changelog/release notes
...
- adds a ref to the new setting added for `WAGTAILADMIN_UNSAFE_PAGE_DELETION_LIMIT` - see #8703
2022-08-16 12:36:46 +01:00
LB Johnston
23ee3d8924
add changelog for #9000
2022-08-16 07:58:28 +10:00
Sage Abdullah
e4509f3432
Improve Revision model docs
2022-08-16 07:58:28 +10:00
Sage Abdullah
e864b9c4d1
Add docs for PreviewableMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
fb6ec3ad00
Add docs for DraftStateMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
cf3cea9a5b
Add docs for RevisionMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
3151200288
Improve Page model reference documentation
...
- Use inline code for `Locale` and `TranslatableMixin` headers to be consistent with other classes in the page
- Move `locale` and `translation_key` of `TranslatableMixin` to its own "Database fields" section
- Add missing periods in Page.update_aliases parameter description
2022-08-16 07:58:28 +10:00
LB Johnston
92204aa0bb
add changelog for #8993 & #9005
2022-08-16 07:37:30 +10:00
PaarthAgarwal
011099dd45
fixed console error for breadcrumbs
2022-08-16 07:35:23 +10:00
Matt Westcott
8564383ef5
remove stray console-log from page-editor.js
2022-08-16 06:13:30 +10:00
Matt Westcott
a6a94a9a04
Ensure DocumentChooserBlock can be deconstructed for migrations
...
Fixes #8989 . Now that DocumentChooserBlock is constructed dynamically via wagtail.documents.viewsets.chooser, we need to explicitly set its `__module__` attribute so that the result of calling `deconstruct()` for migrations points back to the wagtail.documents.blocks module.
Also update the documentation for defining custom choosers, and add tests for deconstructing the other chooser blocks.
2022-08-15 15:38:54 -04:00
Matt Westcott
5ff6922eb5
Update CONTRIBUTORS.rst with new translators
2022-08-12 14:55:07 +01:00
Matt Westcott
a568b59808
Generate new strings for translation
2022-08-12 14:07:32 +01:00
Matt Westcott
9ee67a5fef
Fetch new translations from Transifex
2022-08-12 14:06:14 +01:00
Matt Westcott
f24bccc3df
Set BaseSetting deprecation to 5.0
2022-08-12 13:49:09 +01:00
Thibaud Colas
ca7f23d176
Update InlinePanel and StreamField styles for new designs ( #8983 )
2022-08-12 13:17:40 +01:00
Sage Abdullah
6d3ea0cb3e
Add unpublish view and action menu item for snippets with DraftStateMixin
2022-08-12 14:00:59 +02:00
Sage Abdullah
2d23aea9bd
Create new UnpublishView for reuse outside of pages
2022-08-12 14:00:59 +02:00
LB (Ben Johnston)
6a11ae711a
Only use hidden until-found in panels if browsers supports it ( #8962 )
2022-08-12 12:19:48 +01:00
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