Commit Graph

218 Commits

Author SHA1 Message Date
Paul Marillonnet 217315617a tox: restrain drf version (#42266) 2020-05-08 12:54:11 +02:00
Paul Marillonnet 5631b56ec8 tox: restrain django-filter version for py2 venv (#42266) 2020-04-29 12:13:32 +02:00
Paul Marillonnet fd7b6ab07d middleware: use django compatibility mixin (#42266) 2020-04-29 11:57:44 +02:00
Christophe Siraut bac72330f1 Jenkinsfile: use default distribution target (#41301) 2020-04-24 13:54:35 +02:00
Frédéric Péters 2a9772ec62 debian: allow any django version in build depends
(it's just there to build translations)
2020-04-12 11:47:46 +02:00
Benjamin Dauvergne 6cd2fe4363 debian: add support for python3 (#41564) 2020-04-09 16:11:28 +02:00
Paul Marillonnet b879ada6b8 py3: force text on b64-encoded test data (#41220) 2020-04-02 14:53:20 +02:00
Paul Marillonnet f9f427321d py3-compliant urlparse import from django (#41220) 2020-04-02 14:53:20 +02:00
Paul Marillonnet ef9b1ea2bf python3: use std pathlib instead of pathlib2 (#41220) 2020-04-02 14:06:03 +02:00
Paul Marillonnet 11aad74f84 py3-compliant dict items iteration (#41220) 2020-04-01 11:54:25 +02:00
Paul Marillonnet 9c6baea77b provide a py3-compliant tox.ini file (#41220) 2020-04-01 11:54:13 +02:00
Frédéric Péters c4a21af754 tox: limit enum34 to 1.1.6, for python 2 compatibility 2020-02-22 10:13:35 +01:00
Benjamin Dauvergne 37852c0660 tox.ini: remove nocoverage from the default envlist 2019-12-09 15:16:00 +01:00
Benjamin Dauvergne c0ac563d40 middleware: split domain from port 2019-10-02 16:19:52 +02:00
Emmanuel Cazenave c56a999b92 jenkins: use ci@entrouvert.org for notifications 2019-10-02 13:30:34 +02:00
Benjamin Dauvergne 67e3ab656b tox.ini: only test with django 1.11 and postgres 2019-06-30 11:38:55 +02:00
Benjamin Dauvergne 60ed1c9514 make validation_context optional 2019-06-05 20:46:16 +02:00
Benjamin Dauvergne 0115147f5f make validation_partner read-only through API 2019-06-04 22:52:09 +02:00
Benjamin Dauvergne a94cfe7847 allow account validation through API (#33472)
- validation_context is limited to online and office.
- un-validation is forbidden.
- validating an already validated account is also forbidden.
- validation is only possible for OIDC clients
- on validation the OIDC client's OU slug is copied to the
  validation_partner attribute
2019-06-04 22:46:28 +02:00
Benjamin Dauvergne a2ee176a2f apps: fix wrong syntax for filtering minor accounts (#33678) 2019-06-04 18:04:03 +02:00
Serghei Mihai 62c15348d3 settings: add support link to template vars (#33649) 2019-06-04 10:54:52 +02:00
Frédéric Péters 4ad40d8533 settings: set A2_OPENED_SESSION_COOKIE_NAME (#33544) 2019-05-29 15:48:55 +02:00
Benjamin Dauvergne c2ccbb78a9 apps: retire tous les champs d'enregistrement sauf mot de passe 2019-05-23 15:34:31 +02:00
Benjamin Dauvergne 31aa01e608 remove unused variable 2019-05-23 15:34:27 +02:00
Benjamin Dauvergne 330b869830 custom_settings: extraire PLATEFORM du scope local 2019-05-09 11:59:45 +02:00
Benjamin Dauvergne 8c68d9ca49 custom_settings: mettre prod comme plate-forme par défaut 2019-05-09 11:59:07 +02:00
Benjamin Dauvergne 4bf1956208 Revert "apps: make validated read_only through API"
This reverts commit de14dfbec0.
2019-05-07 21:59:26 +02:00
Benjamin Dauvergne de14dfbec0 apps: make validated read_only through API 2019-05-07 16:04:28 +02:00
Benjamin Dauvergne 73b8993752 custom_settings: fix help_url for dev and test platforms (#32667) 2019-04-29 11:51:49 +02:00
Frédéric Péters c3d90dc6b4 tox: limit django-jsonfield version to keep django 1.8 compatibility (#31482) 2019-03-17 18:16:18 +01:00
Frédéric Péters 6f60df18c6 tox.ini: limit to pytest-django<3.4.6
See #30307 and https://github.com/pytest-dev/pytest-django/issues/698
2019-02-03 21:55:49 +01:00
Benjamin Dauvergne 0872e5370d debian: add graphicsmagick to dependencies 2019-01-31 10:35:23 +01:00
Benjamin Dauvergne d564df433a debian: add dependency on python-sorl-thumbnail 2019-01-29 12:37:53 +01:00
Benjamin Dauvergne 784a4a064d cleanup validation requests and their attachments after 3 months (fixes #30105) 2019-01-29 11:27:51 +01:00
Benjamin Dauvergne d084008f85 tests: move fixtures in conftest (#30105) 2019-01-29 11:27:51 +01:00
Benjamin Dauvergne 00a0d2aa83 PEP8 (#30105) 2019-01-29 11:27:51 +01:00
Benjamin Dauvergne 4b6ac14888 models: factorize validation request acceptation (#30105) 2019-01-29 11:27:51 +01:00
Benjamin Dauvergne a1c8807b20 use a link to present pdf validation request attachments (fixes #29508)
Use sorl-thumbnail to produce thumbnails.
2019-01-29 11:27:51 +01:00
Benjamin Dauvergne 2c5563ee91 api_views: set extension of validation attachment from mime_type (#29508) 2019-01-24 19:37:20 +01:00
Benjamin Dauvergne eabdb36bf5 api_views: accept .png and .pdf as validation attachments (fixes #29506) 2019-01-24 17:30:37 +01:00
Benjamin Dauvergne 40c1d36c08 PEP8 / Python3 compatibility (#29506) 2019-01-24 17:30:15 +01:00
Benjamin Dauvergne 37fc62bcca add a Jenkinsfile (fixes #30079) 2019-01-24 16:41:47 +01:00
Benjamin Dauvergne 161dfee7df tox.ini: rename junit results (#30079) 2019-01-24 16:41:47 +01:00
Benjamin Dauvergne 0ce876f8bb tox.ini: add pylint run (#30079) 2019-01-24 16:41:47 +01:00
Benjamin Dauvergne 7d517113d7 tox.ini: limit pylint-django to <0.8.1 (#30079) 2019-01-24 16:41:30 +01:00
Benjamin Dauvergne cc2646da28 setup.py: python3 compatibility + get_version() PEP440 (#30079) 2019-01-24 16:41:27 +01:00
Benjamin Dauvergne 94758baba8 tox.ini: add branch name to workdir path (#30079) 2019-01-24 16:41:25 +01:00
Benjamin Dauvergne 595bb9bd33 tox.ini: set basepython=python2 (#30079) 2019-01-24 16:41:17 +01:00
Benjamin Dauvergne 6535462257 tox.ini: use authentic2 from git (#30079) 2019-01-24 16:41:13 +01:00
Benjamin Dauvergne 5d793f6c79 templates: mise à jour warning sur les mineurs (fixes #27076) 2018-12-03 09:59:26 +01:00