Commit Graph

5944 Commits

Author SHA1 Message Date
Benjamin Dauvergne 8434dc2867 evaluate: use dns.resolver.query (#59996) 2021-12-22 10:30:30 +01:00
Valentin Deniaud 520d8448b1 translation update 2021-12-21 14:44:49 +01:00
Valentin Deniaud cdda4a98bf custom_user: return get_full_name result in __str__ (#59922) 2021-12-21 14:34:31 +01:00
Paul Marillonnet 31fa1dbf46 jenkins: run drf3.12 env on main branch nightly build (#59601) 2021-12-20 15:13:47 +01:00
Paul Marillonnet aec2a4fa6f tox: update main env for more recent restframework testing (#59601) 2021-12-20 15:13:47 +01:00
Paul Marillonnet e8b901df26 setup: update upper & lower bounds on restframework version (#59601) 2021-12-20 15:13:47 +01:00
Paul Marillonnet 3e85e0d68e debian: allow for djangorestframework bullseye package (#59601) 2021-12-20 15:13:47 +01:00
Paul Marillonnet 58f58ca337 api: drop deprecated drf version check (#59601) 2021-12-20 15:13:47 +01:00
Frédéric Péters 6761881ab0 tox: remove old django 1.11 reference 2021-12-19 16:36:23 +01:00
Frédéric Péters e243c86533 build: update setup.py to require django at least django 2.2 2021-12-19 16:33:44 +01:00
Benjamin Dauvergne 36c0085618 auth_saml2: fix template_base path (#59519) 2021-12-14 11:27:42 +01:00
Paul Marillonnet 50fd8b15d7 setup: ease upper limitation on django-import-export version (#59600) 2021-12-13 16:48:09 +01:00
Paul Marillonnet a590746910 debian: allow for django-import-export bullseye package (#59600) 2021-12-13 16:47:27 +01:00
Paul Marillonnet 87f6c17088 translation update 2021-12-13 10:51:43 +01:00
Paul Marillonnet a97b5f7723 remove unnecessary i18n in #58938 2021-12-13 10:47:56 +01:00
Paul Marillonnet 644990a89a manager: add a technical info page with ldap configs (#58938) 2021-12-13 10:28:16 +01:00
Valentin Deniaud c2a496fa8b translation update 2021-12-13 10:15:20 +01:00
Valentin Deniaud 20dd0adf8a manager: remove children table from role members page (#57955) 2021-12-13 09:49:53 +01:00
Valentin Deniaud ab22f2fd82 manager: include roles along with users in role members table (#57955) 2021-12-13 09:49:53 +01:00
Valentin Deniaud 7b6e746193 tables: simplify PermissionLinkColumn (#57955) 2021-12-13 09:49:53 +01:00
Valentin Deniaud eabdce19ef misc: add get_absolute_url method to Role and User (#57955) 2021-12-13 09:49:53 +01:00
Valentin Deniaud 5ea73341ef a2_rbac: use a TextField to store role name (#59122) 2021-12-13 09:49:26 +01:00
Valentin Deniaud 7b1727f599 a2_rbac: disable required attributes check at OU level (#58546) 2021-12-13 09:47:16 +01:00
Valentin Deniaud a925b6731f data_transfer: simplify logic (#51464) 2021-12-13 09:44:47 +01:00
Valentin Deniaud 1f1a64de7e import_site: allow creating roles in default ou (#51464) 2021-12-13 09:44:36 +01:00
Valentin Deniaud 735d6b7617 manager: allow importing roles from different OUs (#58826) 2021-12-13 09:43:14 +01:00
Valentin Deniaud 75217f5919 idp_oidc: log invalid client_id in token endpoint (#58718) 2021-12-13 09:41:13 +01:00
Valentin Deniaud 2e9dcad64b idp_oidc: log invalid client_secret in token endpoint (#58718) 2021-12-13 09:41:13 +01:00
Frédéric Péters f82537e93b debian: remove obsolete dh-systemd build-dep 2021-12-12 12:02:07 +01:00
Frédéric Péters 33cb311a0c jenkins: build packages for buster & bullseye 2021-12-12 11:22:42 +01:00
Benjamin Dauvergne d75891ebdb Jenkinsfile: always send notification mail (#59465) 2021-12-08 16:22:45 +01:00
Valentin Deniaud 026c90d93d views: translate boolean attributes in profile (#58939) 2021-12-02 11:03:50 +01:00
Valentin Deniaud d80c5ef988 jenkins: compile translations before tests (#58939) 2021-12-02 11:03:44 +01:00
Frédéric Péters 077516811c translation update 2021-11-30 15:41:12 +01:00
Benjamin Dauvergne 186f823529 auth: inject dnsbl function in condition evaluation context (#58055) 2021-11-29 14:34:30 +01:00
Benjamin Dauvergne cb68c2ca38 utils/evaluate: add a dnsbl() dict like (#58055)
To check an IPv4 address is inside a DNSxL, use the following
expression in your condition:

    remote_addr in dnsbl('dnsbl.example.com')
2021-11-29 14:27:44 +01:00
Benjamin Dauvergne 56787fb29c utils/evaluate: allow some calls in expressions (#58055) 2021-11-29 14:27:44 +01:00
Guillaume Baffoin a7414bd087 debian: add RANDOM to cron job for authentic2-multitenant (#58987) 2021-11-29 12:07:23 +01:00
Benjamin Dauvergne f514d99ea1 pylint.sh: disable echo of command lines 2021-11-29 11:02:18 +01:00
Benjamin Dauvergne 548f012b6e misc: fix pylint errors in tests 2021-11-29 11:02:18 +01:00
Valentin Deniaud 93b3631400 views: prevent race condition during registration (#58846) 2021-11-29 10:22:58 +01:00
Paul Marillonnet 50e48b760a discard django_rbac generic getters in main a2 code (#58695) 2021-11-26 10:04:48 +01:00
Frédéric Péters 6505904505 api: add force-password-reset user API (#58904) 2021-11-26 09:56:54 +01:00
Frédéric Péters c7e9fd9a69 build: bump black version 2021-11-22 22:06:37 +01:00
Valentin Deniaud 96dfa42c17 journal: fix search by email (#58704) 2021-11-18 15:11:18 +01:00
Paul Marillonnet d411366b16 translation update 2021-11-18 09:01:50 +01:00
Paul Marillonnet 6629d71a63 auth_fc: strip 'NO_PROXY' from env while testing proxy support (#58391) 2021-11-18 08:55:02 +01:00
Paul Marillonnet 342be77ccc journal: add ldap down info on failed user login (#58151) 2021-11-18 08:47:41 +01:00
Frédéric Péters c86ed4defd oidc: fix typo in client_secret_post support declaration (#58521) 2021-11-12 10:06:17 +01:00
Frédéric Péters c8ea678cea idp/saml: fix gettext call for unknown bining error (#58481) 2021-11-12 10:06:17 +01:00