0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

5263 Commits

Author SHA1 Message Date
Dan Hayden
2ed1b33bb8 fix code block typo in streamfield_migrations.md 2023-07-20 07:48:09 +10:00
LB Johnston
b94f16e67c Fix a few minor typos in the 5.1 release notes / changelog 2023-07-19 11:34:17 +01:00
Matt Westcott
112fa6b72d
Set an AutocompleteField on FullFeaturedSnippet so TestFilterSetClassSearch works correctly 2023-07-19 11:05:34 +01:00
Sage Abdullah
a71232df7b Set up release notes for 5.2 2023-07-19 17:53:26 +10:00
Sage Abdullah
64f496a2e1 Remove old versionadded / versionchanged notes 2023-07-19 17:53:26 +10:00
Sage Abdullah
9f48a8af94 Fix incorrect versionchanged number for user_page_permissions deprecation 2023-07-19 17:53:26 +10:00
sgfost
61594a2616
Add docs for managing stored queries in searchpromotions
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
LB Johnston
f3c3d31e23
Ensure userbar dialog can sit above other website content
- Fixes #10471
2023-07-18 13:53:06 +01:00
LB Johnston
ad6fd746b9 Documentation - Add recent third party tutorials 2023-07-18 21:48:59 +10:00
Storm B. Heg
fef8c4ac3c Ensure StreamField panels validation errors are visible (#10673)
...by rendering panels as expanded, regardless of the collapse
setting specified by the Wagtail implementor.

Fixes #8990 partially.
2023-07-18 12:43:17 +01:00
LB Johnston
bebbcfb48d Fix a few grammar / spelling typos in the 5.1 release notes 2023-07-18 21:38:52 +10:00
Sage Abdullah
191ddf8a55
Deprecate wagtail.contrib.modeladmin 2023-07-18 12:33:42 +01:00
Sage Abdullah
f8da5f1be1
Release notes for #10689 2023-07-18 10:42:14 +01:00
Matt Westcott
5fcb58f929 Deprecate Elasticsearch 5 and 6 search backends 2023-07-18 09:32:37 +01:00
LB Johnston
995809a318 Adopt data attribute usage of SwapController (w-swap) for all header searches
- Removes six inline scripts completely, no longer relying on window.headerSearch
- Update the fallback Stimulus Swap controller afterLoad to be a deprecated method
- Add upgrade considerations
- Fix regression from d554cbe310 where manually submitting page search results would load the partial, not full page response
- Closes #9950
2023-07-18 07:09:28 +10:00
Storm B. Heg
09aee38ca9 Reinstate field_as_li.html
Other packages and projects may still rely on the existence of this
template. We cannot simply remove it without a proper deprecation.

Add a note to remove the template in the next release.
2023-07-18 07:05:34 +10:00
LB Johnston
94ebf435f5 Fix changelog for #10397
- Remove maintenance entry from release notes as already in the callout at the top of the notes
- Add to changelog
2023-07-18 06:41:49 +10:00
LB Johnston
48307ca587 Add changelog for #9961 2023-07-18 06:39:10 +10:00
Tidiane Dia
a6c9409e03
Avoid N+1 queries in users index view 2023-07-17 17:23:12 +01:00
Matt Westcott
71d19a7827 Release note for snippet inspect view (#10621) 2023-07-17 17:22:15 +01:00
Sage Abdullah
0bebe532e8 Add docs and tests for snippets inspect view 2023-07-17 17:19:11 +01:00
Matt Westcott
16140d7e53 Release notes for #10618 2023-07-17 16:50:54 +01:00
Matt Westcott
a3e282491e Release notes for Elasticsearch 8 support (#10686) 2023-07-17 16:24:39 +01:00
Matt Westcott
d05c0c1bc1 Update docs to cover Elasticsearch 8 support 2023-07-17 16:18:37 +01:00
LB Johnston
3d471edbcf Clean whitespace formatting in docs
- Update formatting with prettier in the documentation
2023-07-17 22:24:54 +10:00
LB Johnston
0f97838381 Documentation - revise usage of e.g.
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
Albina Starykova
457e260622 Update styles for userbar and a11y checker in dark mode 2023-07-16 22:07:24 +10:00
Storm B. Heg
a4d29494ac Refactor all field_as_li.html includes
`field_as_li.html` merely wraps a <li> and includes `field.html`.

Remove `field_as_li.html` template

It is no longer used.

Historical mention in 1.0 release notes [^1] has
been left intact.

[^1]: docs/releases/1.0.rst

Relates to #9031
2023-07-16 21:38:38 +10:00
Albina Starykova
ecb2126cea Update Wagtail logo to the latest version
- Partial progress on #10404
2023-07-16 17:20:26 +10:00
Stefan Hammer
8960e237ea Add upgrade considerations for the changed audit log timestamps
See #9590
2023-07-16 16:44:44 +10:00
LB Johnston
74af3e3b45 Add changelog & upgrade considerations for Stimulus dialog/teleport usage
- Closes #10174
- See PR #10397
2023-07-15 23:03:57 +10:00
Daniel Kirkham
1873c49d5d Revise release note for model ordering #10469 2023-07-15 10:37:16 +10:00
zerolab
1a4e5dde12 Add release notes for #10657 2023-07-14 16:17:53 +01:00
zerolab
96c3d719c2 Change the default WebP quality to 80
This is the value most used, and is the default in Willow too

Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
ce4afcd578 Update documentation for AVIF support
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
Sage Abdullah
92f37fe377
Release notes for #10596 2023-07-14 15:24:28 +01:00
Albina
e5da22586b
Update styles for block picker in dark mode (#10644)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 14:42:12 +01:00
Matt Westcott
aca754aa36 Release note for dropping Python 3.7 support (#10676) 2023-07-14 13:09:55 +01:00
zerolab
ac10b36c7b Run pyupgrade with --py38-plus 2023-07-14 13:06:41 +01:00
zerolab
adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
Sage Abdullah
3d0282573d
Release notes for #10619 2023-07-14 10:20:45 +01:00
Sage Abdullah
12583d9c48
Allow purging revisions of only page/non-page models 2023-07-14 10:18:33 +01:00
Albina
a84fdd4919
Update styles for critical buttons in dark mode (#10643)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 09:35:43 +01:00
Shohan Dutta Roy
3a10f925a3 feat(elasticsearch6): Add support for field boosting (#10653) 2023-07-13 15:02:37 +01:00
Thibaud Colas
602cc6f334 Remove unused snippets _header_with_history.html 2023-07-13 18:05:16 +10:00
Albina
0b2ea1edac
Update rich text Link/Document Tooltip styles (#10639)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-13 08:19:59 +01:00
Thibaud Colas
80b696c0d6 Release notes for #10598 2023-07-13 07:51:26 +01:00
Thibaud Colas
d86d889c76 Move Stimulus adoption changelog entries to their own section 2023-07-13 00:52:48 +01:00
Thibaud Colas
596a1363f5 Switch release notes to use semantic headings 2023-07-13 00:45:29 +01:00
Thibaud Colas
eb56a0c8bb Release notes for #10620 2023-07-13 00:43:17 +01:00
LB Johnston
2ad71493a9 Add TooltipController (w-tooltip) & remove bootstrap tooltips
Adds a new Stimulus controller for Tippy.js tooltips to replace only the Bootstrap tooltip usage & removes the bootstrap JS tooltip code.

- Dashboard - moderation listing panel
- Reports - Workflow listing status tooltip
- Shared Avatar - user name tooltip
- Workflow listing - steps item tooltip

Closes #8565
2023-07-13 00:43:17 +01:00
LB Johnston
58377402bf Replace ModelAdmin history header human readable date
- Snippet header with history appears to be unused, updated anyway
- Update ModelAdmin header with history to use the human readable (more accessible) timesince date, which uses Tippy.js
- Relates to #8565
- Builds on #8697 & #8566
2023-07-13 00:43:17 +01:00
Stefan Hammer
7962118dc0 Add missing TZ conversions and date formatting
* Usages of strftime("%d %b %Y %H:%M") have been replaced by usages of
  django's timezone handling and date formatting, so the output is
  similar to other dates rendered through the templating.
* Dates stored in the action logs are now parsed and converted
  accordingly for the frontend.
* Improved tests to check those conversions
* Fixes #9581
* Add handling for wagtail.schedule.cancel with go_live_at=None
* Migrate log timestamps to ISO 8601 in UTC
* adapted new code from #9628
* replaced usages of test utility rendered_timestamp() with new core utility
* Replaced usages of django.utils.timezone.utc
* re-added migration on top of newest migrations
2023-07-13 08:13:54 +10:00
zerolab
a096dd3ded Fix headings levels for the 5.1 release notes 2023-07-12 20:00:49 +01:00
zerolab
6345c8c4c1
Release notes for #10612 2023-07-12 16:59:53 +01:00
Jake Howard
27a203f697
Always cache renditions
This should provide a big performance boost to those who don't set the cache, with minimal extra overhead.
2023-07-12 16:35:06 +01:00
Jake Howard
e463c80250
Prevent memory exhaustion when running wagtail_update_image_renditions with many renditions
This reduces the memory overhead of the command, allowing it to be run on sites with lots of images.
Whilst that may reduce performance, I've also added a `select_related` and massively simplified the
`purge_only` path to counter
2023-07-12 16:31:57 +01:00
Thibaud Colas
366e7f0153
Add support for --template argument to wagtail start 2023-07-12 13:18:31 +01:00
Antoni Martyniuk
47df43d722 Finish attrs support for FieldPanel and other Panels
- Closes #10133
- Rework from original PR #10323
- Add documentation
2023-07-12 20:25:09 +10:00
Sage Abdullah
a5bea1ccaf
Release notes for #10626 2023-07-12 09:21:12 +01:00
Sage Abdullah
0550b03dad
Allow customising the spreadsheet file name via SnippetViewSet.export_filename 2023-07-12 09:18:11 +01:00
Sage Abdullah
428b7914e2
Add docs and tests for exporting snippets listing 2023-07-12 09:18:09 +01:00
Sébastien Corbin
853aad4305
Fix incorrect override of PagePermissionHelper.user_can_unpublish_obj() in ModelAdmin 2023-07-07 16:35:46 +01:00
LB Johnston
04d1e8162b Migrate header search to a Stimulus controller (w-swap)
- Removes the jQuery slide animation so content will be instantly replaced
- Removes the autofocus behaviour on the search fields as this is not helpful for screen readers / keyboard control
- Includes support for `window.header` if provided alongside dynamic adding of data-* attributes if not included
- Base implementation for #9950
- Co-authored-by: sag᠎e <laymonage@gmail.com>
2023-07-06 20:10:31 +10:00
Yuekui
1ea8a0e360 Increase Pillow dependency range to include 10.x
- Drop support for Pillow versions below `9.1.0`
- Fixes #10631
2023-07-06 17:09:28 +10:00
LB Johnston
91a3c6d2c2 Add changelog for #10632 2023-07-06 16:53:46 +10:00
Thibaud Colas
f4ea0156a2 Implement new Draftail customisation APIs
- Fixes #5580
- Remove TSLA/TWTR/BTC references and replace with clean energy FSLR / NEE stocks
2023-07-06 13:14:54 +10:00
LB Johnston
4f012d75ec Add changelog & contributors for #10638
- Original work done via #10413
2023-07-06 12:39:41 +10:00
LB Johnston
8251072e6d Replace usage of innerHTML with textContent
- Stimulus CountController content is programatically generated but best to avoid writing HTML accidentally
- ChooserModel field required label should avoid risk of translations with HTML
- Image focal point chooser's label does not need to support HTML
- FieldBlock us using h util but this can be avoided by built in browser escaping when innerText is used
- focal-point-chooser gets value from its set up but we should avoid innerHTML if we can
2023-07-06 12:26:43 +10:00
SebCorbin
d52484f524 Auto-select single block in StreamField
- Closes #3998
2023-07-04 17:38:45 +10:00
Damilola Oladele
c37847a6fb
Switch the tutorial snippets example to be more understandable #10609 (#10624)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Also includes:

- Further tone updates based on Vale
- Address other feedback to earlier parts of the tutorial
2023-07-03 16:54:49 +01:00
Th0masCat
c7039ed9d3 Link Chooser - tel: links should prevent spaces
- Added regex operation to strip out spaces
- See spec - tel: hrefs should not have spaces https://www.rfc-editor.org/rfc/rfc3966#section-3
- Fixes #10558
2023-07-03 20:28:44 +10:00
LB Johnston
6491ae49ce Docs - Align on client-side & fix Draftail typos
- Prep for #10197
- Fix a few cases where Draftail was spelt incorrectly
- Align with `client-side` not `clientside` as this is used most commonly
- fix javascript code snippet
2023-07-03 19:18:44 +10:00
Jake Howard
ef27a27c1a Docs - Add more details to the performance page & update getting started link
- Link getting started section to elasticsearch backend, not performance page as this is more relevant.
- Mention frontend caching on performance page
- Mention prefetching image renditions on performance page
2023-07-03 08:33:23 +10:00
Sébastien Corbin
707e719d29 Cast settings' verbose_name to string
- Fix for using gettext_lazy for verbose_name on a generic setting model, you get a TypeError: __str__ returned non-string (type __proxy__)
2023-07-01 16:47:21 +10:00
Jake Howard
c2875179b3 Documentation - Clean up and update deployment page
This cleans out some very old, potentially out of scope content, and makes way for the page being much easier to contribute to and extend in future.
Move deploy tutorials to 3rd-party tutorials page
2023-07-01 16:35:57 +10:00
Damilola Oladele
a6b78724c9
Finish first batch of getting started tutorial changes (#10579)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-06-30 17:16:48 +01:00
D.M. Oladele
c5099a4dbe Revamp more of the getting started tutorial 2023-06-30 14:49:15 +01:00
Sandil Ranasinghe
f2886cc647
Fix empty blocks created in migration operations 2023-06-30 11:24:55 +01:00
Sage Abdullah
9033282834
Optimise queries in collection permission policies using cache on the user object 2023-06-30 11:20:12 +01:00
zerolab
d457879481
Release notes for #9550 2023-06-29 16:38:26 +01:00
Andy Babic
659c46042e
Add documentation for Image.get_renditions() (#9550) 2023-06-29 16:22:16 +01:00
LB Johnston
3145234b07 Add changelog for #10616 2023-06-29 18:05:45 +10:00
zerolab
d88b3f8257 Convert the CONTRIBUTORS file to Markdown 2023-06-28 20:50:12 +10:00
Sébastien Corbin
5dcf8e4a27
Fix description when locked by system 2023-06-28 10:16:24 +01:00
Matt Westcott
d4eb3a2fb4 Release note for #10569 2023-06-27 19:00:41 +01:00
Sage Abdullah
71666a7019 Apply suggestions from code review 2023-06-27 18:59:25 +01:00
Sage Abdullah
02d9771ab4 Update upgrade considerations on GroupPagePermission.permission_type 2023-06-27 18:59:25 +01:00
Sage Abdullah
1956b75143 Add upgrade considerations for GroupPagePermission changes 2023-06-27 18:59:25 +01:00
Sage Abdullah
2eaaf0b1bd
Release notes for #10102 2023-06-27 09:25:50 +01:00
LB Johnston
150e988f4d
Migrate Tagit init JS to TagController
- Closes #10100
2023-06-27 09:23:01 +01:00
Sage Abdullah
0ba6cb726c Fix taggit/tagit autocomplete text colour in dark mode
- Relates to #10418
2023-06-27 08:01:57 +10:00
Vitaly Babiy
1042568e5c
Documentation - Fix mMissing Menu Prefix in example (#10599) 2023-06-27 07:53:52 +10:00
Jake Howard
13a350ed26
Use constant_time_compare to verify image signatures 2023-06-26 14:27:12 +01:00
Thibaud Colas
ff327d5318 Release notes for #10557 2023-06-26 14:03:08 +01:00
Thibaud Colas
ff822babb4 Refactor "More" listing dropdowns to new dropdown component 2023-06-26 13:55:08 +01:00
Sage Abdullah
b8a7ad04a6
Release notes for #10592 2023-06-26 11:15:40 +01:00
D.M. Oladele
6d4265cbfa Move the tutorial’s snippets section before tags 2023-06-23 15:37:58 +01:00
D.M. Oladele
71b98f3161 Revamp the start of the getting started section, with separate quick install page 2023-06-23 11:12:14 +01:00
LB Johnston
f6d119a6dd Add changelog for #10502
- Fixes #9360
2023-06-22 08:11:54 +10:00
Daniel Kirkham
17230d183a Add ordering for group editor object permissions
- Ensure the sorting will preserve Django's Permission model ordering as per ordering = ["content_type__app_label", "content_type__model", "codename"]
- `ordering = ["content_type__app_label", "content_type__model", "codename"]`
- Closes #10468
2023-06-22 08:11:04 +10:00
Jake Howard
f5187d1938 Don't redundantly try and find a site
We don't actually use the site. In all cases, it's sensible to fall back to passing the request instead, as this should improve cache ratios
2023-06-22 06:55:13 +10:00
Fabien Le Frapper
13672a1e7c Add YouTube Live url to oEmbed all_providers 2023-06-22 06:50:29 +10:00
Matt Westcott
545d1fc9ea Fill in release date for 5.0.2 2023-06-21 13:56:11 +01:00
Matt Westcott
401afe7a81 Release note for #10575 in 5.0.2 2023-06-20 13:26:28 +01:00
Matt Westcott
4dd99007f6 Release note / upgrade consideration for TitlefieldPanel #10568 2023-06-20 13:03:03 +01:00
LB Johnston
c85eaae5a7 Add TitleFieldPanel to support shared usage of title field sync
- Avoid a widget approach used on default content_panels on Page, instead allow a shared TitleFieldPanel to be used
- Fixes #10517
2023-06-20 08:33:54 +10:00
Sage Abdullah
e6e392dc96
Release notes for #10562 2023-06-19 15:29:30 +01:00
Sage Abdullah
09ea58b53b
Update upgrade considerations regarding user_page_permissions 2023-06-19 15:25:03 +01:00
Sage Abdullah
f8d5151140
Move UserPagePermissionsProxy deprecation warning to each method 2023-06-19 15:25:02 +01:00
Sage Abdullah
6531c4ff98
Reinstate UserPagePermissionsProxy object in ActionMenuItem's context 2023-06-19 15:25:02 +01:00
Sage Abdullah
c6f1667e5f
Fix incorrect user_has_any_permission usage 2023-06-19 15:25:02 +01:00
Sage Abdullah
1b4d7902b1
Deprecate wagtail.admin.auth.users_with_page_permission 2023-06-19 15:25:02 +01:00
Sage Abdullah
88ba49b496
Add upgrade considerations for get_pages_with_direct_explore_permission and get_explorable_root_page 2023-06-19 15:25:01 +01:00
Sage Abdullah
1b3d6edbf6
Deprecate UserPagePermissionsProxy 2023-06-19 15:25:01 +01:00
Sage Abdullah
fa2a64e9d2
Remove user_page_permissions from page's ActionMenuItem 2023-06-19 15:25:00 +01:00
LB Johnston
96a494581c Documentation - clean up last two internal refs to use underscore
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
Sage Abdullah
4422e65d25
Release notes for #10470 2023-06-16 11:44:44 +01:00
Thibaud Colas
4848722731 Add new expanded indicator with bottom border for side panel buttons. Fix #9174 2023-06-15 15:53:53 +01:00
Matt Westcott
840498fc1b Release note for #10563 in 5.0.2 2023-06-15 12:22:55 +01:00
Matt Westcott
a735265d11 Release note for #10563 in 5.1 2023-06-15 12:22:55 +01:00
LB Johnston
fd83bedd72 Docs - fix typo in Django forms reference 2023-06-15 07:52:52 +10:00
Matt Westcott
c16618bc5b Release note for #10541 in 5.1 2023-06-14 18:51:08 +01:00
Matt Westcott
5757af4f21 Release note for #10541 in 5.0.2 2023-06-14 18:50:43 +01:00
Matt Westcott
741c272819 Release note for #10559 in 5.0.2 2023-06-14 17:40:42 +01:00
Andreas Nüßlein
92a3cc246e Update components.py
the contexts are mutable, therefore a MutableMapping makes more sense than a Mapping type
2023-06-14 19:03:34 +10:00
Matt Westcott
bb3b0b6f37 Prevent crash when comparing page revisions that include MultipleChooserPanel
Fixes #10472
2023-06-14 07:56:08 +10:00
valnuro
5f880fd528 Add Youtube Shorts url to oembed all_providers
Youtube allows to use oembed for shorts video now, but the code can't accept Youtube shorts url.
2023-06-14 07:43:09 +10:00
Kevin Chung
173918c221
Revise main Getting started tutorial for clarity (#10425)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-06-13 16:52:35 +01:00
Matt Westcott
d53a77c201 Release note for #10506 in 5.0.2 2023-06-13 13:21:50 +01:00
Matt Westcott
7feaad5e3d Release note for #10506 in 5.1 2023-06-13 13:05:51 +01:00
Matt Westcott
a86dddaddf Release note for #10540 2023-06-13 11:02:42 +01:00
Thiago C. S. Tioma
ce620bf57b feat: add marking for LTS releases (#10550)
Fixes #10508
2023-06-13 10:41:25 +01:00
Matt Westcott
2a38248c6b Fix gettext calls in wagtail.admin.views.generic.models that should be gettext_lazy (#10539)
Fix some gettext calls that should be gettext_lazy, because they're evaluated at the module level rather than per-request - getting this wrong means that these strings will always be in whatever language was set at the server level at startup, ignoring user preferences.
2023-06-12 14:39:05 +01:00
Thibaud Colas
2163e02933 Release notes for #10449 2023-06-12 10:55:12 +01:00
Thibaud Colas
268b038ea8 Update documentation for color customisations 2023-06-12 10:55:12 +01:00
Matt Westcott
55a5f16a8e Release note for #10533 2023-06-10 13:09:33 +01:00
NikilTn
7b3b55ff93 added __eq__ for comparison of the source of RichText and also added compare test case
Fixes #10523
2023-06-09 14:23:58 +01:00
Matt Westcott
bd76b020af Release note for #10524 2023-06-09 14:18:27 +01:00
Thibaud Colas
fe3d0c423f
Add new Sustainability considerations page (#10527)
Co-authored-by: sag᠎e <laymonage@gmail.com>
2023-06-09 12:04:13 +01:00
Matt Westcott
cd5200c8e1 Use table UI component for workflow task index (#10518)
Follow-up to #10516
2023-06-07 22:52:44 +01:00
Matt Westcott
e61230fcbb Release note for #10516 2023-06-07 15:51:24 +01:00
Justin Köstinger
022d7789c7
Add explicit names to menu item registrations 2023-06-05 16:19:54 +01:00
Matt Westcott
c8064466d4 Reword note telling people not to use autocomplete for ordinary search
Prompted by https://stackoverflow.com/q/76324437/1853523 - while we want to encourage people to use the most appropriate search method, telling them outright not to use autocomplete is a bit extreme. Remove the note in favour of some gentler advice.
2023-06-05 09:21:21 +01:00
LB Johnston
d5bd828b8e Docs - update Django urls to shorthand method 2023-06-01 16:50:03 +01:00
Etty
c5f238f98d Deprecate insert_editor_css in favor of insert_global_admin_css (#10499)
Fixes #10402
2023-06-01 16:28:00 +01:00
Lukas von Allmen
d6fdf504c7 Documentation 'Your first contribution': Reindex titles and update text reference to changed titles (#10503)
Fixes #10500
2023-06-01 15:14:55 +01:00
LB Johnston
aa9e9cddc7 Resolve multiple typos (spelling and grammar)
- Optimized/Customized/Catregorize -> Optimised/Customised/Categorise
- Github -> GitHub (80% were spelt with capital H, this is the way GitHub spells itself)
- GitPod -> Gitpod (most were without the capital P, Gitpod's site does not use capital P)
- Remove duplicate words (to to, the the)
- De-coupled -> decoupled
- implementors -> implementers (all other references used 'site implementers' so just aligning with the common case)
- Fix a/an usage in one case
- Fix one comment usage of ok, replace with OK
2023-05-30 21:07:37 +10:00
LB Johnston
5292f7dc1f Docs - fix whitespace formatting (Prettier) 2023-05-30 07:25:21 +10:00
Sage Abdullah
1520a05d09
Fill in release date for 5.0.1 2023-05-25 14:58:33 +01:00
Sage Abdullah
21716f6179
Fill in release date for 4.2.4 2023-05-25 14:58:33 +01:00
Sage Abdullah
47b4778d78
Fill in release date for 4.1.6 2023-05-25 14:57:14 +01:00
Sage Abdullah
3391f65b03
Release note for #10467 2023-05-25 11:02:53 +01:00
Matt Westcott
530531ab62 Release note for #10388 2023-05-24 11:07:50 +01:00
Sage Abdullah
f005990b4a Apply suggestions from code review 2023-05-24 11:06:00 +01:00
Sage Abdullah
9107fdd8aa Add documentation for using inline models with snippets 2023-05-24 11:06:00 +01:00
Sage Abdullah
4d49ebe061 Clarify that TaggableManager should only be used if RevisionMixin is not applied 2023-05-24 11:06:00 +01:00
Sage Abdullah
0c075fb8de Replace mentions of ModelAdmin with their snippets equivalent 2023-05-24 11:06:00 +01:00
Sage Abdullah
f2accc89e3 Add link to snippets icon customisation from icons documentation 2023-05-24 11:06:00 +01:00
Sage Abdullah
6ec734f836 Add separate headings for each snippets view customisation 2023-05-24 11:06:00 +01:00
Sage Abdullah
88c6cfcba6 Restructure snippets customisation example to show the viewset before explaining the attributes 2023-05-24 11:06:00 +01:00
Sage Abdullah
d2c33b7513 Add intro paragraphs for rendering snippets and optional features 2023-05-24 11:06:00 +01:00
Sage Abdullah
8f9c908af7 Explicitly recommend using register_snippet as a function 2023-05-24 11:06:00 +01:00
Sage Abdullah
fb734e9184 Split snippets documentation into separate pages 2023-05-24 11:06:00 +01:00
Sage Abdullah
939b14b33c Move snippets.md docs to its own directory 2023-05-24 11:06:00 +01:00
viragjain30
9790cccd9c
Prevent lowercase conversions of IndexView column headers 2023-05-23 15:28:41 +01:00
Christer Jensen
bd38c91163
Fix incorrect link to UsageView in EditView for snippets
Currently all links to UsageView in EditView link to `None` instead.
2023-05-23 15:03:21 +01:00
Thibaud Colas
b5aa8e24be Release notes for #10460 2023-05-23 08:22:53 +01:00
Thibaud Colas
aca340f368 Release notes for #10437 2023-05-22 11:00:21 +01:00
sag᠎e
f8a9ddff09
Move comment notifications toggle to the comments side panel (#10437)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-05-22 10:56:15 +01:00
Thibaud Colas
f372551a83 Fix StreamBlock documentation indentation 2023-05-20 07:21:48 +10:00
Thibaud Colas
37ea0b16ef Release notes for #10282 2023-05-19 07:12:49 +01:00
Thibaud Colas
0e1de4ccfa Release notes for #10282 2023-05-19 07:12:22 +01:00
Sage Abdullah
188bbbb0c5 Pass the correct for_update value for get_form_class in SnippetViewSet's edit views (#10445)
Fixes #10438
2023-05-17 13:59:15 +01:00
Sage Abdullah
cc30fd3a13 Fix crash when deleting a single snippet using the bulk actions interface (#10447)
Fixes #10441
2023-05-17 12:46:02 +01:00
Thibaud Colas
efb75c0ae3
Ensure comment buttons always respect WAGTAILADMIN_COMMENTS_ENABLED. Fix #10406 2023-05-17 10:49:16 +01:00
Christer Jensen
2189652ae9
Update documentation for log_action parameter on RevisionMixin.save_revision
Previous documentation seemed to incorrectly imply that
the default value for `log_action` was `True` when it is
in fact `False`. This can confuse readers not looking at
the method signature.
2023-05-17 10:10:03 +01:00
Sage Abdullah
351bffa304
Release notes for #10421 2023-05-15 16:02:26 +01:00
Matt Westcott
d8e8e240f4 Release note for #10430 in 5.0.1 2023-05-15 14:37:41 +01:00
Matt Westcott
df91b382f3 Release note for #10430 in 4.2.4 2023-05-15 14:34:12 +01:00
Matt Westcott
900dce9362 Release note for #10430 in 4.1.6 2023-05-15 14:34:06 +01:00
Daniel Kirkham
c895e9031b Fix treebeard link 2023-05-14 07:40:13 +10:00
LB Johnston
f1560625aa Docs - fix minor typo on Panels reference 2023-05-09 17:43:06 +10:00
LB Johnston
696d4557a9 Add changelog for #10408 2023-05-09 07:30:08 +10:00
Thibaud Colas
3671285fa5 Update ReadTheDocs settings to v2 to resolve urllib3 issue in linkcheck extension 2023-05-08 22:11:18 +01:00
Esper Kuijs
95bb06bd3c Fix typo in 5.0 release doc 2023-05-08 22:10:51 +01:00
Thibaud Colas
acaff169c0 Update admin views, Draftail, TableBlock documentation images 2023-05-05 07:17:34 +01:00
Thibaud Colas
e207db534e Update getting started tutorial images 2023-05-05 07:17:34 +01:00
Krzysztof Jeziorny
0552af3c30 Update third_party_tutorials.md
The article "10 (recommended) Wagtail Best Practices" is gone and not to find on the origin website.
2023-05-03 10:34:03 +01:00
Matt Westcott
f6421c0eeb Fill in release date for 5.0 final 2023-05-02 15:29:09 +01:00
Matt Westcott
07f80a6caa Release note for #10367 in 4.2.3 2023-05-02 15:06:28 +01:00
Matt Westcott
170e842a03 Release note for #10367 in 4.1.5 2023-05-02 15:06:28 +01:00
Sage Abdullah
40b828a767 Link to RFC 85 and mention modeladmin deprecation in future release 2023-05-02 13:39:39 +01:00
Matt Westcott
f44b7b326b Credit YouGov for sponsorship of SVG support 2023-05-02 12:56:46 +01:00
Thibaud Colas
b6d4e3109f Remove incorrect v4.1.5 release items 2023-05-02 12:03:09 +01:00
Thibaud Colas
e407fb3612 Add release notes for #10371 2023-04-28 17:22:17 +01:00
Thibaud Colas
5cc663cf28 Move v5.0 snippets release notes to their own section 2023-04-28 16:20:39 +01:00
sag᠎e
aa96dda15a
Fix dismissible SubMenuItem not showing the number badge when there's a new item (#10107)
Previously, we rely on the fact that the SubMenuItem itself is a dismissible. So, we decide how to show/hide the number badge based on the value for the SubMenuItem's dismissible ID on the server. However, this means that if the user has dismissed the SubMenuItem and we add new dismissible child items within it (e.g. update the ID for the 'What's new in Wagtail version' child item), the number badge will not show up. This commit changes the logic to show/hide the number badge based on whether there are any undismissed items within the SubMenuItem and whether the it has been opened or not.
2023-04-28 15:58:57 +01:00
Matt Westcott
511cf81e09 Add Wagtail 5 pypi classifier to docs
Fixes #10373 - classifier has been added in https://github.com/pypa/trove-classifiers/pull/138
2023-04-27 13:59:44 +01:00
4the4ryushin
ecce6bc1c0 added support for parsing multiple queries (#10342) 2023-04-26 11:31:31 +01:00
Matt Westcott
b946b3d66d Release note for read-only FieldPanels (#9129) 2023-04-25 17:08:19 +01:00
Andy Babic
3d7b540b10 Update docs 2023-04-25 16:06:40 +01:00
Sean Kelly
d68baeb67f
Mark calls to md5 as not being used for secure purposes 2023-04-25 11:07:20 +07:00
Matt Westcott
f6781a29d0 Revert "Mark calls to md5 as not being used for secure purposes (#10192)"
This reverts commit 4dea70250b.
2023-04-24 15:47:52 +01:00
Sean Kelly
4dea70250b Mark calls to md5 as not being used for secure purposes (#10192)
Fixes #10184
2023-04-24 15:08:56 +01:00
Ramon Wenger
2ca09bdc37 Add documentation for using a StructBlock inside of a StreamField
Fixes #10231
2023-04-24 14:52:45 +01:00
zerolab
23a8fe8e0e Fix BaseChooser.get_instance for non-existing pks (#10362)
Fixes #10348

e.g. when trying to move an existing page when `parent_page_types`
is added after the page is created under a different parent page type than the one allowed
2023-04-24 13:55:13 +01:00
LB Johnston
5e560a7e1d Updates for new contributors (#10071)
- Adds a new first contribution guide page
- Refines the contributing index to add more ways to get involved & cleans up that section
- Moves the committing TOC link to the bottom of the contributing index page as this is only needed for core team
- Fixes #10070
2023-04-24 13:23:43 +01:00
Storm B. Heg
267b042e71 Update Transifex link in docs
Subdomain was changed on April 3rd and redirects will stop on July 2023.
2023-04-23 20:11:39 +01:00
Onno T
4d9f4898de Document how to add non-ModelAdmin views to a ModelAdminGroup (#10022) 2023-04-21 18:26:03 +01:00
Jake Howard
a2e1becc49 Move security.txt to wagtail.org (#9751) 2023-04-21 18:01:09 +01:00
Matt Westcott
5f870fbd13 Set up release notes for 5.1 2023-04-21 13:47:10 +01:00
Matt Westcott
4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00
LB Johnston
b6392eab05 Docs - Add recent third party tutorials 2023-04-20 18:12:47 +01:00
Matt Westcott
85c9b6689f Ensure that models can still be registered with ReferenceIndex.register_model after the initial set of signals has been connected 2023-04-20 11:21:43 +01:00
Daniel Kirkham
659251b8a7 Added Documentation 2023-04-20 11:21:03 +01:00
Sage Abdullah
b9f8a6b6c0 Dispatch resize event to resize Handsontable on initialisation (#10367)
Fixes #10355
2023-04-20 09:48:58 +01:00
Sage Abdullah
d650af3f39
Release notes for #10366 2023-04-20 14:17:08 +07:00
sag᠎e
ed36b5b9b6
Improve customisability of the accessibility checker configuration. Fix #10137 (#10333)
* Extract userbar BaseItem.get_context_data()
* Extract Axe config into smaller attributes and methods for easier overrides
* Add TypeScript interface for WagtailAxeConfiguration
* Improve typings for userbar.ts
* Separate Axe `runOnly` and `rules` options
* Pass request object to all axe configuration methods
* Remove Axe runOnly option if it's falsy
* Add docs for customising the accessibility checker
* Use lists for Axe include and exclude selectors
* Parse JSON script when testing accessibility checker config
* Add tests for customising accessibility checker configuration

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-20 07:46:56 +01:00
zerolab
cd131ddec8 Skip Locale query when WAGTAIL_I18N_ENABLED is False
- Fixes #10329
2023-04-20 07:07:40 +10:00
Matt Westcott
87eb961b0b Release note for #10330 2023-04-19 15:14:14 +01:00
Sage Abdullah
c027e0bce4 Hide Snippets menu item if all snippet models have their own menu items 2023-04-19 15:13:42 +01:00
Sage Abdullah
7ba2098d1a Add docs and tests for grouped snippets registration 2023-04-19 15:13:42 +01:00
Sage Abdullah
5fb4d6316f Allow SnippetViewSet.model to be defined directly on the class 2023-04-19 15:13:42 +01:00
Sage Abdullah
dde58c718d Add docs and tests for separate menu item registrations for Snippets 2023-04-19 15:13:42 +01:00
sag᠎e
70bb15a7e1
Prevent long preview mode names from making the select element overflow the side panel. Fix #10240 (#10354) 2023-04-19 14:30:21 +01:00
Thibaud Colas
69fc0d41d2 Release notes for #10056 2023-04-19 13:38:23 +01:00
Thibaud Colas
567b999548 Set up new color design tokens for light and dark themes 2023-04-19 13:38:23 +01:00
Matt Westcott
26a14da3d7 Release note for #10299 2023-04-19 13:25:58 +01:00
Sage Abdullah
66c0ef48e9 Add docs for setting panels/edit_handler on SnippetViewSet 2023-04-19 13:24:17 +01:00
Sage Abdullah
88b742b979 Clarify docs of Snippets features to better reflect current state 2023-04-19 13:24:17 +01:00
Matt Westcott
8ceede175f Deprecate the partial_match argument 2023-04-19 10:53:25 +01:00
Matt Westcott
db691b5f1b Remove use of partial_match on search 2023-04-19 10:53:25 +01:00
Thibaud Colas
9b4378485c Release notes for #10344 2023-04-18 15:58:20 +01:00
Thibaud Colas
117eae2299 Release notes for #10347 2023-04-18 15:32:56 +01:00
Sage Abdullah
72f77e4359
Add tests and release notes for #10336 2023-04-18 20:25:33 +07:00
SwA
0447b259c7 fix: modify get_full_url to omit adding base_url in inaplicable cases (#10291)
Fixes #10285
2023-04-18 12:30:20 +01:00
Sage Abdullah
64ea6dd8b8 Fix missing newline in editing interface customisation docs
Regression in 2abd7916af
2023-04-18 19:14:02 +10:00
Daniel Kirkham
0d77311fb6 Update number of tests 2023-04-18 18:14:48 +10:00
Thibaud Colas
68cea0429a Release notes for #10320 2023-04-18 02:49:04 +01:00
Sage Abdullah
136a5486d8 Add decimal and regex icons 2023-04-18 02:49:04 +01:00
Sage Abdullah
d696009a36 Revamp panel types documentation and other docs that reference it
This removes the parameters that come from the base Panel class (e.g.
heading, classname, etc.) from the specific panel types to avoid
repetition. Instead, these parameters are properly documented in the
separate "Panel customisation" section. They are also explicitly listed
in the Panel API reference.
2023-04-18 02:49:04 +01:00
Sage Abdullah
eb49f3cdf0 Add docs for FieldPanel's icon parameter 2023-04-18 02:49:04 +01:00
Sage Abdullah
b017157818 Fix extraneous period typo in page editing interface docs 2023-04-18 02:49:04 +01:00
Karl Hobley
7f297cd019
Update comment list positioning so that they slide in/out with the sidebar (#8345) 2023-04-18 00:58:14 +01:00
Sage Abdullah
167471b1f7 Allow customising the search_fields and search backend to use via SnippetViewSet (#10290) 2023-04-18 00:06:09 +01:00
Sage Abdullah
3965ceedfa Allow default ordering of Snippets IndexView to be specified via SnippetViewSet (#10276) 2023-04-17 23:58:20 +01:00
Aadi jindal
ed58c692ca Allow Action controller to trigger a redirect
- Migrate site switcher to use Stimulus approach via w-action
- Closes #10035
2023-04-18 08:30:22 +10:00
LB Johnston
37192f847b Fix changelog for #10212 2023-04-18 08:07:54 +10:00