Wykres commitów

12520 Commity (52048ba0e8cbf812a1bdc2c219a2d829da52e10d)

Autor SHA1 Wiadomość Data
Thibaud Colas 52048ba0e8 Release notes for #7916 2022-02-15 16:31:57 +00:00
Thibaud Colas fd8277bcf7 remove modernizr & usage 2022-02-15 16:31:57 +00:00
LB Johnston 675ece2336 remove no-js class 2022-02-15 16:31:57 +00:00
LB Johnston eeb6455f1e remove unused spinner.gif 2022-02-15 16:31:57 +00:00
Thibaud Colas 81b2c56df3 Remove all focusable="false" definitions for IE11 2022-02-15 16:31:57 +00:00
Thibaud Colas c5d2f98205 Remove redundant noopener from noreferrer rel attributes 2022-02-15 16:31:57 +00:00
Thibaud Colas ae14fa6e76 Remove JS compatibility code for IE11 2022-02-15 16:31:57 +00:00
Thibaud Colas 9ae8204a1b Remove fallback elements for IE11 support in comment headers 2022-02-15 16:31:57 +00:00
Thibaud Colas 9acce41fec Remove IE11-only Draftail configuration 2022-02-15 16:31:57 +00:00
Thibaud Colas 9ecc105178 Remove legacy browser styles 2022-02-15 16:31:57 +00:00
Thibaud Colas dde76308a6 Remove IE8 capability message 2022-02-15 16:31:57 +00:00
Thibaud Colas 33c5216cbd Remove unused postcss-calc 2022-02-15 16:31:57 +00:00
Thibaud Colas d2d4651853 Remove polyfills only installed for IE11 2022-02-15 16:31:57 +00:00
Dan Braghis f16d29e788 Add black reformatting commit SHA to .git-blame-ignore-revs 2022-02-15 13:12:22 +00:00
Dan Braghis 716bf92c2d Add changelog for #7967 2022-02-15 13:09:39 +00:00
Dan Braghis d10f15e558 Reformat with black 2022-02-15 13:06:17 +00:00
Dan Braghis 6dae6e5d07 Add and configure black
This:
- updates the pre-commit configuration and setup.py testing dependencies
- updates isort/flake8 configuration for black
- adds black linting to Makefile and CircleCI configuration
- updates editorconfig with the new line length (88) for py files
- updates python guidelines in docs
2022-02-15 13:06:17 +00:00
Steve Stein f968aac038
Update system font stack value for compatibility. Fix #7724 (#7972)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

- `-apple-system, BlinkMacSystemFont` - These are used to target modern iOS Safari, macOS Safari, macOS Firefox and macOS Chrome's system fonts. 
- ` 'Segoe UI',  system-ui,` - These fonts target windows machines on Windows 7+ [reference](https://markdotto.com/2018/02/07/github-system-fonts/#the-stack). Having system-ui placed after Segoe UI allowed Segoe UI to take precedence when used on Windows machines set to Chinese ( Simplified ) language. There are some known language issues around `system-ui` being used: [This github article](https://infinnie.github.io/blog/2017/systemui.html). However, the purpose of `system-ui` [(reference here)](https://drafts.csswg.org/css-fonts-4/#valdef-font-family-system-ui) is to allow web content to integrate with the look and feel of the native OS. Which makes this font-family a good choice for other devices _if_ the problem is solved by putting Segoe UI first. 
- `Roboto,` - This is our fallback font for androids devices. Having Segoe set before this allows windows to use its system default font even if you have installed Roboto for development reasons. 
- `Helvetica Neue,` - This is a fallback for older macOS
- `Arial` - Using this to catch any of the very old Windows versions (shoutout windows 95)
- `sans-serif` - Our last resort to get a font without serifs
- `  'Apple Color Emoji',  'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';` - All the emoji's for the OS's mentioned above. 😁
2022-02-14 15:17:02 +00:00
Jannis Vajen 7e6755ec62 Add missing import statement in code example 2022-02-13 16:33:46 +00:00
Thibaud Colas 1fe8689c81 Add djhtml reformatting commit sha to .git-blame-ignore-revs 2022-02-12 01:21:51 +00:00
Steve bcc7df10d6 Enable pre-commit and final setup tweaks
- Remove true on ci check
- Prevent icons final newline
- Change column number in templates linting
2022-02-12 01:15:51 +00:00
Steve 01986cfa17 Indent templates with djhtml 2022-02-12 01:15:51 +00:00
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