Commit Graph

4944 Commits

Author SHA1 Message Date
Benjamin Dauvergne a11402ce4c idp_saml: fix missing cast to list (#41879) 2020-04-23 11:29:01 +02:00
Benjamin Dauvergne 87b0eae371 tests: add tests on SAML add_attributes (#41879)
autouse=True is removed from the `idp' fixture to prevent DB
initialization for add_attributes tests.
2020-04-23 11:29:01 +02:00
Benjamin Dauvergne ca62cf2ae6 tox.ini: use develop 2020-04-21 14:31:55 +02:00
Benjamin Dauvergne 70c6320ed9 ldap: decode decrypted password (#41875)
Crypto functions work with bytes.
2020-04-20 15:06:55 +02:00
Benjamin Dauvergne a89c9a1c41 remove UTF-8 encoding of LDAP session's data (#41875)
It became useless since bc689228/#30577.
2020-04-20 11:19:03 +02:00
Paul Marillonnet 0d42dd46d6 tests: add cache clearance autouse fixture (#41813) 2020-04-17 18:03:52 +02:00
Frédéric Péters 8b8470bab0 fc: indent insee communes json file on multiple lines (#41839) 2020-04-17 17:08:05 +02:00
Frédéric Péters 382fef02d2 translation update 2020-04-17 14:47:49 +02:00
Benjamin Dauvergne 795a2ff886 translation update 2020-04-17 14:23:27 +02:00
Benjamin Dauvergne acfe661ec6 Revert "python3: adapt debian packaging (#40372)"
This reverts commit 4e3c28e08e.
2020-04-17 14:09:47 +02:00
Benjamin Dauvergne 1b6a8561ee misc: clean dead imports (#41342) 2020-04-17 10:42:42 +02:00
Benjamin Dauvergne 673557b301 misc: move lazy_label in a2.utils.lazy (#41342) 2020-04-17 10:42:42 +02:00
Benjamin Dauvergne 30439cada0 tests: remove unused variable (#41342) 2020-04-17 10:42:42 +02:00
Benjamin Dauvergne 52ab85eb5b data_transfer: validate models before updating/creating them (#41342)
To prevent collision between roles when altering their name and their
slug is already unique. Ex.:

   R1(slug=a, name=A) -import-> R1(slug=a, name=B)
   R2(slug=b, name=B)
2020-04-17 10:42:42 +02:00
Benjamin Dauvergne 8f5aadf89f data_transfer: use ValidationError instead of DataImportError (#41342) 2020-04-17 10:42:42 +02:00
Benjamin Dauvergne 7b8ed45180 utils: add a lazy_join function (#41342)
Use it to join translated strings.
2020-04-17 10:42:42 +02:00
Frédéric Péters 1da7f19205 translation update 2020-04-17 09:33:00 +02:00
Frédéric Péters 8d5e7fe5e8 templates: remove empty action attributes (#41753) 2020-04-16 17:42:41 +02:00
Benjamin Dauvergne c3903a28c2 auth_fc: add created and modified on FcAccount (#41777) 2020-04-16 16:06:49 +02:00
Benjamin Dauvergne 97830615dd tox.ini: add "manage" environment 2020-04-16 14:40:53 +02:00
Paul Marillonnet ac89d290ce drop deprecated python-raven sentry client config (#40372) 2020-04-16 12:24:46 +02:00
Benjamin Dauvergne 4e3c28e08e python3: adapt debian packaging (#40372) 2020-04-16 12:24:46 +02:00
Valentin Deniaud 1c07272ed6 csv_import: document @registration email option (#41292) 2020-04-15 11:49:13 +02:00
Serghei Mihai 7c9b70f477 templates: fix login's page block name typo (#41729) 2020-04-15 10:06:19 +02:00
Frédéric Péters 441ffd2570 manager: make select2 fields use direct widget references (#41017)
Instead of relying on cache.
2020-04-11 20:31:18 +02:00
Paul Marillonnet fd0401b426 auth_oidc: add ecdsa support (#41346) 2020-04-10 14:55:30 +02:00
Paul Marillonnet ef6897e3b9 auth_oidc: no need to extract key from keyset (#41346) 2020-04-10 14:55:30 +02:00
Paul Marillonnet ab59ef1312 idp_oidc: add ecdsa support (#26253) 2020-04-10 14:51:19 +02:00
Benjamin Dauvergne 644698899f misc: accept / in phone numbers (#41082) 2020-04-10 11:42:07 +02:00
Frédéric Péters 7e15de6a9c templates: add extension blocks to registration completion form (#41338) 2020-04-10 08:14:51 +02:00
Frédéric Péters 3fd70bd325 templates: add class to registration completion form (#40158) 2020-04-10 08:14:51 +02:00
Frédéric Péters 62d15a8338 misc: use HTML5 type=tel for phone number input fields (#41333) 2020-04-10 08:14:51 +02:00
Frédéric Péters ac0b5012d4 templates/a11y: put login action links in a list (#41138) 2020-04-09 16:31:01 +02:00
Valentin Deniaud c7d51dc63b translation typo fix 2020-04-07 13:51:16 +02:00
Valentin Deniaud a0d16d7270 translation update 2020-04-03 17:19:20 +02:00
Valentin Deniaud 2f3320b401 templates: fixes in unused account emails (#41281) 2020-04-03 17:17:36 +02:00
Benjamin Dauvergne 7ab92c578f misc: do no clear last_account_deletion_start on login (#41284) 2020-04-03 12:28:09 +02:00
Benjamin Dauvergne 426891a7a0 misc: simplify logging in clean-unused-accounts (#41284) 2020-04-03 12:28:05 +02:00
Benjamin Dauvergne f2f80d5f30 misc: style, PEP8 (#41284) 2020-04-03 12:15:45 +02:00
Benjamin Dauvergne a8bd2006cf debian: remove dead pydist-overrides (#41221) 2020-04-02 18:09:17 +02:00
Benjamin Dauvergne d67fea85a9 misc: remove dead files (#41221) 2020-04-02 18:09:17 +02:00
Benjamin Dauvergne cd175c837f misc: use django-import-export >=1,<2 (#41273) 2020-04-02 17:03:04 +02:00
Paul Marillonnet 2b46edf4c5 auth_oidc: render templated claim values during authn (#37871) 2020-04-02 16:33:57 +02:00
Paul Marillonnet 556f3e169e auth_oidc: add id token 'as_dict' method (#37871) 2020-04-02 16:33:57 +02:00
Paul Marillonnet 7991c4869e auth_oidc: select from existing attributes in admin provider page (#37871) 2020-04-02 16:33:57 +02:00
Paul Marillonnet c4636a41ce auth_oidc: use custom widget in claim mapping admin form (#37871) 2020-04-02 16:33:57 +02:00
Paul Marillonnet dccf9a571f auth_oidc: extend mapping claim max length (#37871) 2020-04-02 16:33:57 +02:00
Valentin Deniaud 82b1376b92 commands: send html unused account alert with link (#40522) 2020-04-02 16:18:19 +02:00
Valentin Deniaud edab053f92 commands: human duration in unused account email (#40521) 2020-04-02 16:17:51 +02:00
Valentin Deniaud 047b27b189 templates: better account deletion request message (#39980) 2020-04-02 14:57:06 +02:00