Commit Graph

5944 Commits

Author SHA1 Message Date
Paul Marillonnet 850478d442 [wip: pre-#57500, rebased]
gitea/authentic/pipeline/head Build started... Details
todo: models.Meta.unique_together
2022-02-17 10:51:30 +01:00
Frédéric Péters f63cafb4b6 misc: only autofocus username field if login block is first (#61881) 2022-02-16 21:19:58 +01:00
Paul Marillonnet c557ec4db8 a2_rbac: provide default values for unused account thresholds (#60463) 2022-02-16 10:52:11 +01:00
Paul Marillonnet 173e63900d idp_oidc: fail on missing id during client authn (#61721) 2022-02-13 13:53:28 +01:00
Frédéric Péters ed2a659b94 debian: update dependency to specify django >= 2.2 (#61586) 2022-02-09 12:13:41 +01:00
Frédéric Péters b8c499d892 ldap: add uniform reporting of exceptions (#61462) 2022-02-06 10:56:33 +01:00
Frédéric Péters ced3e83112 misc: do not search for home URLs on requests to non-existant tenants (#61459) 2022-02-06 10:56:33 +01:00
Frédéric Péters 2b4062a90a translation update 2022-02-05 10:30:22 +01:00
Benjamin Dauvergne 051d27b068 misc: maintain home url, service and ou (#61199)
Home service is defined on SSO requests.

Home URL is the OU home URL or the default homepage url, but on
account's pages if you pass a ?next= to an /accounts/ or /register/ view
and this URL can be linked ton an existing service, the home service is
set and the URL is take as the home URL.
2022-02-04 11:12:02 +01:00
Benjamin Dauvergne f72d1d3b2a misc: use new signing.dumps/loads implementation (#61130) 2022-02-04 10:13:04 +01:00
Benjamin Dauvergne 0795cbeb89 utils: add dumps/loads for confidentiality protected tokens (#61130) 2022-02-04 10:13:04 +01:00
Benjamin Dauvergne 2d93d95fc5 misc: move authentic2.crypto to authentic2.utils.crypto (#61130) 2022-02-04 10:13:01 +01:00
Benjamin Dauvergne 1a446f7c75 ldap: always report count of synchronized users (#61128) 2022-02-03 16:58:51 +01:00
Benjamin Dauvergne ebab6fbf4c ldap: do not continue on timeout (#61128) 2022-02-03 16:58:20 +01:00
Benjamin Dauvergne d65690e3e0 ldap: factorize get_users per block actions (#61128) 2022-02-03 16:58:20 +01:00
Benjamin Dauvergne 5607172c9b misc: add journal event type for access-denied event on sso (#60679) 2022-02-03 15:35:56 +01:00
Benjamin Dauvergne 342ed7f2b9 models: add User.email_verified_date field (#19634) 2022-02-03 11:15:27 +01:00
Benjamin Dauvergne 34d4b476b1 Jenkinsfile: notify failed builds through jabber 2022-01-30 15:52:32 +01:00
Valentin Deniaud 30099cc66d commands: prevent duplicated log messages in sync-ldap-users (#58404) 2022-01-29 08:36:25 +01:00
Benjamin Dauvergne 2ec1984adc Jenkinsfile: run nightly test using groovy script
Publishing of coverage must run before packaging to prevent breaking the
build when packaging is restarting; but whenTriggeredBy cannot be used
inside a unique stage for two list of steps, a groovy script is
necessary to get all steps in the same stage.
2022-01-28 17:04:38 +01:00
Benjamin Dauvergne 3b1dcb4d55 translation update 2022-01-28 16:10:50 +01:00
Frédéric Péters b79f165c4a manager: use ajax to refresh tables using search button (#60118) 2022-01-28 13:24:54 +01:00
Frédéric Péters a33834b613 trivial: remove compatibility-code for python < 3.6 (#61119) 2022-01-28 13:08:53 +01:00
Emmanuel Cazenave 51cf94a801 a2_rbac: add home_url field on OrganizationalUnit (#60349) 2022-01-28 13:08:10 +01:00
Benjamin Dauvergne b9845dbfff Jenkinsfile: publish test results only one time (#60129) 2022-01-26 08:41:17 +01:00
Benjamin Dauvergne 549515cb86 Jenkinsfile: always publish test results (#60129) 2022-01-24 18:18:47 +01:00
Benjamin Dauvergne 35bf68f922 misc: prevent double click in display_message_and_continue.html (#60815) 2022-01-20 12:00:30 +01:00
Benjamin Dauvergne ecec41b67a templates: hide messages on logout page (#19410) 2022-01-20 11:59:26 +01:00
Benjamin Dauvergne 5ff250ccc3 misc: remove samesite retro-compatibility code (#60798) 2022-01-18 23:58:29 +01:00
Benjamin Dauvergne 62d5a3e62d misc: add samesite=Lax to all set_cookie calls (#60798) 2022-01-18 23:58:29 +01:00
Valentin Deniaud a05c136ee5 manager: simplify data-url in tables (#60678) 2022-01-17 17:02:47 +01:00
Benjamin Dauvergne 20a8b32ee6 utils: use an exclusive lock on model's table in safe_get_or_create (#60658) 2022-01-14 18:00:43 +01:00
Frédéric Péters 4f96d751c0 trivial: remove old django-compatibility support code (#60387) 2022-01-14 11:11:46 +01:00
Paul Marillonnet 8856b46891 translation update 2022-01-14 09:22:04 +01:00
Paul Marillonnet 2795a2e706 auth_oidc: relabel STRATEGY_CREATE option for disambiguation (#60476) 2022-01-14 09:19:11 +01:00
Paul Marillonnet bfb0226f2f tests: loosen failure threshold value on test_safe_get_or_create (#60035) 2022-01-13 19:45:22 +01:00
Frédéric Péters df3be14c5a misc: force password rule and the validation symbol on the same line (#60598) 2022-01-13 15:46:52 +01:00
Emmanuel Cazenave 0bf05cdce0 jenkins: show execution context in coverage reports (#60446) 2022-01-11 15:57:21 +01:00
Frédéric Péters 68febb3b3b jenkins: use python3 to get a port for postgresql (#60467) 2022-01-10 17:32:05 +01:00
Frédéric Péters 5c0c4501e9 translation update 2022-01-06 22:26:55 +01:00
Frédéric Péters c95fe470a4 misc: always add service variables to login condition context (#60125) 2022-01-06 22:24:40 +01:00
Frédéric Péters 4e97acc419 misc: adapt account deletion button label to explanation text (#60153) 2022-01-06 22:24:40 +01:00
Valentin Deniaud 82e1b8f21d translation update 2022-01-05 16:55:46 +01:00
Valentin Deniaud 94f10efcdb manager: translate select2 messages in role member add field (#60271) 2022-01-05 16:19:57 +01:00
Valentin Deniaud f54ae16aad manager: add placeholder and minimum input length to role member add field (#60271) 2022-01-05 15:00:15 +01:00
Valentin Deniaud 020eb92318 manager: fix user/role choices mix in role member add field (#60299) 2022-01-05 14:56:29 +01:00
Valentin Deniaud 8eafcd7848 translation update 2022-01-04 16:44:55 +01:00
Valentin Deniaud 84bc4a1a56 manager: add child roles in role members view (#59664) 2022-01-04 16:03:29 +01:00
Valentin Deniaud bd437ddafb manager: handle data-pk row attribute at view level (#59664) 2022-01-04 16:00:21 +01:00
Benjamin Dauvergne abf3ca8038 evaluate: log exception when on_raise is used (#59997) 2021-12-22 11:46:16 +01:00