Commit Graph

5575 Commits

Author SHA1 Message Date
Benjamin Dauvergne cf9121a042 auth_fc: fix typo in views.py (#53409)
gitea/authentic/pipeline/head Build started... Details
2021-05-03 14:46:33 +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
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