0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
Commit Graph

5434 Commits

Author SHA1 Message Date
Thibaud Colas
82c0fdecbf
Change light theme floating toolbar active color (#11261)
Co-authored-by: Cassidy <cassidy.pittman@torchbox.com>
2023-11-20 12:45:34 +00:00
Thibaud Colas
0ae74e1d5a
Add tutorial disclaimer for new extended tutorial (#11259) 2023-11-20 08:41:16 +00:00
Thibaud Colas
6bc778843e Release notes for #6107 / #11209 2023-11-17 21:04:57 +00:00
Thibaud Colas
48a62df3df Update docs now that SVG icons are the only option 2023-11-17 21:04:57 +00:00
Matt Westcott
6b973dca45 Release notes for 6.0 deprecations 2023-11-17 17:12:59 +00:00
Damilola Oladele
7e774971fa
Documentation: GSoD - A complete tutorial on how to build your Portfolio site with Wagtail (#11217)
Co-authored-by: Meagen Voss <45881480+vossisboss@users.noreply.github.com>
2023-11-17 16:39:37 +00:00
Sage Abdullah
364c1cee0d
Release notes for #11220 2023-11-17 15:26:33 +00:00
Matt Westcott
f44c31d9a6 Fill in release date for 5.2.1 2023-11-16 14:44:26 +00:00
Matt Westcott
6908a5cc1c Prevent error on locked pages report when a user has locked multiple pages (#11245)
Fixes #10960. Thanks to @richie-blake and @rohitsrma for reporting / investigation.
2023-11-16 14:16:35 +00:00
Sage Abdullah
3af26aa30e Restore the ability to have content type facets when searching pages with an empty query (#11243) 2023-11-16 13:22:58 +00:00
Joe
c9b3d9e15b Check for ContentType and Permission models before migration (#11184)
This prevents `create_extra_permissions` from querying or creating
ContentType or Permission objects if the models cannot be found.
When using multiple databases which do not have the auth_permission
table `create_extra_permissions` will cause migrate to fail.

This is similar to https://code.djangoproject.com/ticket/24075.

Thanks to @crccheck for additional bug reporting.
2023-11-16 13:14:37 +00:00
Matt Westcott
ba17ef19d3 Release note for #11216 / #11234 in 5.2.1 2023-11-15 13:17:19 +00:00
Matt Westcott
f0697a6a9c Release note for #11216 in 6.0 2023-11-14 18:56:36 +00:00
Christer Jensen
b14bc33cdc
Fix snippet IndexView not respecting get_add_url() 2023-11-14 15:40:45 +00:00
Matt Westcott
583b0a297f Release note for #11223 in 5.2.1 2023-11-14 12:10:24 +00:00
Sage Abdullah
1341f0e065
Release notes for #11232 2023-11-14 10:59:19 +00:00
Matt Westcott
d4c18909df Release note for #11226 in 5.2.1 2023-11-13 09:04:35 +00:00
LB Johnston
2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
Neeraj P Yetheendran
8932c67270 Add full set of Documents app features
- Added customizing document upload form subsection in documents section
- Added storing and serving subpage
- Added overview section, including RichText and StreamField usage
- Closes #2001
2023-11-13 09:53:16 +11:00
LB Johnston
570b9a410c Upgrade to Node 20 2023-11-12 08:45:58 +11:00
Temidayo32
9349e2ad9f
Allow UniqueConstraint in place of unique_together for TranslatableMixin's system check 2023-11-10 17:29:26 +00:00
rohitsrma
13048eab79 Prevent display of Workflow and Aging Pages Reports without appropriate permissions (#11205) 2023-11-10 16:06:23 +00:00
Kehinde Bobade
af1ce3ff88 Refactored the Account editing view to CBV
Relates to #8629
2023-11-10 18:50:10 +11:00
Sage Abdullah
2d5dc4d8f5
Fix crash when accessing the history view for a translatable snippet
Regression in dc049cd880.
2023-11-09 12:08:49 +00:00
Thibaud Colas
771e83802a Release notes for #11201 2023-11-09 08:57:56 +00:00
Matt Westcott
1ee655da0c Remove deprecated icons 2023-11-09 08:57:56 +00:00
Matt Westcott
574c218c2b Remove reference to icon fonts in 'extending Draftail' docs 2023-11-09 08:57:56 +00:00
Temidayo32
eaf237ffcb Improve layout of Image URL Generator
- Move preview image to above the 'fold' so it's clearer to users what this page is for
- Avoid the JS driven (non-responsive) alert that shows if the image is too large and instead opt for a simpler CSS approach, allowing the image to overflow with a scrolling container
- Add w-prefixed classes for elements
- Ensure URL has an accessible label
- Relates to #3683
2023-11-09 08:56:13 +11:00
LB Johnston
9765f7d88e Add changelog for #11097
Relates to partial styling improvements as specified in #11065
2023-11-09 08:05:28 +11:00
Matt Westcott
32c48e149d Use the latest draft when copying an unpublished page for translation (#7755)
Fixes #7754

Co-authored-by: Andrey Nehaychik <andrey.nehaychik@vizor-games.com>
2023-11-08 18:31:20 +00:00
Matt Westcott
582fe12749
Ensure that explorer_results views fill in the correct next_url parameter on action URLs
Fixes #11177, by adding the option to pass an actions_next_url argument to the table as per https://github.com/wagtail/wagtail/pull/11175#discussion_r1381892130
2023-11-08 15:44:43 +00:00
varun kumar
d737f29a62
Use logical OR operator to combine search fields for Django ORM in IndexView 2023-11-08 15:30:27 +00:00
Sylvain Fankhauser
de70673bee Allow using draftjs_exporter 5.0 (#11024)
Fixes #10723
2023-11-08 12:58:17 +00:00
Matt Westcott
845a2acb36 Split out Elasticsearch backend functionality out for easier extensibility (#11199, #11018)
Co-authored-by: marcelkornblum <me@marcelkornblum.com>
Co-authored-by: Cameron Lamb <cameron.lamb@digital.trade.gov.uk>
2023-11-07 14:38:04 +00:00
Matt Westcott
536ad2891e Release note for #11196 2023-11-07 14:28:50 +00:00
Robert Rollins
e16614bce8 Add next_url to Edit and Add Child page-listing buttons (#11170) 2023-11-07 10:48:35 +00:00
Sage Abdullah
eefb3010b4
Remove upper bound on django-pattern-library in testing dependencies 2023-11-07 10:38:48 +00:00
rohitsrma
6ef8da04eb Ensure updated comments notifications (text) render unescaped strings
Fixes #11143
2023-11-07 08:39:38 +10:00
Matt Westcott
614ae9c69f Add 5.2.1 release notes for #11190 2023-11-07 08:25:34 +10:00
Matt Westcott
080c3b9b30 Remove search logging from project template
The search view on the project template is still attempting to log queries against the now-removed wagtailsearch.Query model - as of 6.0a0 this is causing an ImportError when running initial migrations on a newly-created project.

Since the wagtail.contrib.search_promotions module is optional (and off by default on new projects), I've opted to comment out the query logging code with instructions for developers who wish to re-enable it.
2023-11-07 09:23:09 +11:00
Matt Westcott
9fe2e6a419 Fix code example for {% picture ... as ... %} tag - fixes #11186 2023-11-06 16:35:28 +00:00
Matt Westcott
092bd30dcb Add 5.2.1 release notes 2023-11-06 16:35:19 +00:00
Sage Abdullah
3077440292
Release notes for #11014 2023-11-06 14:41:02 +00:00
elhussein almasri
8f75331825 Preserve whitespace in rendered comments
Fixes #11171
2023-11-06 22:28:28 +11:00
Ian Price
67a2ff28b2 Add a background on the preview iframe
Ensures that when the iframe content is loaded there is a background on the iframe. So that transparent websites show correctly in the preview panel.
Fixes #11174
2023-11-06 22:02:41 +11:00
Matt Westcott
f71ecd9a75 Remove remaining occurrence of use_json_field 2023-11-02 17:05:41 +00:00
Matt Westcott
c49ec1bb06 Remove use_json_field parameter from StreamField 2023-11-01 16:52:20 +00:00
Matt Westcott
c363f6dd27 Remove ModelAdmin 2023-11-01 16:52:20 +00:00
Matt Westcott
d3fb0ab358 Remove insert_editor_css hook 2023-11-01 16:52:20 +00:00
Matt Westcott
aae3ce1c84 Remove docs mentioning legacy moderation 2023-11-01 16:51:25 +00:00
Matt Westcott
12924a5a2d Remove docs for WAGTAIL_MODERATION_ENABLED 2023-11-01 16:51:25 +00:00
Matt Westcott
ab86351a8d Remove legacy moderation system 2023-11-01 16:51:25 +00:00
Matt Westcott
cdac7dc7f5 Remove permission_type field from GroupPagePermission 2023-11-01 15:18:41 +00:00
Matt Westcott
55a48a212c Remove UserPagePermissionsProxy from action_menu and wagtailadmin_tags 2023-11-01 15:00:42 +00:00
Matt Westcott
605c9cf1a6 Drop support for Elasticsearch 5 and 6 2023-11-01 14:57:15 +00:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags (#11167) 2023-11-01 12:11:46 +00:00
Matt Westcott
cba75351a8 Fill in release date for 5.2 2023-11-01 11:04:00 +00:00
Thibaud Colas
90819907ca Update tutorial screenshots for v5.2 2023-11-01 09:22:11 +00:00
Cynthia Kiser
7cdc4961c2 Sort groups by name in group index view 2023-10-31 18:52:11 +00:00
Jake Howard
daa82eb8d0 Note that the admin should be limited to "trusted" users 2023-10-31 18:39:11 +00:00
Matt Westcott
f533678aa1 Release note for #11163 2023-10-31 17:32:09 +00:00
Sage Abdullah
69323d9881 Link to generic views docs in 5.2 release notes for ModelViewSet 2023-10-31 17:25:21 +00:00
Sage Abdullah
0a11a3452b Update modeladmin deprecation and migration notes to also mention ModelViewSet 2023-10-31 17:25:21 +00:00
Sage Abdullah
31334f212f Refer to ModelViewSet docs for similar SnippetViewSet customisations 2023-10-31 17:25:21 +00:00
Sage Abdullah
c7d4526826 Shorten links in snippet views customisation docs by setting currentmodule 2023-10-31 17:25:21 +00:00
Sage Abdullah
27f72ff935 Improve linking in existing viewsets docs 2023-10-31 17:25:21 +00:00
Sage Abdullah
f034d02bac Add docs for ModelViewSet customisation in generic views extending guide 2023-10-31 17:25:21 +00:00
Sage Abdullah
27515fb11c Move SnippetViewSet.ordering doc to ModelViewSet 2023-10-31 17:25:21 +00:00
Sage Abdullah
c9514345d9 Move viewset intro in generic views docs to the base ViewSet usage docs 2023-10-31 17:25:21 +00:00
Sage Abdullah
b258b99c86 Improve linking between viewset reference and extending docs 2023-10-31 17:25:21 +00:00
Sage Abdullah
b60763d8c8 Document how to use the base ViewSet and ViewSetGroup classes 2023-10-31 17:25:21 +00:00
Sage Abdullah
622b71654c Document register_admin_viewset hook 2023-10-31 17:25:21 +00:00
Sage Abdullah
07e41db2d5 Move chooser-related headings to under ChooserViewSet 2023-10-31 17:25:21 +00:00
Vedant Pandey
837d733097 Add search_index option to control search indexing of StreamField blocks (#11135) 2023-10-31 11:42:16 +00:00
Matt Westcott
5cd46fe203 Update version number to 6.0 2023-10-31 10:11:53 +00:00
Matt Westcott
814c6b3865 Bump djhtml to 3.0.6 (#11158)
Notably, this changes the behaviour of multi-line HTML tags so that attributes are aligned (https://github.com/rtts/djhtml#new-multi-line-html-elements). The pre-commit hook was already set to use djhtml 3.0.6, which meant that it was making changes that conflicted with the formatting rules enforced by the Makefile and CI.
2023-10-31 10:11:02 +00:00
Chiemezuo
638761687b Migrate styleguide contrib index view to a class based view
- Relates to #8365
2023-10-27 16:00:23 +11:00
LB Johnston
ae73491222 Update changelog contributors for #11101 2023-10-26 22:07:48 +10:00
Temidayo
69d30e2749
Helpful addition to Developer Docs on Extending Draftail (#11057)
Ensure hooks imports are added to the code snippets
2023-10-26 09:42:14 +10:00
Chiemezuo
930cbca2cd Use use _() over interim template vars for translations as args (wagtailadmin)
Closes #10126
2023-10-26 09:37:20 +11:00
Chiemezuo
0f312b8ad7 Update contributing translation docs - template usage
Closes #10126
2023-10-26 09:37:20 +11:00
CheesyPhoenix
871c09fd2e Ensure the sidebar's explorer does not trigger action-button of current view
Fixes #11037
Co-authored-by: Christer Jensen <chr.code@gmail.com>
2023-10-26 08:59:32 +11:00
LB Johnston
56c62cc298 Add changelog for #11120
Closes #11071
2023-10-25 08:55:09 +11:00
LB Johnston
c13edd0e42 InlinePanel DOM events - add versionadded admonition 2023-10-24 18:36:37 +11:00
LB Johnston
4a0ab8bf0a Add cross ref to InlinePanel DOM events in client-side docs
- See #10590 & #10948
2023-10-24 18:36:37 +11:00
Chiemezuo
8f9cb7c007 fix validation error on save from autocomplete (#11113) 2023-10-23 16:26:55 +01:00
phijma-leukeleu
1fd4b86022 Update checks.py (#10462)
Prevent "RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead."
2023-10-23 14:27:10 +01:00
Matt Westcott
1c76db228c Move breadcrumb class name, snippets template refactor and SidePanels notes into undocumented internals 2023-10-23 10:17:16 +01:00
Matt Westcott
8fde9c2a12 Reshuffle 5.2 upgrade consideration notes
* It's unclear why the imghdr change affects developers, or what action if any they should take - I don't think this needs a note at all
* Changes to menu hooks really come under the category of "Wagtail customisations", not "Changes affecting all projects"
2023-10-23 10:17:16 +01:00
Temidayo
21dfe9b05f
Documenting 5.2 as LTS release (#11111)
* Documenting 5.2 as LTS release
2023-10-23 09:24:21 +01:00
Matt Westcott
d17f62a55f Revert "Release note for #11018"
This reverts commit 24ebc590fb.
2023-10-20 16:24:52 +01:00
scott
8d68dafb0b update beautifulsoup pin (#11096) 2023-10-20 16:10:07 +01:00
Matt Westcott
24ebc590fb Release note for #11018 2023-10-20 15:39:30 +01:00
Thibaud Colas
4da28a4ba8 Reorder release v5.2 release notes to showcase more changes 2023-10-20 10:08:19 -04:00
Matt Westcott
f7761c27d6 Set up release notes for 5.3 2023-10-20 14:47:53 +01:00
Matt Westcott
ef67eaaa53 Version bump to start work on 5.3 2023-10-20 14:47:53 +01:00
Matt Westcott
aea258248c Remove versionadded / versionchanged annotations for 5.1 2023-10-20 14:47:53 +01:00
LB Johnston
145e33de9d
5.2 release notes - add supporting links and fix typos 2023-10-20 10:13:27 +01:00
Matt Westcott
b21921dd83 Release note for CVE-2023-45809 in 5.1.3 (and fill in release date) 2023-10-19 15:07:37 +01:00
Matt Westcott
97a1dc1876 Add 5.0.5 release note page 2023-10-19 15:06:44 +01:00