0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

12840 Commits

Author SHA1 Message Date
jacobtoppm
f0c42c8f4d Draftail widget splitting, permanently on 2022-04-13 15:27:30 +01:00
jacobtoppm
e2c1587f15 Make parentCapability updates use functions rather than events, to make setting other options simpler 2022-04-13 15:27:30 +01:00
jacobtoppm
08fe817375 Add setState to Draftail widget 2022-04-13 15:27:30 +01:00
jacobtoppm
8be861bc0d Start adding split block tests 2022-04-13 15:27:30 +01:00
jacobtoppm
a51a8483b0 Add StreamField parentCapabilities object, using 'duplicate' as an example function. 2022-04-13 15:27:30 +01:00
Matt Westcott
d63801b533 Update release note for page editor redesign 2022-04-13 14:46:05 +01:00
LB Johnston
edf881e4ea 3.0 release notes - move 'fix' to fix section 2022-04-13 23:41:54 +10:00
Jake Howard
59f901fb82 Use JSONField to store form submissions 2022-04-13 23:40:56 +10:00
Abdul
1822d7eee2 display help text message for tag field
- resolves #1874
- ensure message is dynamic based on the setting TAG_SPACES_ALLOWED
- Update wagtail/admin/templates/wagtailadmin/widgets/tag_widget.html
2022-04-13 13:37:30 +10:00
Steve Stein
f323d88765
Move page meta information from the header to a new status side panel component inside of the page editing UI (#8285)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-13 03:21:51 +01:00
Matt Westcott
bd3efa40cb Reorganise 3.0 upgrade consideration notes 2022-04-13 08:36:08 +10:00
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