Wykres commitów

41 Commity (18cf4fc5b66d6c5bce04b8406fca07403c166338)

Autor SHA1 Wiadomość Data
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
Neal Todd 49db907d13 Fix rogue smart quotes and run explicitly under bash. 2014-07-16 13:04:34 +01:00
Neal Todd da996c6f06 Typo fix (led to incorrect file beig created). 2014-07-15 09:10:29 +01:00
Neal Todd 9bbe3f1c19 Installation comment to address wagtail issue 220. 2014-05-27 16:54:06 +01:00
Neal Todd 0ad412c343 Although the ubuntu/debian install scripts are not meant to produce a generic, secure production environment, nevertheless make Elasticsearch to only listen on localhost rather than the default 0.0.0.0 address. 2014-05-21 17:49:04 +01:00
Tom Dyson 5df8eb5680 Ubuntu install now works on 13.04
Since removal of npm dependency.
2014-03-06 15:50:05 +00:00
Matt Westcott e5e3f000ad Remove all reference to less/npm in docs and install scripts 2014-03-05 20:05:26 +00:00
Neal Todd cff1980891 Updating init.d script link now that it's in the repo. 2014-03-05 14:10:06 +00:00
Neal Todd a19459e1b2 Updated ubuntu and adapted debian install scripts for Wagtail production configuration instance on a fresh box. Accompanying uwsgi init.d script for debian. npm/less to be removed and init.d script location to be updated. 2014-03-05 13:58:39 +00:00
Tom Dyson 5ef4f0b07a Updated Ubuntu version for installation script 2014-03-04 22:24:59 +00:00
Tom Dyson 00837af131 Trim Ubuntu installation
Remove aptitude update - we don't have to manage their server setup - and recently-redundant coffeescript.
2014-03-04 17:23:42 +00:00
Tom Dyson 6b97e90eb0 Ubuntu installation script
Production Wagtail one-liner for clean Ubuntu 13.04 boxes
2014-03-04 17:10:12 +00:00