Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

16 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Mathieu Pillard 23dd48d6b0 Remove django-mobility now that mobile detection is handled by nginx
Templates/views have already been removed in 7e0faa4a
2017-05-04 19:35:57 +02:00
RΓ©my HUBSCHER 75f057c578 Use jingo-minify 0.6.0 release. (#4732)
* Use jingo-minify 0.6.0 release.

* Use a newer version of git.

* @EnTeQuAk review.

* @jasonthomas review.

* Too many spaces.
2017-02-28 14:35:30 +01:00
Christopher Grebs 7c560174c6 Implement Django 1.8 compatibility.
* Get rid of addons.query - this will need some benchmarking
   but it was super ugly so I removed it
 * Make sure email fields are using 75 char maxlength (original default)
 * Add replacement for shortcuts.render
 * various stuff along the way...
 * Fix zadmin render helper
 * Less django.shortcuts:render, more our own for compat reasons.
 * Fix dynamic endpoints compat
 * Fix render support for blocklist
 * Save translated fields before we actually save the instance.
   This avoids getting caught by django's sanity check that avoids
   an instance being saved with unsaved related fields set.
 * Fix fix_let_scope_bustage management command
 * Fix another horribly wrong select_related statement
 * use django UUIDField where possible
 * Fix password reset email rendering
 * Fix slugify to work with translation objects
 * Fix stats csv test with updated cache-control header
 * Accept both, verbose and hex version of rss keys
 * Add migration to normalize devhub rss keys
 * Support both formats with and without microseconds for handle_date
 * Copy over render_to_string from jingo and fix it.
 * Unify usage of smart/force text/bytes, also to make sure 'Translation' objects are passed through properly.
 * Make translation model json renderable
 * Unify JSONEncoder usage
2016-08-31 08:31:33 +02:00
Mathieu Pillard 0f88216c78 Remove django-moz-header entirely
We were not using it for much anymore, only a couple css rules and
a few lines in templates.
2016-06-23 16:52:19 +02:00
Andrew Williamson 5136a04a97 Update django-tables to django-tables2 2016-06-23 13:16:32 +01:00
Mathieu Pillard 1600517df6 Merge pull request #2963 from diox/pull-queryset-transforms-in
Add queryset_transform into our repos as it's not released on pypi
2016-06-23 12:47:49 +01:00
Mathieu Pillard 624b488d0b Merge pull request #2965 from diox/remove-nuggets
Remove nuggets dependency, we are not using it anymore.
2016-06-23 12:05:35 +01:00
Mathieu Pillard 06b58d3375 Merge pull request #2964 from diox/pull-happyforms-in
Pull happyforms in our repos as it's not on pypi
2016-06-23 12:05:13 +01:00
Mathieu Pillard a66781bf0c Remove nuggets dependency, we are not using it anymore. 2016-06-22 18:20:20 +02:00
Mathieu Pillard 2458c28e71 Pull happyforms in our repos as it's not on pypi 2016-06-22 18:14:05 +02:00
Mathieu Pillard 6289406058 Add queryset_transform into our repos as it's not released on pypi 2016-06-22 17:46:10 +02:00
Mathieu Pillard a64bd8cc75 Update django-session-csrf 2016-06-22 13:54:38 +02:00
Christopher Grebs cadc241ddd Upgrade schematic to 0.4. One less temporary fork. 2016-06-07 18:15:38 +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
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 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