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

3428 Commits

Author SHA1 Message Date
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
LB Johnston
510237dd29 Fix minor typo (6.0 release notes) in WidgetWithScript deprecation note 2024-02-08 07:37:27 +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
Thibaud Colas
a38a74e472 Fix typo in v6.0 release notes 2024-02-07 09:30:40 +00:00
Sage Abdullah
548e8dfac2
Release note for #11591 2024-02-06 12:33:27 +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
Sage Abdullah
ec37d7e708 Update docs to use new STORAGES setting 2024-02-01 16:41:55 +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
Matt Westcott
43af9b5dfc Version bump to start work on 6.1 2024-02-01 16:24:12 +00:00
LB Johnston
6d072dc308 Fix typo in 6.0 release notes example code 2024-02-01 06:43:15 +10:00
Thibaud Colas
ac9cf68902
Change groups in v6.0 release notes (#11556) 2024-01-31 12:49:32 +00: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
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
LB Johnston
b81f369498 6.0 release - Add versionadded sections & release notes links 2024-01-24 13:54:48 +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
Neeraj P Yetheendran
f341f6bee5 Fixed issues preventing build
- html+django snippets are not parsing correctly due to script usage, replace with simple text snippets
- Fix up incorrect link added in extending_client_side
2024-01-24 10:42:51 +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
LB Johnston
b991ddf9c4 Deprecate WidgetWithScript - potentially unsafe and no longer used
- Avoid inline scripts in the test code, this approach is no longer recommended and causes CSP non-compliance
- Relates to #7053
2024-01-23 16:52:55 +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
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