Steve Stein
72886c0a62
Djhtml install and configure with pre-commit ( #7940 )
2022-02-12 01:04:21 +00:00
Matt Westcott
10833eddd6
Update latest.txt for 2.16.1 and 2.15.4
2022-02-11 15:53:54 +00:00
Dan Braghis
03c2f2a4cb
Add changelog for #7946 , #7947 , #7951
2022-02-11 14:41:56 +00:00
Mads Jensen
cd87c159ac
Add flake8-comprehensions to setup.py
2022-02-11 14:34:00 +00:00
Mads Jensen
de3fcba9e9
Fix warnings from flake8-comprehensions.
2022-02-11 14:34:00 +00:00
Mads Jensen
a0ef2477a6
Improve asserts in wagtail.
...
These improvements were based on flake8-assertive, which compiled an extensive
list of patterns to replace with more precise assertions. This should make
the error messages better in case of failures.
2022-02-11 14:14:14 +00:00
Matt Westcott
10df5c2c0d
Fill in release date for 2.16.1
2022-02-11 13:31:27 +00:00
Matt Westcott
a7cafc3181
Fill in release date for 2.15.4
2022-02-11 13:30:58 +00:00
Thibaud Colas
046685149a
Add new version fo Wagtail Space docs banner. Fix #6089 ( #7956 )
...
* Add new version fo Wagtail Space docs banner. Fix #6089
* Fix closing date
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2022-02-11 12:38:22 +00:00
LB Johnston
f7836c2014
reorder nav (sidebar) imports so that hooks can still override them ( #7954 )
...
- main_nav_css & main_nav_js were added when the new slim sidebar was being built
- with the legacy styles/js - there was little risk of there being conflicts
- with the new sidebar CSS, this sidebar bundle comes with a large duplicate of what is in core.css so we should add it before the hooks run so that hook scan override if needed as per our documentation
- this is a temporary fix for #7943 - ideally we should avoid sidebar.scss bundle duplicating so much of the core css
- note: JS is lower risk but should follow the same convention
2022-02-11 11:01:52 +00:00
Matt Westcott
adeabd9633
Prevent error on creating automatic redirects for sites with non-standard ports
...
Fixes #7942 - get_dummy_request should not include the port number in SERVER_NAME.
2022-02-11 10:40:50 +00:00
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