Steve Stein
6382945a7b
Add ESlint & Stylelint to pre-commit hooks ( #7931 ). Fix #7909
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-10 16:01:32 +00:00
Matt Westcott
01fd201c36
Release note for #7944 in 2.16.1
2022-02-10 15:43:44 +00:00
LB Johnston
ddcdd3e57f
slim sidebar - use sameSite lax by default
...
- this will ensure that the cookie will work as expected in future browser changes on HTTP or HTTPS setups
- fixes #7910#
2022-02-10 15:24:54 +00:00
Matt Westcott
c81743c17b
Add 2.16.1 release notes
...
These don't need to go in the 2.17 notes, since 2.16.1 will be released first and it's implied that everything in it will be in 2.17.
2022-02-10 13:49:35 +00:00
Matt Westcott
fe847a1dbb
Add 2.15.4 release notes
2022-02-10 13:46:45 +00:00
Dennis McGregor
1bbf952453
Apply unlocalize filter to bulk action object ids
...
- Bulk Actions were failing for objects with id > 999 in projects with
- Django settings `USE_L10N` and `USE_THOUSAND_SEPARATOR` enabled.
- Test bulk action checkboxes handle USE_THOUSAND_SEPARATOR setting
2022-02-10 19:34:00 +10:00
Ihor Marhitych
da293bce35
fix issue where bulk actions would return, not raise 404
...
return Http404 -> raise Http404
2022-02-09 21:51:47 +10:00
Matt Westcott
329671c0bc
Add line for 2.17 in compatibility table
2022-02-08 19:00:47 +00:00
Matt Westcott
8d40a978ef
Remove old versionadded / versionchanged notes
2022-02-08 19:00:47 +00:00
Matt Westcott
9736fef254
Rotate deprecation warnings
2022-02-08 19:00:47 +00:00
Matt Westcott
db1b775d06
Remove deprecations for callable log messages
2022-02-08 19:00:47 +00:00
Matt Westcott
1357960c86
Remove deprecation warnings from UI components
2022-02-08 19:00:47 +00:00
Matt Westcott
00582ba35a
Remove 'db' and 'postgres_search' search backends
2022-02-08 19:00:47 +00:00
Matt Westcott
43edd0c187
Version bump to 2.17a0
2022-02-08 19:00:47 +00:00
Dan Braghis
f13cd8ddcf
Fix assertQuerysetEqual
failures
...
Django 4.1 deprecates handling of repr comparison without an explicit transform kwarg
Ref: https://github.com/django/django/blob/stable/3.2.x/django/test/testcases.py#L1045-L1061
https://github.com/django/django/blob/stable/4.0.x/django/test/testcases.py#L1062-L1078
2022-02-08 12:12:03 +00:00
Matt Westcott
95ed5774e3
fix indenting on 2.17 release notes
2022-02-08 12:02:47 +00:00
Matt Westcott
da5ca3a2e3
Release note for #7934 in 2.16.1
2022-02-08 12:02:24 +00:00
Matt Westcott
d4a6b8491c
Ensure menus with non-Latin alphabets are given distinct IDs
...
Fixes #7930 - use cautious_slugify rather than slugify to ensure that non-Latin labels aren't reduced to the empty string.
2022-02-08 11:57:18 +00:00
Matt Westcott
c54f7852d0
Update latest.txt for 2.16
2022-02-07 14:48:03 +00:00
Matt Westcott
e4fbb4cd7f
Fill in release date for 2.16
2022-02-07 14:06:12 +00:00
Matt Westcott
4b16283c8e
Fetch new translations from Transifex
2022-02-07 14:05:50 +00:00
Karl Hobley
e03f41cf23
Improve performance of new private pages in API functionality
2022-02-07 12:54:53 +00:00
LB (Ben Johnston)
f2257acc2e
Remove dateformat library usage ( #7907 ). Fix #7904
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-04 14:13:48 +00:00
Carlton Gibson
cd8a1033b5
Updated docs link to supported Django version ( #7917 )
...
Using the `stable` URL fragment will always point to the latest major version, whereas 3.1, which was linked, is now end of life.
2022-02-04 12:33:56 +00:00
Thibaud Colas
7eb8730d73
Update .git-blame-ignore-revs with Prettier reformatting commit
2022-02-04 12:02:04 +00:00
Thibaud Colas
af942a27e4
Reformat codebase with Prettier ( #7912 )
...
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Thibaud Colas
11ccf30f00
Add Prettier configuration & documentation ( #7908 )
...
- Install Prettier
- Add Prettier configuration
- Add git-blame-ignore-revs
- Clean up .editorconfig indent_style definition
- Clean up .editorconfig space definitions
- Add documentation for Prettier
- Add missing Prettier run-scripts
- Disable Prettier formatting in CI for now
2022-02-04 11:45:08 +00:00
LB (Ben Johnston)
b297d521c1
update a few wagtail.io references to wagtail.org ( #7905 )
2022-02-02 10:39:14 +00:00
LB Johnston
77591c0d30
Add 2.17 release notes + changelog for #7876
...
- Front-end tooling upgrade
2022-02-01 07:45:29 +10:00
Thibaud Colas
6bf0169e09
Upgrade Node tooling to Node v16 and npm v8
2022-02-01 07:36:17 +10:00
Thibaud Colas
ee15eec511
Switch all Node tooling from Gulp to Webpack, with needed code changes
...
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Thibaud Colas
0d0584bdbd
Update snapshots for latest Jest upgrade
2022-02-01 07:36:17 +10:00
Thibaud Colas
81ec3244d3
Upgrade ESLint configuration, with needed refactorings
...
- Change ESLint configuration syntax for ease of editing
- Autofix basic issues picked up by ESLint
- Make sure JS linting runs on TypeScript files
2022-02-01 07:36:17 +10:00
Thibaud Colas
23bc6b2670
Upgrade to latest Sass and stylelint configuration, with needed refactorings
...
- Tweak stylesheets for compatibility with latest stylelint configuration
- Move stylelint config to JS for ease of copying rules with main config
- Enforce scss/no-global-function-names by refactoring code with sass-migrator
- Run Sass code through sass-migrator
- Change stylelint configuration and code to enforce font-family-no-missing-generic-family-keyword
- Manually switch to math.div where migrator used * 0.5
2022-02-01 07:36:17 +10:00
Thibaud Colas
7d7a03f9f2
Update all front-end dependencies
2022-02-01 07:36:17 +10:00
Matt Westcott
59555eb742
update project template requirements to 2.16rc2
2022-01-28 13:53:10 +00:00
Matt Westcott
475295d7b8
Fetch new translations from Transifex
2022-01-28 13:42:21 +00:00
Karl Hobley
2a90e96523
Update security PGP key to use new wagtail.org domain
2022-01-28 12:16:31 +00:00
Jake Howard
8367e50d2f
Mention email change in changelog
2022-01-28 12:16:31 +00:00
Jake Howard
4718fae68b
Update email addresses for new .org domain ( #7845 )
2022-01-28 12:16:24 +00:00
Andy Babic
b6c80e67eb
Do not show the 'redirect_page_route_path' field in the form
2022-01-27 18:28:26 +00:00
Andy Babic
bbf26738c6
Add fix
2022-01-27 18:28:26 +00:00
Andy Babic
684b5112ef
Add failing test
2022-01-27 18:28:26 +00:00
Matt Westcott
081929a276
Update latest.txt for 2.15.3
2022-01-26 16:20:17 +00:00
Matt Westcott
5b761dd9fb
Fill in release date for 2.15.3
2022-01-26 16:06:26 +00:00
Matt Westcott
307a1aab9e
Release note for #7893 in 2.15.3
2022-01-26 11:27:31 +00:00
Matt Westcott
952e681fe6
Fix Sqlite FTS5 compatibility check
...
As per https://github.com/wagtail/wagtail/issues/7798#issuecomment-1021544265 - the direct query against the sqlite3 library will fail with sqlite3.OperationalError, not django.db.OperationalError.
2022-01-26 11:22:31 +00:00
LB Johnston
5258f2899b
hooks - update unnecessary format_html to mark_safe
2022-01-26 11:19:27 +00:00
zzj
0461e8bb8a
Cleanup account management tests by using set comprehensions
2022-01-26 08:39:08 +00:00
Matt Westcott
92a323231f
Add release notes for 2.11.9
2022-01-24 16:10:59 +00:00