Benjamin Dauvergne
02f0952f9c
misc: delete unused safe_get_or_create ( #64485 )
...
Introduced in #60658 it used a global lock on model's table to prevent
multiple access, using the Lock model is simpler and more efficient.
2022-05-13 12:33:34 +02:00
Benjamin Dauvergne
362b4cbc0c
misc: use lock on email when creating user instances ( #64485 )
2022-05-13 12:33:34 +02:00
Benjamin Dauvergne
e555ca5a0a
misc: add lock model ( #64485 )
2022-05-13 12:33:34 +02:00
Paul Marillonnet
873ebb3c7a
translation fix, 2
2022-05-13 11:56:42 +02:00
Paul Marillonnet
e7ed0b9e6f
translation fix
2022-05-13 11:20:47 +02:00
Paul Marillonnet
de64c812af
translation update
2022-05-13 10:50:49 +02:00
Paul Marillonnet
415d5ed084
auth_saml: add plain i18n on mapping error messages ( #65057 )
2022-05-13 10:14:42 +02:00
Paul Marillonnet
66e8d63388
widgets: adapt ModelSelect2Mixin.filter_queryset prototype ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
07411e194b
widgets: override select2's ns management with a2's url routing ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
9b0ac49118
django_rbac: fix ContentType.__str__ variations ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
17eb53dc24
templates: remove deprecated admin_static tag library ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
a93af50cd3
manager: remove unnecessary table deepcopy ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
b93c667c76
django3: fix FieldDoesNotExist import ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
27579fdd21
drop deprecated django curry in favor of functools.partialmethod ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
c101c0a746
define a _user_get_all_permissions util when necessary ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
5d3176648a
settings: hard-code xstatic uris instead of gadjo templatetag reliance ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
8166c6d9ef
saml: discard deprecated force_text in saml2utils ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
2c58c32a1a
discard deprecated unicode-aware i18n utils ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
805436abf1
plugins: discard deprecated django.conf.urls.url ( #64305 )
2022-05-13 09:49:23 +02:00
Frédéric Péters
deb99add97
auth saml: include unknown attribute name in logs ( #65047 )
2022-05-13 08:26:39 +02:00
Frédéric Péters
7a95834500
templates: remove spaces before question marks ( #65077 )
2022-05-13 08:26:39 +02:00
Serghei Mihai
0a79c4ded1
idp_oidc: display service info on authorization page ( #64672 )
2022-05-09 16:09:11 +02:00
Benjamin Dauvergne
7de36f8910
manager: set login_hint=backoffice on login ( #64949 )
2022-05-06 17:32:51 +02:00
Benjamin Dauvergne
c1b80a6408
api: fix aggregation by service in statistics ( #64853 )
...
Reference to service can be any kind of model deriving from Service, and
grouping by the array column reference_ids cannot work as the column
could contain other references than to the service.
2022-05-04 19:17:05 +02:00
Frédéric Péters
f3c52bc279
translation update
2022-05-04 09:48:13 +02:00
Frédéric Péters
4b4eac38d0
misc: remove usage of f-strings for translatable strings ( #64827 )
2022-05-04 09:48:13 +02:00
Frédéric Péters
f1aa837556
translation update
2022-05-04 08:09:29 +02:00
Benjamin Dauvergne
0cfd6ba7b5
forms: fail cleanly if LDAP user cannot be retrieved ( #62866 )
2022-04-29 12:16:43 +02:00
Benjamin Dauvergne
0148257950
forms: show error if all accounts for reset have no email ( #62866 )
2022-04-29 12:16:43 +02:00
Paul Marillonnet
4da7c8492f
middleware: fix threading deprecated function call ( #64643 )
2022-04-28 11:48:57 +02:00
Benjamin Renard
067a4bdddb
password reset: Fix error reporting when A2_USER_CAN_RESET_PASSWORD_BY_USERNAME is enabled ( #64607 )
...
License: MIT
2022-04-27 13:09:04 +02:00
Serghei Mihai
28b2278aae
misc: show service name only if it's OIDC service ( #64467 )
2022-04-25 11:27:16 +02:00
Benjamin Dauvergne
1a6532cd46
translation update ( #63646 )
2022-04-22 15:53:53 +02:00
Benjamin Dauvergne
2bd568f6e8
ldap: use guid attributes as global external id ( #63646 )
2022-04-22 15:53:53 +02:00
Benjamin Dauvergne
39fb242e44
journal: log user deletion for inactivity ( #63470 )
2022-04-22 14:43:05 +02:00
Benjamin Dauvergne
93c25750d2
journal: log sending inactivity reminder email ( #63470 )
2022-04-22 14:43:05 +02:00
Serghei Mihai
86c18a1280
templates: update service info page CSS classes ( #64438 )
2022-04-22 10:30:29 +02:00
Benjamin Dauvergne
84cf3adbdb
urls: move public view into their own prefix ( #12932 )
2022-04-22 09:51:10 +02:00
Benjamin Dauvergne
30b90b8ced
manager: remove possibility of rel=popup on table rows ( #59991 )
2022-04-21 18:51:00 +02:00
Benjamin Dauvergne
8c03d2b261
manager: remove data-url on table rows ( #59991 )
2022-04-21 18:51:00 +02:00
Benjamin Dauvergne
77033663da
manager: use .clickable-rows class ( #59991 )
...
And deprecate .plaintable which is now useless.
2022-04-21 18:51:00 +02:00
Paul Marillonnet
7855147ac4
auth_fc: record user registration events ( #64339 )
2022-04-20 11:59:41 +02:00
Paul Marillonnet
86eaa87f4b
views: let the 'fc-create' hook view request objects ( #64281 )
2022-04-19 10:19:09 +02:00
Frédéric Péters
a19bb4d279
translation update
2022-04-15 21:28:49 +02:00
Paul Marillonnet
c303ab6f04
ldap_backend: search mandatory roles in default ou when ambiguous ( #63942 )
2022-04-15 11:55:24 +02:00
Frédéric Péters
ccbada28f7
translations: update to use "Modifier" and "Enregistrer" ( #63910 )
2022-04-13 19:17:32 +02:00
Thomas NOËL
ec5cc3e346
auth_oidc: log created user only if a user is created ( #63730 )
2022-04-08 16:26:01 +02:00
Benjamin Dauvergne
a3dd7bf98c
misc: drop use of custom partial index on Role and Permission ( #63690 )
2022-04-07 18:44:23 +02:00
Benjamin Dauvergne
c595b667e5
misc: drop use of custom partial index on AttributeValue ( #63690 )
2022-04-07 18:39:34 +02:00
Benjamin Dauvergne
388c508ed4
api: fix non determinism in statistics API tests ( #63690 )
...
Ordering of services and OUs in options lists was not stable.
2022-04-07 18:39:33 +02:00