Commit Graph

6437 Commits

Author SHA1 Message Date
Frédéric Péters 35de406c1b translation update 2022-11-15 19:49:53 +01:00
Emmanuel Cazenave 41fa87af45 apiclient: make description non mandatory (#69524)
gitea/authentic/pipeline/head Build started... Details
2022-11-14 17:37:59 +01:00
Frédéric Péters b806723bba general: add a new "language" attribute kind (#71033) 2022-11-14 15:38:37 +01:00
Frédéric Péters d885b0f4a8 trivial: update FC translation to match button text (#71075) 2022-11-14 15:09:45 +01:00
Frédéric Péters a461d29823 misc: remove unnecessary parameter in SIRET regex validation (#71032) 2022-11-14 15:09:06 +01:00
Valentin Deniaud f8f19e14b5 django_rbac: remove utils (#70894) 2022-11-14 12:00:15 +01:00
Valentin Deniaud 58dd0ae0be a2_rbac: move managers from django_rbac (#70894) 2022-11-14 12:00:15 +01:00
Valentin Deniaud 14e25ac186 django_rbac: remove unused code (#70894) 2022-11-14 12:00:15 +01:00
Valentin Deniaud ba71c350b4 a2_rbac: move context_processors from django_rbac (#70894) 2022-11-14 12:00:15 +01:00
Valentin Deniaud 8d600641e9 translation update 2022-11-14 10:05:32 +01:00
Valentin Deniaud 588fd61628 auth_fc: send email on registration (#65839) 2022-11-08 17:48:18 +01:00
Frédéric Péters 59644444ef translation update 2022-11-04 13:30:32 +01:00
Benjamin Dauvergne 5c4318d707 misc: use LANCZOS instead of PIL.Image.Antialias (#70634)
PIL.Image.Antialias is deprecated.
2022-11-04 08:07:14 +01:00
Valentin Deniaud 65e5a32250 auth_saml: add name id policy format choices (#70750) 2022-11-03 10:09:38 +01:00
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