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
Paul Marillonnet
5b62273fd1
manager: prevent phone id duplicates at user edition time ( #85276 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-15 09:09:17 +01:00
Paul Marillonnet
5a969bf584
translation update ( #83841 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-15 09:04:53 +01:00
Paul Marillonnet
5468f61029
auth_oidc: disable local webkey json edition when fetched remotely ( #83841 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-15 08:47:22 +01:00
Paul Marillonnet
57dd6b1a08
auth_oidc/management: add remote jwksets refresh command ( #83841 )
2024-01-15 08:47:22 +01:00
Paul Marillonnet
51820dcdbd
auth_oidc: let providers declare their webkeys through public url ( #83841 )
2024-01-15 08:47:22 +01:00
Paul Marillonnet
7736fe52e2
translation update ( #82737 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-15 08:46:50 +01:00
Paul Marillonnet
b9da1b5764
handle phone-uniqueness settings at registration time ( #82737 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-15 08:29:26 +01:00
Paul Marillonnet
fe87d258cc
templates: adapt account selection form to phone authn ( #82737 )
2024-01-15 08:29:26 +01:00
Paul Marillonnet
6e21057c3c
test phone-registration with existing accounts scenarios ( #82737 )
2024-01-15 08:29:26 +01:00
Benjamin Dauvergne
24216c643d
ldap: set LDAP url on raised LDAPError for the technical information view ( #83425 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-13 15:19:25 +01:00
Serghei Mihai
0ca0236784
manager: fix slug computing on role creation ( #82389 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-12 15:27:36 +01:00
Thomas Jund
c224436695
css: improve layout of role summary page ( #82541 )
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-12 09:47:12 +01:00
Thomas NOËL
c7b9921dd4
update translations
gitea/authentic/pipeline/head This commit looks good
Details
2024-01-05 11:24:33 +01:00
Serghei Mihai
f9dfd44b1c
auth_oidc: fix warning message formatting on id token error ( #85119 )
gitea/authentic/pipeline/head This commit looks good
Details
2023-12-28 16:08:13 +01:00
Thomas NOËL
8bbf98b00d
update translations
gitea/authentic/pipeline/head This commit looks good
Details
2023-12-23 18:54:45 +01:00
Thomas NOËL
1b80ebec70
authenticators: fix condition and show_condition help text ( #83730 )
2023-12-23 18:53:38 +01:00
Benjamin Dauvergne
f1ec75622b
idp_cas: does not revalidate the session key ( #10688 )
...
gitea/authentic/pipeline/head This commit looks good
Details
Validation of the session_key is already done in Ticket.valid(), but we
can move the test of the current session user in
Ticket.session_exists().
2023-12-21 13:48:25 +01:00
Benjamin Dauvergne
4cf0ecab81
tests: decrease concurrency to 20 ( #84960 )
gitea/authentic/pipeline/head This commit looks good
Details
2023-12-21 01:11:15 +01:00
Benjamin Dauvergne
f45440e035
manager: fix ordering in user's roles table ( #16474 )
...
gitea/authentic/pipeline/head This commit looks good
Details
A list was used instead of a queryset to allow django-tables2 to order
the table by the boolean value of the prefetched member attribute,
django-tables2 could not do it if the list was a queryset.
The side effect is that the sorting was done by Python instead of
PostgreSQL but Python does not respect unicode collation when doing so.
Member is now replaced by a subquery using the pair Exists/OuterRef and
sorting is now done by PostgreSQL directly.
2023-12-20 17:15:53 +01:00
Paul Marillonnet
62b26501a4
translation update ( #81969 )
gitea/authentic/pipeline/head This commit looks good
Details
2023-12-20 11:36:24 +01:00