Граф коммитов

671 Коммитов

Автор SHA1 Сообщение Дата
Andrew Williamson 71e29788fe Merge pull request #2705 from eviljeff/unused-requirements
random requirement clearing - we don't use basket-client
2016-05-20 14:04:14 +01:00
Andrew Williamson c87ef1a1f8 random requirement clearing - we don't use basket-client 2016-05-19 12:35:11 +01:00
Christopher Grebs 5359f9d5df Merge pull request #2650 from mozilla/feature/integrate-codecov
Integrate codecov for coverage reports
2016-05-18 17:34:20 +02:00
Andrew Williamson 91126b76aa Add find_revdeps.py script from zamboni and note requirements in files. 2016-05-18 11:38:26 +01:00
Christopher Grebs 46859e279d Integrate coverage and codecov reports. 2016-05-18 11:18:10 +02:00
Christopher Grebs d7e7f6085d Update amo-validator to 1.10.29 2016-05-17 17:01:44 +02:00
Christopher Grebs e7c49f8e13 Detect docker container and switch between index ordering accordingly to install correct packages. 2016-05-17 14:53:02 +02:00
Christopher Grebs d7be555cbb Refactor the way we handle dependencies, use 'make update_deps' in tox and docker.
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.
2016-05-12 18:31:40 +02:00
Andrew Williamson 0ec639f73d Merge pull request #2581 from eviljeff/eq_-be-gone
Finally removing nose from our tests.
2016-05-09 11:41:25 +01:00
Mark Striemer 2daad31407 Limit CORS on internal API and allow cookies (fixes #2519) (#2527) 2016-05-06 16:13:12 -05:00
Andrew Williamson 4e84de2f11 Finally removing nose from our tests. 2016-05-06 17:27:20 +01:00
Andy McKay 570c2bcf67 bump up to 2.1.3 and fix hashes for Pygments 2016-05-04 12:50:33 -07:00
Christopher Grebs af824718f8 Update amo-validator to 1.10.28 2016-04-26 16:45:55 +02:00
Christopher Grebs 1dbc41d86d upgrade amo-validator to 1.10.27 2016-04-19 16:23:41 +02:00
Christopher Grebs a9c0f82d5c Improve travis test runs.
* 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
2016-04-15 16:46:13 +02:00
wezhou 1ee0113806 Fix simplejson version in requirement file
Also removed compiled_without_hash.txt file now that it's empty.
2016-04-13 12:01:27 -07:00
wezhou ad0632d2f0 Merge branch 'master' into bugzilla-1254143
This is in order to resolve conflict in requirements/prod.txt.
2016-04-12 14:04:30 -07:00
Christopher Grebs 49f1e0b9fb Upgrade amo-validator 1.10.26 2016-04-12 16:37:42 +02:00
wezhou 4acb69506c Fix travis-ci build failure
* 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.
2016-04-11 17:59:28 -07:00
wezhou 78dbc44c92 Bugzilla-1254143: Switch to pip hash checking mode
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.
2016-04-09 14:13:56 -07:00
Christopher Grebs 55650adb52 Upgrade django rest framework to 3.3.x
* 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
2016-04-07 07:30:26 +02:00
Andreas Wagner 387dce1d7b Update amo-validator to 1.10.25 2016-04-06 17:04:24 +02:00
Kumar McMillan 7eb12e9c40 Bump amo-validator to 1.10.24 2016-03-22 10:17:37 -05:00
Mark Striemer f4daac32aa amo-validator==1.10.23 2016-03-14 15:01:23 +01:00
Andreas Wagner 833473703f Bump amo-validator to 1.10.22 2016-03-14 12:17:14 +01:00
Mark Striemer fb70c309b1 amo-validator==1.10.21 2016-03-04 16:20:32 -06:00
Mathieu Pillard 90848e01a6 Merge pull request #1809 from diox/cors-v3-api
Add Access-Control-Allow-Origin: * to v3 API (fix #1741)
2016-03-02 14:08:18 +01:00
Mathieu Pillard c358b85ac3 Add Access-Control-Allow-Origin: * to v3 API (fix #1741) 2016-03-02 13:32:28 +01:00
Christopher Grebs 450eaff687 Update amo-validator to 1.10.20 2016-03-01 16:22:16 +01:00
Mathieu Pillard 2c2b1c9cd4 Add new basic search API (fix #1772) 2016-02-25 17:54:14 +01:00
Christopher Grebs 7e7604b323 Use django connection pooling instead of mysql_pool 2016-02-24 20:23:13 +01:00
Christopher Grebs 3ae65030c0 Update djangorestframework for better 1.7 support 2016-02-24 17:13:31 +01:00
Christopher Grebs b87c879fc3 Various cleanups, fixes, updates and pep08.
* 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
2016-02-24 17:13:31 +01:00
Christopher Grebs 0240e9ffd9 Make sure we use jingo 0.8.2 2016-02-24 17:13:30 +01:00
Mathieu Pillard e0b98ab699 Update to django-mozilla-product-details 0.8.2
Has the fix for https://github.com/mozilla/django-product-details/issues/49
2016-02-24 17:13:30 +01:00
Christopher Grebs b77d75c29f Upgrade to django 1.7.11 2016-02-24 17:13:29 +01:00
Christopher Grebs 4139e6f5b9 Upgrade puente to 0.4 2016-02-24 17:13:29 +01:00
Christopher Grebs e81d736574 Update django-tables to a 1.7 compatible version 2016-02-24 17:13:29 +01:00
Christopher Grebs 901bf3b461 Finalize puente config, add django-babel support. 2016-02-24 17:13:28 +01:00
Christopher Grebs f9b8535a36 Port to puente:
* 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}
2016-02-24 17:13:27 +01:00
Christopher Grebs 81845f9f84 First steps towards Django 1.7 support.
* 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__)
2016-02-24 17:11:46 +01:00
Andy McKay 1235e961fd bump to 1.10.19 2016-02-23 10:09:53 -08:00
Christopher Grebs f593d9c693 Upgrade amo-validator to 1.10.18 and cssutils to 1.0.1
This fixes #1686 and refs mozilla/amo-validator#394
2016-02-16 18:08:49 +01:00
Christopher Grebs 7ddf482756 Update celery, kombu, billiard and amqp for compatibility reasons.
Specifically the update to kombu to 3.0.33 is required to avoid
running into celery/kombu#545 on Python 2.7.11
2016-02-09 16:04:41 +01:00
Christopher Grebs e9fb38a665 Merge branch 'master' of github.com:mozilla/olympia into feature/restructure-modules 2016-02-04 19:43:32 +01:00
Mathieu Agopian a4364b7d17 Use '*' as the default strict_max_version for WebExtension 2016-02-03 14:40:40 +01:00
Andreas Wagner 9e68f53803 Merge pull request #1591 from wagnerand/master
Bump used amo-validator version
2016-02-02 17:52:23 +01:00
Andreas Wagner e1e7b246be Bump used amo-validator version 2016-02-02 17:43:27 +01:00
Mathieu Agopian 6b181ce50b Merge pull request #1545 from magopian/1497-improve-pytest-reporting
Display test failure tracebacks straight away
2016-02-02 15:27:25 +01:00
Christopher Grebs 0130503f3e Merge branch 'master' of github.com:mozilla/olympia into feature/restructure-modules 2016-02-01 19:31:18 +01:00