0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 08:48:04 +01:00
Commit Graph

61 Commits

Author SHA1 Message Date
Matt Westcott
ec0daf604a Add latest.txt as per new format discussed in #7336
Remove make-latest.sh, since there's now more information than we can sensibly construct from the command line - the file should now be uploaded to releases.wagtail.io with `./latest.sh put latest.txt`.
2021-07-15 12:29:01 +01:00
Matt Westcott
4d6a41a83b Drop travis entirely 2020-11-05 12:04:12 +00:00
Matt Westcott
35a8255ded Ditch all travis config except for elasticsearch 2 test 2020-11-05 12:04:12 +00:00
Matt Westcott
f54f0942e0 Fetch new translations from Transifex 2020-11-02 12:45:05 +00: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
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
Matt Westcott
42a5027dcf Update translator credits 2020-04-21 14:58:33 +01: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
pySilver
0149eff66a Implements ES7 support (#5611)
* Implements ES7 support

* Linter fix

* Adds docs

* isort fix

* Fixes typo
2019-10-10 11:00:14 +01:00
Karl Hobley
191a47e4bc
Nightly: Keep latest.json public when updating 2019-07-02 11:25:38 +01:00
Karl Hobley
0c65936c9a
Nightly: Upload builds to 'dist' subfolder 2019-07-02 11:20:59 +01:00
Karl Hobley
93f032b261
Nightly: Upload builds to 'dist' subfolder 2019-07-02 11:20:21 +01:00
Karl Hobley
229c845481
Added CI config to generate nightly builds from master (#5320)
* Added CI config to generate nightly builds from master

* Fix typo

* Don't write __init__.py directly

We need to import the original in the script

* Update wagtail.utils.version

This is based off a copy from Django master made just now and adds
support for 'dev' versions.
2019-06-21 11:13:34 +01:00
Matt Westcott
d5bc3c92d2 Fetch new translations and update config for Chinese (#3668)
* Fetch new translations from Transifex, update contributors, add new languages with >90% coverage to WAGTAILADMIN_PROVIDED_LANGUAGES
* Update transifex config to download Chinese (Simplified) and Chinese (Traditional) translations as zh_Hans and zh_Hant respectively
* Fix get-translator-credits.py to recognise 'tet' as the locale string for Tetum (which Babel doesn't)
2019-04-08 22:27:18 +01:00
Karl Hobley
cac3a65a3d Travis/tox configuration for Elasticsearch 6 2018-05-04 15:57:36 +01:00
Mads Jensen
8b420b9abc Removed __future__ imports
Also delete add_imports directive from isort configuration
2017-11-27 02:18:30 +00:00
Karl Hobley
0a52196c63 Remove ES 1.x from test configuration 2017-11-06 14:27:27 +00:00
Matt Westcott
16439193a3 Update Travis config to work with on Trusty architecture (#3739)
* Update Travis config to work with on Trusty architecture

* Explicitly specify Trusty environment
2017-07-28 18:48:01 +01:00
Matt Westcott
ad3e4c3d53 Install Elasticsearch 5.3.3 for Travis
5.4 has a bug in testing existence of aliases which causes tests to fail: https://github.com/elastic/elasticsearch/issues/24644
2017-06-07 15:08:48 +01:00
Daniel Chimeno
92f64bef27 make script py2/3 compatible 2017-03-08 15:51:23 +00:00
Karl Hobley
6be679e19f Set vm.max_map_count to 262144 2016-11-30 16:31:20 +00:00
Karl Hobley
35c850d8ec Update URLs in install_elasticsearch5.sh 2016-11-30 16:31:20 +00:00
Karl Hobley
752fbca24a Add Elasticsearch 5 to Travis/tox 2016-11-30 16:31:20 +00: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
Karl Hobley
980cc07ef0 Removed drone images
See .drone.yml and https://hub.docker.com/r/torchbox/scss-lint/
2016-06-20 15:57:30 +01:00
Matt Westcott
bd1456c793 Pull new translations from Transifex 2016-03-16 11:04:04 +00:00
Matt Westcott
3129d72151 Sort languages by English name 2016-03-09 12:18:32 +00:00
Matt Westcott
23af4e4251 Remove 30% coverage threshold from fetch-translations
It wasn't an effective rule for weeding out inactive translations - a 20% coverage of wagtailadmin is better than 100% coverage of wagtailsites.
(minimum-perc=1 is required because otherwise it'll pull in languages with no coverage at all, which includes a lot of junk)
2016-03-09 11:36:30 +00:00
Karl Hobley
8e142f6ddd Pin jscs version on Drone 2016-01-04 11:44:28 +00:00
Karl Hobley
2045148c0c Fixed typo in drone image build instructions 2016-01-04 10:21:32 +00:00
Karl Hobley
e3f39e85c2 Add build instructions to Drone images readme 2015-12-20 13:49:29 +00:00
Karl Hobley
e8d022b398 Added Drone Dockerfiles to /scripts 2015-12-01 10:56:23 +00:00
Matt Westcott
e868f47852 add script for extracting a list of translators from the .po files 2015-11-02 11:52:51 +00:00
Karl Hobley
4203714d91 Fix typo in fetch-translations.sh 2015-08-26 14:29:26 +01:00
Karl Hobley
140441feb6 Added script for rebuilding translation sources 2015-08-26 14:29:26 +01:00
Matt Westcott
c083344785 Merge pull request #1258 from torchbox/feature/sample-configs
Add sample uwsgi and nginx configuration files
2015-07-09 17:34:36 +01:00
Karl Hobley
2aecf870a6 Merge pull request #1297 from kaedroho/fetch-translations-script
Add fetch-translations.sh
2015-05-26 13:42:23 +01:00
Karl Hobley
39c56f536f Add fetch-translations.sh
This script fetches the latest translations from transifex, cleans the files and runs compilemessages on each app
2015-05-14 08:47:17 +01:00
Felicity Tarnell
4ec84fc95f scripts/install: remove obsolete installation scripts 2015-05-01 15:04:00 +01:00
Felicity Tarnell
771ca040b3 scripts/make-latest.sh: show usage with no arguments 2015-05-01 14:13:18 +01:00
Felicity Tarnell
f612db20c4 scripts/make-latest.sh: new script to generate new latest.sh 2015-05-01 14:11:05 +01:00
Felicity Tarnell
8937ffd560 scripts/latest.sh: if file is unchanged, do not exit with an error 2015-05-01 14:07:24 +01:00
Felicity Tarnell
9fa78bf21b scripts/latest.sh: set correct acl on upload 2015-05-01 14:05:17 +01:00
Felicity Tarnell
b0b577e963 scripts/latest.sh: should be TERM here, not EXIT 2015-05-01 13:58:40 +01:00
Felicity Tarnell
20e159d1f8 scripts/latest.sh: script to edit latest.txt
This script supports 'get', 'put' and 'vi' commands to edit the file at
http://releases.wagtail.io/latest.txt.  Usage is fairly straightforward:

$ scripts/latest.sh get my-latest.txt
$ vi my-latest.txt
$ scripts/latest.sh put my-latest.txt

Or, in a single command (equivalent to get, vi and put):

$ scripts/latest.sh vi

'put' will automatically create a CloudFront invalidation, that
typically takes around 15 minutes to fully deploy

TODO: documentation; script to create a template latest.txt based on
      command-line arguments.
2015-05-01 12:29:58 +01:00
Jose Lourenco
98aa7eff97 uwsgi_params url update on install scripts debian.sh and ubuntu.sh 2014-12-17 02:02:40 +00:00
vzvenyach
4b79f3c428 Update ubuntu.sh
bump to postgresql 9.3.5
2014-08-29 23:00:20 -04:00
Matt Westcott
f0e853843f update url to uwsgi-init.d - fixes #522 2014-08-01 16:54:38 +01:00
Matt Westcott
4131039ece remove libxml / libxslt from install scripts - not required now we've switched to html5lib 2014-07-17 13:43:14 +01:00