Tidiane Dia
562518dcae
Decrease horizontal space between dropdowns and remove grey lines around images
2022-06-01 16:50:25 +01:00
Tidiane Dia
1a4222c5ff
Set default number of entries to 30 and update tests
2022-06-01 16:50:25 +01:00
Tidiane Dia
8eebe0f795
Add tests for number of images shown per page
2022-06-01 16:50:25 +01:00
Tidiane Dia
69eab15527
Update dropdown and listing style in images index view
2022-06-01 16:50:25 +01:00
Tidiane Dia
a5e5f46b2d
Group filter select fields in images listing view
2022-06-01 16:50:25 +01:00
Tidiane Dia
4452600dc9
Increase INDEX_PAGE_SIZE to widen choices in entries per page dropdown and update tests
2022-06-01 16:50:25 +01:00
Tidiane Dia
cc09910eea
Add ability to select number of images shown per page
2022-06-01 16:50:25 +01:00
Tidiane Dia
bf0ecae7bf
Drop jQuery-related usage in images index template
2022-06-01 16:50:25 +01:00
Tidiane Dia
b1614930eb
Allow images to be sorted by date, title or file size
2022-06-01 16:50:25 +01:00
Steve Stein
910844eb30
Implement redesign of the Workflow Status dialog, fixing accessibility issues. Fix #8476 ( #8538 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-06-01 16:21:11 +01:00
LB (Ben Johnston)
0012c344d9
auto-format core markdown files ( #8603 )
...
- clean up formatting on existing martkdown files to align with prettier
2022-06-01 23:08:56 +10:00
LB (Ben Johnston)
b25b343225
Fix ESLint issue with how jQuery is treated as a core module ( #8591 )
2022-06-01 07:51:35 +01:00
LB (Ben Johnston)
9a04aefe9a
Disable ESLint prefer-default-export globally ( #8577 )
...
- default / named exports are used in varying places and it is not a critical blocker for future code
- disable this rule and in the future it can be re-assessed or moved to the core wagtail eslint config
2022-05-31 22:47:50 +01:00
Paarth Agarwal
1a49cae272
make integration tests' documentation more clear ( #8608 )
...
* updated integration test documentation
2022-05-30 20:06:34 +10:00
Paarth Agarwal
61c9422104
Added unit test for breadcrumb ( #8606 )
...
* completed tests for breadcrumbs
* clean up redundant code
2022-05-30 17:04:43 +10:00
Dan Swain
b53f12d394
Include missing import of FieldPanel
2022-05-28 06:40:25 +10:00
Thiago Costa de Souza
e6865e7b0f
documentation - migrate advanced_topics/customisation/** to md
2022-05-27 08:02:16 +10:00
Thiago Costa de Souza
4424d23fa4
documentation - migrate advanced_topics/images/** to md
2022-05-27 07:51:45 +10:00
LB Johnston
52e87968e2
fix up changelog entry for #7752
...
- release number is the same but the link is now adaptive
2022-05-27 07:25:30 +10:00
Tibor Leupold
4f5d688021
Add ability for upgrade notification to show the relevant release to the user
...
This now implements the logic to link to the next minor's release notes
when such a version difference is computed. If a patch release
difference is computed, then those release notes are linked.
The utils.tests.js seemed a bit unexpected location, because there is no
`utils.js` module. Now the module defining the tests and the one
defining the functionality are named similarly, as is common in the rest
of the code base.
- resolves #7336
- resolves #7405
- resolves #3938
- fixes #8537
Fix issue where upgrade notification was not using translated content.
2022-05-26 19:57:46 +10:00
sage
f4d5207fbd
Use GenericForeignKey
and GenericRelation
for Revision
( #8571 )
2022-05-26 00:08:30 +01:00
Hitansh Shah
f8a7c6f4ae
Added functionality in bulk actions: ability to use shift+click to select multiple items at once
...
- Signed-off-by: Hitansh Shah <shah.hitanshsanjay.mat20@itbhu.ac.in>
- resolves #8490
2022-05-25 21:45:12 +10:00
Thiago Costa de Souza
7e73349dc1
documentation - migrate api section to markdown
2022-05-25 21:01:38 +10:00
Stefan Hammer
906dfa2773
Added missing gettext calls to the CommentComponent
2022-05-25 20:45:09 +10:00
LB Johnston
4a07779ca5
fix testapp migrations broken in #7897
2022-05-25 20:34:57 +10:00
Matt Westcott
5994cc43df
Allow passing arbitrary link attributes to TitleColumn
2022-05-25 20:10:47 +10:00
Matt Westcott
a67fd85fcf
Rename reshow_upload_form step on document chooser to reshow_creation_form
...
We'll standardise on this name, since not all creation forms involve uploads.
2022-05-25 20:10:47 +10:00
Matt Westcott
34f646c611
Move reshow_creation_form step handling into the base ChooserModalOnloadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
29fbfd0ea4
Move ajaxifyDocumentUploadForm logic into the base ChooserModalOnLoadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
c5d6bb32e5
Use data-chooser-modal-search-filter attribute to identify the snippet locale filter
2022-05-25 20:10:47 +10:00
Matt Westcott
b45d2a0973
Adopt a standard data-chooser-modal-search attribute to identify the search form
2022-05-25 20:10:47 +10:00
Matt Westcott
b958585ff8
Add a containerElement option to SearchController to limit scope of selectors
...
This will allow us to use more generic selector names without risking false matches. While we're at it, consistently use containerElement as the variable name for this rather than context, because context typically refers to template context dictionaries.
2022-05-25 20:10:47 +10:00
Matt Westcott
910ca8ca51
Change document chooser step names to 'choose' and 'chosen' for consistency with snippet chooser
2022-05-25 20:10:47 +10:00
Matt Westcott
b37d16b07b
Adopt a standard data-chooser-modal-choice attribute to identify 'chosen' links
2022-05-25 20:10:47 +10:00
Matt Westcott
b5746c386b
Convert document chooser modal onload handlers to a subclass of ChooserModalOnloadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
0ac07eba5e
Introduce a factory class for generating the onload handlers
2022-05-25 20:10:47 +10:00
LB Johnston
115879c519
add changelog for #7897
2022-05-25 19:34:52 +10:00
Matt Westcott
246a270f10
Make image upload forms use the correct widget for custom tag models
2022-05-25 19:34:52 +10:00
Matt Westcott
f57fc32ed0
Make document upload forms use the correct widget for custom tag models
2022-05-25 19:34:52 +10:00
LB Johnston
46efee9eeb
add changelog for #8532
2022-05-25 19:02:46 +10:00
Matt Westcott
6b30a1aae9
Use SearchController on task chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
fc31a6711d
Use SearchController on snippet chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
1fc66294a4
Move snippet-chooser-modal.js to client js
2022-05-25 19:00:50 +10:00
Matt Westcott
2af6ad3683
Use SearchController on document chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
6e9660c67b
Add a reusable helper function for submitting creation forms
2022-05-25 19:00:50 +10:00
Matt Westcott
d311a40e27
Use gettext for server error messages in modals
...
This avoids the need to pass them in jsonData (which was broken in a few cases anyhow, since we were forgetting to pass jsonData to the ajaxify function)
2022-05-25 19:00:50 +10:00
LB Johnston
48d397f74f
Add changelog for #8501
2022-05-25 17:07:55 +10:00
Matt Westcott
08d06d623e
Move remaining common context variables into BaseChooser
2022-05-25 16:32:07 +10:00
Matt Westcott
80bcc1b3dd
Simplify title handling
2022-05-25 16:32:07 +10:00
Matt Westcott
39f7886a6f
Split out common logic from get_value_data
2022-05-25 16:32:07 +10:00