0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12816 Commits

Author SHA1 Message Date
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
Matt Westcott
6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Matt Westcott
385a0aee67 Version bump to 2.16rc1 2022-01-21 14:18:55 +00:00
Matt Westcott
a3af1199a9 List NHS as sponsor 2022-01-21 14:17:58 +00:00
Matt Westcott
6a10bd1d80 Generate new strings for Transifex 2022-01-21 14:14:26 +00:00
Matt Westcott
07a88ffea0 Add plural to image/document confirm delete string
This stops it being flagged as a duplicate with the bulk delete template, and means both templates can share the string.
2022-01-21 14:13:13 +00:00
Matt Westcott
cd6bc70d9d Fetch new translations from Transifex 2022-01-21 13:54:59 +00:00
Matt Westcott
db4913af56 Release note for #7839 2022-01-21 13:10:54 +00:00
Dan Braghis
f47a4ae1d3 Improve locale_label_from_id caching 2022-01-21 13:09:34 +00:00
Dan Braghis
cc9fe1ac90 Add locale labels to admin home summary panels 2022-01-21 13:09:34 +00:00
Dan Braghis
800c17395f Add locale label to aging pages report 2022-01-21 13:09:34 +00:00
Dan Braghis
366ce0633b Add locale label to locked pages report 2022-01-21 13:09:34 +00:00
Dan Braghis
1aa1bbf14f Add locale label to workflow/workflow tasks reports 2022-01-21 13:54:58 +01:00
Dan Braghis
c545b3f760 Add template tag to get Locale label from id 2022-01-21 13:54:09 +01:00
Andy Babic
5fc75b312a Provide clarification on specific page usage for autocreate_redirects_on_slug_change() 2022-01-21 12:53:37 +00:00
Andy Babic
9cf5e491ef Improve readability of urlparse path extraction 2022-01-21 12:53:37 +00:00
Andy Babic
f9bee8fb02 Utilise Page._get_relevant_site_root_paths in autocreate_redirects_on_slug_change() 2022-01-21 12:53:37 +00:00
Andy Babic
90cd321ec9 Fix _page_urls_for_sites() to combine page_path and route_path values to create 'old_path' values for redirects 2022-01-21 12:53:37 +00:00
Andy Babic
5f28eb6e4d Also test that get_route_paths() overrides are respected 2022-01-21 12:53:37 +00:00
Andy Babic
dc62aeed02 Add missing staticmethod decorator to normalise_page_route_path() 2022-01-21 12:53:37 +00:00
Andy Babic
5a28898c70 Update Redirect.link to avoid double-slashes in the return value 2022-01-21 12:53:37 +00:00
Andy Babic
e69bccf273 Catch correct error from resolve_subpage() 2022-01-21 12:53:37 +00:00