Wykres commitów

95 Commity (026346b977ab80649dcffcb4f5a6e2d4f9034125)

Autor SHA1 Wiadomość Data
Karl Hobley 0a52196c63 Remove ES 1.x from test configuration 2017-11-06 14:27:27 +00: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
Bertrand Bordage c577d15f13 Removes Django 1.10 HEAD from test matrix. 2017-04-12 01:42:40 +02:00
Michael van Tellingen 8decb577ce Add appyveyor config (#3505)
* Add appyveyor config

This commit does add settings for using mssql on appveyor
but there are still some issues with timeouts. For now only
the sqlite build is enabled.

Note that the build currently (correctly) fails on windows

* Fix unittests on Windows (in wagtaildocs)

The document.file.name attribute doesn't contain a valid path separator
on windows. Use document.file.path for comparison instead.
2017-03-27 13:10:25 +01:00
Kees Hink a2b9c2bfe4 Document pep8 issues to ignore (#3503)
* Docs: E501 is not the only PEP8 violation we accept.

* Add the list of PEP8 violations we accept to tox.ini
2017-03-25 15:10:12 +01:00
Matt Westcott a98e0d9862 Add Python 3.6 to CI test matrix 2017-03-12 12:52:42 +03:00
Matt Westcott cc3b826025 fixup! Add Django 1.11b1 to Travis as allow_failures 2017-03-12 12:52:42 +03:00
Matt Westcott 73639938b7 fixup! Add Django 1.11b1 to Travis as allow_failures 2017-03-12 12:52:42 +03:00
Matt Westcott 2f6c88f52b Add Django 1.11b1 to Travis as allow_failures 2017-03-12 12:52:42 +03:00
Matt Westcott fef8b28089 Drop Django 1.9 and Python 3.3 from CI
As agreed at https://groups.google.com/d/msg/wagtail-developers/nTn-rthPMsA/ORP3GA-hCQAJ
2017-02-22 17:39:38 +00:00
Karl Hobley a1ae5950f4 Install certifi when testing against Elasticsearch 5
Required by elasticsearch-py but needs to be installed separately

8314f7b25c
2016-11-30 16:31:21 +00:00
Karl Hobley 752fbca24a Add Elasticsearch 5 to Travis/tox 2016-11-30 16:31:20 +00:00
Matt Westcott b4a4e5eb92 Pass update_all_types=True to put_mapping on ES2 - workaround for #2968 2016-10-05 13:45:43 +01:00
Matt Westcott 71ce47bc5a Configure Travis to test against the latest Django stable branch on git (#2967) 2016-09-21 12:40:57 +01:00
Karl Hobley daa82936d7 Elasticsearch 2 support (#2573)
* Created Elasticsearch 2 backend

* Added tests for Elasticsearch 2 backend

* Split models up into different indices

pages, images and documents are now in separate indices

* Prefix fields of child models to prevent mapping clashes

* Replaced index_analyzer with analyzer/search_analyzer

index_analyzer has been removed in Elasticsearch 2.0

https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#_analyzer_mappings

There's no indication in Elasticsearch's docs that this wouldn't work on Elasticsearch 1.x. However, we found that the new configuration isn't reliable on Elasticsearch 1.6 and below (causes the test_query_analyzer test to fail randomly).

* Implemented new way of representing content types in search index

Instead of using a long string of model names that is queried using a
"prefix" query, we instead use a multi-value string field and query it
using a simple "match" query.

The only reason why this isn't implemented in the Elasticsearch 1.x
backend yet is backwards compatibility

* Added another child model of SearchTest with clashing field mapping

This checks that the namespacing of fields on child models is working properly (if it doesn't the update_index tests will fail)

* Added tests for get_model_root function

* fixup! Added tests for get_model_root function

* Docs updates for Elasticsearch 2 support

Also tweak examples to use elasticsearch2 backend by default

* Test against Elasticsearch 2 on travis
2016-08-31 13:46:57 +03:00
Matt Westcott 4a1b103558 Make elasticsearch-specific tests from wagtailimages / wagtaildocs run under tox 2016-07-04 20:32:31 +01:00
Matt Westcott b85c340163 Move flake8 config to setup.cfg 2016-06-23 16:31:44 +01:00
Mikalai Radchuk 408dcbed43 CI configuration for Django 1.10 (#2724)
Adds Django 1.10a1 into tox.ini

Also adds Django 1.10 into .travis.yaml
2016-06-17 10:12:53 +01:00
Matt Westcott f8d7970cbb Remove Jinja2 from tox.ini as it's now in testing_extras (see #2583) 2016-05-17 17:36:29 +01:00
Matt Westcott 3b0c074ba7 Eliminate duplication of dependencies in tox.ini
Fixes #2317
2016-05-04 14:12:27 +01:00
Matt Westcott c495f02baf Make elasticsearch switchable in tox, allow ES failures in travis 2016-05-03 13:54: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
Karl Hobley be82fa975d Removed django-compressor 2016-02-03 16:16:11 +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 de93b14a08 Temporarily pinned Django versions
There appears to be a bug in Django 1.9.1/1.8.7 causing the migrations to fail.
2016-01-04 12:25:26 +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
Karl Hobley b382f89b55 feat(django 1.9): Test on django-modelcluster 1.1 beta 1 2015-12-09 11:40:35 +00:00
Karl Hobley 2b38263fba feat(django 1.9): Added Django 1.9 to tox/travis 2015-12-09 11:40:35 +00:00
Maris Serzans c92d12755c pep8 compliance 120 characters / line 2015-12-08 14:50:32 +00:00
Karl Hobley 78a5324435 Cleanup E128 errors 2015-12-04 10:00:15 +00:00
Karl Hobley 7175525d02 Cleanup E126 errors 2015-12-04 09:48:20 +00:00
Karl Hobley 6cd293f081 Cleanup E124 errors 2015-12-04 09:42:22 +00:00
Karl Hobley 1957af9ea8 Cleanup E302 errors 2015-12-04 09:32:16 +00:00
Karl Hobley 113f8e59ff Cleanup E261 errors 2015-12-04 09:20:22 +00:00
Karl Hobley 83d3aaeb2f Added --elasticsearch flag to travis/tox configuration 2015-11-19 16:23:24 +00:00
Tim Heap b3560b7941 Use six from Django, remove six from tox.ini
All referencs to `six` were removed in #1411 favouring
`django.utils.six`, except for one in `tox.ini` where it was installed
as a dependency. Because it was still installed in the test environment,
a few references to `six` crept back in. These will cause an ImportError
when users do not have `six` installed.

These references have been fixed, and `six` has been removed from
`tox.ini`
2015-10-27 16:37:05 +11:00
Tim Heap cf7aaae09c Add tests for Jinja template tags 2015-10-01 20:04:06 +10:00
Tim Heap 17daa4112b Add Python 3.5 to tox.ini, travis.yml 2015-09-16 14:18:53 +10:00
Matt Westcott d67fe598bb Remove 'requests' from tox dependencies 2015-08-26 16:38:38 +01:00
Tom Christie b5a46f3dee Added REST framework to tox 2015-07-21 15:03:46 +01:00
Karl Hobley 4990f2780f Removed dependency on unicodecsv 2015-06-02 00:18:48 +01:00
Karl Hobley 23969890cb Merge remote-tracking branch 'takeflight/refactor/remove-libsass' 2015-05-19 17:25:52 +01:00
jordij e33ff5d34d documents served using django-sendfile 2015-05-07 09:33:05 +01: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
Karl Hobley bb61b33783 Update tox pip requirements 2015-04-13 20:44:40 +01:00
Karl Hobley 2546c758d5 Ignore E126 errors 2015-04-03 19:31:42 +01:00