Matt Westcott
372965ef6a
Put headers in markdown rather than rst
2022-06-12 15:47:24 +10:00
Matt Westcott
865df1153b
Documentation for ChooserViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b00d19b3a0
Documentation for ModelViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b4d3cf1c30
Docs for base ViewSet class
2022-06-12 15:47:24 +10:00
Stefan Hammer
46977d6442
Ignore common places for tests from makemessages
...
This also replaces some of the existing tweaks, which avoided strings
getting parsed by makemessages.
2022-06-12 15:34:39 +10:00
LB Johnston
2abe439064
ensure non-square avatar image will correctly overlay content
...
- fixes #8428
2022-06-12 15:26:11 +10:00
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
Thiago Costa de Souza
f42ec9ed6b
convert documentation in advanced_topics from rst to md
...
- relates to #8383
2022-06-09 20:32:56 +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
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