Commit Graph

5587 Commits

Author SHA1 Message Date
Valentin Deniaud 413604d06b manager: move user export code (#43153) 2021-04-01 14:28:43 +02:00
Valentin Deniaud 6937f2f3ad misc: add uwsgi spooler (#43153) 2021-04-01 14:28:43 +02:00
Serghei Mihai c79cc3963e auth_fc: remove registration view, create and log in user (#50964) 2021-04-01 12:30:31 +02:00
Serghei Mihai 98c1ffc220 auth_fc: update FC connect button and add hover effect (#52612) 2021-04-01 11:55:17 +02:00
Benjamin Dauvergne 931e5b2a61 update pylint.rc with last version from w.c.s. (#51639) 2021-04-01 09:41:51 +02:00
Frédéric Péters ebc5a91428 misc: fix reference to urllib.parse (#52601) 2021-04-01 09:11:25 +02:00
Frédéric Péters 92a1eeaaad trivial: fix variable name used for invalid group_by_time (#52603) 2021-04-01 08:19:11 +02:00
Benjamin Dauvergne d658eba701 import pylint config from w.c.s. and simplify launch (#51639) 2021-04-01 07:45:17 +02:00
Benjamin Dauvergne 13cd493740 forms: specialize form for password reset by username (#52013) 2021-03-31 19:19:24 +02:00
Benjamin Dauvergne 5baca2ba03 data_transfer: validate Role.slug and Role.uuid fields (#52192) 2021-03-31 19:13:37 +02:00
Nicolas Roche b21d5a56b1 tests: copy/paste users tests to member users api (#50889) 2021-03-30 21:47:31 +02:00
Nicolas Roche ed01a4e8c3 api: add list and retrieve role member(s) api (#50889) 2021-03-30 21:47:31 +02:00
Nicolas Roche 852655fb95 api: upgrade change_role permission to manage_members (#50889) 2021-03-30 21:47:31 +02:00
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