LB Johnston
416fc1dde4
Update stylelint & stylelint-config-wagtail packages
...
- Ensure that some rules are always ignored in overrides (aka vendor) styles. This avoids us having to add ignore comments all over these styles.
- Resolves #10719
2023-12-18 13:28:18 +00:00
Sage Abdullah
b8b7efe01c
Release note for #11331
2023-12-18 12:46:31 +00:00
Sage Abdullah
73531ac02c
Add sort_key to FormPagesListView.columns to allow sorting
2023-12-18 12:44:44 +00:00
Sage Abdullah
de3d7926fa
Remove unused wagtailforms/list_forms.html
2023-12-18 12:44:44 +00:00
Sage Abdullah
5368e7d83e
Rename results_forms.html template to index_results.html for consistency
2023-12-18 12:44:44 +00:00
Sage Abdullah
602f1c8827
Reduce queries in FormPagesListView by using select_related on content_type
2023-12-18 12:44:44 +00:00
Sage Abdullah
7e65eddc78
Convert FormPagesListView to use generic IndexView
2023-12-18 12:44:43 +00:00
Sage Abdullah
9389d20432
Convert FormPagesListView to use tables UI framework
2023-12-18 12:44:43 +00:00
Sage Abdullah
894e7681e4
Make FormPagesListView extend generic BaseListingView
2023-12-18 12:44:43 +00:00
LB (Ben Johnston)
6a9add00a8
Turn on skipLibCheck
for TypeScript ( #11336 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-18 09:56:42 +00:00
Kalob Taulien
f4978a0f4b
Update sitemaps.md ( #11352 )
2023-12-18 09:07:46 +00:00
Matt Westcott
5c7015aa9e
Release note for #11326
2023-12-15 21:58:37 +00:00
Sage Abdullah
42ddd797c8
Consolidate images IndexView and ListingResultsView
...
Use results_only to differentiate. Also, rename listing_results url name to index_results for consistency
2023-12-15 21:57:47 +00:00
Sage Abdullah
8d9924b4d4
Extract get_next_url in images listing view
2023-12-15 21:57:47 +00:00
Sage Abdullah
53db39d4ea
Refactor images listing view and template to make better use of the generic code
2023-12-15 21:57:47 +00:00
Sage Abdullah
3bb9f5de46
Rename images/results.html to images/index_results.html for consistency
2023-12-15 21:57:47 +00:00
Sage Abdullah
414caf910c
Make image index results template extend from generic index results template
2023-12-15 21:57:47 +00:00
Sage Abdullah
652a40ce49
Create separate before_results and pagination block in generic listing_results.html
2023-12-15 21:57:47 +00:00
Sage Abdullah
e919965047
Apply capfirst to search form placeholder in generic index view
...
In case the translation starts with model_name
2023-12-15 21:57:47 +00:00
Sage Abdullah
825556339a
Convert images listing view to use generic IndexView
2023-12-15 21:57:47 +00:00
Sage Abdullah
7c39cacc5d
Convert images listing view to use generic BaseListingView
2023-12-15 21:57:47 +00:00
Sage Abdullah
7e7513542d
Use PermissionCheckedMixin in images listing view
2023-12-15 21:57:47 +00:00
Matt Westcott
b4e7bae07b
Mention inheriting from ClusterableModel in the text too
2023-12-15 15:44:28 +00:00
Matt Westcott
fda09613a9
Add missing ClusterableModel import to snippet InlinePanel example
2023-12-15 15:44:28 +00:00
Matt Westcott
003993f4da
Remove reference to Google group from CONTRIBUTING.md
2023-12-15 11:29:45 +00:00
Matt Westcott
4ee7441f20
Remove mention of Google group from security docs
2023-12-15 11:29:45 +00:00
Matt Westcott
fd05848a3b
Remove mention of Wagtail Google group
...
This list has now been retired.
2023-12-15 11:29:45 +00:00
LB Johnston
a57c63dbd3
Add changelog for #11317
2023-12-15 14:09:41 +10:00
the-r3aper7
bb33e7c508
Add ClipboardController to allow copying to the clipboard (Stimulus)
2023-12-15 13:53:26 +10:00
the-r3aper7
d585fa48dc
Adopt clipboard & clone controller to add copy in the URL Generator
2023-12-15 13:53:26 +10:00
LB Johnston
3f38bf7ae8
Add ability for CloneController to auto-clear its own contents
2023-12-15 13:53:26 +10:00
Sage Abdullah
a80c7ca60e
Release note for #11304
2023-12-14 09:13:42 +00:00
Sage Abdullah
2bd273d401
Restore column widths in documents listing view
2023-12-14 09:12:36 +00:00
Sage Abdullah
342d6ef23a
Reduce queries in documents IndexView by using select_related on collection
2023-12-13 10:31:09 +00:00
Sage Abdullah
601a97f8ff
Add missing parent id for bulk actions footer include
...
Has been missing since it was introduced
2023-12-13 10:31:09 +00:00
Sage Abdullah
24ae9a22e8
Consolidate documents IndexView and ListingResultsView
...
Use results_only to differentiate. Also, rename listing_results url name to index_results for consistency
2023-12-13 10:31:09 +00:00
Sage Abdullah
7dd00a84f4
Refactor documents index view to make better use of generic index view and template
2023-12-13 10:31:08 +00:00
Sage Abdullah
fa0d55fe34
Update outdated default search_target value in header.html comment
...
Renamed in b0dc6c1ea5
2023-12-13 10:31:08 +00:00
Sage Abdullah
4836324af5
Rename documents/results.html to documents/index_results.html for consistency
2023-12-13 10:31:08 +00:00
Sage Abdullah
3e140244f6
Make documents index results template extend from generic index results template
2023-12-13 10:31:08 +00:00
Sage Abdullah
0734633afd
Add the ability to show other searches in generic index view
2023-12-13 10:31:08 +00:00
Sage Abdullah
b04d205dd1
Move all variables to BaseListingView
...
There is no reason to not check for the collections in the search results view as well.
In fact, the inconsistency before this change caused an issue where the
collections column will be shown on first load, but when a search is
performed (or cleared) the column will never be shown again.
Meanwhile, the current_collection is already set in BaseListingView anyway,
so it makes sense to put it in the context from there.
2023-12-13 10:31:08 +00:00
Sage Abdullah
ba18cd3bc5
Remove unused popular tags query in documents listing view
...
This has been around since the start (see
cba8f851d7/wagtail/wagtaildocs/views/documents.py
)
However, its use in the template was removed in
c73d5c6ecc
and was never restored.
Even when it was still in place, it wasn't implemented as a proper
filter. Instead, it was treated as a search query string.
For images, this was restored in
233e7f5189
with actual database-level
filtering.
2023-12-13 10:31:07 +00:00
Sage Abdullah
613bd0b144
Reuse variables from generic IndexView
2023-12-13 10:31:07 +00:00
Sage Abdullah
d36e16c18c
Refactor documents listing view to extend generic IndexView instead of BaseListingView
2023-12-13 10:31:07 +00:00
Sage Abdullah
aa530cd09a
Use Django's urlencode in set_query_params util function
...
For more flexibility
2023-12-13 10:31:07 +00:00
Sage Abdullah
a2b5baee83
Replace IndexView.get_columns() with a cached_property for columns
...
This defers the instantiation of the columns at the point when they're needed instead of very early on in the view, when other variables needed may not be available yet
This also reduces the divergence between the BaseListingView and the IndexView
2023-12-13 10:31:07 +00:00
Sage Abdullah
d0dac2c629
Convert documents listing view to generic BaseListingView with tables UI framework
2023-12-13 10:31:07 +00:00
Sage Abdullah
1cbfd1cc89
Restore teal color on table header sort link if it's active
...
Regression in 4426196046
2023-12-13 10:31:07 +00:00
Sage Abdullah
d23206f54b
Move DownloadColumn to generic wagtail.admin.ui.tables
2023-12-13 10:31:06 +00:00