0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 02:18:39 +01:00
Commit Graph

17425 Commits

Author SHA1 Message Date
Matt Westcott
4f78cced7f
Speed up semgrep on pre-commit (#11927)
Skip version check, and only run on Python files
2024-05-04 10:40:31 +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
dependabot[bot]
538365fcfc Bump ejs from 3.1.9 to 3.1.10
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 15:39:00 +10:00
LB Johnston
6b915f4abd Fix spelling in safe_snake_case docstring 2024-05-03 15:37:28 +10:00
Matt Westcott
196cb02d10 Generate new strings for translation 2024-05-02 10:06:13 +01:00
Matt Westcott
1874350fbf Update latest.txt for 6.1 / 5.2.5 2024-05-02 09:46:31 +01:00
Storm Heg
2031eb3d24
Give translators more context about how density is used (#11918) 2024-05-02 09:44: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
Jake Howard
ee57f6d4dc
Merge pull request from GHSA-w2v8-php4-p8hc
* Pass user to settings form to enable permissions checks

* Add tests for settings creation and editing

* Ensure all generic create / edit view forms receive `for_user`

Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>

* Test field permissions on ModelViewTest

---------

Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2024-05-01 12:14:16 +01:00
Matt Westcott
932402fd28 Fetch new translations from Transifex 2024-05-01 11:32:29 +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
08ee15a358 Remove --inline-actions variant of listing tables
This was added in f322e9d868, when the
snippets listing view was briefly redesigned to put the "Edit", "Delete"
etc. actions in the same line as the title instead of in a new line.

With the universal listings design, all listing actions are put inside a
three-dot dropdown menu.

This style is no longer used anywhere in Wagtail, especially now that
the HistoryView has been reimplemented using the dropdown menu for the
actions.
2024-04-30 16:13:33 +01:00
Sage Abdullah
b8dd7f484f Fix icon alignment in page listings 2024-04-30 16:13:33 +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
c3a52a6fdb Fix missing static files in the styleguide 2024-04-29 14:18:02 +01:00
Sage Abdullah
4302bed1b1
Release note for #11860 2024-04-29 14:41:49 +07:00
Sage Abdullah
ae28020195
Render breadcrumbs in redirects edit view 2024-04-29 14:35:42 +07:00
rohitsrma
6f28aa9d8b
Refactor redirects edit view to extend generic EditView 2024-04-29 14:35:41 +07:00
rohitsrma
3d63d0da4f
Use pk_url_kwarg to resolve pk in generic EditView 2024-04-29 14:23:33 +07:00
Matt Westcott
7c6187f06c
Downgrade 'Unable to find purge backend' messages to info (#11899) 2024-04-27 13:37:03 +01: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
296e34ca2b Fetch new translations from transifex 2024-04-25 10:31:38 +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
91d7ae8a6e Reinstate wagtail.models.collections to prevent import errors in migrations
Fixes #11874
2024-04-23 13:07:03 +07: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
Sage Abdullah
4c804d1cf2 Fix next redirect URL in page search results view 2024-04-22 20:05:51 +01:00
sag​e
8a764b01b1
Use wagtail.VERSION for the 'What's new in Wagtail x.y' menu item (#11883)
This ensures wagtail.VERSION is always the source of truth for version
numbers. This also means the only Python code we need to bump when
working on a new version is wagtail.VERSION.
2024-04-22 19:55:25 +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