Thibaud Colas
40335ba9d1
Add tests to help with maintenance of theme color tokens
2023-06-12 10:55:12 +01:00
Thibaud Colas
fb793f2b4b
Remove all unused color tokens
2023-06-12 10:55:12 +01:00
Thibaud Colas
e0f3f05ffd
Remove usage of color tokens which are duplicates
2023-06-12 10:55:12 +01:00
Matt Westcott
55a5f16a8e
Release note for #10533
2023-06-10 13:09:33 +01:00
Matt Westcott
fbf1ebe346
Update pagination behaviour on page chooser to match Django standard
2023-06-10 01:29:07 +01:00
Matt Westcott
5e2597cb40
Update pagination behaviour on page explorer view to match Django standard
2023-06-10 01:26:06 +01:00
Matt Westcott
8422c38ff9
Update pagination behaviour on search promotions index to match Django standard
2023-06-10 00:36:58 +01:00
Matt Westcott
e6add87cd0
Update pagination behaviour on wagtail.contrib.forms to match Django standard
2023-06-10 00:15:13 +01:00
Matt Westcott
2b9ba182c2
Update pagination behaviour on choosers to match Django standard
2023-06-09 22:39:47 +01:00
Matt Westcott
0e73399dd2
Update pagination behaviour on images index to match Django standard
2023-06-09 21:27:59 +01:00
Matt Westcott
62139a92b0
Update pagination behaviour on page search to match Django standard
2023-06-09 21:24:55 +01:00
Matt Westcott
f0723eafd5
Update pagination behaviour on redirects index to match Django standard
2023-06-09 21:07:25 +01:00
Matt Westcott
b6b719709a
Update pagination behaviour on search query chooser to match Django standard
2023-06-09 21:02:37 +01:00
Matt Westcott
1fe96e208d
Remove bogus pagination test from sites index
...
The sites index is not paginated, and never has been. All this test is doing is confirming that we can pass some random unrecognised URL parameter to the page and it will have no effect. :-)
2023-06-09 20:47:25 +01:00
Matt Westcott
8e106f40c6
Remove custom paginate_queryset method on IndexView
...
The sole purpose of this was to preserve the historical behaviour of accepting non-integer page numbers, which was mandated by the unit tests for no clear reason - it's likely that these tests were written to reflect the existing behaviour rather than the desired behaviour. Dropping this (and updating the tests) brings the behaviour in line with Django's standard.
2023-06-09 20:33:25 +01:00
NikilTn
7b3b55ff93
added __eq__ for comparison of the source of RichText and also added compare test case
...
Fixes #10523
2023-06-09 14:23:58 +01:00
Matt Westcott
bd76b020af
Release note for #10524
2023-06-09 14:18:27 +01:00
Matt Westcott
da966ad04b
Use add_url for no-results messages on groups/users
2023-06-09 14:18:26 +01:00
Matt Westcott
d812767715
Add tests for results-only users/groups endpoints
2023-06-09 14:18:26 +01:00
Matt Westcott
38cb09102a
Inherit the headerSearch JS snippet from generic/index.html on users/index.html
2023-06-09 14:18:26 +01:00
Matt Westcott
6076e634a7
Use results endpoints for user index search, instead of switching on x-requested-with
2023-06-09 14:18:26 +01:00
Matt Westcott
315598c41a
Add provision for no-results message in generic/index_results.html, and use that to simplify groups/results.html
2023-06-09 14:18:26 +01:00
Matt Westcott
bea42bdd6a
Drop groups/index.html template, as it's functionally identical to generic/index.html
2023-06-09 14:18:26 +01:00
Matt Westcott
62a5c60319
Use results endpoint for groups index, instead of switching on x-requested-with
2023-06-09 14:18:26 +01:00
Matt Westcott
bcdb02bb75
Remove use_autocomplete flag from IndexView
...
Now that search-as-you-type is a standard feature of this view, there's no rationale for not using autocomplete (and anything that does need to depart from the standard behaviour can still override `search_queryset`).
2023-06-09 14:18:26 +01:00
Matt Westcott
e54a2f568a
Set up search-as-you-type as a standard feature of generic IndexView
2023-06-09 14:18:26 +01:00
Matt Westcott
1f9c48400d
Provide an index_results_view endpoint on ModelViewSet
2023-06-09 14:18:26 +01:00
Matt Westcott
f7d7cdfa3b
Add flag for IndexView to return just the results as an HTML fragment
2023-06-09 14:18:26 +01:00
Matt Westcott
50bd593a0a
Move index results table into an include
2023-06-09 14:18:26 +01:00
Matt Westcott
6f46d3fe12
Pass search_url / search_form to header
2023-06-09 14:18:26 +01:00
Matt Westcott
edff01db17
Remove redundant if/else when including header
...
header.html performs the same check and will omit the action button if action_url is undefined.
2023-06-09 14:18:26 +01:00
Matt Westcott
88d02d49e0
Fix errors / omissions in wagtailadmin/shared/header.html docstring
2023-06-09 14:18:26 +01:00
Thibaud Colas
fe3d0c423f
Add new Sustainability considerations page ( #10527 )
...
Co-authored-by: sage <laymonage@gmail.com>
2023-06-09 12:04:13 +01:00
Matt Westcott
cd5200c8e1
Use table UI component for workflow task index ( #10518 )
...
Follow-up to #10516
2023-06-07 22:52:44 +01:00
Matt Westcott
196c6057c3
Add Meagen to core team
2023-06-07 16:27:10 +01:00
Matt Westcott
e61230fcbb
Release note for #10516
2023-06-07 15:51:24 +01:00
Matt Westcott
a78ad130a2
Optimise use of specific
on Task and TaskState
...
Use the `specific()` method on querysets where possible; also use local variables to prevent repeated `.specific` lookups.
2023-06-07 15:42:10 +01:00
Matt Westcott
4ddc5fd4e3
Make Task / TaskState querysets extend SpecificQuerySetMixin
2023-06-07 15:34:07 +01:00
Matt Westcott
6f3110dfb5
Move PageQuerySet.specific()
into a mixin
2023-06-06 19:56:43 +01:00
Matt Westcott
e005a29c89
Move specific
and related methods into a mixin
2023-06-06 18:41:23 +01:00
Sage Abdullah
f13f97a8f4
Remove whats-new-in-wagtail-5.0 from expected menu item labels
...
This prevents the test from failing if we bump the version number
2023-06-05 16:49:54 +01:00
Justin Köstinger
022d7789c7
Add explicit names to menu item registrations
2023-06-05 16:19:54 +01:00
Matt Westcott
c8064466d4
Reword note telling people not to use autocomplete for ordinary search
...
Prompted by https://stackoverflow.com/q/76324437/1853523 - while we want to encourage people to use the most appropriate search method, telling them outright not to use autocomplete is a bit extreme. Remove the note in favour of some gentler advice.
2023-06-05 09:21:21 +01:00
LB Johnston
9b0294c965
SPONSORS - update http links to https
2023-06-01 16:50:03 +01:00
LB Johnston
d5bd828b8e
Docs - update Django urls to shorthand method
2023-06-01 16:50:03 +01:00
Etty
c5f238f98d
Deprecate insert_editor_css in favor of insert_global_admin_css ( #10499 )
...
Fixes #10402
2023-06-01 16:28:00 +01:00
Lukas von Allmen
d6fdf504c7
Documentation 'Your first contribution': Reindex titles and update text reference to changed titles ( #10503 )
...
Fixes #10500
2023-06-01 15:14:55 +01:00
LB Johnston
aa9e9cddc7
Resolve multiple typos (spelling and grammar)
...
- Optimized/Customized/Catregorize -> Optimised/Customised/Categorise
- Github -> GitHub (80% were spelt with capital H, this is the way GitHub spells itself)
- GitPod -> Gitpod (most were without the capital P, Gitpod's site does not use capital P)
- Remove duplicate words (to to, the the)
- De-coupled -> decoupled
- implementors -> implementers (all other references used 'site implementers' so just aligning with the common case)
- Fix a/an usage in one case
- Fix one comment usage of ok, replace with OK
2023-05-30 21:07:37 +10:00
LB Johnston
5292f7dc1f
Docs - fix whitespace formatting (Prettier)
2023-05-30 07:25:21 +10:00
Sage Abdullah
fe580ebcc7
Update latest.txt for 5.0.1 / 4.1.6
2023-05-25 16:07:43 +01:00