Commit Graph

5587 Commits

Author SHA1 Message Date
Valentin Deniaud 0c342c8cf0 translation update 2021-04-28 12:13:12 +02:00
Valentin Deniaud a4c3fff8b9 add missing format strings for translation 2021-04-28 11:37:37 +02:00
Benjamin Dauvergne 7f8353561d auth_fc: handle case of multiple FranceConnect accounts with same email (#53409) 2021-04-27 21:24:27 +02:00
Benjamin Dauvergne 86219adc82 auth_fc: fix typo in views.py (#53409) 2021-04-27 21:24:27 +02:00
Valentin Deniaud 95d8f644be views: add registration method to registration email context (#21914) 2021-04-27 16:29:14 +02:00
Valentin Deniaud 5172ff70ee journal: show default cursor on row hover (#47892) 2021-04-27 16:28:14 +02:00
Valentin Deniaud 7eee08d081 csv_import: do not send creation email when simulating (#53453) 2021-04-27 14:44:11 +02:00
Benjamin Dauvergne c51adcfee8 clean-unused-accounts: use get_user_queryset() (#53446) 2021-04-27 14:26:26 +02:00
Benjamin Dauvergne 8915d6fc96 auth_oidc: add STRATEGY_FIND_USERNAME to match sub with username (#53445) 2021-04-27 06:54:35 +02:00
Benjamin Dauvergne c7418ad4eb tests: relax assertions in safe_get_or_create test 2021-04-27 06:54:09 +02:00
Valentin Deniaud f0d6958b93 manager: display role UUID (#52225) 2021-04-26 10:13:34 +02:00
Valentin Deniaud fd74358a9e manager: include oidc and saml federation info in user details (#28210) 2021-04-26 10:12:55 +02:00
Valentin Deniaud 30ee547427 manager: display progress while importing users (#50163) 2021-04-21 12:28:21 +02:00
Serghei Mihai 5ca05f327e auth_fc: restore button on registration page (#53241) 2021-04-19 11:19:22 +02:00
Benjamin Dauvergne 87677f6d7e auth_fc: completely move account creation into the view (#52929)
- removed unused popup mode
- removed unused cache customization
- removed unused app_settings
- removed obsolete FranceConnect data provider support
- added tests cases to augment coverage on error cases
- removed storage of fc_user_info in session
- removed old attribute mapping
- only save id_token in session on login
2021-04-19 10:28:50 +02:00
Benjamin Dauvergne a208a481cf auth_fc: ensure token and user_info are never empty (#52929) 2021-04-19 10:28:50 +02:00
Benjamin Dauvergne 035c603f3d auth_fc: separate link from login use case (#52929) 2021-04-19 10:28:50 +02:00
Benjamin Dauvergne 5aff1a38be utils: pass given service to journal in login (#52929) 2021-04-19 10:28:50 +02:00
Benjamin Dauvergne 316248cf96 compat: add a set_cookie function (#52929) 2021-04-17 18:34:02 +02:00
Benjamin Dauvergne c514c67927 utils: add a safe_get_or_create() primitive (#52929) 2021-04-17 18:34:02 +02:00
Benjamin Dauvergne 03a874be58 crypto: add utility for create hash chains (#52929) 2021-04-16 19:51:16 +02:00
Benjamin Dauvergne afc6ecd8eb crypto: remove py2 compatibility code (#52929) 2021-04-16 03:17:09 +02:00
Benjamin Dauvergne cf9c0b2cc0 auth_oidc: report token endpoint errors to user and in logs (#47656) 2021-04-15 21:31:28 +02:00
Valentin Deniaud e7803635b9 auth_saml: handle underscores in idp slug (#52981) 2021-04-15 14:31:00 +02:00
Benjamin Dauvergne b429cfd794 forms: add honeypot field to password reset form (#52883) 2021-04-15 12:21:13 +02:00
Valentin Deniaud 7248bea3fe management: add command to cleanup old export files (#52626) 2021-04-15 11:18:33 +02:00
Serghei Mihai 49cee43b23 auth_fc: restore button accessibility (#52805) 2021-04-12 15:35:02 +02:00
Valentin Deniaud 40e5bc9f0d manager: add permissions based access to global journal (#52765) 2021-04-12 14:50:05 +02:00
Benjamin Dauvergne cfb8a0619f tests: detect use of --nomigrations through pytestconfig
Module pytest_django.migrations was removed in pytest_django 4.2.0.
2021-04-11 16:25:37 +02:00
Benjamin Renard d8ce463306 ldap: filter users by source in deactivate_orphaned_users (#52917) 2021-04-09 17:24:21 +02:00
Benjamin Dauvergne 40eeaa9581 clean-unused-accounts: run every hour, but limit the number of notifications sent (#52644) 2021-04-09 15:18:34 +02:00
Benjamin Dauvergne c70f205987 views: use LDAPBackendPasswordLost to switch to LDAP account (#43585) 2021-04-09 14:47:18 +02:00
Benjamin Dauvergne aa0e769602 auth_fc: save forced mapping of first_name and last_name (#52855) 2021-04-08 12:05:23 +02:00
Benjamin Dauvergne 12fc2bca25 auth_fc: save unusable password of new users (#52855) 2021-04-08 12:05:23 +02:00
Serghei Mihai 20e610da0e auth_fc: check required attributes values (#52818) 2021-04-07 14:06:33 +02:00
Serghei Mihai b39a13e601 auth_fc: make button resizable (#52766) 2021-04-06 13:33:16 +02:00
Serghei Mihai 6a77c0d05e auth_fc: restore button size (#52754) 2021-04-06 13:18:37 +02:00
Frédéric Péters 296fc94f7c debian: add spooler parameter to multitenant init script (#52756) 2021-04-06 12:29:10 +02:00
Serghei Mihai ffdf8a8789 auth_fc: update bouton on linking page (#52755) 2021-04-06 12:24:32 +02:00
Serghei Mihai 8123cc01d0 auth_fc: handle button hover effect in css (#52759) 2021-04-06 12:13:16 +02:00
Frédéric Péters 566fa8cf31 debian: add required spooler creation to multitenant package (#52686) 2021-04-02 18:09:13 +02:00
Frédéric Péters 02e409cc2d translation update 2021-04-02 17:03:01 +02:00
Benjamin Dauvergne a9b667fd89 fix code-style 2021-04-02 11:30:08 +02:00
Benjamin Dauvergne 4af9b0126f debian: add --spooler option to uwsgi (#52655) 2021-04-02 10:42:30 +02:00
Benjamin Dauvergne 0a880ddde4 utils: set LDAP auth backend when resetting password of an LDAP account (#52638) 2021-04-02 10:06:43 +02:00
Frédéric Péters 269a3ba9cf debian: add missing python3-uwsgidecorators dependency (#52645) 2021-04-02 08:22:37 +02:00
Valentin Deniaud 91a190cda7 manager: easier journal filtering by event types (#50054) 2021-04-01 17:23:19 +02:00
Benjamin Dauvergne f361cfdd16 settings: remove ATOMIC_REQUESTS=True (#52627) 2021-04-01 15:31:17 +02:00
Valentin Deniaud 36fd7c6545 manager: import roles using CSV (#24921) 2021-04-01 14:33:18 +02:00
Valentin Deniaud b3bc13d26c manager: export users asynchronously (#43153) 2021-04-01 14:28:43 +02:00