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

5355 Commits

Author SHA1 Message Date
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
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
Ihedioha Chinedu Innocent
26a89cf37d Updated FieldPanel to TitleFieldPanel in docs
- Closes #11078
2023-10-19 22:36:15 +11:00
Smoothieewastaken
fb4c4209f5 docs: fixed typos from docs\releases\4.0.md 2023-10-19 12:08:31 +01: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
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages (#10961)
* Resolves #10678 Avoid purging Revisions in use by third-party packages

---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sag​e <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +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
Matt Westcott
b35f902daf Upgrade consideration note for button hook changes 2023-10-17 17:28:08 +01:00
Matt Westcott
8079cad7df Add a view_name argument to register_page_header_buttons 2023-10-17 17:28:08 +01:00
Matt Westcott
3d8e6824a8 Change register_page_header_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:28:08 +01:00
Matt Westcott
1cb180c11a Change ButtonWithDropdownFromHook and its hooks (including register_page_listing_more_buttons) to accept a user argument instead of page_perms 2023-10-17 17:28:08 +01:00
Matt Westcott
54647bda2c Move construct_page_listing_buttons hook docs into the 'Page explorer' section 2023-10-17 17:28:08 +01:00
Matt Westcott
0ae8d5fc8c Change construct_page_listing_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:28:06 +01:00
Matt Westcott
761ccfc215 Change register_page_listing_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:26:39 +01:00
Thibaud Colas
a087a4a1d8 Add release notes for picture and srcset_image template tags 2023-10-17 11:50:07 -04:00
Thibaud Colas
4bfbbae405 Add picture tag implementation and tests 2023-10-17 16:09:06 +01:00
Paarth Agarwal
41dac89e1d Add srcset_image tag for responsive images 2023-10-17 16:09:06 +01: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
Chiemezuo
959913ee18 Create reset method in w-action controller
Enabling prep for #11029
2023-10-17 21:08:22 +11:00
Susheel Thapa
2307eb5681 Chore: Typo fixed in multiple files 2023-10-17 21:07:37 +11:00
faishalmanzar
e9d88528e7 Added JS Events for Inline panel added/removed
- Added docs for InlinePanel JS events
- Added w-formset:ready w-formset:added & w-formset:removed events and expanded test suite
- Fixes #9105
2023-10-17 11:53:16 +11:00
LB Johnston
d0b588228d 5.2 release notes - fix code type
- We usually use `javascript` not `js`
2023-10-17 08:42:00 +10:00
Matt Westcott
7d2c2a5e6d Release note for #10711 2023-10-16 21:28:56 +01:00
Matt Westcott
997754fe99 Release note for #11039 in 5.1.3 2023-10-16 12:16:53 +01:00
Matt Westcott
90c163078a Release note for #11039 in 5.2 2023-10-16 12:15:23 +01:00
Matt Westcott
78f93af5c8 Release note for #10972 in 5.2 2023-10-13 15:42:05 +01:00
chris48s
4219488a3c use ignore_conflicts when inserting references
don't pass ignore_conflicts if backend is mssql

check for feature not DB engine
2023-10-13 14:05:38 +01:00
chris48s
912e2b6ea7 Fix reference indexing error for objects with lazy ParentalKeys
failing test case: ref index with lazy parental key

determine if instance type is indexed using instance._meta.model

Release notes for #11023
2023-10-13 13:50:14 +01:00
Matt Westcott
b4a9f2d1fa Release note for #11013 2023-10-13 13:09:06 +01:00
LB (Ben Johnston)
59b1d0ada2 Update docs/releases/2.13.rst
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-10-13 11:45:41 +01:00
LB Johnston
327a31f6ae Documentation - fix broken refs & pygments formats
Fixes the following errors when build the documentation
- .../docs/getting_started/tutorial.md:181: WARNING: Pygments lexer name 'txt' is not known
- .../docs/releases/2.13.rst:113: WARNING: undefined label: 'wagtail.blocks.streamblock'
2023-10-13 11:45:41 +01:00
Chiemezuo
4269d824f9 Migrate jQuery 'select all on focus' in Image URL generator to Stimulus
Adds support of this useful shared functionality in the ActionController
Fixes #11031
2023-10-13 11:29:18 +11:00
Matt Westcott
953c980976 Release notes for #10931 in 5.2 2023-10-09 19:07:20 +01:00
Sage Abdullah
aee4f42a7d Add tests and docs for inspect view in ModelViewSet 2023-10-09 19:01:54 +01:00
LB Johnston
1c4e69dbce Add better docs & cross-linking for how PanelGroup permission kwarg works
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
rohitsrma
15642124b6 API - Allow ordering by multiple fields
- Closes #7429
- Builds on original PR #7433 (Jake Howard)
2023-10-09 22:16:31 +11:00
Matt Westcott
2a8fc41f15 Fix changelog for django-filter upgrade in 4.0
Fixes #11019
2023-10-09 12:04:56 +01:00
Matt Westcott
a7f7757630 Fix changelog for django-filter upgrade in 5.1 2023-10-09 12:04:19 +01:00
LB Johnston
ea7e3ed2e5 Add Changelog & Upgrade Notes for #10959 2023-10-09 20:56:09 +11:00
LB Johnston
ee533ac1a7 Remove deprecated search_garbage_collect
Wagtail 5.0 advised that this old command should no longer be used.
https://docs.wagtail.org/en/stable/releases/5.0.html#managing-stored-search-queries

However, it was not fully removed from the documentation or the code.
2023-10-09 20:56:09 +11:00
Thibaud Colas
a2c9e9ab2c Release notes for docs changes 2023-10-09 06:43:30 +01:00
Olumide Micheal
5ab554010a
Fix Inconsistent URL Format in Getting Started tutorial (#11009) 2023-10-09 06:40:57 +01:00
Damilola Oladele
1c0ffc8994
Document new choice of writing style guide (#10634) 2023-10-06 23:24:26 +01:00
Matt Westcott
7787ebaf95 Add 'undocumented internals' section to 5.2 upgrade considerations 2023-10-06 16:24:16 +01:00
Panagiotis H.M. Issaris
3340854d1a Add a link to the issue tracker on the PyPI project page (#11004) 2023-10-06 10:30:10 +01:00
Matt Westcott
d9c8d9fff3 Update CI database versions (#10999)
Rebuild of #10842
2023-10-05 14:44:28 +01:00
LB Johnston
8e3bee5e10 Add changelog for #10883 2023-10-05 22:01:52 +10:00
faishalmanzar
ceed617115 Added progress bar to wagtail_image_rendition command output
Fixes #10853
2023-10-05 22:23:28 +11:00
Matt Westcott
73a6456c04 Release note for Python 3.12 support (#10991) 2023-10-05 11:37:42 +01:00
Matt Westcott
9c3032083b Test against Python 3.12 2023-10-05 11:35:22 +01:00
rohitsrma
e2ce772017 Fix help block link contrast
Fixes #10990
2023-10-05 21:30:03 +11:00
LB Johnston
d6888e05e4 Update Format.classnames to be Format.classname
- Aligns with the naming convention set from Wagtail 4.2
- Add deprecation warnings if classnames is accessed & unit tests for this
- Update other unit tests to use the naming
2023-10-05 21:10:39 +11:00
LB Johnston
69b2955899 Fix typo in 5.2 release notes 2023-10-05 19:58:00 +10:00
Sage Abdullah
d0361e9829
Release notes for #10968 2023-10-05 10:35:28 +01:00
Sage Abdullah
9acc714c07
Add upgrade considerations for legacy moderation system deprecation 2023-10-05 10:35:28 +01:00
Sage Abdullah
065fab50a3
Deprecate submitted_revisions manager and save_revision's submitted_for_moderation kwarg 2023-10-05 10:35:27 +01:00
Sage Abdullah
5f70ebeaa1
Deprecate Revision.approve_moderation() and Revision.reject_moderation() 2023-10-05 10:18:48 +01:00
Sage Abdullah
c5caec6345
Deprecate WAGTAIL_MODERATION_ENABLED setting in favour of WAGTAIL_WORKFLOW_ENABLED
The latter came later in #7218, but existing parts that still use
the old setting were not migrated to use the new setting
2023-10-05 10:18:48 +01:00
Matt Westcott
ea6ca67ae0 Release note for #10989 in 5.0.4 2023-10-04 13:53:06 +01:00
Sage Abdullah
b05705fa07
Release notes for #10940 2023-10-04 13:31:21 +01:00
Sage Abdullah
60d0008c55
Rename get_list_dropdown_buttons to get_list_more_buttons 2023-10-04 11:34:37 +01:00
Sage Abdullah
97052d2e46
Add docs for context argument removal from construct_snippet_listing_buttons 2023-10-04 11:31:46 +01:00
Sage Abdullah
b32c5c08cd
Release notes for #10930 2023-10-04 11:26:25 +01:00
Sage Abdullah
e6bd210a0f
Rename BaseStatusSidePanel to StatusSidePanel 2023-10-04 11:20:31 +01:00