0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

12879 Commits

Author SHA1 Message Date
Karl Hobley
a8967b5894
Page editor side panels (#8281)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-12 23:10:48 +01:00
Steve Stein
629ced01ca
Page editor underline tabs (#8266)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-12 16:11:08 +01:00
sag᠎e
ec70921e52
Refactor create snippets view into class-based view (#8332) 2022-04-12 13:59:14 +01:00
Matt Westcott
be6526e95d Release note for #8271 2022-04-12 13:09:59 +01:00
Andy Babic
b46403969e
Add chunking/iterator() support to PageQuerySet.specific() (#8271)
* Add chunking support to SpecificIterable

* Add tests

* Remove the redundant specific_iterator() function
2022-04-12 13:08:00 +01:00
Matt Westcott
1d73aa2cec update latest.txt for 2.16.2 and 2.15.5 2022-04-11 16:44:25 +01:00
Matt Westcott
8f3fdc5365 Fill in release date for 2.16.2 2022-04-11 15:59:07 +01:00
Matt Westcott
31fc598b2f Release note for #8298 in 2.16.2 2022-04-11 15:58:40 +01:00
Matt Westcott
47bf2910f3 Further locale picker fixes:
* Remove dropdown behaviour when switcher legitimately only contains a single locale
* Don't omit listing when there are no child pages, because it's possible to land on a page with no children when switching locales
2022-04-11 15:58:34 +01:00
Matt Westcott
eadcb7d7fc Prevent locale switcher in page chooser from breaking at the root level
Fixes #8079
2022-04-11 15:58:28 +01:00
Matt Westcott
999e745de5 Fill in release date for 2.15.5 2022-04-11 14:39:59 +01:00
Matt Westcott
93e92c1528 Release note for #8328 in 2.16.2 2022-04-11 13:12:16 +01:00
Matt Westcott
78bd8e4394 Check get_url_parts return value in automatic redirect creation
Addresses #7999. get_url_parts _should_ always return a valid result since we only run it on sites that the page belongs to, but if it doesn't, we don't want it to error out (since this is only a background task).
2022-04-11 13:12:12 +01:00
Matt Westcott
d42eb4ed01 Release note for #8302 in 2.16.2 2022-04-11 10:28:49 +01:00
Matt Westcott
7ad87c7d93 Ensure 'next' param on image / doc listings always links back to index page, not results view
Fixes #8291. When results listings are generated as partial AJAX responses through the listing_results review, the 'next' parameter on those results should point back to the main 'index' view so that on return from the edit view, the user gets back a full page rather than a partial response.
2022-04-11 10:14:37 +01:00
Dan Braghis
13b60a2688 Update changelog/release notes for 2.15.5 and 2.16.2 backports 2022-04-10 10:10:08 +01:00
AndresMRM
483b7d27b3 Add internationalisation UI to modeladmin
Includes changes from #6230

Co-Authored-By: Dan Braghis <dan@zerolab.org>
2022-04-10 09:17:41 +01:00
John-Scott Atlakson
e7758d58cb Automatically ignore GenericRelation when copying pages 2022-04-10 09:00:06 +01:00
Andy Chosak
9943b74c33 Cleanup unused pagination_query_params variable
Some search views populate an used `pagination_query_params`
variable which is no longer used anywhere in search templates.
This commit cleans this up.
2022-04-09 22:34:50 +10:00
Abdul
134bd19bef add ability for form builder to split choices by newline
- fixes #3001
- keep support for comma separated lists if supplied
2022-04-09 22:30:10 +10:00
Dan Braghis
54e9d09421 Release notes for #8161 2022-04-08 17:47:10 +01:00
Dan Braghis
b5e47a9adc Add full test for copy then publish from edit screen
tl;dr - EditView builds the page instance from its latest revision and that is what is passed to the form and ultimately submitted.

In order to test the `translation_key`s for orderables, we need to be as close to it as possible, a simple `page.copy()` then `page.save_revision().publish()` doesn't capture the subtleties
2022-04-08 17:42:34 +01:00
Kalob Taulien
b34d7f3678 Fix IntegrityError for Orderable translation key on copy 2022-04-08 17:42:34 +01:00
Steve Stein
8bbf41627b
Implement new slim page editor header with breadcrumb (#8231)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Co-authored-by: Dan Braghis <dan@zerolab.org>
Co-authored-by: Karl Hobley <karl@kaed.uk>
2022-04-08 17:36:47 +01:00
Thibaud Colas
a34e267b9d Add release notes for #8310 2022-04-08 11:51:09 -04:00
Thibaud Colas
8694317fb4 Add back support for custom attributes on menu items 2022-04-08 11:51:09 -04:00
Thibaud Colas
4dc5f3c595 Remove legacy sidebar, refactoring slim sidebar implementation 2022-04-08 11:51:09 -04:00
Matt Westcott
d43b62a348
Add Vaibhav Shukla to contributors 2022-04-08 11:59:40 +01:00
Vaibhav Shukla
cae43944e7
Slight clarification on getting started guide (#8300)
* Clarification b/w IMPLEMENTATION and SETUP guide
2022-04-08 11:58:58 +01:00
John-Scott Atlakson
38f2e0b5b5 Fix page copy in Wagtail admin ignores exclude_fields_in_copy 2022-04-08 10:01:17 +01:00
Coen van der Kamp
5c31aad368 Pin sphinx-wagtail-theme==5.1.1 2022-04-08 09:10:22 +10:00
Coen van der Kamp
7edb577d94 Pin sphinx-wagtail-theme==5.1.0 2022-04-07 18:53:52 +01:00
Kalob Taulien
de005bc36a
Move badges under logo; added monthly downloads badge
* Move badges under logo; added monthly downloads badge

* Fixed copy/paste error

* Moved badges out of h1 tag
2022-04-07 10:19:29 -06:00
Kevin
0ed4375c3d Fixes incorrect link to Wand docs 2022-04-07 16:20:43 +01:00
Kyle J. Roux
844efa696a Ensure thumb_col_header_text is used by ThumbnailMixin correctly
- fixes #8269
because you cannot dynamically set attributes on bound methods, we need to update the current classes version of admin_thumb so it can be accessed in sub classes
2022-04-08 00:23:45 +10:00
Hitansh Shah
0b8a8c2024 Added image management command to purge and regenerate renditions
- resolves #8107
2022-04-07 23:57:44 +10:00
eevel
1c7c5cfc0b Allow specifying an alternative storage backend for image renditions
- add setting `WAGTAILIMAGES_RENDITION_STORAGE`
- add AbstractRendition file storage to use new setting
- resolves #3183
2022-04-07 23:33:46 +10:00
LB Johnston
7d3ee400fe 3.0 release notes - fix heading 2022-04-07 23:28:03 +10:00
Jake Howard
5522769a9c Validate to and from addresses on email form
This will result in a migration, but the migration from a `CharField` to an `EmailField` won't hit the database, as `EmailField` is just a `CharField` with extra default validation.
2022-04-07 22:52:12 +10:00
Matt Westcott
44e41a72d3 Add note about use of template tags in 500.html 2022-04-07 22:25:41 +10:00
Matt Westcott
30c61353e8 Fix tag imports for html lang/dir attributes
Follow-up to #8220:

* project_template/500.html should not include template tags because they get parsed during `wagtail start` rather than on page render, and 500.html is static HTML by design - hard-code lang="en" instead
* remove redundant wagtailadmin_tags imports
2022-04-07 22:25:41 +10:00
LB Johnston
5f4942f9ad documentation - fix broken docs references
- remove 2.16 reference to setting that no longer exists
2022-04-07 12:52:03 +01:00
Caio Jhonny
21202e421e Add missing import django models (#8301)
Django models need to be imported
2022-04-07 12:18:37 +01:00
Matt Westcott
c5d66c7a1f Remove default_app_config for test apps and wagtail.core 2022-04-07 12:16:28 +01:00
Matt Westcott
cef90cfd88 Remove default_app_config settings
These are only required in Django < 3.2, which we no longer support.
2022-04-07 12:16:28 +01:00
Matt Westcott
096ab2a8b4 Release note for #8059 in 2.16.2 2022-04-06 19:26:39 +01:00
Dan Braghis
e777c22d70 Initialize locale attribute in SafePaginateListView.__init__ 2022-04-06 19:10:52 +01:00
Matt Westcott
7f46688741 Fix banner date logic
Months in `new Date(y, m, d)` are 0-based, just to be awkward
2022-04-06 18:01:54 +01:00
Matt Westcott
ad64ac3e91 Release note for #8292 2022-04-06 17:39:50 +01:00
Matt Westcott
d65d10d3de Release note for #8293 2022-04-06 17:38:44 +01:00