Wykres commitów

257 Commity (c404acb10d5403df28496f4a0a1921b058bee6e6)

Autor SHA1 Wiadomość Data
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
Seb 0fd23e5aba Remove deprecated jinja2 references 2022-03-25 11:29:01 -04:00
Matt Westcott cb52b95e76 Incorporate PermissionedForm into WagtailAdminModelForm 2022-03-16 11:47:49 +00:00
Matt Westcott bbd3c22f30 Update InlinePanel for change in ClusterForm formsets/exclude_formsets semantics
django-modelcluster 6.0 includes https://github.com/wagtail/django-modelcluster/pull/158, which changes the semantics of formsets/exclude_formsets so that a ClusterForm that specifies neither of them will have no formsets defined, rather than formsets for all child relations. (This corrects an implementation wart in the upcoming EditHandler refactor.) This doesn't affect Wagtail for the most part, because EditHandler passes an explicit formsets option - but nested InlinePanels currently rely on the old behaviour, because modelcluster <=5 provides no way to pass the inner panel's formset definition inside the outer one. We fix this by adding the necessary 'formsets' key introduced in https://github.com/wagtail/django-modelcluster/pull/158.
2022-03-16 11:46:30 +00:00
Thibaud Colas fc0f76ea9d Switch from jinjalint to curlylint 2022-03-11 15:21:47 +00:00
Thibaud Colas 4c2f160736 Remove docutils pin 2022-03-11 15:21:47 +00:00
LB (Ben Johnston) 6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 (#8084) 2022-03-09 11:48:19 +00:00
Andrii Oriekhov 56a79091b3
Add GitHub URLs for PyPI (#8071) 2022-03-04 16:12:54 +00:00
Thibaud Colas 3aae7d0583 Add base pattern library setup with Storybook 2022-02-24 21:22:45 +10:00
Matt Westcott de8b976b6f
Test against jinja2 3.x (#8014)
New installs of the 2.x branch are currently broken due to https://github.com/pallets/jinja/issues/1585, which the maintainer of jinja apparently does not intend to fix.
2022-02-18 11:42:10 +00:00
Serafeim Papastefanos 25ed1ba38e Update django-treebeard dependency to 4.5.1 or above (#7985)
The django-treebeard 4.3.x is not compatible with Django 4.x because of the dreaded ugettext alias removal problem. This makes sure that a proper django-treebeard version will be installed.

*IMPORTANT*: Please notice that django treebeard *does not* officially support django 4.x. However from my tests I have concludeded that it works fine after you install the version 4.5.x.
2022-02-18 10:53:27 +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 72886c0a62
Djhtml install and configure with pre-commit (#7940) 2022-02-12 01:04:21 +00:00
Mads Jensen cd87c159ac Add flake8-comprehensions to setup.py 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
LB (Ben Johnston) b297d521c1
update a few wagtail.io references to wagtail.org (#7905) 2022-02-02 10:39:14 +00:00
Jake Howard 4718fae68b Update email addresses for new .org domain (#7845) 2022-01-28 12:16:24 +00:00
Matt Westcott 6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Jake Howard 0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Jake Howard e9183a95c8 Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
Matt Westcott a7f53a0dca Upgrade taggit to 2.x 2022-01-14 14:23:56 +00:00
Matt Westcott d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott 88150bf8d3 Increase Pillow dependency range to include 9.x (#7831)
Fixes #7817
2022-01-14 11:25:54 +00:00
Matt Westcott cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
Tomasz Knapik 2c169a8d38 Add Azure CDN and Front Door backends 2021-12-03 08:05:12 +10:00
Serafeim Papastefanos 204831f5c0 Update setup.py to use django-filter latest version
The django-filter package has changed its versioning from a semver to a year based one. The latest version (21.1) is the same as the old one that wagtail supported (2.4): https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst 

So we could just bumb the requirement to `<=22` (I think it's fine to use that because the readme claims that breaking changes will be introduced to version+2 so breaking versions for v.21 will be introduced to v.23)
2021-11-10 12:03:05 +00:00
Matt Westcott 4cc93bac68 Add script for finding translated strings with broken placeholders 2021-10-15 23:33:43 +10:00
Matt Westcott 66e5e21b59 Upgrade django-modelcluster to 5.2 2021-10-13 18:50:15 +01:00
Matt Westcott b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
Martey Dodoo d2eb7fd520 Allow use of xlsxwriter 2.0 and 3.0.
Update xlsxwriter constraint to allow usage of xlsxwriter 2.0 and 3.0.
The latter version includes significant improvements to xlsxwriter's
performance.
2021-08-19 14:51:18 +01:00
Scott Cranfill 9f3e6585af
Docs: Update sphinx-wagtail-theme to 5.0.4 (#7296) 2021-06-30 11:18:07 +02:00
Matt Westcott 8422150485 Require python-dateutil>=2.7 (otherwise freezegun fails with module 'dateutil.tz' has no attribute 'UTC') 2021-06-14 16:17:04 +01:00
Matt Westcott 85c97fe87f Drop support for Django 2.2 2021-04-30 10:33:41 +01:00
Matt Westcott a006caac94 Version bump to telepath 0.1.1 for gettext_lazy fix
Fixes #7059 and #7074
2021-04-22 16:18:49 +01:00
Coen van der Kamp ed4ed7a338
Add Sphinx Wagtail Theme (#6930)
Add Sphinx Wagtail Theme
2021-04-20 11:24:17 +02:00
Matt Westcott 8f5a2a8fe9 Formalise support for Django 3.2
Fixes #6981
2021-04-19 12:03:38 +01:00
Dale Evans 197e34be56 unpin beautifulsoup, allow <4.10 instead of <4.9 2021-03-26 14:22:01 +00:00
Matt Westcott f2ddbe74fd install telepath from pypi 2021-03-17 23:32:57 +00:00
Matt Westcott ba9487b753 Move telepath.py into an external package 2021-03-17 23:32:56 +00:00
Matt Westcott de88832899 Unpin django-treebeard - allow all up to 5.0
Fixes #6820. Migration issue has been fixed in 4.5.1, so just exclude 4.5
2021-03-04 13:55:50 +00:00
Jonny Scholes 268b2991ed Fix Jinj2 to include_block not including local variables 2021-02-26 09:23:22 +00:00
Matt Westcott 5829d46383 Pin treebeard to <4.5
Addresses #6820. Treebeard 4.5 introduces a model change that will generate a phantom _auto migration the next time developers run makemigrations - this will cause migration dependency issues when it's absent on other environments, or on subsequent Wagtail upgrades. We need to coordinate the upgrade to Treebeard 4.5 with a corresponding migration shipped with Wagtail.
2021-02-18 09:10:36 +00:00