0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
Commit Graph

271 Commits

Author SHA1 Message Date
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
Matt Westcott
a3283dd7fb Formalise support for Django 2.2 2019-04-01 19:59:04 +01:00
Samir Shah
9ae6e9025a Update Django version requirement in setup.py 2019-02-27 14:47:46 +00:00
Thibaud Colas
a3dc9ed477 Bump draftjs_exporter version to fix entities export bug
This bumps the `draftjs_exporter` dependency requirement of Wagtail to [v2.1.5](https://github.com/springload/draftjs_exporter/blob/master/CHANGELOG.md#v215), which fixes an export bug when entities (say, links) are adjacent in the content.

See https://github.com/springload/draftjs_exporter/issues/106.
2018-11-29 17:37:48 +00:00
Sergey Fedoseev
60bf798db1 Use unittest.mock instead of external module. (#4893)
* Use unittest.mock instead of external module.

* Avoid assert_called and assert_called_once, for Python <3.6 compatibility
2018-11-27 18:31:32 +00:00
Matt Westcott
33e290b82d Fix linting failures for flake8 3.6 2018-10-25 18:03:29 +01:00
Matt Westcott
4bb8a5f420 Document Python 3.7 support 2018-10-17 18:23:35 +01:00
Matt Westcott
897112a5a2 Update dependencies to include Django 2.1 2018-08-14 14:11:39 +01:00
Matt Westcott
b2a8f404e0 Pin Beautifulsoup to 4.6.0 2018-08-13 15:12:59 +01:00
Matt Westcott
6604cdfdae Update documentation to indicate Django 2.1 support 2018-08-09 00:34:38 +01:00
Matt Westcott
deb7f7ecc6 Upgrade to Django-2.1-compatible versions of modelcluster and taggit 2018-08-09 00:34:38 +01:00
Matt Westcott
fcdb1bd2b7 add indirect dependencies from l18n 2018-08-06 13:11:01 +01:00
Matt Westcott
6793f76890 Bundle the l18n library to prevent installation issues
https://bitbucket.org/tkhyn/l18n/issues/4/setuppy-raises-unicodedecodeerror-trying prevents the l18n library from being installed on certain setups with non-Unicode locales:
https://groups.google.com/d/msg/wagtail/X5d8CL3DxUs/httaLso4DAAJ

As a temporary measure until a fixed version of l18n is released, bundle the library into wagtail.utils.l18n.
2018-08-06 12:39:45 +01:00
Matt Westcott
93e079bc6c Block installation of beautifulsoup4==4.6.1
It contains a critical bug that breaks Wagtail: https://bugs.launchpad.net/beautifulsoup/+bug/1784408
2018-07-30 16:28:30 +01:00
Tom Dyson
ee661ab6f8 README rewrite (#4372) 2018-06-28 17:27:55 +01:00
Allen, Timothy
3cd18f3c1f Add trove classfier for Wagtail... to Wagtail. 2018-06-19 14:45:41 +01:00
Craig Loftus
8270a117f5 Update Unidecode version 2018-06-15 16:44:32 +01:00
Matt Westcott
cc2bfbc2af Update author details in setup.py 2018-05-14 14:38:27 +01:00
David
e43ea79747 Add a per-user timezone setting 2018-04-20 12:06:52 +01:00
Matt Westcott
8abceeb166 Allow html5lib 1.x. Fixes #4454 2018-04-12 11:56:50 +01:00
Thibaud Colas
86943a3a91 Change draftjs-exporter version range to allow all 2.x releases 2018-03-29 18:07:32 +02:00
Matt Westcott
46286e2c84
Upgrade Pillow to >=4.0 2018-03-05 16:39:34 +00:00
Todd Dembrey
073dcdddfe Ensure that rest framework is compatible with django 2.0
3.7.4 is the first release with django 2.0 compatibility
http://www.django-rest-framework.org/topics/release-notes/#374
2018-03-05 16:22:07 +00:00
Loic Teixeira
2fe31ddd84 Update to latest draftjs_exporter
See draftjs_exporter v2.0.0 release notes: https://github.com/springload/draftjs_exporter/releases/tag/v2.0.0
2018-01-17 22:01:40 +02:00
Matt Westcott
9fe86dde5d Implement conversion from contentstate to database rich text format 2018-01-17 21:52:48 +02:00
Karl Hobley
1e332b4b67 Implement 'bgcolor' image operation.
Also fixes #3713.

Remove alpha channel if converting transparent image to JPEG
2018-01-03 11:26:14 +01:00
Matt Westcott
cca7653839 Specify django-taggit 0.22.2 for Django 2.0 support 2018-01-02 14:47:07 +00:00
Matt Westcott
c96b2848bc Use django-modelcluster 4.0 2017-12-13 16:07:50 +00:00
Matt Westcott
8aa8ddcde9
add upper bounds on dependencies that don't already have them 2017-12-06 11:09:09 +00:00
Matt Westcott
3191849b6b Update setup.py and docs to mention Django 2.0 support 2017-12-04 12:58:29 +00:00
Matt Westcott
a789ec7b7f Un-pin Django Rest Framework <3.7. Reverses #3912 2017-10-11 20:57:16 +01:00
Matt Westcott
5a0c36cdae Remove Django 1.8/1.10 from CI and readme 2017-10-11 17:04:06 +01:00
Karl Hobley
4a1e27dbd4 Remove Python 2 from CI and docs 2017-10-11 16:40:10 +01:00
Matt Westcott
e6d9428949 Pin django-rest-framework to <3.7 to preserve Django 1.8 support 2017-10-06 15:30:36 +01:00
Karl Hobley
921cee4707 Update to Willow 1.0 (#3828)
For changes, see: http://willow.readthedocs.io/en/latest/changelog.html#id1
2017-09-11 13:27:42 +01:00
Matt Westcott
b976db3afc Pin isort to 4.2.5 - fixes #3623 2017-06-02 12:23:49 +01:00
Martin Hill
9f5ce0755a Fixed RuntimeError: dictionary changed size during iteration, raised while purging stale preview data from session
Added TestPreview.test_preview_on_edit_expiry to exercise PreviewOnEdit.remove_old_preview_data
Added freezegun package in testing_extras
2017-05-10 11:28:45 +02:00
Medhat Assaad
1862806283 update django requirement in setup.py to allow django 1.11 (#3555)
* update django requirement in setup.py to allow django 1.11

* update the django requirement in the project template to allow django 1.11
2017-04-20 10:50:51 +01:00
Matt Westcott
084cf0a56f Require modelcluster >= 3.1 2017-04-07 16:52:59 +01:00
Matt Westcott
fb82650943 Release note for Django 1.11 compatibility - fixes #3314 2017-04-07 16:52:31 +01:00
Karl Hobley
986749d309 Flake8 plugins (#3411)
* Installed flake8-blind-except plugin

* Installed flake8-print plugin

* Combined flake8 and isort in Drone

flake8 needs to install a couple more dependencies now so I think it
makes sense to merge these and install testing dependencies in one go.
2017-03-01 12:21:34 +00:00
Matt Westcott
187908e773 Remove statement of Django 1.9 and Python 3.3 compatibility from docs 2017-02-22 17:39:38 +00:00
David Ray
b69bf0e9bb Updating Sphinx and other doc dep versions (#3386)
* Updating Sphinx and other doc dep versions
* Don't bother to install docs dependencies on Drone
2017-02-21 13:46:21 +00:00
Matt Westcott
5f91859793 Update dependencies to require modelcluster 3.x 2017-02-03 21:24:55 +00:00
Matt Westcott
be74f762f0 Update dependencies for django-modelcluster 3.0 2017-01-12 14:06:26 +00:00
MattRijk
d5ec4fbb93 Fix for issue 3202 Updated dependencies on setup.py -fixes issues with sphinxcontrib-spelling
Fixes sphinxcontrib-spelling is throwing an error when installing from setup.py
2016-12-07 22:38:51 +00:00
Rob Moorman
f7042492df Update boto3 version to 1.4.x to support latest features of third-pary modules (wagtail-alt-generator) (#3194) 2016-12-05 18:19:15 +00:00
Albert O'Connor
a5b544631b Update the Cloudflare backend to use the v4 API
Fixes #3146
2016-11-17 12:01:57 +00:00
Matt Westcott
162f845e66 Specify Elasticsearch <3.0 for tests 2016-10-20 10:51:29 +01:00
Mikalai Radchuk
f432eca0b2 Update Framework classifiers in setup.py (#3089) 2016-10-17 14:11:21 +01:00
Karl Hobley
882facf352 Optimise JPEG images when generating renditions
We've recently added support in Willow to make use of Pillow's image optimisation. This commit enables this in Wagtail.

All JPEGs are now optimised and saved in progressive format.
2016-10-05 12:24:11 +01:00
Karl Hobley
3e66a13753 Added boto3 to test dependencies 2016-08-29 15:15:59 +01:00
Nick Smith
ae3fba183a Upgrade BeautifulSoup→4.5.1; restore html5lib import 2016-08-25 12:42:57 +01:00
Tim Heap
75e58efab8 Move version from wagtail.wagtailcore to wagtail
This is where developers expect it to be, similar to Django and other
projects. The version info still exists at the old `wagtail.wagtailcore`
location, for backwards compatibility.

Fixes #2557
2016-08-18 12:05:33 +01:00
Liam Brenner
4d77589f86 Pin html5lib to 0.999999 2016-07-15 14:41:54 +01:00
Paul J Stevens
daf7dee0d4 update django requirement 2016-06-28 16:26:00 +01:00
Matt Westcott
f2ec21b947 Run isort as part of 'make lint' 2016-06-23 16:31:44 +01:00
Nick Smith
66a17e6b7d Upgrade BeautifulSoup→4.4.1 (#2772) 2016-06-22 11:07:17 +01:00
Matt Westcott
4a5296e951 Add Jinja2 to testing_extras (as per #2583) 2016-05-17 17:34:15 +01:00
Matt Westcott
a713fb7fe2 version-bump django-modelcluster to 2.0 2016-04-22 15:46:54 +01:00
Tim Heap
272b7223cf Update django-taggit version to 0.18.x branch 2016-03-30 20:02:26 +01:00
Matt Westcott
e06f6acaba Tweak dependencies to allow Willow 0.3b4 to be installed, via either tox or setup.py 2016-03-07 18:29:24 +00:00
Karl Hobley
1565e74101 Willow 0.3 support 2016-03-07 18:29:23 +00:00
Michael van Tellingen
e7ace5c181 Dependency update: Support django-treebeard 3.0 and 4.0 releases
The admin extensions in django treebeard 3.0 are not compatible with
Django 1.9. Although these are not used by Wagtail they are used in
other projects (e.g. Oscar), so we should allow treebeard 4.0 which
is compatible with Django 1.9.
2016-03-07 12:33:28 +00:00
Charlie Choiniere
ae2006ccf1 Moved all dev dependencies into setup.py
* Removed requirements-dev.txt
 * Added dependencies to setup.py using the extras_require option
 * Updated the documentation to use pip instead of setup.py develop
 * Updated .drone.yml to reflect updated installation
2016-02-05 14:44:51 +00:00
Karl Hobley
be82fa975d Removed django-compressor 2016-02-03 16:16:11 +00:00
Karl Hobley
2225faae97 Pin Django modelcluster to 1.1
Prevents possibly incompatible versions from being automatically installed in the future.
2016-01-21 11:35:19 +00:00
Matt Westcott
04fdd5f352 Remove Django 1.7 support from documentation, requirements and CI definitions 2016-01-05 17:38:29 +00:00
Karl Hobley
ab12d11904 Make setup.py executable 2016-01-05 11:13:32 +00:00
Matt Westcott
90b498a5b0 Require django-modelcluster 1.1 2015-12-17 15:57:45 +00:00
Matt Westcott
84d7666e5c Unpin html5lib version 2015-12-11 13:27:57 +00:00
Matt Westcott
b5dc2696c4 feat(django1.9): Upgrade to django-taggit 0.17.5 (required for Django 1.9 compatibility) 2015-12-09 11:40:35 +00:00
Matt Westcott
fdfffd2d87 feat(django1.9): Declare Django 1.9 support in setup.py 2015-12-09 11:40:35 +00:00
Karl Hobley
6e4cd12e24 Unpin Willow setup.py requirement 2015-11-13 12:39:31 +00:00
Matt Westcott
23ed5392de Merge branch 'python-35' of https://github.com/kaedroho/wagtail into kaedroho-python-35 2015-11-12 16:33:29 +00:00
Tim Graham
2294520032 Add Django version trove classifiers. 2015-11-11 17:37:30 -05:00
Karl Hobley
40a56f94f6 Advertise Python 3.5 support 2015-11-05 16:19:52 +00:00
Tim Heap
8e755b7db3 Fix bug where built assets may not be packaged
The asset compilation that occurs as part of `python setup.py sdist`
would find all the files to include first, then recompile all the
assets, before finally packaging them all up. This means that if a new
file was created as part of the asset compilation that was not there
when all the files were first searched for, that file would not be
included in the package.

Now, the asset compilation happens before the file system is searched
for assets to include, so all assets should always be included.
2015-10-14 10:58:07 +11:00
Matt Westcott
bce8bf1a5c Bump django-modelcluster version to 1.0 2015-10-09 15:47:49 +01:00
Karl Hobley
4901f5dbf8 Unpin djangorestframework in setup.py 2015-08-26 17:02:33 +01:00
Matt Westcott
1081dcf907 Merge branch 'frontendcache-without-requests' of https://github.com/kaedroho/wagtail into kaedroho-frontendcache-without-requests 2015-08-26 16:17:17 +01:00
Tom Christie
ef9d5b852d Use ViewSet as base class for API endpoints. 2015-07-20 11:46:46 +01:00
Karl Hobley
0731e77c0f Removed dependency on requests 2015-07-08 21:36:56 +01:00
Tim Heap
a6bbbd11f1 Use six from Django
No point in installing six as a standalone dependency if it is already
bundled with Django.

Fixes #1403
See #1406
2015-06-16 19:28:30 +10:00
Karl Hobley
aeb05d14aa Merge pull request #1365 from kaedroho/remove-unicodecsv
Remove unicodecsv
2015-06-03 09:39:29 +01:00
Karl Hobley
4990f2780f Removed dependency on unicodecsv 2015-06-02 00:18:48 +01:00
Karl Hobley
8c75baa271 Removed sendfile dependency
Not actually needed unless you're setting a SENDFILE_BACKEND and in that case, you'll know you need it.
2015-06-01 16:49:12 +01:00
Karl Hobley
ca0085c68d Update Willow to 0.2.1 2015-05-27 14:33:35 +01:00
Karl Hobley
23969890cb Merge remote-tracking branch 'takeflight/refactor/remove-libsass' 2015-05-19 17:25:52 +01:00
Karl Hobley
8673d07d8b Updated sendfile to 0.3.7 2015-05-07 09:35:31 +01:00
jordij
e33ff5d34d documents served using django-sendfile 2015-05-07 09:33:05 +01:00
Tim Heap
0be22dc3f0 Check for and warn about missing assets in setup.py install 2015-05-01 08:53:04 +10:00
Tim Heap
ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00
Matt Westcott
d0abaa77fe support Django 1.8 in setup.py 2015-04-27 15:25:05 +01:00
Matt Westcott
464dbc9ae2 bump/un-pin versions of modelcluster and taggit 2015-04-10 14:01:09 +01:00
Karl Hobley
bbfa70d8e8 Use Willow 0.2 2015-04-01 17:42:55 +01:00
Karl Hobley
7b50391e18 Bump willow version to 0.2b2
This should fix #1084
2015-04-01 14:13:12 +01:00
Karl Hobley
53290ccc7b Use Willow 0.2 beta 2015-03-31 09:33:03 +01:00
Matt Westcott
e520a2816a reinstate Pillow and django-libsass as setup.py requirements
as per https://github.com/torchbox/wagtail/pull/985#issuecomment-84048363
2015-03-24 13:17:44 +00:00
Matt Westcott
3abfa63046 Specify 1.7.1 as the minimum supported Django version 2015-03-17 14:49:29 +00:00
Karl Hobley
a4ffd3b485 Update taggit
Also, test SQLite with latest version of Django
2015-03-04 09:47:40 +00:00
Karl Hobley
4d3f262b98 Remove built dependencies
This commit removes libsass and Pillow from the setup.py dependency list. This greatly improves install performance and also means that the basic Wagtail installation is pure-python (so no build tools need to be on the end users host machine).

None of these dependencies are directly called from within Wagtail so the start project command continues to work correctly.
2015-02-22 10:25:53 +00:00
Karl Hobley
528dc7a4e9 Revert "Versioning changes" 2015-02-18 12:56:29 +00:00
Karl Hobley
c565910104 Merge pull request #849 from kaedroho/versioning-changes
Versioning changes
2015-02-18 11:34:03 +00:00
Matt Westcott
55cac3b907 upgrade django-modelcluster to 0.5 2015-02-03 11:11:42 +00:00
Karl Hobley
d63eeed4a0 Update to treebeard 3.0. Fixes #930 2015-01-29 13:19:41 +00:00
Karl Hobley
7c2f61d017 End Python 3.2 support. Fixes #931 2015-01-28 10:07:52 +00:00
Karl Hobley
4a804967d9 Added Willow to install requirements 2015-01-15 10:46:01 +00:00
Karl Hobley
b9ce897441 Removed support for Django 1.6 and Python 2.6 2015-01-02 17:27:54 +00:00
Karl Hobley
c19a19699a Versioning changes 2014-12-04 15:37:08 +00:00
Karl Hobley
c4e58a7ca5 Unpinned some requirements
To make requires.io happy
2014-12-03 09:25:37 +00:00
Matt Westcott
f64ce6ccb2 Version bump Pillow to avoid #800 2014-11-18 14:44:09 +00:00
Karl Hobley
1377a6c756 Fixed pinned dependency versions
These can cause real headaches if you have a different version of six or requests on your host machine.

This should fix the ``pkg_resources.DistributionNotFound`` error some people have been getting with the "wagtail start" command.
2014-10-13 12:08:36 +01:00
Matt Westcott
31cfabc275 update pypi classifier to Production / Stable 2014-09-22 21:11:22 +01:00
Tim Heap
2148da54cb Bump django-taggit version to 0.12.2
0.12.1 did not have all of its migrations applied, which played havoc
with migrations of apps that depended upon django-taggit
2014-09-22 10:33:27 +10:00
Matt Westcott
446fd81a46 Merge branch 'master' into kaedroho-project-template 2014-09-11 10:18:56 +01:00
Matt Westcott
4d5570bea6 Disable parallel builds to avoid issue with Pillow 2.5 monkeypatching the build process 2014-09-10 17:37:57 +01:00
Karl Hobley
bce455a5cc Made setup.py look at wagtailcore.__version__ 2014-09-09 12:57:01 +01:00
Matt Westcott
27bc0e5c9f Merge branch 'master' into kaedroho-project-template 2014-09-05 16:26:13 +01:00
Matt Westcott
2e20faa094 upgrade modelcluster to 0.4 - fixes #545 2014-09-04 21:32:39 +01:00
Karl Hobley
bab28400de Updated django-taggit to 0.12.1 2014-08-27 11:11:00 +01:00
Karl Hobley
56e4dacc5a Merge remote-tracking branch 'torchbox/master' into dj17_2
Conflicts:
	.travis.yml
	tox.ini
2014-08-27 09:17:07 +01:00
Matt Westcott
33e93372a1 Merge branch 'master' into kaedroho-project-template 2014-08-15 15:39:12 +01:00
Matt Westcott
8edff405dd prepare for 0.5 release 2014-08-01 17:01:42 +01:00
Karl Hobley
0d8157f872 Changed 'wagtail-project' to 'wagtail start' 2014-07-31 10:34:48 +01:00
Karl Hobley
6334c99181 Merge remote-tracking branch 'torchbox/master' into project-template
Conflicts:
	docs/index.rst
2014-07-31 10:14:31 +01:00
Karl Hobley
d817396e2b Allow Django 1.7 to be installed in setup.py 2014-07-28 15:52:42 +01:00
Karl Hobley
26183c1be5 Updated django-taggit 2014-07-23 11:04:21 +01:00
Karl Hobley
b426e16b3c Bumped south version to 1.0.0 2014-07-23 10:59:01 +01:00
Helen Warren
e777b24baa Add wagtail-project command to wagtail set up which when executed creates a wagtail project based on the wagtail 'template' 2014-07-15 14:25:39 +01:00
Karl Hobley
ac6292d614 Replaced lxml with html5lib 2014-07-11 16:40:36 +01:00
Matt Westcott
4f8cfa6346 version / date bump to 0.4 in changelog, setup.py and docs 2014-07-10 12:57:56 +01:00
Karl Hobley
354895bad2 Updated setup.py requirements 2014-07-09 09:28:05 +01:00
Karl Hobley
25e9249308 Added a couple of missing python version classifiers 2014-07-03 13:06:32 +01:00
Karl Hobley
62c59744f9 Merge branch 'master' into varnish-cache-invalidation
Conflicts:
	setup.py
2014-07-02 17:22:19 +01:00
Matt Westcott
442286463f update setup.py with classifiers for Python3.3 and Python3.4 2014-07-02 17:17:25 +01:00
Karl Hobley
85a68a34f1 Requirements changes
- Removed Beautiful Soup 3
 - Added six
2014-07-02 10:35:46 +01:00
Karl Hobley
1cc258f404 Don't install unicodecsv on Python 3 and fallback to pythons built in csv library it it isn't installed. 2014-07-02 10:35:38 +01:00
Karl Hobley
cd21dbc21a Added requests as a dependency 2014-06-30 17:21:38 +01:00
Matt Westcott
649cbf95c4 version bump for 0.3.1 2014-06-03 14:54:37 +01:00
Matt Westcott
2cbf128eb5 prepare for 0.3 release 2014-05-28 16:28:21 +01:00
Matt Westcott
64357dc5e0 Merge branch 'master' into form-builder
Conflicts:
	wagtail/tests/fixtures/test.json
	wagtail/wagtailcore/tests.py
2014-05-09 09:57:40 +01:00
Karl Hobley
da01556c23 Added python 2.6 classifier to setup.py 2014-04-30 09:58:03 +01:00