Wykres commitów

239 Commity (cbe9dc729b7cc92229b535c9bedd719b1a12c9e8)

Autor SHA1 Wiadomość Data
Matt Westcott 6262090f89 Pin flake8 to a version that's known good against the 2.16 codebase 2022-09-02 11:38:49 +01:00
Matt Westcott f6608f009b Pin Jinja2 to 3.0.x for testing, and add upgrade note 2022-04-06 13:09:48 +01:00
Matt Westcott 957c6fe15c Revert "Remove deprecated jinja2 references"
This reverts commit 31bf876f81.
2022-04-06 12:35:46 +01:00
Seb 31bf876f81 Remove deprecated jinja2 references 2022-03-28 16:09:02 -07:00
Matt Westcott d44e2ecbf9 Test against jinja2 3.x
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:43:27 +00:00
Serafeim Papastefanos 948b0b8fc6 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:55:51 +00:00
Jake Howard d196c45e73 Update email addresses for new .org domain (#7845) 2022-01-28 12:17:38 +00:00
Matt Westcott dddbfb4067 Formalise support for Django 4.0 2022-01-24 11:46:28 +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
Thibaud Colas 0dbd69f491
Configure Sphinx for Markdown support (#6711) 2021-01-26 22:09:52 +00:00
Matt Westcott 6e1e36256a Remove elasticsearch 2 support 2020-11-05 12:04:12 +00:00
Matt Westcott 5bcfcdd315 Formalise support for Python 3.9 2020-11-02 17:29:58 +00:00
Matt Westcott 4c66dc6197 Add back unidecode as a testing-only dependency 2020-10-23 18:57:32 +01:00
Matt Westcott 0e41104670 Rotate deprecation warnings 2020-10-23 18:33:06 +01:00
Matt Westcott 60af9ccef3 Extend Pillow dependency range to include 8.x 2020-10-21 14:27:48 +01:00
Matt Westcott 9947b955da Lint config fixes (#6473)
Ref #6463, #6428

* pin isort to 5.6.4
* update isort version mentioned in python_guidelines.rst
* make lint commands consistent between make lint and circleci
* fix isort errors on files outside of /wagtail
* speed up isort by ignoring additional directories and filetypes
2020-10-19 21:33:10 +01:00
Dan Braghis 5c05fc7d8e Bump isort requirement for testing and update configuration 2020-10-16 18:56:39 +01:00
Matt Westcott 906380486d isort new files added in #6428 2020-10-13 14:19:07 +01:00
Karl Hobley f2dfff8061 Flake8 all other Python files 2020-10-05 14:27:50 +01:00
Karl Hobley 00c5445b28 Update pyenchant 2020-10-03 14:43:03 +01:00
Karl Hobley 9195131738 Lint docs with doc8 2020-10-03 14:43:03 +01:00
Karl Hobley 519c0c332d
Simplify Page.copy() (#6277)
* Use Django modelcluster's copy_all_child_relations method

* page.specific.__class__ => page.specific_class

* Use child_object_map as returned by modelcluster for revision rewriting

* Use modelcluster to commit child relations

* Use a callback instead of a method for _save_copy_instance

* Make CopyMixin work on non-MTI models

* Make gathering exclude_fields the job of the callee

._copy() no longer depends on any custom attributes in the base class!

* Converted CopyMixin into some utility methods (and renamed some stuff)

* Don't commit the new page in _copy

* Refactor _copy_m2m_relations to be more standalone

* Merge _make_copy into _copy

Not really useful outside _copy

* Give unused variable a name

* Version-bump django-modelcluster to 5.1

* Address review feedback

Co-authored-by: Matt Westcott <matt@west.co.tt>
2020-09-14 20:50:44 +01:00
Vince Salvino 7ec4b516fa Specify required python versions (#6366) 2020-09-02 17:52:00 +01:00
Matt Westcott d06c52d495 Specify django-modelcluster >=5.0.2 to avoid django-taggit dependency issues 2020-08-25 13:52:04 +01:00
Robbie Mackay 437e3b9258 Replace unidecode with anyascii in wagtail.core.utils.string_to_ascii
- Add anyascii to replace unidecode
- Update wagtail.core.utils.string_to_ascii to use anyascii.
- Anyascii has a similar but not exactly the same encoding - see updates to tests.

Refs https://github.com/wagtail/wagtail/issues/3311
2020-08-07 17:48:58 +01:00
Matt Westcott f804eba423 Formalise Django 3.1 support
Conflicts:
	wagtail/project_template/requirements.txt
2020-08-06 11:26:26 +01:00
Matt Westcott ec8e830b78 Test against Django 3.1 final and django-rest-framework 3.11.1 2020-08-06 11:25:47 +01:00