0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
LB Johnston
06bf71296c redirects import page does not need header search JS
- relates to #7053
2022-06-12 15:23:59 +10:00
Lucie Le Frapper
1297b930e5 add accessible label for image focal point chooser input
- fixes #5309
2022-06-10 08:14:03 +10:00
Sage Abdullah
052115f261 Fix locale selector background color
- fixes #8588
2022-06-10 07:38:20 +10:00
Steve Steinwand
ab92256b09 Fix sidebar rtl styles, add wagtail branding module to sidebar stories
- fixes #8641
2022-06-09 22:03:03 +10:00
PaarthAgarwal
1c3ae1ae92 Add tabs to pattern library
- Added tabbed interface to pattern library (storybook)
- Added tab nav link to pattern library (storybook)
- fixes #8632
2022-06-09 21:32:24 +10:00
BenedictFaw
952e57b916 Migrate docs for StreamField from md to rst
- relates to #8383
2022-06-09 20:21:50 +10:00
Sage Abdullah
bd04b631b4 Make ReportView extend from generic IndexView 2022-06-09 20:06:17 +10:00
PaarthAgarwal
764d3bc1fd Adopted new Tabs in Workflow History Detail page
- resolves #8562
2022-06-09 17:32:47 +10:00
PaarthAgarwal
dce74375d7 added new breadcrumbs to pattern library (storybook)
- resolves #8631
2022-06-09 17:23:30 +10:00
Thibaud Colas
4eb35dbc0a Refactor styles to be loaded via single core.css file (#8419) 2022-06-07 13:26:58 +01:00
PaarthAgarwal
1f43d8ef51 Ensure TabbedInterface will not show a tab if no panels are shown
- If no panels show (due to permissions) the tab was still showing
- instead it is expected that the tabs should not show at all if empty
2022-06-02 22:12:55 +10:00
Stefan Hammer
c2e366600f Add missing can_reorder_children() check, fixes #8458
Users which weren't allowed to reorder child pages (e.g. due to missing
"publish" permission), still saw the menu item to start reordering.
2022-06-02 08:26:31 +10:00
LB Johnston
d253f4784f migrate Home (dashboard) to class based view
- resolves #8366
2022-06-02 08:17:37 +10:00
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
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
jacobtoppm
ec649331a3 Release notes for #8590 and #8430 2022-06-01 16:51:33 +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 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
sag᠎e
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
115879c519 add changelog for #7897 2022-05-25 19:34:52 +10:00
LB Johnston
46efee9eeb add changelog for #8532 2022-05-25 19:02:46 +10:00
LB Johnston
48d397f74f Add changelog for #8501 2022-05-25 17:07:55 +10:00
Matt Westcott
45ac80bb89 Make cross-link URLs on generic model views optional
Normally, generic model views will be spun up through wagtail.admin.viewsets, which takes care of configuring the add_url_name / edit_url_name etc attributes to ensure that they are cross-linked appropriately. But if you're defining one in isolation, that's an unnecessary hoop to jump through, and the error messages if you don't specify them are fairly opaque. Fix this so that:

1. Non-essential cross-links (e.g. the Add button on the index view, and the Delete button on the edit view) are gracefully omitted if the URLs are undefined;
2. Essential cross-links (e.g. the destination of the redirect after a successful form submission) raise an informative error telling the developer what needs to be defined.
2022-05-25 16:31:12 +10:00
Matt Westcott
55fdafdfe6 Make radio buttons / checkboxes display vertically under Django 4.0
Fixes #8190
Django 4 changed the rendering of radio button / checkbox lists to nested divs rather than ul/li - see 5942ab5eb1. This change simply applies the existing li styles to second-level divs.
2022-05-25 08:31:11 +10:00
LB (Ben Johnston)
9f206d258c
Make it possible to reuse and customise Wagtail’s fonts with CSS variables. Fix #8406 (#8544)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 14:19:30 +01:00
thoang43
2fbac52532 Documentation - Convert rst to md for ModelAdmin section
- Co-authored-by: Vu Pham
- relates to #8383
2022-05-20 08:32:21 +10:00
Karl Hobley
2a40333770 Set referer policy of upgrade notifcation to "strict-origin-when-cross-origin"
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
- Since Django 3.1, all Wagtail admin responses have been given a referer-policy: same-origin header. See: https://chipcullen.com/django-3-referrer-policy-change/
2022-05-19 08:37:25 +10:00
sag᠎e
52e5abfe62
Replace PageRevision with generic Revision model (#8441) 2022-05-17 11:46:30 +01:00
Steve Stein
851ec9a5c1 Apply full header breadcrumb spacing fixes for all templates (#8471, #8491) 2022-05-13 17:09:01 +01:00
Tom Hu
1f3605b98a chore(ci): add informational Codecov status checks
we were usng Codecov but weren't actually getting any notifications on pull requests.
Update codecov.yml
Removing `after_n_builds` as there is only 1 build
2022-05-13 08:16:12 +10:00
Stefan Hammer
885b593234 Use FormData for docs/images add-multiple's edit handling
The ajax-request now uses multipart/form-data, similar to
image-chooser-modal.js/document-chooser-modal.js, which allows to add
and use FileFields in the bulk-upload-views.
2022-05-13 08:07:29 +10:00
Christian Franke
7d6240a489 Throw error if images.Filter.run cannot create output (#8508)
If Filter.run is requested to create an unknown output format,
it should not fail silently without writing any output, but instead
throw an exception.

Fixes #8503
2022-05-12 14:20:45 +01:00
th3hamm0r
ec1aea0f20 Fix typo in ResumeWorkflowActionFormatter message 2022-05-11 21:47:53 +10:00
Thibaud Colas
7129ccefc9 Remove logical properties compatibility styles for Safari 13
- update caniuse-db & browserslist
- resolves #8124
2022-05-11 21:41:15 +10:00
Sandil Ranasinghe
5cea62b4b8 Ensure InlinePanel.get_comparison passes label for field comparison
- FieldComparison.field_label should pick up labels from InlinePanel
- fixes #4732
- add unit test for InlinePanel label as field label
2022-05-06 07:43:00 +10:00
Josh Woodcock
8a4a6b4ced modeladmin - fix issue where action button class conflicted (#6387)
- It was creating styling issues in the wagtailadmin when list export was enabled
- ensure that all actions are contained within the actionbutton div
2022-05-06 06:40:50 +10:00
Matt Westcott
262e94401a
Housekeeping to start work on 4.0 (#8420)
* Add release notes page for 4.0

* Version bump to 4.0

* Rotate deprecation warnings
2022-04-22 14:25:16 +01:00