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
Matt Westcott
a3b1cb6c28
Add a page_type_display_name shortcut property
2022-06-08 17:35:40 +01: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
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
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
Tidiane Dia
ffa4530d1e
Update screenshots in the editor guide's section for images
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
Paarth Agarwal
1a49cae272
make integration tests' documentation more clear ( #8608 )
...
* updated integration test documentation
2022-05-30 20:06:34 +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
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
sage
52e5abfe62
Replace PageRevision
with generic Revision
model ( #8441 )
2022-05-17 11:46:30 +01:00
Matt Westcott
501b28c62b
Fill in release date for 3.0
2022-05-16 14:20:37 +01:00
Paarth Agarwal
a98f047950
removed trailing slash
2022-05-14 15:50:10 +10: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
Fabien Le Frapper
aad51b2bb2
Update docs/reference/contrib/frontendcache.rst
...
Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
aff9b9a623
fix linting issues
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
44456ff4dd
Fix typo that broke a link
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
b54e9cbc62
Add instructions about where to find cloudflare zone id
2022-05-13 08:15:35 +10:00
LB Johnston
d9981e0ec7
fix up spelling in documentation & docstrings (should be en-GB not en-US)
...
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +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
LB (Ben Johnston)
f5044828b8
2.16 release notes - fix up internal reference ( #8525 )
2022-05-12 14:22:25 +01: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
jacobtoppm
7e98db7197
Disable webpack css url rewriting
...
This was causing relative urls to be rewritten to use the publicPath.
This meant that the icon font would be referenced at the wrong location
if sites had changed STATIC_URL
fixes #8517
2022-05-11 19:27:49 +10:00
Cynthia Kiser
399a34bc93
Make nested list render as a nested list ( #8516 )
2022-05-11 09:05:02 +01:00
LB Johnston
f220d45e32
Add Wagtail 3 classifier to documentation
2022-05-08 19:27:51 +10:00