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
Benjamin Dauvergne
d4dfb07477
custom_settings: ne plus mettre un mot de passe par défaut aux utilisateurs FC
2018-10-05 16:46:45 +02:00
Benjamin Dauvergne
e0bff3128c
views: ne pas filter les requêtes de validation via .search_validationrequest ( fixes #26930 )
2018-10-02 19:35:47 +02:00
Benjamin Dauvergne
3c42724596
tables: fix sorting on user, origin and human_status ( fixes #26844 )
2018-10-01 10:24:15 +02:00
Benjamin Dauvergne
ea28c14655
fix import error with Django 1.11
2018-09-27 17:20:50 +02:00
Benjamin Dauvergne
e5087500e2
tox.ini: prevent errors when running under Django 1.11
2018-09-27 17:20:33 +02:00
Benjamin Dauvergne
36c6319ed8
fix deprecation warnings about patterns
2018-09-27 15:54:55 +02:00
Benjamin Dauvergne
677ecbdeec
prefer partner from the request than from the session
2018-09-27 15:53:38 +02:00
Benjamin Dauvergne
bcd28f4722
api: do not fail on missing title
2018-09-27 15:53:38 +02:00
Benjamin Dauvergne
07e68ef209
add tests ( #26768 )
2018-09-27 15:53:38 +02:00
Benjamin Dauvergne
9781d9e401
prevent empty email on API user creation ( fixes #26768 )
2018-09-27 15:51:13 +02:00
Benjamin Dauvergne
2bf3349fe5
custom_settings: remove cachalot for now
2018-09-27 10:40:32 +02:00
Benjamin Dauvergne
8a07c79209
empêche les POST sur les demandes déjà validées ( #24339 )
2018-08-03 11:17:43 +02:00
Benjamin Dauvergne
a780cba72b
pep8ness ( #24339 )
2018-08-03 11:17:43 +02:00
Benjamin Dauvergne
4aaa1e1b95
change le app-title du template de demande ( #24339 )
2018-08-03 11:17:32 +02:00
Benjamin Dauvergne
7d30353547
désactive le formulaire sur les demandes déjà validées ( #24339 )
2018-08-03 10:54:22 +02:00
Benjamin Dauvergne
8e46d382f1
affiche le statut sur les demandes de validation déjà validées ( #24339 )
2018-08-03 10:53:56 +02:00