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
Sage Abdullah
1520a05d09
Fill in release date for 5.0.1
2023-05-25 14:58:33 +01:00
Sage Abdullah
21716f6179
Fill in release date for 4.2.4
2023-05-25 14:58:33 +01:00
Sage Abdullah
47b4778d78
Fill in release date for 4.1.6
2023-05-25 14:57:14 +01:00
Matt Westcott
159c2ab856
Add translators.txt
...
Keep the 'master' translators list in version control so that anyone preparing a release can easily update CONTRIBUTORS.txt.
Obfuscate email addresses so that there's at least a minimal hurdle to them being scraped.
2023-05-25 12:04:45 +01:00
Sage Abdullah
3391f65b03
Release note for #10467
2023-05-25 11:02:53 +01:00
Thibaud Colas
6bb7e129b6
Fix color contrast of red error messages in dark mode
2023-05-25 08:36:49 +01:00
Thibaud Colas
7cb23a00d9
Simplify rich text commenting color styles for dark mode compatibility
2023-05-25 08:36:49 +01:00
Thibaud Colas
b920ced26d
Fix text color for time picker options
2023-05-25 08:36:48 +01:00
Thibaud Colas
770a01f458
Use the correct text color for info boxes in workflow side panel section
2023-05-25 08:36:48 +01:00
Thibaud Colas
88417e1567
Use the correct color for status/info side panel dividers in dark mode
2023-05-25 08:36:30 +01:00
Thibaud Colas
56f97890da
Fix hover styles for secondary buttons in listings
2023-05-25 08:36:30 +01:00
Thibaud Colas
de12dbbd4e
Remove unneeded border for footer actions
2023-05-25 08:36:30 +01:00
Thibaud Colas
ed13e0f7e8
Fix text color for selected / highlighted items in chooser modal listings
2023-05-25 08:36:30 +01:00
Thibaud Colas
cf116f90cf
Fix close button appearances in choosers & dialogs
2023-05-25 08:36:30 +01:00
Thibaud Colas
13df497014
Use the correct hover color for form panel icons
2023-05-25 08:36:30 +01:00
Thibaud Colas
4d4feb2ca0
Fix switch component having a white border in dark mode
2023-05-25 08:36:30 +01:00
Thibaud Colas
aca7159b45
Re-add distinctive borders in page explorer
2023-05-25 08:36:30 +01:00