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

2906 Commits

Author SHA1 Message Date
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
cba75351a8 Fill in release date for 5.2 2023-11-01 11:04:00 +00:00
Cynthia Kiser
7cdc4961c2 Sort groups by name in group index view 2023-10-31 18:52:11 +00:00
Matt Westcott
f533678aa1 Release note for #11163 2023-10-31 17:32:09 +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
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
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
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
Matt Westcott
f7761c27d6 Set up release notes for 5.3 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
8111639f9e Release note for CVE-2023-45809 in 5.0.5 2023-10-19 15:06:37 +01:00
Matt Westcott
6033a3841b Release note for CVE-2023-45809 in 4.1.9 2023-10-19 15:06:31 +01:00
Matt Westcott
280bd79e75 Release note for page listing view redesign 2023-10-19 14:38:06 +01:00
Stefan Hammer
3de6ce61ff Improve filtering of audit logging based on the user's permissions (#11020)
Until now, a user could see the audit log for all custom models,
permissions haven't been checked yet.
Now, only log entries of those content types are displayed, where
the user has at least one permission.

The change also adds filtering to the action-dropdown.
This avoids showing unnecessary action types, e.g. actions which aren't
used at all.
All 3 uses of action-dropdowns (site history, page history, generic
history) only display those actions, which are used at least once.

This partially fixes #9181.
2023-10-19 13:46:55 +01:00
Neeraj P Yetheendran
8b697124e8 Consistently allow passwords to use leading & trailing whitespace
- Set strip=False to LoginForm,UserForm to ensure consistency with Django's practices
- Added test to ensure whitespace password not stripped in UserForm
- Test to ensure whitespace not stripped in PasswordChangeForm
- Set username to email if email-based custom user model used in WagtailTestUtils login method
- Co-authored-by: sag​e <laymonage@gmail.com>
- Fixes #10839
2023-10-19 23:32:41 +11:00
LB (Ben Johnston)
74aada038b
Add BulkController support for shift+click behaviour (#10861) 2023-10-19 13:25:41 +01:00
LB Johnston
68c41833e5 Move changelog entry #10961
Release notes had this in features
2023-10-19 21:56:40 +10:00
Ihedioha Chinedu Innocent
26a89cf37d Updated FieldPanel to TitleFieldPanel in docs
- Closes #11078
2023-10-19 22:36:15 +11:00
Storm B. Heg
aa2b94db0b
Add changelog and release notes for #10961
Crediting @MeghanaNalla too for their previous work in #10759.
2023-10-19 12:58:32 +02:00
LB Johnston
8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Sage Abdullah
5c92c8cb8d
Release notes for #11082 2023-10-19 02:23:32 -04:00
sag​e
56b14e8f97
Use dropdown buttons on listings in dashboard panels (#11083)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:12:39 +01:00
Thibaud Colas
78a349bb24 Release notes for #10915 2023-10-19 06:39:35 +01:00
Thibaud Colas
67757ce29c Add release notes for #11080, #11081 in v5.1.3 2023-10-18 23:59:58 -04:00
Thibaud Colas
3376060ea6 Use the correct action log when creating a redirect 2023-10-18 23:43:54 -04:00
Chiemezuo
3df622f2ef Migrate publishing schedule dialog field resets to Stimulus
- Remove ...admin/schedule-publishing.js
- Builds on #11043 & #11066
- Closes #11029
2023-10-19 08:00:15 +11:00
Alex Tomkins
7131a85532 Use get_or_create for editor page subscriptions
Two processes loading the edit view of a page without a subscription could result in an integrity error.
See https://docs.djangoproject.com/en/4.2/ref/models/querysets/#get-or-create
Fixes #11016
2023-10-18 21:10:57 +11:00
Chiemezuo
29d73a3b68 DialogController add support for notifyTargets
- Allowing the dispatching of events to internal targets for key modal events
- See ##11029
2023-10-18 18:52:04 +11:00
Thibaud Colas
a087a4a1d8 Add release notes for picture and srcset_image template tags 2023-10-17 11:50:07 -04:00
Matt Westcott
234e144f50 Also credit Hazh. M. Adam for original work on #7567 2023-10-17 16:01:34 +01:00
Matt Westcott
f233c3d0ef Release note for #11044 2023-10-17 15:59:27 +01:00
Thibaud Colas
e2e0130662 Avoid using aria-label with different content from visible text for "Forgotten password" link 2023-10-17 21:36:38 +11:00
Chiemezuo
aa47776b8a Allow long words in comments to wrap if needed
Fixes #11048
2023-10-17 21:16:39 +11:00