Rohit Sharma
bfdd13f8a8
Pass page_size to ImageChooserViewSet ( #11884 )
...
Fixes #11813
2024-04-26 17:56:24 +01:00
Matt Westcott
714a1878c2
Add release notes for Wagtail 6.0.3
2024-04-26 12:16:39 +01:00
Matt Westcott
a236405d43
Add release notes for Wagtail 5.2.5
2024-04-26 12:16:39 +01:00
Matt Westcott
7900055afa
Release note for #11858
2024-04-24 23:55:22 +01:00
Matt Westcott
b5f5364b82
Update "integrating into Django" docs to emphasise creating page models
2024-04-23 08:18:07 +10:00
Matt Westcott
4048c70502
Release note for #11881
2024-04-22 20:05:51 +01:00
Matt Westcott
0338642e62
Release note for #11878
2024-04-22 12:42:49 +01:00
Sage Abdullah
0d23f431e9
Release note for #11876
2024-04-22 11:26:09 +07:00
Sage Abdullah
100566ab8f
Set up release notes for 6.2
2024-04-22 09:00:37 +07:00
scott
951e41ae26
add new field types ( #11861 )
2024-04-18 16:42:06 +01:00
LB Johnston
2d075177c4
Fix issue where allow unicode slugs was not correctly used for urlify ( #11865 )
...
When the urlify util is used, ensure that we pass in the allow unicode value correctly in the SlugController.
Note: This was passed in for slugify but the usage of slugify, not urlify.
Fixes #11828
2024-04-18 13:59:36 +01:00
Thibaud Colas
b21b1a1534
Add snug mode release notes
2024-04-18 13:04:25 +01:00
Matt Westcott
b57a9a94a0
Release note for #11832
2024-04-18 12:34:48 +01:00
sage
c1a23b4bd3
Tweak styles for w-header-button to better match the designs ( #11863 )
2024-04-18 12:29:01 +01:00
Matt Westcott
c02162dc50
Release note for #11737
2024-04-18 10:54:19 +01:00
Sage Abdullah
0f7398f93c
Update release notes for #11749 and #11762
2024-04-18 07:43:55 +07:00
LB Johnston
67471defcf
Add release notes for #11818
2024-04-18 07:48:33 +10:00
LB Johnston
37922cc03d
Add changelog & upgrade considerations #11525
2024-04-18 07:03:08 +10:00
Matt Westcott
1ec62a6c2d
Release note for #11749
2024-04-17 16:23:54 +01:00
Matt Westcott
abd018b926
Release note for #11850
2024-04-17 14:21:54 +01:00
Neeraj P Yetheendran
4bf966537a
Added ability to make keyboard shortcut Global
...
Add `w-kbd-scope-value` with support for `global` so that specific keyboard shortcuts (e.g. ctrl+s/cmd+s) can be used consistently even when focused on fields.
Fixes #11844
2024-04-17 21:00:58 +10:00
LB Johnston
b8ce8f7739
Add changelog for #11168
...
Relates to #2936
2024-04-17 19:58:08 +10:00
Sage Abdullah
657c867d03
Release note for #11839
2024-04-17 14:49:42 +07:00
Sage Abdullah
6d1fe98f6a
Release note for #11774
2024-04-17 03:56:27 +07:00
Matt Westcott
dd5e16b2e1
Release note for #11831
2024-04-16 16:37:47 +01:00
Matt Westcott
77eba6e052
Release note for #11835
2024-04-16 16:29:29 +01:00
Sage Abdullah
e653a4afbb
Correct LF vs CRLF instruction in Windows development docs ( #11848 )
2024-04-15 13:14:44 +01:00
Sage Abdullah
bd1a81d88f
Release note for #11762
2024-04-15 14:23:07 +07:00
Matt Westcott
e32aee036f
Release note for #5875
2024-04-12 20:47:47 +01:00
Matt Westcott
eedf0826d1
Add release note for #11837
2024-04-12 20:46:02 +01:00
Ihor Marhitych
c550173d6c
Fix postgres phrase search to respect language set in settings
2024-04-12 17:29:35 +01:00
zerolab
989a51f425
Release notes for #11683
2024-04-12 17:24:56 +01:00
Matt Westcott
366a2a48c8
Release note for #11823
2024-04-10 20:07:23 +01:00
Matt Westcott
fd08d209be
Fix timezone handling in timesince_last_update
...
Ref: https://github.com/wagtail/wagtail/pull/11815/files#r1556095493
test_group_edit was failing when run after 3pm UTC, due to the output being rendered as "Just now" instead of an explicit time. This was due to a previously unsurfaced logic error in the timesince_last_update tag: if the timestamp was passed as a timezone-aware datetime in UTC, it was failing to translate this to local time and thus it compared as a different date, even if it was only from a moment ago. Consequently, it was following the "X days ago" path that was only supposed to be used for timestamps before today.
With this fixed, the special-case for "Just now" can be removed since it won't come into play for timestamps of yesterday and earlier. (Well, technically it could in the first minute after midnight, but that really doesn't warrant a special case...)
2024-04-09 08:39:45 +07:00
Matt Westcott
d3da555a31
Release note for #11815
2024-04-08 16:06:32 +01:00
Matt Westcott
3ad88007db
Release note for #11805
2024-04-08 14:13:24 +01:00
LB Johnston
c61a446b2f
Add changelog for #11740
...
Closes #10167
2024-04-07 21:05:28 +10:00
Matt Westcott
ac8bdce9fb
Release note for #11783
2024-04-05 17:37:28 +01:00
Matt Westcott
b504ed0281
Release note for #11764
2024-04-05 15:24:56 +01:00
LB Johnston
73d4b8383c
Add changelog for #11775
...
- Closes #11597
2024-04-04 08:28:17 +10:00
Matt Westcott
83bacfa7fe
Fill in release date for 6.0.2
2024-04-03 21:37:36 +01:00
Matt Westcott
eefbc7731c
Add release notes for 5.2.4
2024-04-03 21:37:00 +01:00
Matt Westcott
ad7b20ef85
Release note for #11817 in 6.0.2
2024-04-03 19:11:22 +01:00
Sage Abdullah
f941b45b58
Release note for #11751
2024-04-02 16:50:14 +07:00
Abdelrahman
0599a56d81
Add support for related fields in generic IndexView.list_display
2024-03-28 12:55:01 +07:00
Sage Abdullah
d8085c6ee6
Clarify release notes for #11803
2024-03-28 12:24:34 +07:00
Sage Abdullah
e425244fd8
Sync 6.0.2 changelog & release notes
...
See 898f01f922
See 13153b5068
2024-03-27 19:15:51 +10:00
Sage Abdullah
3bdf5fedf9
Add _editor_js.html include to wagtailadmin/generic/form.html
...
and remove any other _editor_js.html includes from templates that extend
wagtailadmin/generic/form.html, either directly or via
wagtailadmin/generic/{create,edit}.html templates.
Fixes #11760
Fixes #11799
2024-03-27 18:47:57 +10:00
Sage Abdullah
7a5a178022
Bump minimum version of djangorestframework to 3.15.1
...
We only support Django 4.2 and 5.0. DRF v3.14.0 was released on
22-09-2022, while Django 4.2 was released on 03-04-2023. This means
Django 4.2 and 5.0 support were officially introduced in DRF 3.15.0.
While our tests used to indicate our use of an older version of DRF
didn't cause any issues when installed with a newer version of Django,
we should bump this anyway. This prevents people from installing a
cached version of DRF that we "claim" to be compatible with Wagtail,
but in reality DRF itself doesn't officially support our minimum Django
version. In such cases, the installation can still proceed as DRF does
not impose an upper bound on Django.
This also fixes an issue where our tests would fail when installed with
DRF < 3.15.0 as the PermissionDenied error messages became more
specific.
2024-03-27 17:54:50 +10:00
David Buxton
ca796cb703
Fix dummy request SERVER_NAME when running tests
...
Django's test runner appends 'testserver' to your ALLOWED_HOSTS
setting. If your project has `ALLOWED_HOSTS=['*']` (which is totally
legit for Google App Engine standard) this means the setting value is
`ALLOWED_HOSTS=['*', 'testserver']` and Wagtail's dummy request helper
was setting the request SERVER_NAME to '*'.
But '*' is not a valid host name, causing a DisallowedHost exception.
This change sets the SERVER_NAME to 'example.com' in that case.
2024-03-26 21:22:21 +07:00
Jhonatan Lopes
846076ebe3
Use `default_manager` instead of `objects` in snippets `ModelIndexView`
2024-03-25 20:28:24 +07:00
LB Johnston
79bc23788b
Docs - Add additional reference to `wagtail_update_image_renditions` command
...
- We have other references to this command added in 5.2 however we did not include this in the page that goes into detail of Image renditions
- See #8166
2024-03-23 22:56:03 +10:00
LB Johnston
83a60f685d
Add changelog for #11756 + additions
...
- Closes #10404
2024-03-23 19:48:31 +10:00
LB Johnston
5fd8ebf171
SwapController - Ensure untrusted data sources are logged correctly
...
Avoids the rare case of `requestUrl` being used to log out an object
Fixes #11212
2024-03-23 18:17:53 +10:00
LB Johnston
11570f0072
Add changelog for #10867 (bulk toggle user group permissions)
...
Includes partial work & inspiration from #5836
2024-03-23 14:24:23 +10:00
LB Johnston
31329da876
Add changelog for #11213
2024-03-22 17:41:06 +10:00
rohitsrma
dae51e1287
Update keyboard shortcuts dialog & menu item to use 'keyboard' icon
...
Fixes #11767
2024-03-17 19:18:10 +10:00
rohitsrma
51152ebefc
Add keyboard icon to admin icon set
2024-03-17 19:18:10 +10:00
LB Johnston
24f5a4a14c
Add changelog for #11717
2024-03-16 16:59:26 +10:00
Tibor Leupold
77d783b397
Add note about StreamField validation happening on the form
2024-03-14 07:56:15 +10:00
John-Scott Atlakson
068c3f2964
Added `AbstractGroupApprovalTask` to simplify customizing behavior
2024-03-14 07:38:07 +10:00
Chiemezuo
aebdf82387
Ensure that dropdown content will be scrollable if content is too high
...
Fixes #11108
2024-03-14 07:28:27 +10:00
LB Johnston
b0b304bb9a
Add changelog for #10876
2024-03-14 06:37:54 +10:00
Matt Westcott
f30c65138e
Release note for #11720
2024-03-12 14:57:31 +00:00
Matt Westcott
75af2f22be
Release note for #11709
2024-03-11 18:28:17 +00:00
Sage Abdullah
45484c5da7
Release note for #11698
2024-03-11 14:06:50 +00:00
LB Johnston
dd48762b18
Update changelog for cherry-pick #11736
2024-03-09 20:19:41 +10:00
Sage Abdullah
574a9d4ebd
Use TeleportController to re-render slim header's buttons on results refresh
...
Fixes #11726
2024-03-09 20:15:03 +10:00
Matt Westcott
007d5b048d
Release note for #11735
2024-03-07 14:54:35 +00:00
Sage Abdullah
c741351635
Release note for #11485
2024-03-07 09:58:28 +00:00
Karthik Ayangar
00474a6152
fix: MutationObserver in dirty form check only tests direct descendants
...
Fixes #11142
2024-03-07 08:09:37 +10:00
Mark Niehues
c580342a95
Fix date formatting in form builder email content
...
Ensure that the date_format util correctly gets passed a format reference, not the resolved format.
Fixes #11696
2024-03-05 18:33:14 +10:00
Sage Abdullah
28f42bd6a6
Update changelog for backport 6.0.* fix ( #11708 )
2024-03-05 18:12:16 +10:00
Sage Abdullah
a106a3e805
Remove extraneous padding in chooser modal listings
...
Fixes #11704
2024-03-05 18:09:16 +10:00
LB Johnston
a7a09f7348
Add Changelog for #11660 (6.0.2)
...
# Conflicts:
# CHANGELOG.txt
# docs/releases/6.1.md
2024-03-05 07:53:31 +10:00
LB Johnston
9d269e4b92
Add Changelog for #11660 (6.0)
2024-03-05 07:47:11 +10:00
Sage Abdullah
e04a06cba3
Release note for #11661
2024-03-01 14:11:50 +00:00
LB Johnston
07d6acfb52
Fix - Ensure that modal tabs width are not impacted by side panel opening
...
Regression from #11150
2024-02-29 11:37:53 +00:00
LB Johnston
96ae004ce7
Add changelog for #11695
...
Fixes #11644
2024-02-29 08:15:15 +10:00
LB Johnston
287e5f9ded
Fix contributor name #11694
2024-02-29 08:01:10 +10:00
Tibor Leupold
d26b2ced77
Update template components & Laces references
...
- Turn laces reference into link to package in the release notes
- This is so that interested parties have an easy path to find more information about the library.
- Add note referencing that implementation are now found in Laces
- Add note about components not being limited to the admin
2024-02-29 07:50:46 +10:00
Pranith
1640104c57
Fixed formatting typo in --purge-only command flag
...
Was rendering as `-purge-only` (with one dash)
Fixes #11646
2024-02-29 07:32:27 +10:00
LB Johnston
f9928b5c95
Add changelog & upgrade considerations for removal of window.chooserUrls
...
- Fixes #11586
- Fixes #11421
- Fixes #10377
2024-02-28 21:36:49 +10:00
elhussein almasri
266faf63c2
Move modal-workflow.js script to admin_base.html
...
The modal-workflow.js script is used across a wide range of views in the admin, it's simpler to include it globally instead of having to consider all places it may be used.
Also unblocks use cases that are outside of the core admin such as custom documents/user/image models that may want to leverage this functionality.
2024-02-28 21:36:49 +10:00
Sage Abdullah
bded2cb98b
Allow displaying permissions linked to the Admin model's content type ( #11668 )
2024-02-27 22:16:51 +00:00
Buraah
e30c25c3b1
Changed all British spellings to American spellings, in the changelog.txt file
2024-02-24 16:59:29 +10:00
Sage Abdullah
3b87644e07
Prevent shadowing of permissions with the same codename action ( #11667 )
...
This can cause issues where e.g. stale permissions become the ones used
to render the checkboxes after a RenameModel operation (changing the
Python class name, not just the verbose_name).
A similar issue can also be triggered with custom permissions that share
the same codename action (first part of the codename before _) as the
built-in permissions.
2024-02-23 21:22:35 +00:00
Viktor Szépe
5679b30d1b
Fix typos ( #11687 )
2024-02-22 17:39:16 +00:00
Sage Abdullah
cadc40e6a2
Release note for #11666
2024-02-22 09:58:05 +00:00
Sage Abdullah
c4335d35de
Revert "Fix inconsistent use of model verbose_name in permissions UI"
...
This reverts commit e03c412507
.
2024-02-21 14:49:55 +00:00
Matt Westcott
c11db31a78
Release note for #11665
2024-02-21 14:17:53 +00:00
Matt Westcott
c54d9aa64f
Release note for #11637
2024-02-20 02:00:08 +00:00
EK303
bd065c17cd
Docs - Update and fix broken links
...
Fixes #11635
2024-02-16 17:23:53 +10:00
Matt Westcott
bb5d21d3c7
Fill in release date for 6.0.1
2024-02-15 13:59:37 +00:00
Maikel Martens
ef06e48c7f
Fix #11600 Eleasticsearch7 empty admin search gives 500 ( #11626 )
2024-02-15 12:33:02 +00:00
Matt Westcott
263d3c6a1c
Release note for #11647
2024-02-15 12:16:05 +00:00
Matt Westcott
c405c3ad58
Add 6.0.1 to releases index / fix underline
2024-02-15 12:04:21 +00:00
Sage Abdullah
b24d354040
Release note for #11654
2024-02-15 10:01:48 +00:00
Victoria Poromon
c4f953e90f
Changed all British spellings to American spellings, in the Contributing to wagtail section. ( #11641 )
...
* Changed all British spellings to American spellings, in the Contributing to wagtail section
2024-02-14 08:20:02 +10:00
Neeraj P Yetheendran
e03c412507
Fix inconsistent use of model verbose_name in permissions UI
...
- Fixes #10982
- Rework of #11203
- Modify the sanitized `permission_action` name
- Relates to work around for the known Django issue https://code.djangoproject.com/ticket/26756
2024-02-13 08:32:31 +10:00
Rohit Sharma
427d821e3a
Add system checks for WAGTAIL_DATE_FORMAT, WAGTAIL_DATETIME_FORMAT and WAGTAIL_TIME_FORMAT
...
- Includes a rework of #6168
- Fixes #11504
2024-02-13 08:27:00 +10:00
advik
e6aebc65a8
Implemented the UploadedFile mode to replace UploadedDocument and UploadedImage
...
- Rebase of #8085
2024-02-13 07:45:27 +10:00
Adrien Hamraoui
58ebfe1fb1
fix: InlinePanel - take 1st child when configuring up and down js events
...
Issue was appearing when there was nested inline panels.
currentChild. find would match the parent up/down button
but also all the ones of the nested inline panels
Fixes #5919
2024-02-13 07:45:06 +10:00
Buraah
bfa29201c3
Docs - Page names & reference section - Update British spelling to American
...
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
LB Johnston
d00137b2cd
Wagtail admin skeleton - use classnames template tag
2024-02-12 08:10:57 +10:00
LB Johnston
f65fc66ff9
Add changelog for #10906
2024-02-12 08:03:45 +10:00
Salvo Polizzi
502dd7c723
feature: allow disabling of shared password usage
...
Closes #11536
2024-02-09 08:52:32 +10:00
hossein
c384975147
Changed Workflow model to get inherited from AbstractWorkflow model
...
- Fixes #11538
2024-02-08 08:19:42 +10:00
Tibor Leupold
50b70219d9
Make sure the settings panel is listed in tabbed interface examples
2024-02-08 07:53:28 +10:00
Jhonatan Lopes
025249aab7
Handle date objects on human_readable_date template tag ( #11599 )
...
Fixes #11598
2024-02-07 17:14:55 +00:00
Matt Westcott
e7b80ee690
Fill in release date for 6.0
2024-02-07 12:51:32 +00:00
Sage Abdullah
548e8dfac2
Release note for #11591
2024-02-06 12:33:27 +00:00
Matt Westcott
f32c321cdd
fix spacing
2024-02-05 15:23:19 +00:00
Jake Howard
a204baddc0
Add support for ico files
2024-02-05 15:23:08 +00:00
Matt Westcott
05f94f1076
Release note for #11579 in 6.0
2024-02-05 14:02:16 +00:00
advik
0294dd1dd1
Changed Button to Link, and removed unnecessary props
...
- React Button was only ever used to render a link (a element)
- This creates a potential accessibility issue if developers want to render a button, it's confusing and incorrect
- Additionally, the unused prop (dialogTrigger) & aria-haspopup is non-compliant and has been removed
2024-02-05 20:07:40 +10:00
mirusu400
824273772d
Use reference for compatible Python versions in tutorial
...
Reference supported versions as it was not in sync with official versions (did not include python 3.12).
2024-02-05 19:29:28 +10:00
Karthik Ayangar
41d40f5c37
Adjust Eslint rules for TypeScript files (no-shadow)
...
Signed-off-by: Karthik Ayangar <karthik.ayangar7118@gmail.com>
2024-02-03 07:35:09 +10:00
LB Johnston
96367e00cf
Changelog for #11578
2024-02-03 07:19:30 +10:00
Jake Howard
8b914f4448
Use _raw_delete when purging search index ( #11565 )
...
This not only improves performance, but also reduces memory usage
2024-02-02 11:30:27 +00:00
Matt Westcott
e15866663c
Release note for #11553
2024-02-01 16:44:34 +00:00
Jake Howard
a7f8f7205b
Fix typo in `__str__` for MySQL search index ( #11566 )
2024-02-01 16:25:32 +00:00
Matt Westcott
169952d11f
Set up release notes for 6.1
2024-02-01 16:24:12 +00:00
LB Johnston
c221a802ca
Fix contributor name #11558
2024-02-01 17:52:48 +10:00
Jake Howard
e1e3c8efde
Update tests & html whitelist to always use `html.parser` & remove `html5lib`
...
- It's faster, built in, and saves the complexities of swappable backends and needing to test all combinations.
- Remove additional dependency on `html5lib`
- See https://beautiful-soup-4.readthedocs.io/en/latest/index.html#installing-a-parser
2024-02-01 07:50:59 +10:00
Matt Westcott
4044717d84
Add RelatedObjectsColumn to the table UI framework
...
This outputs a list of objects related to the object through a one-to-many relationship.
2024-02-01 07:31:15 +10:00
NixAsteri
97fbce30d5
Documentation - Provide contributing dev instructions on using forks
...
- Add details on how to use a fork of the Wagtail code and installing it
- Based on https://stackoverflow.com/a/57407742/8070948
- Closes #10594
2024-02-01 07:08:24 +10:00
ramchandra-st
67c6c12101
Remove duplicate 'path' in default_exclude_fields_in_copy
...
- There were 2 path in list. So removed one of them.
2024-02-01 06:59:05 +10:00
LB Johnston
f029e46f5e
Documentation - Refactor promotion banner without jQuery
...
- Use HTML template in layout for content
- Use non-jQuery JS
- Ensure that the cookie has the sameSite value set correctly
- Set closed cookie duration to 90 days (instead of 30)
- Add upcoming Wagtail Space events 2024 & adjust styles to suit two links
2024-01-31 12:24:46 +10:00
LB Johnston
af1a736c06
Update Sphinx Wagtail Theme to v6.2.0
...
- Fixes favicon and Python compatibility issues
2024-01-30 23:23:43 +10:00
Rohit Sharma
67f3af875c
Update Ordering, wording & help text for private pages/collections
...
- Clarify that the 'password' mode of privacy is a shared password and should not be used for secure content.
- Fixes #11535
2024-01-30 23:18:47 +10:00
LB Johnston
83c4f0454b
Add 6.1 changelog section
2024-01-30 23:18:47 +10:00
osafalisayed
c08ca65181
Added documentation for get_upload_to function in AbstractImage and AbstractRendition class
...
- Builds on previous PR #8228
- Fixes #2601
2024-01-30 08:41:17 +10:00
Victoria Poromon
f4ce46602f
Update spelling of Customizing Admin Templates and Page Models sections in the docs ( #11544 )
...
* Change all British spelling to American, in the page model section of the docs
* Change all British spelling to American spelling in the Customizing admin templates section of the docs
---------
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2024-01-27 13:47:12 +01:00
LB Johnston
bda0c45a40
6.0 changelog/release notes fixes
...
- Fix various typos and grammar issues
- Use consistent approach to version updates & class-based (not class based) view naming
- Fix a malformed link for upgrade considerations
2024-01-26 09:43:19 +00:00
Matt Westcott
ced2214291
Add missing changelog notes
2024-01-24 14:35:24 +00:00
Tidiane
65e693c6e8
Link feature release links to corresponding pages in guide
...
Wagtail Guide will automatically redirect to `latest` if the specific release is not found
2024-01-24 23:02:31 +10:00
Shlomo Markowitz
7f6a2623d1
Add ability to use copy view for SnippetViewSet & ModelViewSet
...
Closes #10921
2024-01-24 22:47:34 +10:00
LB Johnston
bfd51fef7f
Add changelog for #11503
2024-01-24 17:55:09 +10:00
Rohit Sharma
996abeae8e
Add initial redirects (contrib) API endpoint
...
Builds on previous PRs #6110 & #8842
2024-01-24 10:42:25 +10:00
Alex Morega
c4ef290859
Explicitly set triggerElement when invoking save (with publish) button on pages
...
Fixes #11420
Two issues existed;
1. Safari will not set `document.activeElement` as expected in all other browsers, instead, when a button is clicked it will keep the activeElement as `body`. This meant that the reset of the disabled button (before the confirm triggers a click) was not working.
2. Visually the button still had the loading spinner due to w-progress controller having triggered the loading visuals, this did not block the behaviour but looked broken.
See Safari behaviour docs:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#clicking_and_focus
- https://bugs.webkit.org/show_bug.cgi?id=22261
2024-01-24 08:17:37 +10:00
elhussein almasri
d1b1fa638d
Make TableBlock cells reachable using keyboard
...
Fixes #8893
2024-01-24 07:48:20 +10:00
Aman Pandey
690c382577
Use table caption instead of aria-describedby in page ordering
...
When the page listing is in re-ordering mode, use the Table caption to provide a screen reader description.
This is more suitable instead of aria-describedby & builds on changes made in #11250
2024-01-24 06:54:40 +10:00
Aman Pandey
7f1216e225
Add table caption property in table class component
...
Add support for basic rendering of a screen reader (not visible) only caption element
Fixes #11493
2024-01-24 06:54:40 +10:00
Matt Westcott
e1693ee5db
Release note for #10311
2024-01-23 16:53:14 +00:00
Matt Westcott
e9e372272f
Fill in release date for 5.2.3
2024-01-23 15:19:48 +00:00
Cynthia Kiser
e4c80fd2c3
Allow ordering from IndexView to work but still be overridden by ordering set in ModelViewSet ( #11367 )
...
Fixes #11165
2024-01-23 14:14:32 +00:00
Sage Abdullah
eba827d4ae
Release note for #11477
2024-01-23 10:05:36 +00:00
Sage Abdullah
59479a49cc
Restore changelog entry for #10104
2024-01-23 09:20:42 +00:00
Thibaud Colas
4790b44ba1
Move accessibility checker inside the editor ( #11478 ). Fix #10136
2024-01-23 08:15:34 +00:00
Rohit Sharma
50bdb724b5
Fix chooser buttons focus color is too dark in dark mode
...
Fixes #10875
2024-01-23 12:30:41 +10:00
elhussein almasri
175b7ac044
Fix `exclude_fields_in_copy` issues with default/unique values
...
- Ensure that revisions also exclude the field as an initial revision is created on page creation
- Fixes #11428
- Fixes #10922
- See also #11323 & #11323
2024-01-23 08:33:15 +10:00
Salvo Polizzi
dd338de6f3
docs: documented get_children in Page model reference
...
Fixes #11499
2024-01-23 07:49:40 +10:00
Nick Smith
3d7bbeb908
Raise meaningful error when no site for SiteSetting ( #11513 )
2024-01-22 21:13:32 +00:00
Stefan Hammer
c51baf6d42
Update the fields in the database while the object is in draft state ( #10104 )
...
Fixes #9285
2024-01-22 20:09:32 +00:00
Sage Abdullah
b07ed3d17d
Release note for #11463
2024-01-22 16:06:26 +00:00
Jake Howard
8fcf6ec1e9
Use `FileResponse` when serving files
...
- Ensure text documents are binary
- Django internally will deadlock if the file sent isn't bytes
- Remove unnecessary open call
2024-01-22 08:06:34 +10:00
LB Johnston
bbcf1e74ee
Add changelog & a few fixes for #11194
...
Partially reverts commit 7fa335c20d
(fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
Alex Tomkins
f73ae8db90
Raise 404 with bulk actions for models which don't exist
...
Fixes #11491
2024-01-21 08:16:48 +10:00
Rohit Sharma
80f433143d
Migrate Image URL generator views to class based views
...
- Relates to #8365 (class based views migration)
2024-01-20 22:12:57 +10:00
nandini584
c99c74cc7e
Ensure panel anchor sizes meet minimum accessible size
...
Fixes #11411
2024-01-20 22:01:59 +10:00
Rohitansh
cb90ffeaf3
Ensure a visual only th element gets ignored by accessibility tooling
...
Empty table header found in the 'Your locked pages' dashboard section
Fixes #11459
2024-01-20 21:46:21 +10:00
LB Johnston
b710044f29
Add changelog for #11137 & #11490
2024-01-20 21:38:03 +10:00
LB Johnston
fbe585184f
Add changelog for #11468 & #11471
2024-01-20 21:22:02 +10:00
Matt Westcott
6e932089b9
Release note for #11472
2024-01-19 11:53:15 +00:00
LB Johnston
18a1101656
Add changelog for #11250 (w-orderable)
2024-01-19 08:48:48 +10:00
Sage Abdullah
66bd5fbc93
Release note for #11444
2024-01-18 16:00:22 +00:00
Thibaud Colas
d538413030
Release notes for #8127
2024-01-18 11:56:18 +00:00
Sage Abdullah
2531f688f3
Release note for #11467
2024-01-18 11:47:16 +00:00
the-r3aper7
78f6990d35
Adopt Stimulus UnsavedController for page edit/create forms
2024-01-18 08:07:16 +10:00
LB Johnston
430a37653c
Remove non-functional and inaccessible auto-focus on first field in page create forms
2024-01-18 08:07:16 +10:00
Sage Abdullah
dece4fdaf4
Release note for #11456
2024-01-17 19:22:23 +00:00
Thibaud Colas
89aa153168
Universal listings release notes first draft
2024-01-17 15:33:07 +00:00
Thibaud Colas
be14465c4e
Improve CSS authoring guidelines ( #10049 )
...
Co-authored-by: sage <laymonage@gmail.com>
2024-01-17 07:40:47 +00:00
Rohit Sharma
6f93b1a2c4
Fix long comment UI issues (scroll shaking & comment overflow)
...
- Includes PR #11322
- Fixes #10984 (scrolling issues with long initial comments)
- Fixes #11324 (overflow of comment reply with long words)
2024-01-17 17:34:48 +10:00
nandini584
a88a775aea
Ensure the sidebar account toggle has no duplicate accessible labels
...
- Remove the integration test for this element as it was failing even though the element has valid content.
- Fixes #11372
2024-01-17 12:43:38 +10:00
nandini584
e91cdb47da
Update Jest version (package.json)
2024-01-17 12:43:38 +10:00
Neeraj P Yetheendran
3faeabb4d7
Allow admin backend login URL to be customised ( #11415 )
...
Fixes #10882
2024-01-16 23:50:31 +00:00
nandini584
daf0c96841
Fix close button visibility in new dialog non-message variant
...
- Add w-dialog root classname to support overall styling of the dialog if a message is provided
- Fix up layout of dynamic classes to avoid additional spaces
- Fixes #11306
2024-01-17 09:27:50 +10:00
DevilsAutumn
fe1a306285
Move to a select field for determining the way TableBlock will use headers
...
- Make the new table_header_choice select backwards compatible with tables stored before Wagtail 6.0
- Built on previous PRs #9673 & #6763
- Fixes #5989
2024-01-17 08:37:40 +10:00
Tommaso Amici
a4c18b4957
Add optional caption field to TypedTableBlock
...
- Closes #8507
- Make caption default to "" for tables that predate adding the caption field
- Update the html generated in JS so the rendered form matches our new styles
- Use a consistent period (full stop) at the end of the help text sentence (including table fields)
2024-01-17 08:15:35 +10:00
LB Johnston
0ec50f0d82
Migrate Styleguide ad-hoc JS to use styles only
2024-01-16 19:03:45 +10:00
LB Johnston
fdad793a50
Fix up contributor name for #11294
2024-01-16 18:59:41 +10:00
Rohit Sharma
33fbbed19d
Resolve error when specifying 'slug' as a read-only field ( #11447 )
2024-01-15 19:19:40 +00:00
Matt Westcott
67f495bb4c
Rewrite recent edits panel to use audit log
...
As per https://github.com/wagtail/wagtail/issues/11323#issuecomment-1889520913
Fixes #11323 . Thanks to @elhussienalmasri for the initial investigation and proposed fix.
2024-01-15 19:08:28 +00:00
LB Johnston
15f7486e67
Add changelog for #11294
2024-01-15 09:01:26 +10:00
LB Johnston
0ee97d45de
Add upgrade considerations for data-tippy attribute deprecation
2024-01-11 16:23:09 +00:00
Neeraj P Yetheendran
f0a67975db
Add ability to override a Page's copy form
...
- Documentation added for Customising Copy Form with an auto-incrementing slug example
- Add tests
- Resolves #10147
2024-01-11 08:35:53 +10:00
LB Johnston
235f217fee
Add changelog for #11419
2024-01-11 07:43:16 +10:00
Matt Westcott
a099cf7ac3
Release note for #11436
2024-01-10 16:18:14 +00:00
Sage Abdullah
29fd83493d
Release note for #11432
2024-01-10 09:30:11 +00:00
Thibaud Colas
633004e61b
Release notes for #11365 / #8947
2024-01-09 15:42:08 +00:00
Badr Fourane
e25c1bb1a0
Add right-to-left (RTL) support for the caret of select inputs ( #11313 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-01-08 16:07:52 +00:00
Matt Westcott
432532457d
Release note for #11416
2024-01-08 12:51:35 +00:00
Salvo Polizzi
6f9aadc86d
Add missing import to tutorial BlogPage example ( #11426 )
2024-01-08 12:47:00 +00:00
Thibaud Colas
7f8b283576
Add release notes for #11406
2024-01-05 08:05:05 +00:00
Matt Westcott
5fa1bd15f3
Release notes for #11395
2024-01-02 19:05:21 +00:00
Matt Westcott
361c89ba9b
Upgrade sphinxcontrib-spelling to 7.x ( #11407 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-01-02 13:48:04 +00:00
LB Johnston
6bec1eed9c
Use admin SlugInput as the default widget for models.SlugField ( #11341 )
...
- Register the admin SlugInput as the default widget for model SlugField usage
- Add a docstring to SlugInput to make it a bit clearer what it's doing
- Add SlugInput to the admin widgets module exports file
- Copy form is still needed as it's not a model field but a form field
- Closes #11185
2024-01-02 13:43:43 +00:00
Matt Westcott
b1920b0bce
Update Nikhil S Kalburgi's name as per https://github.com/wagtail/wagtail/pull/11408#issuecomment-1873961960
2024-01-02 12:49:20 +00:00