Commit Graph

5624 Commits

Author SHA1 Message Date
Benjamin Dauvergne 9be334320d api_views: handle both kind of TimeError (#52444) 2021-03-30 18:41:46 +02:00
Valentin Deniaud ead8655275 readme: fix isort parameters 2021-03-30 16:40:47 +02:00
Valentin Deniaud 4751846fed misc: remove six module usage (#52503) 2021-03-30 15:06:49 +02:00
Valentin Deniaud 8b506d4281 misc: remove some unused imports (#52457) 2021-03-30 14:00:27 +02:00
Valentin Deniaud 6c4aad3ab5 misc: remove some python2 compatibility code (#52457) 2021-03-30 14:00:27 +02:00
Valentin Deniaud 41e2c8eee3 add isort configuration (#52457) 2021-03-30 14:00:26 +02:00
Valentin Deniaud 86d946adcd misc: apply isort (#52457) 2021-03-30 13:59:53 +02:00
Valentin Deniaud 3dc618a571 add black configuration (#52457) 2021-03-30 11:54:28 +02:00
Valentin Deniaud 4bb33d3d3c misc: apply black (#52457) 2021-03-30 11:32:55 +02:00
Valentin Deniaud 57ded4fd8f authenticators: attach login failure record to user (#51626) 2021-03-29 14:12:44 +02:00
Valentin Deniaud f962bd1870 manager: include ou in roles csv export (#45809) 2021-03-29 14:10:42 +02:00
Valentin Deniaud 5130aab946 manager: fix site_json field label (#52200) 2021-03-29 14:10:04 +02:00
Valentin Deniaud 0676783c13 templates: add select2 field translations (#47855) 2021-03-29 14:09:31 +02:00
Paul Marillonnet ff8c2a1e1f misc: empty redundant migration authentic2.0033 (#47699) 2021-03-26 16:15:02 +01:00
Benjamin Dauvergne 14883ae89c misc: do not silence failures of migration authentic2.0028 (#47699) 2021-03-26 16:15:02 +01:00
Serghei Mihai 762cba9a2d ldap: add method and command to deactivate orphaned users (#6379) 2021-03-26 10:05:26 +01:00
Serghei Mihai 1c3bac6c87 ldap: add DN to normalized results 2021-03-26 10:05:26 +01:00
Frédéric Péters 3e71128a9a translation update 2021-03-18 22:54:15 +01:00
Paul Marillonnet abd83be722 misc: fix documentation string ref in journal search engine 2021-03-18 15:13:13 +01:00
Valentin Deniaud e15dd60dba manager: instuct opening user switch link in private window (#45513) 2021-03-15 09:59:25 +01:00
Valentin Deniaud 62b7fb4d60 data_transfer: allow missing role slug (#51463) 2021-03-15 09:58:23 +01:00
Valentin Deniaud 961af9538e utils: add setting to choose email sending format (#50745) 2021-03-15 09:57:46 +01:00
Valentin Deniaud d0b6b64bf1 templates: improve color contrast in csv import report (#50162) 2021-03-15 09:56:29 +01:00
Valentin Deniaud 0f4439afe1 csv_import: allow settings password hash (#50156) 2021-03-15 09:54:32 +01:00
Valentin Deniaud 7aa260def8 manager: allow execute from simulation in csv import (#50159) 2021-03-15 09:53:55 +01:00
Benjamin Dauvergne 534df33bbd manager: record then execute user deletion (#51671) 2021-03-05 15:53:14 +01:00
Frédéric Péters 898105f7ed translation update 2021-03-04 21:29:42 +01:00
Frédéric Péters 902c862c6f trivial: fix typo in error message 2021-03-04 21:28:59 +01:00
Valentin Deniaud 4484b7cea8 tests: fix faulty email validator test (#51624) 2021-03-04 14:58:39 +01:00
Loïc Dachary 2048d0d004 ldap: redirect /password/change if it is about to expire (#51268)
Fixes: #51268

License: MIT
2021-03-04 12:12:15 +01:00
Loïc Dachary 409305831c ldap: fix misleading variable /timeBeforeExpiration/expiration_date/ (#51274)
The timeBeforeExpiration obtained from ppolicy is the number of
seconds left until the password expires. Before it is inserted in the
error message it is translated into a date because it is easier to
internationalize. The variable name should be changed to reflect this
modification otherwise it will be misleading to translators.

Fixes: #51274

License: MIT
2021-03-04 11:22:20 +01:00
Valentin Deniaud 2c6c03a9c8 misc: send password reset email even if disabled account (#20830) 2021-03-04 10:57:10 +01:00
Valentin Deniaud 1ae7ac6df7 misc: send password reset email even if no account (#47469) 2021-03-04 10:56:48 +01:00
Frédéric Péters 1192ec0901 translation update 2021-03-04 09:00:25 +01:00
Benjamin Dauvergne 5a534ec62a tests: simplify idp_oidc tests 2021-03-03 19:26:13 +01:00
Valentin Deniaud e2fa4ca689 journal: empty references qs should return no statistics (#49670) 2021-03-03 09:28:17 +01:00
Valentin Deniaud 2d803b4a91 api_views: only show filtering by OUs if relevant (#49670) 2021-03-03 09:28:17 +01:00
Valentin Deniaud dd3ed19adf statistics: allow filtering by users OU (#49670) 2021-03-03 09:28:17 +01:00
Valentin Deniaud c27792ecbe api_views: factorize code for stat decorator (#49670) 2021-03-03 09:28:17 +01:00
Valentin Deniaud 2f42606265 app_settings: enable login rate limiting by default (#50771) 2021-03-02 15:19:27 +01:00
Benjamin Dauvergne 8a543226bf custom_user: remove User's deleted field (#51452) 2021-03-01 18:17:22 +01:00
Benjamin Dauvergne 8e0f6d3cb7 misc: delete users synchronously (#51452) 2021-03-01 16:30:39 +01:00
Nicolas Roche 2bdd088d43 manager: add a column to display role is synced from ldap (#51120) 2021-03-01 10:27:55 +01:00
Valentin Deniaud 0225be797c saml: add missing **kwargs to method (#50747) 2021-03-01 09:52:37 +01:00
Valentin Deniaud 2089b889da utils: mention expression on condition validation error (#50016) 2021-03-01 09:51:54 +01:00
Valentin Deniaud 9a4ab69f22 ldap: differentiate errors during bind (#51353) 2021-03-01 09:51:20 +01:00
Valentin Deniaud 8df0d97988 custom_user: forbid special characters in names (#51194) 2021-03-01 09:49:33 +01:00
Valentin Deniaud 926aad5f72 manager: show missing role recap in csv import (#50166) 2021-03-01 09:48:15 +01:00
Valentin Deniaud e895bb0142 csv_import: add auto key column detection (#50157) 2021-03-01 09:46:58 +01:00
Valentin Deniaud 229582db81 csv_import: ignore empty role values (#50158) 2021-03-01 09:44:49 +01:00