LB Johnston
fd5218220e
form builder - allow clean_name generation to be overridden
...
- adds a new class method to AbstractFormField `get_field_clean_name`
- resolves #6903
2022-06-02 08:07:24 +10:00
LB Johnston
6d0659333d
fix spelling - behaviour vs behavior
...
- documentation should be using the British english spelling
- most other spelling is `behaviour` so this aligns with the majority
2022-06-02 07:56:05 +10:00
jacobtoppm
a72b89b38d
Tweak border: none to border: 0 to fix linting
2022-06-01 17:19:17 +01:00
Tidiane Dia
25c43273a9
Add docs and releases notes for prefetch_renditions
method
...
Also add tests to ensure example in docs works fine.
2022-06-01 16:51:35 +01:00
Tidiane Dia
11bcfb1efc
Prefetch renditions in image index and chooser views
...
Add tests
2022-06-01 16:51:35 +01:00
Tidiane Dia
2a4977eef2
Test prefetch_renditions_method
2022-06-01 16:51:35 +01:00
Tidiane Dia
6dd02460a8
Return all renditions when no filters are provided to the prefetch_renditions method
2022-06-01 16:51:35 +01:00
Tidiane Dia
52ace9eae7
Add prefetch_renditions method on Image queryset manager
...
Update logic when creating and looking for a rendtion
2022-06-01 16:51:35 +01:00
jacobtoppm
ec649331a3
Release notes for #8590 and #8430
2022-06-01 16:51:33 +01:00
Tidiane Dia
ffa4530d1e
Update screenshots in the editor guide's section for images
2022-06-01 16:50:25 +01:00
Tidiane Dia
5af282625d
Make images listing style consistent across views
2022-06-01 16:50:25 +01:00
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