There's now only one place that defines how we install things, the Makefile.
This also merges flake8.txt, test.txt into dev.txt and removed the
unused load.txt and cleans up all installation related code in
Dockerfile and tox.
* Install our node dependencies in update_deps too, we do use at least addons-linter in the near future.
* Remove instafail, show shorter tracebacks
* Cache .tox, node_modules and pip
* Upgrade pip and wheel to make sure we're using cached wheel packages
* Fail the whole suite if one build already failed. This should give faster feedback for PRs
* Need to move addons-server install from "deps" to "commands" because
editable mode is not compitable with hash-checking mode for "pip install"
* Need to add extra install commands for anything used to depend on
"compiled.txt" or "prod.txt" because the two have been splitted into
with and without hash files.
Added hashes for modules whose versions are pinned with "==". Need to
break the existing requirement files into 2 types: with and without
hashes. This is because according to the doc,
> Hash verification is an all-or-nothing proposition. Specifying a
> --hash against any requirement not only checks that hash but also
> activates a global hash-checking mode.
For example, for those modules whose versions are not pinned with "==",
or those that are installed from VCS directly, if they're mixed in the
same file with modules that use "--hash" option, the install fails with
errors similar to the following:
> In --require-hashes mode, all requirements must have their versions
> pinned with ==. These do not:
> simplejson>=3.0.5 from https://pyrepo.stage.mozaws.net/olympia/simplejson-3.8.1.tar.gz
> (from -r compiled_without_hash.txt (line 16))
or
> The editable requirement django-queryset-transform from
> git+https://github.com/jbalogh/django-queryset-transform@a1ba6ae41bd86f5bb9ff66fb56614e0fafe6e022#egg=django-queryset-transform
> (from -r compiled_without_hash.txt (line 17)) cannot be
> installed when requiring hashes, because there is no single file to
> hash.
* Bump django-rest-framework to 3.3.3
* Ported `olympia.api.fields` to drf 3.3, updated tests
* Use newer request.data instead of request.DATA
* Remove django-piston-oauth2 dependency
* Use addon-detail to test cors header
* Remove oauth2 dependency
Fixes#2092
* Fix puente config
* Fix translated messages in bandwagon.views
* Remove double django-cache-machine requirement
* Fix import to waffle 'Switch' model.
* Move zadmin admin site patching to the top to fix login-redirects
* Fix mock.patch paths
* Simplify test for login redirect. We can't really fix those internals of django.
* Avoid messages framework to fail if we're in rest-framework borders
* ugettext_lazy doesn't support msgctx, use pgettext
* Remove empty ADMINS and MANAGERS from config, this is the default
* Fix LocaleErrorList for django 1.7, overwrite django's __getitem__ behaviour
* Use errors.get() again to get proper None if key is missing.
* Fix contributions lightbos: use '|fe' to format safe html into a string.
* Various escaping updates and fixes
* Fix model lookup in zadmin search
* Fix datetime format for newstyle-gettext
* Switch to use magick-mock to properly patch all calls
* Fix breadcrumb truncate test, jinja 2.8 truncate filter counts total length now
* Fix jsi18n domain
* Fix legacy api notification message
* Port license form renderer to new API
* Make sure compat versions are deleted properly.
* Make zip tests more predictable, with proper sorting and avoid undefined variables
* Update copy paste from django password reset form
* Correctly save featured collection to allow deletion
* Update logout test to ensure cookie is properly deleted.
* Pep08, fix zadmin featured collection deletion
* Fix elastic view in zadmin, make properly admin_required
* Fix editors event log tests, the fix was for a more recent babel version
* Add puente as a tower replace in requirements
* Rename all messages.mo to django.mo
* messages.pot -> django.pot
* Rename references to messages.po to django.po
* Rename javascript.{mo,po,pot} -> djangojs.{mo,po,pot}
* Upgrade to Django 1.7.10
* Upgrade to Jingo 0.9
* Make sure the app minimalistically runs with Django 1.7
* Upgrades django-waffle and django-cache-machine
* Upgrades to a forked hack of django-piston
* Fixes systems checks
* update redisutils config
* Get rid of Jingo monkey patch.
* Update to proper SafeData support (which now supports __html__)