Commit Graph

237 Commits

Author SHA1 Message Date
Frédéric Péters 6d0a064d6a misc: adapt string view of FC user data for py3 (#45467) 2020-07-26 17:52:20 +02:00
Frédéric Péters af72ac8183 misc: never alter form fields dictionary during iteration (#45201) 2020-07-16 19:01:17 +02:00
Benjamin Dauvergne d78ce337ec misc: dont mutate dictionnary during iteration (#44869) 2020-07-06 20:55:04 +02:00
Benjamin Dauvergne 901f9af326 debian: add dependency on django-redis 2020-07-03 14:40:26 +02:00
Benjamin Dauvergne 8dc42017ed misc: remove requirement on python-magic
Python package changed between python3 and python2 on Debian
(python-magic is the pypi package python-magic, but python3-magic is the
pypi package file-magic :/)
2020-07-03 13:52:31 +02:00
Benjamin Dauvergne 0a4fa6b6fe Jenkinsfile: remove files with find first 2020-07-03 10:38:44 +02:00
Benjamin Dauvergne 4757a9448e tox.ini: do not skip install with pylint 2020-05-16 12:31:52 +02:00
Benjamin Dauvergne abfaf85a43 tests: verify hooks by propagating exceptions 2020-05-16 11:57:19 +02:00
Benjamin Dauvergne 7b92d0fe55 tox.ini: add environment modifier to test against local authentic2 2020-05-16 11:39:30 +02:00
Benjamin Dauvergne 13e5dc68f1 drf39: force ou to "usagers" using HiddenField 2020-05-15 21:33:42 +02:00
Benjamin Dauvergne 89034068b4 dj22: replace django.core.urlresolvers by django.urls 2020-05-15 21:25:27 +02:00
Benjamin Dauvergne 081409b6ed tox.ini: fix pylint env 2020-05-15 19:00:28 +02:00
Benjamin Dauvergne 6b0ba89189 Jenkinsfile: use virtualenv and pg_virtualenv 2020-05-15 18:41:24 +02:00
Benjamin Dauvergne ce3a088a24 models: make Journal.actor nullable 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne e7f9e32fe0 migrations: fix choice labels 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne f7b6fdb2ee py3: remove bytes strings from migrations 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne 0058acbe97 tox.ini: add check-migrations.sh 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne 5751075178 dj22: user.is_authenticated is a property 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne fe5b5fc47c dj22: use MiddlewareMixin 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne d101944f7d dj22: direct assignment to M2M fields is deprecated 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne 15daeea356 dj22: add on_delete attribute to FK 2020-05-15 18:20:16 +02:00
Benjamin Dauvergne a5e4d42e02 tox.ini: refactor, add dj22 target 2020-05-15 18:20:16 +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