Wykres commitów

213 Commity (0ac4a989dcebf982c4b6b0ebe3f739850b6aab67)

Autor SHA1 Wiadomość Data
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
Mike Monteith e9fa7ea915 Remove Django 2.1 from install_requires
Since Wagtail 2.9, Django >=2.2 is required. https://docs.wagtail.io/en/v2.9/releases/upgrading.html#compatible-django-python-versions
2020-06-30 11:08:58 +01:00
mozgsml 4abeb8232d
WebP images quality/lossless compression parameters (#6040)
* Add WebP-image quality and lossless

* Add WebP-image quality and lossless to Docs

* add WebP quality tests

* Split image quality filter => jpegquality, webpquality

* WebP lossless to inage format options

* Update WebP quality/lossless docs

* Updated Willow version

* WebP quality/lossless minor fix
2020-06-09 09:29:48 +01:00
Martin Sandström 301d1bc7f5 Add ability to import redirects from a file wagtail.contrib.redirects
* Add support for importing redirects via tsv, csv, xls and xlsx files
* Add import_redirects management command to redirects documentation
2020-06-07 11:20:39 +10:00
Matt Westcott a7ddb056b8 Fix test suite migrations to match django-taggit 1.3.0 2020-05-26 11:04:07 +01:00
Matt Westcott ff47c58d65 Drop support for Python 3.5 2020-04-24 14:58:55 +01:00
Karl Hobley a11de58a63 Add dependency on django-filter 2020-04-22 14:54:30 +01:00
jacobtoppm 00650e7311 Reduce openpyxl version for Python 3.5 compatibility 2020-03-13 17:33:21 +00:00
jacobtoppm 41bf6010df Add openpyxl for reading xlsx files in tests (xlsxwrites cannot, but is more performant and nicer to use, so is preferred outside testing rather than using openpyxl for both). Add tests for xlsx exports. 2020-03-13 17:33:19 +00:00
jacobtoppm 7026ab3408 Add xslxwriter dependency 2020-03-11 09:07:52 +00:00
Po-Chuan Hsieh f52d3d89d1
Relax pillow version restriction (#5829)
It allows to build with Pillow 7.x.
2020-02-25 23:10:17 +00:00
Matt Westcott 4df455ea9f
Remove support for Django 2.1 (#5840) 2020-02-18 13:55:53 +00:00
Matt Westcott d192bd1d44 Version bump beautifulsoup to 4.8.x (#5817) 2020-02-11 11:02:08 +00:00
Matt Westcott 110101d96e Make Django 3.0 support official 2019-12-17 14:24:31 +00:00
Martey Dodoo 229103ff2e Update links in documentation. (#5689)
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
Matt Westcott 3e98563340
Drop support for Django 2.0 (#5684) 2019-11-06 17:05:04 +00:00
Matt Westcott 6ce9f3a717 Unbundle the l18n library
This was previously bundled in #4721 to avoid installation errors on non-Unicode locales. As of v2018.5, this has now been fixed upstream: https://bitbucket.org/tkhyn/l18n/issues/4/setuppy-raises-unicodedecodeerror-trying

isort fix
2019-10-30 08:03:41 +10:00
Matt Westcott 69e96a9227 Formalise Python 3.8 support 2019-10-22 16:23:44 +01:00
Matt Westcott 3024e02481 Revert "Formalise Python 3.8 support"
This reverts commit ddbbaea288.
2019-10-16 14:27:59 +01:00
Karl Hobley b4ecead6d9 [5225] Take number of frames into account when limiting image size 2019-10-16 11:36:07 +01:00
Matt Westcott ddbbaea288 Formalise Python 3.8 support 2019-10-15 20:08:04 +01:00
Matt Westcott 34c1b4ccbe Upgrade django-taggit to 1.x
django-taggit 1.x drops Python 2.x support and thus the dependency on django.utils.six; this is a prerequisite for supporting Django 3.0.
The signature of TaggableManager.value_from_object has changed to return a list of Tags (previously it was a QuerySet of TaggedItems) and so search indexing and comparison need to be updated accordingly. There is a corresponding fix to ClusterTaggableManager in django-modelcluster 5.0.
2019-08-18 16:33:02 +10:00
Matt Westcott 14dcb54a17 Fix broken pipenv/docutils dependency on CircleCI 2019-07-23 17:26:12 +01:00
Po-Chuan Hsieh 02f3ae5696 Relax pillow version restriction
It allows to build with Pillow 6.x.
2019-05-01 12:46:28 +01:00
Thibaud Colas a51631c306 Add jinjalint linter for Django templates, allowing errors for now 2019-04-29 13:55:41 +01:00
Matt Westcott a304f0f9f8 Remove support for Python 3.4 2019-04-10 17:39:53 +01:00
Matt Westcott 92a1e7918a Bump django-taggit to 0.24 2019-04-02 21:59:43 +01:00