Paul Marillonnet
9670f4d857
tests: pass a valid get_response upon middleware initialization ( #70861 )
2022-11-02 10:59:38 +01:00
Valentin Deniaud
0474974f8c
translation update
2022-10-31 18:57:21 +01:00
Valentin Deniaud
89cb39d808
add forgotten period in translation
2022-10-31 18:29:47 +01:00
Valentin Deniaud
4599cbc739
auth_saml: remove metadata file path field ( #70491 )
2022-10-31 10:21:01 +01:00
Valentin Deniaud
9cd4b44d5e
authenticators: add manager role ( #66984 )
2022-10-31 10:19:33 +01:00
Valentin Deniaud
f932904e8a
auth_saml: improve lookup by attributes description ( #70700 )
2022-10-31 10:17:19 +01:00
Valentin Deniaud
1144f915b6
auth_saml: display xml metadata in separate view ( #70492 )
2022-10-31 10:15:19 +01:00
Valentin Deniaud
b4c684b685
auth_saml: validate xml metadata ( #70492 )
2022-10-31 10:15:19 +01:00
Valentin Deniaud
c76884ba6f
auth_oidc: remove admin views ( #68429 )
2022-10-31 10:14:45 +01:00
Benjamin Dauvergne
6f9ebfd827
misc: do not instantatiate StoreRequestMiddleware without an argument ( #70631 )
...
If fixes this warning :
src/authentic2/utils/misc.py:699: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.
request = middleware.StoreRequestMiddleware().get_request()
2022-10-28 10:35:04 +02:00
Benjamin Dauvergne
427021b5b2
misc: do not use dns.resolver.query on later versions of dnspython ( #70632 )
2022-10-28 10:34:16 +02:00
Paul Marillonnet
6eea42ff67
auth_oidc: do not attempt to generate one's own client credentials ( #70749 )
...
these credentials must be issued to authentic by the OIDC provider,
see for instance https://datatracker.ietf.org/doc/html/rfc6749#section-2.2
2022-10-28 08:55:00 +02:00
Frédéric Péters
d87e9bb16c
debian: make migrate_schemas verbose ( #70799 )
2022-10-28 08:02:41 +02:00
Frédéric Péters
97c4ed3618
misc: fix spelling of OpenID Connect ( #70747 )
2022-10-28 08:02:41 +02:00
Frédéric Péters
4065abcdd2
ci: update pyupgrade to 3.1.0 ( #70693 )
2022-10-28 08:02:41 +02:00
Paul Marillonnet
3343aaae97
idp_oidc: discard ambiguous profile validation context variable ( #70553 )
...
This variable did not help determining whether the profiles weren't
shown because (a) the user does not own any or (b) the oidc client
deactivates this feature.
2022-10-21 11:25:09 +02:00
Valentin Deniaud
109f86b49a
translation update
2022-10-20 17:50:59 +02:00
Paul Marillonnet
883ca80940
attribute_kinds: remove dead 'free_text_search' entry ( #70341 )
2022-10-20 10:23:25 +02:00
Benjamin Renard
891599f1b7
Fix error 500 on CAS logout page if no HTTP Referer is provided ( #43221 )
...
License: MIT
2022-10-20 10:22:06 +02:00
Paul Marillonnet
ca068d35a5
fields: add a PhoneField ( #70486 )
2022-10-19 17:38:33 +02:00
Paul Marillonnet
a776b11c3b
widgets: add a PhoneWidget ( #70486 )
2022-10-19 16:57:40 +02:00
Paul Marillonnet
a32c0d7b52
settings: add supported phone country codes ( #70486 )
2022-10-19 16:57:40 +02:00
Paul Marillonnet
4f61ce1f66
setup: add phonenumbers dependency ( #70486 )
2022-10-19 16:16:06 +02:00
Paul Marillonnet
d3e64bd82e
custom_user: perform implicit writes on redundant phone fields ( #65173 )
2022-10-19 15:50:11 +02:00
Paul Marillonnet
34215788c5
custom_user: add phone and phone verification fields ( #65173 )
2022-10-19 15:50:11 +02:00
Valentin Deniaud
cb9df4fbb2
a2_rbac: migrate existing operations to new model ( #69902 )
2022-10-19 14:53:34 +02:00
Valentin Deniaud
3dab8ff21a
a2_rbac: move signal handlers from django_rbac ( #69902 )
2022-10-19 14:53:34 +02:00
Benjamin Dauvergne
079853b04b
translation update
2022-10-19 13:09:02 +02:00
Benjamin Dauvergne
008acea8b8
tests: add auth_saml logout test ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
3fb3193755
auth_saml: after logout response return to the logout view ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
3af47026a1
auth_saml: use token url for logout ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
307a061a80
misc: use hooks to accumulate redirect logout urls ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
7005127a5b
views: refactor the logout view ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
adc13b92e2
misc: split auth_saml tests ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
342b855d7f
misc: move auth_saml test in directory ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
8f3ca8e41d
misc: move hooks module in utils package ( #69720 )
2022-10-19 13:05:24 +02:00
Benjamin Dauvergne
e520e186a3
tests: target the password form in login() ( #69720 )
...
When testing multiple authentication backends, the current code for
login() cannot find the login/password form.
2022-10-19 13:05:24 +02:00
Valentin Deniaud
ebe0380d25
auth_oidc: allow multiple oidc providers with empty issuers ( #68656 )
2022-10-19 11:58:14 +02:00
Benjamin Dauvergne
282f5f2a79
misc: remove deprecated providing_args argument of Signal ( #69992 )
2022-10-19 11:03:29 +02:00
Benjamin Dauvergne
20ded95630
misc: remove dead code for avoid_consent signal ( #69992 )
2022-10-19 11:03:29 +02:00
Benjamin Dauvergne
ce964830ef
misc: remove dead code for authorize_service signal ( #69992 )
2022-10-19 11:03:29 +02:00
Benjamin Dauvergne
351c2b50c2
idp_oidc: authorize claim settings with the authentic2.admin_service permission ( #70412 )
...
Permission is checked on the OIDCClient model.
2022-10-19 10:22:02 +02:00
Benjamin Dauvergne
d3c35e43ea
tests: use admin user for idp_oidc manager's tests ( #70412 )
2022-10-19 10:21:59 +02:00
Benjamin Dauvergne
3035fed85e
tests: move idp_oidc manager tests in idp_oidc directory ( #70412 )
2022-10-19 10:21:43 +02:00
Benjamin Dauvergne
8b9b1a6086
manager: augment PermissionMixin to check permission on a parent of the target object ( #70412 )
...
Configuration objects can have child objects on which authorization should
be computed from the permission of the parent object, ex.: claim mapping
of an oidc provider.
2022-10-19 10:21:34 +02:00
Benjamin Dauvergne
cecec5b79d
misc: replace use of HttpRequest.is_ajax() ( #70432 )
...
is_ajax() is deprecated since Django 3.1 and will be removed in Django
4.0.
2022-10-19 10:04:53 +02:00
Paul Marillonnet
b34c2e3cac
manager: restore button appearance of sidebar entries ( #70427 )
2022-10-18 15:36:05 +02:00
Benjamin Dauvergne
5b6216f18f
misc: make getlasso3.sh non verbose
2022-10-18 15:13:13 +02:00
Frédéric Péters
f0ef849890
translation update
2022-10-18 14:33:51 +02:00
Frédéric Péters
c3f94e8823
translation fix (duplicated strings)
2022-10-18 14:29:36 +02:00