Commit Graph

7003 Commits

Author SHA1 Message Date
Benjamin Dauvergne eceb4b2424 tests: split auth_oidc manager tests (#85934) 2024-02-09 10:46:13 +01:00
Benjamin Dauvergne f13c7ca24e tests: move auth_oidc tests (#85934) 2024-02-09 10:46:13 +01:00
Benjamin Dauvergne 50c0bb7f56 misc: move http utils in authentic2.utils.http (#85934) 2024-02-09 10:46:13 +01:00
Benjamin Dauvergne d50622cb81 idp_cas: fix retrieval of LDAP user attributes (#86089)
gitea/authentic/pipeline/head This commit looks good Details
2024-02-05 10:51:19 +01:00
Frédéric Péters 3ab951f818 translation update
gitea/authentic/pipeline/head This commit looks good Details
2024-02-01 18:19:27 +01:00
Benjamin Dauvergne 9a46b01220 utils: authorize unaryop in expressions (#86266)
gitea/authentic/pipeline/head This commit looks good Details
unary ops are :
- not x
- ~x
- -x
- +x
2024-01-31 11:18:02 +01:00
Benjamin Dauvergne 1e4833cded utils: fix interpolation of error messages in condition_validator (#86266)
condition_validator should not re-raise a new ValidationError, it breaks
interpolation of e.params in e.message.
2024-01-31 11:18:02 +01:00
Paul Marillonnet b41cca7ec5 api/statistics: add inactivity-related events (#85790)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 16:13:10 +01:00
Yann Weber 06ea77c46d manager: do not display empty menu on users page (#85199)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:35:20 +01:00
Yann Weber 37f389d20f idp_oidc: add slug edition field in edit form (#76223)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:30:08 +01:00
Yann Weber 7c4462af0e templates: add true, false, & null aliases to context (#83795)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:20:05 +01:00
Yann Weber 02fccc9a0b manager: add link to role in api_client details (#76473)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:14:09 +01:00
Yann Weber 5879a34b23 manager: add homepage link on service page (#76005)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:08:24 +01:00
Yann Weber d7bfac4ed5 api: remove deprecated statistics from API listing (#86177)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 15:00:47 +01:00
Benjamin Dauvergne 3bcba166f5 translation update
gitea/authentic/pipeline/head This commit looks good Details
2024-01-30 09:42:52 +01:00
Benjamin Dauvergne 6cd42b17cd auth_saml: do not load disabled authenticators (#86075)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-29 11:39:29 +01:00
Benjamin Dauvergne 5bb21a7b63 auth_oidc: do not use logging inside a failed transaction (#84540)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-29 10:22:54 +01:00
Frédéric Péters c582103077 saml: get uploaded metadata file content as a string (#86217)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-27 09:38:58 +01:00
Benjamin Dauvergne 670481b026 misc: make opened session cookie http only and secure (#76809)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-18 17:27:54 +01:00
Benjamin Dauvergne ddec7aac6b translation update
gitea/authentic/pipeline/head This commit looks good Details
2024-01-16 21:46:54 +01:00
Benjamin Dauvergne e6feec4601 misc: improve error handling when reading/writing roles summary cache (#84096)
gitea/authentic/pipeline/head This commit looks good Details
* use atomicwriter to replace existing cache
* in case of failure to read or write the new cache, log the error and
  report the problem in the web interface.
2024-01-16 14:59:13 +01:00
Paul Marillonnet 95cc8b8735 translation update (#75255)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-16 13:55:53 +01:00
Paul Marillonnet 119ae53ce3 user_details: use model's effective alert date when relevant (#75255)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-16 13:45:39 +01:00
Benjamin Dauvergne 9bd5853ef1 misc: do not use the ORM in Command.__init__ (#85699)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 18:10:50 +01:00
Benjamin Dauvergne 9bdae8c033 misc: replace PASSWORD_RESET_TIMEOUT_DAYS by PASSWORD_RESET_TIMEOUT (#81386)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 17:52:28 +01:00
Paul Marillonnet 27cb40221d tests/change_phone: deprecate httmock (#85304)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 17:28:12 +01:00
Paul Marillonnet 2e452992c4 tests/commands: deprecate httmock (#85304) 2024-01-15 17:28:12 +01:00
Paul Marillonnet 20c1bc913b tests/registration: deprecate httmock (#85304) 2024-01-15 17:28:12 +01:00
Paul Marillonnet 047e6f5d3c tests/password_reset: deprecate httmock (#85304) 2024-01-15 17:28:12 +01:00
Paul Marillonnet 37c5ffb013 tests/views: deprecate httmock (#85304) 2024-01-15 17:28:12 +01:00
Paul Marillonnet fc5ec7d69e tests/admin: deprecate httmock (#85304) 2024-01-15 17:28:12 +01:00
Benjamin Dauvergne de516806ed translation update
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 15:46:44 +01:00
Benjamin Dauvergne 798712ff88 tox.ini: simplify coverage configuration (#1)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 15:01:50 +01:00
Benjamin Dauvergne 3a24725d94 auth_oidc: suppress error log on non error condition (#85669)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 14:20:39 +01:00
Benjamin Dauvergne 594ada0267 api: add routes to get roles by slug (#52226)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 14:18:21 +01:00
Benjamin Dauvergne a89afc124f api: add routes to get OUs by slug (#52226) 2024-01-15 14:18:21 +01:00
Benjamin Dauvergne 7819b8ffe3 user: add helper to add role to user (#52226)
Mainly for tests.
2024-01-15 14:18:21 +01:00
Benjamin Dauvergne aa8cf9970f tests: move create_user in tests.utils (#52226)
To share it with other test modules.
2024-01-15 14:18:21 +01:00
Benjamin Dauvergne b3a791ef8f misc: add converters (#52226)
To simplify url patterns.
2024-01-15 14:18:21 +01:00
Benjamin Dauvergne 6cb3259683 auth_fc: add mapping from gender to title (#84093)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 13:38:36 +01:00
Benjamin Dauvergne c0cd751081 tox.ini: include tests in coverage reports (#85643)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 12:04:54 +01:00
Benjamin Dauvergne aa554eccea idp_oidc: use sesssion accessor in Token.is_valid() (#85643) 2024-01-15 12:04:54 +01:00
Benjamin Dauvergne 62a9500192 idp_oidc: use code's session in token endpoint (#85643) 2024-01-15 12:04:54 +01:00
Benjamin Dauvergne fccc8b59a1 tests/idp_oidc: use new app for calls to the token endpoint (#85643) 2024-01-15 12:04:43 +01:00
Benjamin Dauvergne 28afd8c425 tox.ini: use pytest-cov test context (#84017)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:49:45 +01:00
Benjamin Dauvergne 1d92a060a1 idp_oidc: build the sid using the client_id instead of the sector identifier (#84017) 2024-01-15 09:49:45 +01:00
Paul Marillonnet 3f038a7519 api/tests: test get_or_create & force_password_reset jointly (#85363)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:42:25 +01:00
Paul Marillonnet 223f14e5a0 translation update (#85235)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:36:03 +01:00
Paul Marillonnet 836769345d management: send sms alert to email-less inactive users (#85235)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:22:33 +01:00
Paul Marillonnet ad8452b101 translation update (#85276)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:15:44 +01:00