0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
Commit Graph

6117 Commits

Author SHA1 Message Date
Matt Westcott
48b3a52c92 Release note for #12268 in 6.2.2 2024-09-11 19:48:35 +01:00
Matt Westcott
2b481e677c Release note for #12268 in 6.3 2024-09-11 19:47:02 +01:00
Sage Abdullah
50a1aba134 Clarify UserViewSet customization to avoid confusion with the custom user model's app config 2024-09-11 19:44:36 +01:00
smark-1
467cced098 Fix typo advantage in docs/deploy/under_the_hood.md 2024-09-08 19:08:29 +01:00
Matt Westcott
cf07674b92 Release note for #12276 2024-09-06 12:13:29 +01:00
Thibaud Colas
74681487e0 Release notes for #12203 2024-09-06 11:46:43 +01:00
Sage Abdullah
5038418b1e
Release note for #12236 2024-09-06 11:41:00 +01:00
Vince Salvino
9545193907 Add official hosting documentation
- Create a deploy section of the documentation
- Move fly.io deployment from tutorial to it's own page under deploy
- Clean up deployment docs and references throughout documentation
2024-09-03 07:59:20 +10:00
LB Johnston
4af8ab528b Documentation - formatting clean up 2024-08-29 18:32:20 +01:00
LB Johnston
7f2bcb677b Update 6.3 release notes (clean up + docs links) 2024-08-29 18:28:07 +01:00
LB Johnston
29d9b0d72e Add docs links for 6.2 release notes 2024-08-29 18:28:07 +01:00
LB Johnston
1790bdd158 Align recent docs & release notes to US spelling 2024-08-29 18:28:07 +01:00
Matt Westcott
0d8b8386e2 Refactor StreamField get_prep_value for closer alignment with JSONField (#12269) 2024-08-29 18:04:06 +01:00
Matt Westcott
7051363f9f Change Twitter to X in security.md 2024-08-27 15:32:17 +01:00
Matt Westcott
c574954a0a Release note for #12244 in 6.2.2 2024-08-27 15:06:15 +01:00
Matt Westcott
ce5ba9efdf Add release note template for 6.2.2 2024-08-27 15:06:13 +01:00
Matt Westcott
50c4d32a54 Release note for #12251 2024-08-27 14:16:03 +01:00
Matt Westcott
6857f6431a Release note for #12217 2024-08-23 16:18:18 +01:00
Matt Westcott
5014d50490 Release note for #12226 2024-08-23 15:54:02 +01:00
SebCorbin
d0098f394d Fix duplicate class attribute in image chooser (#12245) 2024-08-23 15:40:07 +01:00
vossisboss
7582a9932a Adding updated tutorial link requested by DIVIO. 2024-08-23 15:31:24 +01:00
SebCorbin
b0b33514dd Fix typo in attribute (#12246) 2024-08-23 15:28:26 +01:00
Matt Westcott
688d833451 Fill in release date for 6.2.1 2024-08-20 16:20:46 +01:00
Matt Westcott
9c921481dd Release note for #12237 2024-08-20 16:04:15 +01:00
Matt Westcott
df08f99945 Avoid importing custom user models at load time in wagtail.admin.models
As per https://docs.djangoproject.com/en/5.0/topics/auth/customizing/#referencing-the-user-model , module-level code such as ForeignKey definitions should use `AUTH_USER_MODEL` rather than `get_user_model()`.

Probably fixes #12228 (unconfirmed)
2024-08-15 11:08:24 +01:00
Matt Westcott
bd87ccf517 Release note for #12223 2024-08-13 20:23:56 +01:00
Matt Westcott
72b965cd94 Formalise support for Django 5.1 2024-08-12 11:26:44 +01:00
Sage Abdullah
e83d23ca2a Fix broken task type filter in workflow task chooser modal (#12213)
Fixes #12210
2024-08-08 18:52:26 +01:00
Matt Westcott
c7a42c4b34 Update django-taggit dependency to allow 6.0.x (#12220) 2024-08-08 16:19:41 +01:00
Jake Howard
22fe143d36 Purge frontend cache when modifying redirects (#12185) 2024-08-06 19:25:28 +01:00
Matt Westcott
ca63bdf5ee Release note for #12156 2024-08-06 17:52:21 +01:00
Matt Westcott
d327a0dd50 Handle child_block being passed as a kwarg in ListBlock.deconstruct_with_lookup (#12208)
Fixes #12202
2024-08-06 14:37:33 +01:00
Matt Westcott
5281432127 Add release notes template for 6.2.1 2024-08-06 14:37:23 +01:00
NayanshiSingh
bf91e185bf Update twitter link in support docs to x.com (#12205)
Fixes #12206
2024-08-05 13:54:37 +01:00
Vince Salvino
067ebc01ec Add example date/time formatting for the Wagtail admin settings. (#12083) 2024-08-02 13:54:13 +01:00
Matt Westcott
98705762bf Fill in release date for 6.2 2024-08-01 13:02:20 +01:00
smark-1
6672f4b518
Fix typo in admin url finder docs (#12193) 2024-08-01 11:48:20 +01:00
DK
a11414447d
Fix typo in 6.2 release notes and changelog (#12192)
Co-authored-by: Daniel Kirkham <d.kirkham@kirkham.id.au>
2024-08-01 11:44:56 +01:00
Vaughn Dickson
0dc233b0fa Add missing getTextLabel implementation for BaseDateTimeWidget, so the value is displayed if it is available instead of a JavaScript 'null'. (#12162)
Fixes #12094
2024-07-31 18:05:37 +01:00
Thibaud Colas
96db233bf0 Disable pointer events on checker highlights to simplify DevTools inspections 2024-07-31 10:43:07 +02:00
Thibaud Colas
aa070ef08e Log accessibility checker results when present 2024-07-31 10:43:07 +02:00
Matt Westcott
b34f8b79a1 Release note for #12155 2024-07-29 18:36:43 +01:00
Sage Abdullah
dfe9638e7d Replace pytz.common_timezones with zoneinfo.available_timezones
and remove pytz dependency
2024-07-29 18:31:30 +01:00
Sage Abdullah
b757524708 Do not suggest using the custom user model's app config as the custom wagtail.users app config
Doing so would mean the "models" module of the app that contains the
custom user model will be used in favour of the models module of the
wagtail.users app, which contains the UserProfile model. As a result,
the UserProfile model becomes mistakenly picked up by the wagtailcore
app, creating a bogus migration when makemigrations is run.

This partially reverts the docs to the version before
449a48d7f9, in particular the paragraphs
about creating the custom AppConfig subclass for wagtail.users.
2024-07-29 17:35:08 +01:00
Matt Westcott
fa8f9415c9 Release note for #12084 2024-07-29 15:59:27 +01:00
Sage Abdullah
a5bb99bf67 Fix duplicated rich text input inside choosers (#12173)
Fixes #12002
2024-07-29 15:08:33 +01:00
Matt Westcott
efc419a3a1 Use Nathanaël Jourdane's full name 2024-07-26 10:34:23 +01:00
Matt Westcott
42c566b19b Remove note about database search not ordering by relevance
This text existed since Wagtail 1.x and is referring to the original database backend that just did substring matches (which is now the fallback backend), before we supported database-backed full-text search.
2024-07-24 22:31:53 +01:00
Matt Westcott
526c7da018 Make StreamField migration a headline release note for 6.2 2024-07-23 11:56:34 +01:00
Thibaud Colas
4616501fb9 Reorder and rewrite 6.2 release notes 2024-07-23 10:51:44 +01:00
Matt Westcott
ed5749ca1e Release notes for #12149 and #12150 2024-07-23 10:15:30 +01:00
Matt Westcott
f7fa20e600 Upgrade Sphinx to 7.3; use newer syntax for no-index directive and --fail-on-warning switch 2024-07-23 10:13:03 +01:00
Matt Westcott
a8a29201c9 Drop support for Python 3.8 2024-07-23 10:12:45 +01:00
Sage Abdullah
012cd99c1b
Release note for #12017 2024-07-22 17:21:58 +01:00
Matt Westcott
0e60590676 Fix no-index directive for Sphinx 7.4.7 2024-07-22 14:21:16 +01:00
Matt Westcott
9cd2005a09 Add release note stubs for 6.3 2024-07-22 13:43:34 +01:00
Matt Westcott
6d6ec7762d Version bump to start work on 6.3 2024-07-22 13:43:34 +01:00
Matt Westcott
e1f9d97238 Remove versionadded/versionchanged notes for 6.1 2024-07-22 13:43:34 +01:00
Matt Westcott
9f518a007d Remove unused heading from 6.2 upgrade notes 2024-07-19 16:50:52 +01:00
SebCorbin
ca5d54cb89 Fix check when using FORMAT_MODULE_PATH (#12006)
Fixes #12005
2024-07-19 15:56:53 +01:00
Thibaud Colas
c569e08d7d Release notes for #12099 2024-07-19 13:14:30 +01:00
Sage Abdullah
f8564055b1 Add WAGTAIL_EDITING_SESSION_PING_INTERVAL setting 2024-07-19 13:14:30 +01:00
SebCorbin
966f2df4ce
Fix focal point data being localized 2024-07-19 12:19:16 +01:00
Th0masCat
5cc28acc56
Fix not allowed extension not showing in the error message 2024-07-19 12:07:36 +01:00
Matt Westcott
f82f6fd2b7 Downgrade minimum version of Sphinx for Python 3.8 compatibility
In 5a8c33f34a the minimum version was set to 7.3 to allow use of the long-form `--fail-on-warning` option, but this is not compatible with Python 3.8. Revert this to the original `-W` option and set 7.0 as the minimum version.
2024-07-19 12:01:18 +01:00
Nathanaël Jourdane
5a8c33f34a doc: fix pdf export (#12076) 2024-07-19 01:27:07 +01:00
Matt Westcott
e066424163 Release note for #12044 2024-07-19 00:23:55 +01:00
Matt Westcott
a7d72f9fbf Fix formatting errors 2024-07-19 00:21:39 +01:00
Chris Shenton
d1c020cd5f Fix Page.copy ref; silence warnings due to Sphinx missing support for type hints
Builds upon HimanshuGarg47:fix/11972-documentation-build-with-errors
2024-07-18 23:15:58 +01:00
Himanshu Garg
de4eee4849 update 1.1.rst 2024-07-18 23:15:51 +01:00
Himanshu Garg
9adf742580 fixes errors by adding aliases, double backtick, changing indexentry 2024-07-18 23:15:40 +01:00
Himanshu Garg
e02ca6ce62 fixes some of errors by removing directives 2024-07-18 23:13:26 +01:00
Sage Abdullah
6b5662cbdc
Release note for #12023 2024-07-18 18:26:38 +01:00
smark-1
95eac5ab78
Allow page to change private page options 2024-07-18 17:23:30 +01:00
Albina
2d568dd825
Content checks design upgrade: help text and separate cards (#12090)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-07-16 22:27:27 +01:00
Albina
62674d3fbb
Add underscore as an alt text antipattern (#12119) 2024-07-16 08:53:23 +01:00
Thibaud Colas
707467503d Release notes for #12092 2024-07-16 08:08:26 +01:00
Sage Abdullah
063c52e1f2 Move inline script for activating workflow actions to workflow-action.js
Also deprecate the `window.ActivateWorkflowActionsForDashboard` and
`window.ActivateWorkflowActionsForEditView` functions as they no longer
need to be globally-accessible
2024-07-16 08:08:26 +01:00
Albina
14f3d4607f
Add content metrics board (#12058) 2024-07-11 14:58:19 +01:00
Matt Westcott
74b2f54e05 Add release notes / fill in release date for 6.1.3 2024-07-11 11:43:18 +02:00
Matt Westcott
26de9fdc19 Add release notes for 6.0.6 2024-07-11 11:41:57 +02:00
Matt Westcott
11c061e51e Fill in release date for 5.2.6 2024-07-11 11:41:38 +02:00
Matt Westcott
7c16075342 Release note for CVE-2024-39317 in 5.2.6 2024-07-11 11:40:54 +02:00
Matt Westcott
0932ba395c Release note for #11952 2024-07-10 17:12:12 +02:00
Sage Abdullah
f126a4860e Deprecate user form-related settings 2024-07-10 17:10:36 +02:00
Sage Abdullah
449a48d7f9 Reorganise docs for custom user forms to prefer UserViewSet customisation
And make small tweaks to the GroupViewSet docs so the custom apps
examples align.
2024-07-10 17:10:36 +02:00
Sage Abdullah
dc892ac232 Document UserViewSet customisation 2024-07-10 17:10:36 +02:00
Jake Howard
35a197d609 Move sprite hashing out of module import time
This speeds up application startup. The hash is now a query param, injected in the template. As this param is only needed for cache invalidation, it's optional. A helper method is provided to generate the URL, along with a template tag.

This also migrates to an `lru_cache` over a global variable for simplicity.

Fixes #11680
2024-07-09 07:02:28 +10:00
Daniel Kirkham
d00df53a62 Document the vary_fields property for custom image filters 2024-07-09 06:53:27 +10:00
smark-1
ad884fe8d5 Add better docs for generating URLs on creating admin views
- Fixes #11963
2024-07-09 06:38:51 +10:00
Afonso
76fb103f54
Fix #11716: Failure in Dynamic Image ServeView
Added back a line that was removed in a previous commit,"rendition.file.open("rb")" in serve.py.
Also, created a test in admin/tests/viewsets , test_image_presence.py that confirms that
the issue has been resolved. The test looks for a status error code 500 in the display of an image,
something that happenned when the dynamic serve view failed. If it finds it, the test fails.
The test also passes when we dont't use a dynamic serve view.

Co-authored-by: SebCorbin <sebastien@rgoods.com>
2024-07-04 11:10:50 +01:00
Andy Chosak
a81cabce05 Expose URL resolver match for RoutablePageMixin (#11953)
Django provides an `HttpRequest.resolver_match` attribute [0] that
allows downstream code to inspect a request object to see how its URL
was resolved to a view.

Wagtail's RoutablePageMixin does its own sub-URL routing to call
different view functions on a page object, but the resolver result isn't
similarly made available.

This commit sets a new `routable_resolver_match` attribute on the
request object, akin to Django's `resolver_match`, that stores this
sub-URL routing information for downstream use.

Documentation has been updated appropriately (along with a couple of
other minor broken things in the RoutablePageMixin docs).

[0] https://docs.djangoproject.com/en/5.0/ref/request-response/#django.http.HttpRequest.resolver_match
2024-07-03 14:17:12 +01:00
Ben Dickinson
2c6ab32d61 Fix bug with .get_menu_item(order=0) calls (#12082) 2024-07-02 17:34:22 +01:00
Matt Westcott
9ef20ca08d Release note for #12097 2024-07-02 16:48:16 +01:00
7fca2d74a0 Add label to "user" column in views.generic.HistoryView (#12101)
Fixes #12100
2024-07-02 16:02:56 +01:00
Sage Abdullah
94d92ed822
Release note for #11987 2024-07-02 12:17:21 +01:00
Sage Abdullah
ab8d721f92
Add upgrade considerations for migrating non-page reports to universal listings 2024-07-02 11:56:40 +01:00
Sage Abdullah
94baf0645a
Deprecate ReportView.title in favour of page_title
The latter is enforced by WagtailAdminTemplateMixin
2024-07-02 10:49:32 +01:00
Sage Abdullah
c18068c079
Add upgrade considerations for migrating report views to universal listings 2024-07-02 10:49:32 +01:00
Sage Abdullah
7ab8e6932f
Add breadcrumbs and new AJAX-based filtering to built-in report views
The export buttons, while working correctly on initial load, is still
broken upon filtering on the client-side. This is because the base
listing results template has yet to include the re-rendered header
buttons. As a result, the export links won't be updated on filter.

This will be fixed in the next commit.

Also, the "by task" and "by workflow" links in the workflow reports are
gone because the slim header doesn't support passing arbitrary actions
fragment. This will be fixed in another commit using header_buttons.
2024-07-02 10:49:30 +01:00
Sage Abdullah
245baa9065
Consolidate base_page_report.html into base_report.html
The template is no longer used in Wagtail itself, but we
keep it around for now so that custom page reports don't
immediately raise an error.
2024-07-02 10:49:30 +01:00
Sage Abdullah
e3dfcc099c
Use separate results template for PageReportView
While in theory it should work, we haven't actually added tests to ensure
the tables framework can be used in ReportView.
2024-07-02 10:49:30 +01:00
Sage Abdullah
2fc7b4d5c9
Do not register 'view' permission if inspect view is not enabled 2024-07-02 10:21:03 +01:00
Sage Abdullah
b3e87bcee8
Register permissions for models registered with ModelViewSet 2024-07-02 09:30:57 +01:00
Matt Westcott
79a22efff8 Release note for #11985 2024-07-01 23:57:34 +01:00
Jake Howard
15511411bd Allow manually specifying credentials for CloudFront frontend cache backend (#10565) 2024-07-01 19:02:12 +01:00
Alex Morega
d0647f3288
Add a deactivate() method to ProgressController 2024-06-28 11:59:43 +01:00
Matt Westcott
6dbae8ca2c Implement for_instance on PageLogEntryManager (#12093)
`BaseLogEntryManager` leaves this unimplemented, and `ModelLogEntryManager` implements it but `PageLogEntryManager` doesn't. The `LogActionRegistry.get_logs_for_instance` method calls this, which means it fails on page models.

Currently this is only used on generic views, which aren't used by page models (unless they're also registered as a snippet, which isn't really a supported setup) but LogActionRegistry is supposed to work transparently across log models, so this is clearly a bug.
2024-06-27 17:00:40 +01:00
Albina
03f26187b6
Add alt text validation rule in the accessibility checker (#11986)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-27 09:33:46 +01:00
Albina
c632832edf
Language label redesign - admin listings (#12010)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-26 11:18:59 +01:00
Matt Westcott
ecefcb680f Release note for #12075 2024-06-25 18:02:14 +01:00
Sage Abdullah
e1b77ccd6f Add docs about not converting relative links when there are multiple sites 2024-06-25 17:59:37 +01:00
Matt Westcott
a7af760aa7 Add release notes for 5.2.6 2024-06-25 13:10:19 +01:00
Alex Tomkins
5fe8da9921
Fix image preview when Willow optimizers are enabled (#12047)
Avoids https://github.com/wagtail/Willow/issues/147
2024-06-25 10:19:25 +01:00
Jochen Wersdörfer
77791767a2 make sure there are no null bytes in input data from query strings (#12072)
Fixes #12052
2024-06-24 18:53:23 +01:00
ad95e0a991 Add verbose name to locale field of TranslatableMixin (#12071)
fixes #12068
2024-06-24 18:48:45 +01:00
Matt Westcott
ead391ea14 Release note for #12059 2024-06-24 16:52:55 +01:00
Jake Howard
d1a0f4cd29 Replace urlparse with urlsplit. (#12028)
`urlsplit` is approximately 6x faster.
2024-06-21 00:08:56 +01:00
Matt Westcott
d4391f4e72 Release note for #12063 2024-06-20 19:30:44 +01:00
Jeroen de Vries
add3c7dc01
Update deployment instructions for Fly.io 2024-06-17 12:29:51 +01:00
Inju Michorius
ac38343957
Remove opacity property from unpublished page titles (#12043) 2024-06-13 15:24:46 +02:00
Sævar Öfjörð Magnússon
435293d9d7 Extend the until date of the promotion banner for Wagtail Space 2024-06-13 15:16:29 +02:00
Sævar Öfjörð Magnússon
d44808ac53 Update the date for Wagtail Space US 2024-06-13 15:07:19 +02:00
Roel Koper
366a7b7e6f
Add prefers-reduced-motion to accessibility docs (#12038) 2024-06-13 14:46:52 +02:00
Sævar Öfjörð Magnússon
49ef72725a Add test for flatten_choices and support dictionaries 2024-06-13 13:05:12 +02:00
Bojan Mihelac
5a1ba5abe2 Documentation: Inline models optional Orderable, tests (#12034)
Fixes #11887
2024-06-13 11:55:06 +02:00
Sævar Öfjörð Magnússon
b7ab0496f1 Remove undocumented autobuild.sh script (#12035) 2024-06-12 15:44:11 +02:00
Arnar Tumi Þorsteinsson
c700ed67ef Copy for translations done signal and test (#12033) 2024-06-12 15:41:04 +02:00
Matthias Brück
0bea099ab8
Skip ChooseParentView if only one possible valid parent page available to the user 2024-06-12 11:49:47 +02:00
Byron Peebles
e36c4d3fba Documentation: Update some Sphinx-style code ref roles to MyST style (#12030) 2024-06-12 11:47:06 +02:00
Thibaud Colas
79ac41a251
Add mention of html5lib in upgrade considerations (#12031) 2024-06-11 12:21:13 +01:00
Julie Rymer
f5552c4044
Fix ico format conversion to work in template 2024-06-10 10:20:34 +01:00
Matthias Brück
ebc77dda83
Remove duplicate header in privacy dialog when a privacy setting is set on a parent page or collection 2024-06-07 11:25:32 +01:00
Matt Westcott
88311ce75c Fix can_delete flag in generic edit view to account for instance-level permissions (#12018)
Fixes #10084, supersedes #11964
2024-06-06 19:07:27 +01:00
Matt Westcott
62f7487617 Release note for #12013 2024-06-06 17:05:15 +01:00
Matt Westcott
d742b0278b Release note for #11995 2024-06-06 16:17:36 +01:00
Sage Abdullah
06ad1d9dc1 Do not bypass permission policy check for superusers in snippets Create/Edit view (#11966)
Except for the lock/unlock permission, since we still need to sync that logic with PagePermissionTester

Fixes #11707
2024-06-06 01:09:22 +01:00
Matt Westcott
a7798c1b80 Release note for #11977 2024-06-04 22:28:01 +01:00
Sage Abdullah
a441f976fa
Fill in release date for 6.1.2 2024-05-30 14:58:06 +01:00
Sage Abdullah
39e8d02d20
Fill in release date for 6.0.5 2024-05-30 14:56:48 +01:00
Sage Abdullah
8b63309ced
Release note for CVE-2024-35228 in 6.1.2 2024-05-30 14:47:40 +01:00
Sage Abdullah
f8bf497741
Release note for CVE-2024-35228 in 6.0.5 2024-05-30 14:44:01 +01:00
sag​e
157a06d3fe
Support SVG icon id attributes with single quotes in the styleguide (#11903)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-05-30 12:39:03 +01:00
Sage Abdullah
b2be969118
Release note for #11992 2024-05-29 19:34:03 +01:00
Matt Westcott
a1b40fe4d0 Fill in release date for 6.1.1 2024-05-21 11:00:19 +01:00
Matt Westcott
d3df8d9948 Fill in release date for 6.0.4 2024-05-21 10:59:53 +01:00
Matt Westcott
c28a260a1b Release note for #11958 2024-05-21 10:24:40 +01:00
Matt Westcott
0ae74677b2 Refactor BoundWidget to accept an iterable of elements 2024-05-21 10:21:39 +01:00
Matt Westcott
bf3f87b759 Release note for #11957 in 6.1.1 2024-05-17 20:54:16 +01:00
sag​e
8ddf472e93
Partially revert listing styles changes to fix layout issues (#11936) 2024-05-17 11:44:28 +01:00
Sage Abdullah
c8aeee941a
Only scan src in client directory for Tailwind to prevent unnecessary rebuilds
https://tailwindcss.com/docs/content-configuration#styles-rebuild-in-an-infinite-loop

This speeds up the FE production build from 60s to ~21s on my machine, and also speeds up hot rebuilds to just ~3s
2024-05-17 09:46:28 +01:00
Matt Westcott
4f5ffa85b6 Release note for #11943 in 6.1.1 2024-05-14 10:39:15 +01:00
Matt Westcott
4b7210dd51 Release note for #11943 in 6.0.4 2024-05-14 10:39:10 +01:00
Matt Westcott
df4c283ced Release note for #11951 in 6.1.1 2024-05-13 18:50:06 +01:00
Matt Westcott
a09bba67cd
Refactor image chooser pagination to check WAGTAILIMAGES_CHOOSER_PAGE_SIZE at runtime 2024-05-09 09:38:54 +01:00
Matt Westcott
6fa3985674 Release note for #11926 2024-05-08 12:34:39 +01:00
Jake Howard
84d9bd6fb6 Mention use of GitHub's security advisories 2024-05-08 12:34:39 +01:00
Jake Howard
37f9ae2ec6 Add note about bug bounties 2024-05-08 12:34:39 +01:00
elhussein almasri
8aec935f69 save-white-space-in-comment-reply (#11908) 2024-05-03 15:42:13 +01:00
smark-1
5c85c127e6 add docs for page view restriction (#11917) 2024-05-03 15:33:16 +01:00
Matt Westcott
8aaa579bef Run permission labels through translation on the permission management template (#11923)
Since `{% trans some_variable %}` cannot be handled by makemessages, we also need to ensure that any string that arises from Wagtail's native permissions, such as "Can access Wagtail admin" or "Can view", exists somewhere in the python code as a `_("...")` value.

Fixes #5341
2024-05-03 13:50:53 +01:00
Matt Westcott
4ac42a723f Release note for CopyView fix (cherry-picked from e3d9233f4d) 2024-05-01 13:37:39 +01:00
Matt Westcott
ef57f9b2c9 Fill in release date for 6.1 final 2024-05-01 12:41:22 +01:00
Matt Westcott
955703fba6 Fill in release date for 6.0.3 2024-05-01 12:40:43 +01:00
Matt Westcott
42b7c9bcde Release note for CVE-2024-32882 in 6.1 2024-05-01 12:20:00 +01:00
Matt Westcott
9d24ac4e39 Release note for CVE-2024-32882 in 6.0.3 2024-05-01 12:18:47 +01:00
Matt Westcott
7de6872277 Release note for #11912 in 6.1 2024-05-01 11:20:58 +01:00
Matt Westcott
95d23fdf7d Typo - this features -> these features 2024-05-01 11:20:58 +01:00
Matt Westcott
72edc09851 Release note for #11912 in 6.0.3 2024-05-01 11:20:58 +01:00
Matt Westcott
fac768c076 Fill in release date for 5.2.5 2024-05-01 11:20:58 +01:00
Matt Westcott
81a11d63c6 Release note for #11912 in 5.2.5 2024-05-01 11:20:58 +01:00
Matt Westcott
617e5129c5
Add management command to fix UUID fields under MariaDB / Django 5.0 (#11912) 2024-05-01 11:07:20 +01:00
Thibaud Colas
cae0002afe Add more sections to 6.1 release notes 2024-04-30 17:29:18 +01:00
Sage Abdullah
56e69bc3ea
Use DjangoJSONEncoder instead of custom LazyStringEncoder 2024-04-30 15:17:08 +07:00
Jake Howard
afbafd657d Remove duplication on performance page for frontend caching proxies (#11871) 2024-04-29 19:10:07 +01:00
Benjamin Bach
b266e54ba9 Bug: Enable template tag richtext to convert lazy text strings (#11901)
Fixes #11900
2024-04-29 15:34:37 +01:00
Matt Westcott
763c990490 Release note for #11902 in 6.1 2024-04-29 14:18:02 +01:00
Matt Westcott
207d5dafd5 Release note for #11902 in 6.0.3 2024-04-29 14:18:02 +01:00
Sage Abdullah
4302bed1b1
Release note for #11860 2024-04-29 14:41:49 +07:00
Rohit Sharma
bfdd13f8a8 Pass page_size to ImageChooserViewSet (#11884)
Fixes #11813
2024-04-26 17:56:24 +01:00
Matt Westcott
714a1878c2 Add release notes for Wagtail 6.0.3 2024-04-26 12:16:39 +01:00
Matt Westcott
a236405d43 Add release notes for Wagtail 5.2.5 2024-04-26 12:16:39 +01:00
Matt Westcott
9dc38076ed
Add missing promote tab to ObjectList permission example (#11893)
As per https://github.com/wagtail/wagtail/issues/10117#issuecomment-2002393424
2024-04-25 13:45:05 +01:00
Matt Westcott
7900055afa Release note for #11858 2024-04-24 23:55:22 +01:00
Jake Howard
c00c2b684f Allow frontend caching backends to limit which hostnames they respond to 2024-04-24 23:34:33 +01:00
Matt Westcott
b5f5364b82 Update "integrating into Django" docs to emphasise creating page models 2024-04-23 08:18:07 +10:00
Matt Westcott
4048c70502 Release note for #11881 2024-04-22 20:05:51 +01:00
Matt Westcott
0338642e62 Release note for #11878 2024-04-22 12:42:49 +01:00
LB (Ben Johnston)
d3d43420aa
Add third party tutorials Q1 2024 (#11878) 2024-04-22 12:37:26 +01:00
Sage Abdullah
0d23f431e9
Release note for #11876 2024-04-22 11:26:09 +07:00
Sage Abdullah
100566ab8f
Set up release notes for 6.2 2024-04-22 09:00:37 +07:00
Sage Abdullah
ecb4028165
Version bump to start work on 6.2 2024-04-22 09:00:37 +07:00
Sage Abdullah
fd659ae767
Remove versionadded / versionchanged annotations for 6.0 2024-04-22 09:00:36 +07:00
LB Johnston
b664169b32 Improve 6.1 release notes
- Fix typo in example regex
- Add links to documentation where possible
- Minor clean up
2024-04-19 17:09:50 +10:00
LB Johnston
58d98974bc Update tutorial page create_footer to use consistent filename
- File was using a mix of kebab & snake case, align with all other filenames and use only snake_case
2024-04-19 17:09:50 +10:00
LB Johnston
6e05134d12 Fix malformed documentation ref developing_using_a_fork 2024-04-19 17:09:50 +10:00
Matt Westcott
2174cf4c18 Remove extra 'Upgrade considerations' heading 2024-04-18 17:43:22 +01:00
Matt Westcott
65fbe147f0 Promote PageListingViewSet and keyboard shortcuts dialog to headline features 2024-04-18 17:41:40 +01:00
scott
951e41ae26 add new field types (#11861) 2024-04-18 16:42:06 +01:00
LB Johnston
2d075177c4 Fix issue where allow unicode slugs was not correctly used for urlify (#11865)
When the urlify util is used, ensure that we pass in the allow unicode value correctly in the SlugController.

Note: This was passed in for slugify but the usage of slugify, not urlify.

Fixes #11828
2024-04-18 13:59:36 +01:00
Thibaud Colas
b21b1a1534 Add snug mode release notes 2024-04-18 13:04:25 +01:00
Thibaud Colas
ddb907d274 Add new global CSS variable --w-density-factor 2024-04-18 13:04:25 +01:00
Matt Westcott
b57a9a94a0 Release note for #11832 2024-04-18 12:34:48 +01:00
sag​e
c1a23b4bd3
Tweak styles for w-header-button to better match the designs (#11863) 2024-04-18 12:29:01 +01:00
Matt Westcott
c02162dc50 Release note for #11737 2024-04-18 10:54:19 +01:00
Sage Abdullah
0f7398f93c
Update release notes for #11749 and #11762 2024-04-18 07:43:55 +07:00
LB Johnston
67471defcf Add release notes for #11818 2024-04-18 07:48:33 +10:00
LB Johnston
37922cc03d Add changelog & upgrade considerations #11525 2024-04-18 07:03:08 +10:00
Saksham Misra
53d6ea4491 Add documentation to support password required settings change
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
Matt Westcott
1ec62a6c2d Release note for #11749 2024-04-17 16:23:54 +01:00
Alec Baron
d71cf79520
Accept alias for WAGTAILIMAGES_RENDITION_STORAGE (#11749)
* Accept alias for WAGTAILIMAGES_RENDITION_STORAGE

* Update wagtail.images.models.get_rendition_storage to handle the case when the WAGTAILIMAGES_RENDITION_STORAGE setting is given a storage alias (defined in the STORAGES setting). Preserve old behavior when a dotted module path or a Storage instance are given.
* Refactor and improve all tests related to the WAGTAILIMAGE_RENDITION_STORAGE setting.
* Update related documentation.
2024-04-17 16:22:19 +01:00
LB Johnston
e8f4d56583 Support forwards compatible configuration for private pages/collections
The new settings introduced in #11582 / #11536 only considered one use case of disabling the shared password option. However, we may want to allow for more complex configuration in the future in this area.

Ensure we can support potential future requirements such as #11640 with a more flexible structure for private pages & collections.

The following settings have been changed from boolean to dictionary values.

WAGTAIL_ALLOW_SHARED_PASSWORD_PAGE -> WAGTAIL_PRIVATE_PAGE_OPTIONS
WAGTAIL_ALLOW_SHARED_PASSWORD_COLLECTION -> WAGTAILDOCS_PRIVATE_COLLECTION_OPTIONS
2024-04-17 15:29:50 +01:00
Matt Westcott
abd018b926 Release note for #11850 2024-04-17 14:21:54 +01:00
Matt Westcott
b0cda80626 Simplify example of appending a rich text block to a streamfield 2024-04-17 14:18:02 +01:00
Neeraj P Yetheendran
4bf966537a Added ability to make keyboard shortcut Global
Add `w-kbd-scope-value` with support for `global` so that specific keyboard shortcuts (e.g. ctrl+s/cmd+s) can be used consistently even when focused on fields.

Fixes #11844
2024-04-17 21:00:58 +10:00
LB Johnston
b8ce8f7739 Add changelog for #11168
Relates to #2936
2024-04-17 19:58:08 +10:00
LB Johnston
e6504951c8 Add deprecated backwards compatible window.URLify with release notes
- Add legacy support for window.URLify with allowUnicode as a param
- Add release notes details for both window.URLify (deprecated) & window.XRegExp (removed)
2024-04-17 19:58:08 +10:00
Sage Abdullah
657c867d03
Release note for #11839 2024-04-17 14:49:42 +07:00
Matt Westcott
9b74c83195
Eliminate jQuery from telepath widget classes 2024-04-17 14:49:11 +07:00
Sage Abdullah
6d1fe98f6a
Release note for #11774 2024-04-17 03:56:27 +07:00
Abdelrahman
61e803c740
Add choose parent view for creating pages via PageListingViewSet 2024-04-17 03:48:54 +07:00
Matt Westcott
dd5e16b2e1 Release note for #11831 2024-04-16 16:37:47 +01:00
Drikus Roor
bfce1cea64 docs: Make instructions about adding "wagtail.contrib.settings" to INSTALLED_APPS more explicit 2024-04-16 16:35:55 +01:00
Drikus Roor
e51e3f9fe2 docs: Fix language mistake 2024-04-16 16:35:54 +01:00
Drikus Roor
8e38f5ead4 docs: Remove unused import from code example 2024-04-16 16:35:54 +01:00
Matt Westcott
77eba6e052 Release note for #11835 2024-04-16 16:29:29 +01:00
Sage Abdullah
e653a4afbb Correct LF vs CRLF instruction in Windows development docs (#11848) 2024-04-15 13:14:44 +01:00
Sage Abdullah
bd1a81d88f
Release note for #11762 2024-04-15 14:23:07 +07:00
Matt Westcott
e32aee036f Release note for #5875 2024-04-12 20:47:47 +01:00
Andy Chosak
e9dcf7ca01 Documentation updates 2024-04-12 20:46:25 +01:00
Andy Chosak
47f0e533b6 Update docs/extending/rich_text_internals.md
Co-authored-by: Dan Braghiș <dan@zerolab.org>
2024-04-12 20:46:24 +01:00
Andy Chosak
cacfa820b8 Documentation 2024-04-12 20:46:24 +01:00
Sebastian Muthwill
e86e1caa28 bump django-filter to support 24.2 version (#11837) 2024-04-12 19:43:29 +01:00
Ihor Marhitych
c550173d6c
Fix postgres phrase search to respect language set in settings 2024-04-12 17:29:35 +01:00
zerolab
989a51f425
Release notes for #11683 2024-04-12 17:24:56 +01:00
Gordon Pendleton
06ed3ae6b8
Refactor page fetching logic to cache per request (#11683)
Adds two new helper static methods:
- `Page.route_for_request()` - to find the page route, given a request
  object and a URL path
- `Page.find_for_request()` - to find the page given, a request object and a URL
  path
2024-04-12 17:16:39 +01:00
Neeraj P Yetheendran
6843fbe643
Add re_path to imports in routablepage.md (#11841) 2024-04-12 14:22:15 +01:00
Matt Westcott
366a2a48c8 Release note for #11823 2024-04-10 20:07:23 +01:00
Sage Abdullah
2a3106a224
Use the users listing view with the group filter for listing group users 2024-04-09 08:54:49 +07:00
Sage Abdullah
d0fa6abae9
Pass the request user object instead of context to register_user_listing_buttons hook 2024-04-09 08:54:48 +07:00
Matt Westcott
fd08d209be
Fix timezone handling in timesince_last_update
Ref: https://github.com/wagtail/wagtail/pull/11815/files#r1556095493

test_group_edit was failing when run after 3pm UTC, due to the output being rendered as "Just now" instead of an explicit time. This was due to a previously unsurfaced logic error in the timesince_last_update tag: if the timestamp was passed as a timezone-aware datetime in UTC, it was failing to translate this to local time and thus it compared as a different date, even if it was only from a moment ago. Consequently, it was following the "X days ago" path that was only supposed to be used for timestamps before today.

With this fixed, the special-case for "Just now" can be removed since it won't come into play for timestamps of yesterday and earlier. (Well, technically it could in the first minute after midnight, but that really doesn't warrant a special case...)
2024-04-09 08:39:45 +07:00
Matt Westcott
d3da555a31 Release note for #11815 2024-04-08 16:06:32 +01:00
Matt Westcott
3ad88007db Release note for #11805 2024-04-08 14:13:24 +01:00
LB Johnston
c61a446b2f Add changelog for #11740
Closes #10167
2024-04-07 21:05:28 +10:00
Matt Westcott
ac8bdce9fb Release note for #11783 2024-04-05 17:37:28 +01:00
Sage Abdullah
0006976267 Implement universal listings UI for form submissions listing view 2024-04-05 17:36:41 +01:00
Sage Abdullah
af80198c7d Rename SubmissionsListView.ordering to default_ordering for consistency with BaseListingView 2024-04-05 17:36:41 +01:00
Matt Westcott
b504ed0281 Release note for #11764 2024-04-05 15:24:56 +01:00
LB Johnston
73d4b8383c Add changelog for #11775
- Closes #11597
2024-04-04 08:28:17 +10:00
LB Johnston
a6b187a14f Fix minor spelling (customizations) in 6.1 release notes 2024-04-04 08:01:47 +10:00