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

5014 Commits

Author SHA1 Message Date
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