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

4604 Commits

Author SHA1 Message Date
4the4ryushin
48d3b2938c fix typo 2023-01-25 13:28:07 +00:00
Matt Westcott
bd3b2b5421 Upgrade consideration note for SearchForm validation 2023-01-25 11:57:20 +00:00
Matt Westcott
04df875d17 Fix assertCanCreate to publish by default
Fixes #9939

Also remove the mentions of redirects from the documentation - the fact that the method has to check for a different redirect URL is an internal implementation detail, and not relevant to what the assertion is intending to test (namely that a page is successfully created).
2023-01-25 08:14:15 +10:00
LB Johnston
999f9ef579 4.2 release - Move docs item to correct docs section for #9902 2023-01-21 07:50:27 +10:00
Matt Westcott
08d05c6392 Release note for #9820 2023-01-19 23:42:53 +00:00
Matt Westcott
f35d4a966e Release note for #9900 2023-01-19 21:09:33 +00:00
Thibaud Colas
357edf2914 Release notes for #9131 2023-01-19 16:57:24 +00:00
Matt Westcott
28a78a6e52 Release note for #9639 2023-01-19 16:42:18 +00:00
Albina
a3f10acae1
Userbar & accessibility checker UI improvements (#9913)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-19 16:06:11 +00:00
Sage Abdullah
ad3ef5875d
Update docs and changelog to reflect changes for #9817 2023-01-19 14:52:34 +00:00
Sage Abdullah
a6a431a083
Return ScheduledForPublishLock from DraftStateMixin.get_lock()
Update docs to enforce that the LockableMixin should come last (but before RevisionMixin)
2023-01-19 14:07:54 +00:00
Sage Abdullah
18c140e8be
Add docs for WorkflowMixin and enabling workflows for snippets 2023-01-19 14:07:51 +00:00
Sage Abdullah
e1c6ae2d2b
Rename Task.page_locked_for_user to Task.locked_for_user 2023-01-19 14:06:04 +00:00
Sage Abdullah
d8f9d9869a
Rename page_revision to revision in TaskState 2023-01-19 14:06:03 +00:00
Thibaud Colas
c7da2988d5 Pull out Stimulus refactoring release notes into their own section 2023-01-19 12:51:26 +00:00
LB Johnston
d2f47e7083 Icon template tag - add deprecation for class_name
- If using `class_name` we will now trigger a warning that this will be removed in Wagtail 5.0
- Update release notes accordingly
2023-01-19 12:23:16 +00:00
Thibaud Colas
e33cdbf8db
Set up CSS LTR-RTL direction variable and fix incorrect transforms (#9914). Fix #9800
- Fix Draftail block toolbar trigger overlay in RTL mode
- Fix switch component rendering in RTL mode
- Fix panel header positioning in RTL mode
- Remove unused 404 styles
- Fix comments positioning in RTL mode
- Fix sidebar sub-menus transition direction
- Fix form side panels in RTL mode
- Fix minimap positioning in RTL mode
- Fix Draftail tooltips positioning in RTL mode
- Fix page explorer transition direction in RTL mode
- Set up CSS LTR-RTL direction variable
2023-01-19 12:06:43 +00:00
Thibaud Colas
afc6004441 Release notes for #9868 2023-01-19 11:19:25 +00:00
Jake Howard
c8c1870c97 Prevent memory exhaustion when purging a large number of revisions
Optimise determining whether a revision is the latest

This no longer attempts to load the entire revision into memory to compare. Instead, we just check if any revisions created after this one exist (that aren't this one).
2023-01-19 21:06:58 +10:00
4the4ryushin
529d2feb49 Add docs example for how to configure API renderer_classes
- Update docs/advanced_topics/api/v2/configuration.md
- Fixes #6066
- Fix up spelling of customise (UK English not US)
2023-01-19 20:43:45 +10:00
bbeniamin
96b94d01d9 Fix parsing of queries with multiple filters that contain quotes 2023-01-19 20:41:48 +10:00
4the4ryushin
cc0f2d7c4c Migrate avatar template to an include tag
Includes style guide & storybook implementation
Fixes #8655
2023-01-19 20:32:05 +10:00
Sandil Ranasinghe
3ed84b36da make streamfield migration names from operations
- `operation_name_fragment` property added to operations
- `migration_name_fragment` property added to MigrateStreamData
- added tests, docs updated
- BaseBlockOperation inherits from `abc.ABC`
2023-01-18 19:29:56 +00:00
Albina
55d04366f7
Axe accessibility checker integration with floating dialog component (#9899)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-18 15:59:44 +00:00
Matt Westcott
d7adcec584 Release note for #9886 2023-01-18 14:31:08 +00:00
Matt Westcott
515e76ab7b Add reference docs for MultipleChooserPanel 2023-01-18 14:31:08 +00:00
Matt Westcott
c5513d098a Implement mechanism to pass the 'multiple' URL parameter (and any other specified ones) on links / form actions within generic chooser modal 2023-01-18 14:31:08 +00:00
Matt Westcott
3872de44d7 Add chooser view endpoints for returning multiple results
Extend the existing 'chosen' view so that it returns a single-item list when the URL parameter `multiple` is passed, and add a 'chosen_multiple' view that accepts multiple `id` URL parameters and returns the corresponding results as a list.
2023-01-18 14:31:08 +00:00
Matt Westcott
e3d42c546b Minor grammar fixes to 4.2 release notes 2023-01-18 14:18:14 +00:00
Matt Westcott
6e78caa84f Release note for #9872 2023-01-18 14:15:57 +00:00
Lovelyfin00
b929694203 Migrate lock/unlock actions to w-action controller
- Revise 'redirect' from a string to a 'continue' boolean that defaults to false
- Use 'continue=true' for cases where we do not want to create a next param on submit that takes the user back to the current page
- Fixes #9815
2023-01-18 19:00:47 +10:00
Lovelyfin00
9e9a84c953 Pull out loadiconSprite function from inline script
- wrote test for initIconSpirite
- changed from xmlhttprequest to fetch
- prepared a domReady util
- Fixes #9811
2023-01-18 08:04:55 +10:00
Thibaud Colas
34f6bab633
Rich text toolbar refinements from usability testing. Fix #9281 (#9905) 2023-01-17 17:21:45 +00:00
sag᠎e
c8981416ef
Load Axe configuration and error messages defined in Python (#9898)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-16 13:42:09 +00:00
Lovelyfin00
004faac53c
Migrate workflow and workflow tasks enable action to a Stimulus controller (#9844)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-12 21:55:40 +00:00
Albina
1e9f580b8c
Add base Axe accessibility checker integration within userbar, with error count (#9850)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-12 12:21:58 +00:00
Thibaud Colas
ea13a1b60a Release notes for #9841. Fix #9034 2023-01-12 09:51:51 +00:00
LB Johnston
c8dca0a7f2 Migrate upgrade notification to Stimulus (UpgradeController) 2023-01-12 09:26:31 +10:00
Matt Westcott
a31fa8589e Release note for #9806 2023-01-11 13:37:59 +00:00
Matt Westcott
c6de0ec067 Fix remaining imports deprecated in Wagtail 3.0 2023-01-11 13:35:39 +00:00
Thibaud Colas
0513a78fb5 Refactor Wagtail userbar to use core.css stylesheet like other components 2023-01-11 20:20:15 +10:00
Jhonatan Lopes
7a6feb188f Link django docs to stable version 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
a045bc38c4 Change Facebook company name to Meta 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
68900b069a Change "note that.." to a note 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
532f17bad7 Remove broken Divio bakery demo 2023-01-11 20:18:04 +10:00
LB Johnston
52a4d9a6f3 Add changelog for #9785 2023-01-11 20:10:05 +10:00
LB Johnston
ba13f56db7 Fix issue where notifications did not include the correct hash
- The Tab notification URL hash changed when adopting the new tabs system
- Fixes #9873
2023-01-11 20:03:51 +10:00
LB Johnston
b3a2aec43c Add changelog for #9818 2023-01-11 08:42:34 +10:00
Thibaud Colas
d036f10e61
Remove react-axe package usage (#9865) 2023-01-10 11:12:19 +00:00
Albina
a37c4bab3d
Re-implement design system colors so HSL values exactly match the desired RGB. Fix #9571 (#9856)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Fixes https://github.com/wagtail/wagtail/issues/9571
2023-01-10 08:31:51 +00:00