Commit Graph

5919 Commits

Author SHA1 Message Date
Benjamin Dauvergne 6ac3740e22 api: check members presence before removing them (#50861)
gitea/authentic/pipeline/head Build started... Details
It prevents the trigger of unneeded m2m_changed signals.
2022-01-20 20:48:14 +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
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