Wykres commitów

5697 Commity (cfc3c482466c26b8e9a2ed275c770593affe0cf7)

Autor SHA1 Wiadomość Data
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
Matt Westcott 83bacfa7fe Fill in release date for 6.0.2 2024-04-03 21:37:36 +01:00
Matt Westcott eefbc7731c Add release notes for 5.2.4 2024-04-03 21:37:00 +01:00
Matt Westcott ad55e37162 Release note for #11817 in 6.0.2 docs 2024-04-03 19:11:23 +01:00
Sage Abdullah f941b45b58
Release note for #11751 2024-04-02 16:50:14 +07:00
Abdelrahman 0599a56d81
Add support for related fields in generic IndexView.list_display 2024-03-28 12:55:01 +07:00
Sage Abdullah d8085c6ee6
Clarify release notes for #11803 2024-03-28 12:24:34 +07:00
Sage Abdullah e425244fd8 Sync 6.0.2 changelog & release notes
See 898f01f922
See 13153b5068
2024-03-27 19:15:51 +10:00
Sage Abdullah 3bdf5fedf9 Add _editor_js.html include to wagtailadmin/generic/form.html
and remove any other _editor_js.html includes from templates that extend
wagtailadmin/generic/form.html, either directly or via
wagtailadmin/generic/{create,edit}.html templates.

Fixes #11760
Fixes #11799
2024-03-27 18:47:57 +10:00
Sage Abdullah 7a5a178022 Bump minimum version of djangorestframework to 3.15.1
We only support Django 4.2 and 5.0. DRF v3.14.0 was released on
22-09-2022, while Django 4.2 was released on 03-04-2023. This means
Django 4.2 and 5.0 support were officially introduced in DRF 3.15.0.

While our tests used to indicate our use of an older version of DRF
didn't cause any issues when installed with a newer version of Django,
we should bump this anyway. This prevents people from installing a
cached version of DRF that we "claim" to be compatible with Wagtail,
but in reality DRF itself doesn't officially support our minimum Django
version. In such cases, the installation can still proceed as DRF does
not impose an upper bound on Django.

This also fixes an issue where our tests would fail when installed with
DRF < 3.15.0 as the PermissionDenied error messages became more
specific.
2024-03-27 17:54:50 +10:00
David Buxton ca796cb703
Fix dummy request SERVER_NAME when running tests
Django's test runner appends 'testserver' to your ALLOWED_HOSTS
setting. If your project has `ALLOWED_HOSTS=['*']` (which is totally
legit for Google App Engine standard) this means the setting value is
`ALLOWED_HOSTS=['*', 'testserver']` and Wagtail's dummy request helper
was setting the request SERVER_NAME to '*'.

But '*' is not a valid host name, causing a DisallowedHost exception.

This change sets the SERVER_NAME to 'example.com' in that case.
2024-03-26 21:22:21 +07:00
Jhonatan Lopes 846076ebe3
Use `default_manager` instead of `objects` in snippets `ModelIndexView` 2024-03-25 20:28:24 +07:00
LB Johnston 79bc23788b Docs - Add additional reference to `wagtail_update_image_renditions` command
- We have other references to this command added in 5.2 however we did not include this in the page that goes into detail of Image renditions
- See #8166
2024-03-23 22:56:03 +10:00
LB Johnston 83a60f685d Add changelog for #11756 + additions
- Closes #10404
2024-03-23 19:48:31 +10:00
LB Johnston e9593e7b6b Update all other Wagtail logos to the latest version 2024-03-23 19:48:31 +10:00
LB Johnston 5fd8ebf171 SwapController - Ensure untrusted data sources are logged correctly
Avoids the rare case of `requestUrl` being used to log out an object
Fixes #11212
2024-03-23 18:17:53 +10:00
LB Johnston 11570f0072 Add changelog for #10867 (bulk toggle user group permissions)
Includes partial work & inspiration from #5836
2024-03-23 14:24:23 +10:00
LB Johnston 31329da876 Add changelog for #11213 2024-03-22 17:41:06 +10:00
LB Johnston 42c78a2b17 Fix title of page for UI guidelines
- Guidelines is not a proper noun here and should not be capitalised
2024-03-17 21:43:56 +10:00
rohitsrma dae51e1287 Update keyboard shortcuts dialog & menu item to use 'keyboard' icon
Fixes #11767
2024-03-17 19:18:10 +10:00
rohitsrma 51152ebefc Add keyboard icon to admin icon set 2024-03-17 19:18:10 +10:00