0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

299 Commits

Author SHA1 Message Date
Dan Braghiș
e8b845f525 Relax the Willow upper version boundary
To allow getting new features easier/faster
2023-11-23 07:09:03 +10:00
John-Scott Atlakson
9a2177dc19
Upgrade ruff and replace black with ruff format 2023-11-17 15:21:55 +00:00
Sylvain Fankhauser
de70673bee Allow using draftjs_exporter 5.0 (#11024)
Fixes #10723
2023-11-08 12:58:17 +00:00
Sage Abdullah
eefb3010b4
Remove upper bound on django-pattern-library in testing dependencies 2023-11-07 10:38:48 +00:00
Matt Westcott
814c6b3865 Bump djhtml to 3.0.6 (#11158)
Notably, this changes the behaviour of multi-line HTML tags so that attributes are aligned (https://github.com/rtts/djhtml#new-multi-line-html-elements). The pre-commit hook was already set to use djhtml 3.0.6, which meant that it was making changes that conflicted with the formatting rules enforced by the Makefile and CI.
2023-10-31 10:11:02 +00:00
scott
8d68dafb0b update beautifulsoup pin (#11096) 2023-10-20 16:10:07 +01:00
Panagiotis H.M. Issaris
3340854d1a Add a link to the issue tracker on the PyPI project page (#11004) 2023-10-06 10:30:10 +01:00
Panagiotis H.M. Issaris
949c7870a7 Add a link to the change log on the PyPI project page 2023-10-06 11:00:27 +02:00
Matt Westcott
d9e6ba07b7 Version bump django-filter to 23.3 for preliminary Django 5.0 compatibility 2023-10-05 11:38:45 +01:00
Matt Westcott
93064ee74c Bump django-modelcluster to 6.1; no need to test Django 5.x against git main 2023-10-05 11:38:45 +01:00
Matt Westcott
23075cc2c7 Version bump boto3 for Python 3.12 compatibility
Relax the upper version bound to <2, because we're unlikely to stay on top of keeping the version listed in testing_extras up to date, and if boto makes breaking changes that violate semver, that's going to affect end-users so we really want to know about it sooner rather than later.
2023-10-05 11:35:22 +01:00
Matt Westcott
689c7dcbd8 Update linter versions in package.json, setup.py and pre-commit hooks 2023-09-21 17:25:08 +01:00
Jake Howard
84d744303d Bump Willow to ensure it supports SVG mimes 2023-09-14 06:20:34 +10:00
Sage Abdullah
00d329906f
Add tblib to testing dependencies
Needed to get better tracebacks when running tests in parallel.
2023-08-02 14:45:53 +01:00
LB Johnston
412b71ac1c Update Sphinx Wagtail Theme to v6.1.1 2023-07-20 07:50:33 +10:00
Matt Westcott
06df4a66e1 Skip Elasticsearch backend tests unless the appropriate version of elasticsearch-py is available
These tests seem to have been written with the intent of testing query construction independently of actually running the queries; to do this, they mock the relevant bits of elasticsearch-py so that no actual server needs to be running. However, this is a bit of a bodge job - it still instantiates the Elasticsearch object when initialising the backend, so *some* version of elasticsearch-py must be installed to run Wagtail's test suite; and furthermore, that installed version must be able to handle EVERY backend's variant of the `Elasticsearch(...)` constructor, regardless of whether it was written for a completely different version.

This breaks down with Elasticsearch 8, which makes backward-incompatible changes to the constructor. Since the CI suite as a whole will test each backend with its corresponding correct version of elasticsearch-py at some point, it's redundant (and a waste of CPU cycles) to repeat those tests in environments with a different ES version (or none at all).
2023-07-17 16:18:37 +01:00
salty-ivy
f840886b5d Add AVIF support
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
Yuekui
1ea8a0e360 Increase Pillow dependency range to include 10.x
- Drop support for Pillow versions below `9.1.0`
- Fixes #10631
2023-07-06 17:09:28 +10:00
Yuekui
a9ced69b2a Move django-filter version upper bound to 24 2023-07-06 16:52:11 +10:00
zerolab
61f0f4d362 Upgrade ruff version (#10556)
Address "Unnecessary list comprehension" issues
2023-06-19 17:49:17 +01:00
Matt Westcott
9fe13dfe9f Narrow down 'noqa' directives on imports to specify F401 / F403
This prevents them from masking unrelated linting errors such as isort order.
2023-06-13 10:36:21 +01:00
Matt Westcott
728d70e4f9 Allow django-taggit 4.x 2023-05-12 17:49:06 +01:00
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00
Matt Westcott
18e57574cb Formalise support for Django 4.2 2023-04-03 17:14:29 +02:00
Matt Westcott
8fbf010b16 Include wagtail-factories inside wagtail.test.utils 2023-03-30 13:43:18 +01:00
Matt Westcott
926ae2418f Bump Willow to 1.5 for SVG support 2023-03-30 10:19:43 +01:00
Thibaud Colas
d5e4ac5590
Update Algolia DocSearch integration with new application and correct versioning setup 2023-03-10 15:57:17 +00:00
Matt Westcott
de1af00ba8 Use temporary wagtail-factory fork with wagtail upper bound removed 2023-01-30 14:39:48 +00:00
Lovelyfin00
5db3cda90b Update djhtml (html formatting) library to v 1.5.2
- Fixes formatting of `->` in Stimulus controlled element usage
- Fixes #9965
- See https://github.com/rtts/djhtml/issues/57
2023-01-27 07:58:37 +10:00
Sage Abdullah
9a40cebbc9 Pin semgrep version to 1.3.0
Latest version (1.5.1 at time of writing) is incompatible with curlylint
due to conflicting versions of parsy required by both packages.
2023-01-24 23:05:21 +00:00
Sylvain Fankhauser
b408906c53 Upgrade azure libraries 2023-01-04 17:56:47 +00:00
Joshua Munn
f12c4a3714 Bump wagtail-factories version for Wagtail 4.1 compatibility 2022-12-09 16:40:07 +00:00
Matt Westcott
ad65741b94 Add tests for streamfield migration helpers
Currently failing due to wagtail-factories being broken on Wagtail 4.1: https://github.com/wagtail/wagtail-factories/issues/65
2022-12-09 16:40:07 +00:00
Loic Teixeira
5c1c2c8f53 Enforce the use of a single string formatting mechanism for translation source strings
Close #9377
2022-11-26 11:00:05 +01:00
Matt Westcott
7705b080a0 Add formal support for Python 3.11 2022-10-26 11:01:14 +01:00
LB Johnston
fb2c7760a5 Documentation - update package versions
- Upgrade Wagtail sphinx theme to 5.3.2
- Upgrade MyST parser to 0.18.1
- add sphinx_copybutton
- https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#531---2022-10-13
- https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#532---2022-10-16
2022-10-17 10:07:44 +01:00
Jaap Roes
07adb156d1 Stop using tablib & use openpyxl
Remove copyright notice, the code has been replaced
2022-09-29 22:12:56 +10:00
Jaap Roes
c4edac723e Only support csv, tsv and xlsx for redirect import 2022-09-29 22:12:56 +10:00
LB Johnston
955ca7ad50 update Sphinx Wagtail Theme to 5.3.0
* https://pypi.org/project/sphinx-wagtail-theme/5.3.0/
* https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#530---2022-08-20
* https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#520---2022-08-17

Additional changes
- use the magnify icon on the search field like the sphinx theme
- ensure the algolia search inputs work correctly for dark mode (the JS initially grabs the colour on page load and put on the new input field)
- fix issue of overflow x hidden being required due to the hidden input field not wrapping
- remove custom.css overrides that are no longer needed (are in the theme)
2022-08-24 06:07:47 +10:00
Matt Westcott
6429f8d40b Upgrade flake8-print to resolve CircleCI failures 2022-08-04 13:52:33 +02:00
Matt Westcott
d4837edef9 Formalise support for Django 4.1 2022-08-04 13:52:33 +02:00
Matt Westcott
2eac872e82 Bump beautifulsoup4 to 4.11.x
Fixes #8797
2022-07-05 12:06:47 +01:00
Yuekui
9cf1123d58
Move django-filter version upper bound to 23 (#8724) 2022-06-22 11:03:31 +01:00
Matt Westcott
5b4242df3c
Fix test migrations for django-taggit 3.0.0 (#8451)
* Fix test migrations for django-taggit 3.0.0 (forthcoming)

The next release of django-taggit [will change slugs to allow_unicode=True](https://github.com/jazzband/django-taggit/pull/797), which breaks our check for missing migrations.

This change is not released yet, but the fix is needed now so that we can run against django-taggit git master for our tests against Django main. It's also dependent on the version bump happening at the django-taggit end: https://github.com/jazzband/django-taggit/pull/800

* Allow django-taggit 3.x as a dependency and drop special case when testing against Django main
2022-05-02 14:47:48 +01:00
Coen van der Kamp
5c31aad368 Pin sphinx-wagtail-theme==5.1.1 2022-04-08 09:10:22 +10:00
Coen van der Kamp
7edb577d94 Pin sphinx-wagtail-theme==5.1.0 2022-04-07 18:53:52 +01:00
LB Johnston
8b6b0425de forms - remove unidecode and legacy clean name approach
- resolves #7975
2022-03-31 14:53:44 +01:00
Matt Westcott
e961ae202c Upgrade to curlylint 0.13.1
Addresses https://github.com/thibaudcolas/curlylint/issues/132
2022-03-30 21:43:24 +10:00
Dan Braghis
f1dcf407e3 Bump black to 22.3.0 to fix issue with dependency
Ref: https://github.com/psf/black/issues/2964
2022-03-29 20:04:58 +01:00