Benjamin Dauvergne
b282984347
utils: add decorator/ctm to use serializable transactions
gitea/authentic/pipeline/head Build started...
Details
2021-03-25 22:27:32 +01:00
Frédéric Péters
3e71128a9a
translation update
2021-03-18 22:54:15 +01:00
Paul Marillonnet
abd83be722
misc: fix documentation string ref in journal search engine
2021-03-18 15:13:13 +01:00
Valentin Deniaud
e15dd60dba
manager: instuct opening user switch link in private window ( #45513 )
2021-03-15 09:59:25 +01:00
Valentin Deniaud
62b7fb4d60
data_transfer: allow missing role slug ( #51463 )
2021-03-15 09:58:23 +01:00
Valentin Deniaud
961af9538e
utils: add setting to choose email sending format ( #50745 )
2021-03-15 09:57:46 +01:00
Valentin Deniaud
d0b6b64bf1
templates: improve color contrast in csv import report ( #50162 )
2021-03-15 09:56:29 +01:00
Valentin Deniaud
0f4439afe1
csv_import: allow settings password hash ( #50156 )
2021-03-15 09:54:32 +01:00
Valentin Deniaud
7aa260def8
manager: allow execute from simulation in csv import ( #50159 )
2021-03-15 09:53:55 +01:00
Benjamin Dauvergne
534df33bbd
manager: record then execute user deletion ( #51671 )
2021-03-05 15:53:14 +01:00
Frédéric Péters
898105f7ed
translation update
2021-03-04 21:29:42 +01:00
Frédéric Péters
902c862c6f
trivial: fix typo in error message
2021-03-04 21:28:59 +01:00
Valentin Deniaud
4484b7cea8
tests: fix faulty email validator test ( #51624 )
2021-03-04 14:58:39 +01:00
Loïc Dachary
2048d0d004
ldap: redirect /password/change if it is about to expire ( #51268 )
...
Fixes: #51268
License: MIT
2021-03-04 12:12:15 +01:00
Loïc Dachary
409305831c
ldap: fix misleading variable /timeBeforeExpiration/expiration_date/ ( #51274 )
...
The timeBeforeExpiration obtained from ppolicy is the number of
seconds left until the password expires. Before it is inserted in the
error message it is translated into a date because it is easier to
internationalize. The variable name should be changed to reflect this
modification otherwise it will be misleading to translators.
Fixes: #51274
License: MIT
2021-03-04 11:22:20 +01:00
Valentin Deniaud
2c6c03a9c8
misc: send password reset email even if disabled account ( #20830 )
2021-03-04 10:57:10 +01:00
Valentin Deniaud
1ae7ac6df7
misc: send password reset email even if no account ( #47469 )
2021-03-04 10:56:48 +01:00
Frédéric Péters
1192ec0901
translation update
2021-03-04 09:00:25 +01:00
Benjamin Dauvergne
5a534ec62a
tests: simplify idp_oidc tests
2021-03-03 19:26:13 +01:00
Valentin Deniaud
e2fa4ca689
journal: empty references qs should return no statistics ( #49670 )
2021-03-03 09:28:17 +01:00
Valentin Deniaud
2d803b4a91
api_views: only show filtering by OUs if relevant ( #49670 )
2021-03-03 09:28:17 +01:00
Valentin Deniaud
dd3ed19adf
statistics: allow filtering by users OU ( #49670 )
2021-03-03 09:28:17 +01:00
Valentin Deniaud
c27792ecbe
api_views: factorize code for stat decorator ( #49670 )
2021-03-03 09:28:17 +01:00
Valentin Deniaud
2f42606265
app_settings: enable login rate limiting by default ( #50771 )
2021-03-02 15:19:27 +01:00
Benjamin Dauvergne
8a543226bf
custom_user: remove User's deleted field ( #51452 )
2021-03-01 18:17:22 +01:00
Benjamin Dauvergne
8e0f6d3cb7
misc: delete users synchronously ( #51452 )
2021-03-01 16:30:39 +01:00
Nicolas Roche
2bdd088d43
manager: add a column to display role is synced from ldap ( #51120 )
2021-03-01 10:27:55 +01:00
Valentin Deniaud
0225be797c
saml: add missing **kwargs to method ( #50747 )
2021-03-01 09:52:37 +01:00
Valentin Deniaud
2089b889da
utils: mention expression on condition validation error ( #50016 )
2021-03-01 09:51:54 +01:00
Valentin Deniaud
9a4ab69f22
ldap: differentiate errors during bind ( #51353 )
2021-03-01 09:51:20 +01:00
Valentin Deniaud
8df0d97988
custom_user: forbid special characters in names ( #51194 )
2021-03-01 09:49:33 +01:00
Valentin Deniaud
926aad5f72
manager: show missing role recap in csv import ( #50166 )
2021-03-01 09:48:15 +01:00
Valentin Deniaud
e895bb0142
csv_import: add auto key column detection ( #50157 )
2021-03-01 09:46:58 +01:00
Valentin Deniaud
229582db81
csv_import: ignore empty role values ( #50158 )
2021-03-01 09:44:49 +01:00
Benjamin Dauvergne
143decb1ef
auth_saml: user default user's queryset ( #51454 )
2021-03-01 09:30:01 +01:00
Serghei Mihai
3cdd9e7d29
ldap: log missing group dn when mapped to a role ( #50928 )
2021-03-01 09:05:46 +01:00
Benjamin Dauvergne
ebd152fe86
api: ignore deleted users when using update/get_or_create ( #51368 )
2021-02-26 16:03:48 +01:00
Benjamin Dauvergne
49233873d4
api: do not mix get_queryset() and filter_queryset() ( #51368 )
2021-02-26 16:03:48 +01:00
Benjamin Dauvergne
562cb43476
misc: use non-autoescaping template render for email text bodies and subjects ( #51374 )
2021-02-24 22:57:33 +01:00
Benjamin Dauvergne
7b500fc32c
auth_oidc: use SameSite=Lax ( #51252 )
2021-02-18 14:28:51 +01:00
Benjamin Dauvergne
06461f1be0
Jenkinsfile: test with django 2.2 on regular runs
2021-02-18 11:34:38 +01:00
Benjamin Dauvergne
8a01e56dc4
tox.ini: test with django 2.2 on regular runs
2021-02-18 10:52:04 +01:00
Benjamin Dauvergne
5a335bc526
translation update
2021-02-18 10:50:58 +01:00
Loïc Dachary
814e0192f3
ldap: optionally collects messages from ppolicy
...
Enable PasswordPolicyControl[0] in authenticate() and log the
information it returns, on success or error. In the context of a
request, this information is also set as a message[1] to be displayed
to the user.
[0] https://github.com/python-ldap/python-ldap/blob/python-ldap-3.3.1/Lib/ldap/controls/ppolicy.py
[1] https://docs.djangoproject.com/en/3.1/ref/contrib/messages/
Fixes: #50959
License: MIT
2021-02-16 18:37:44 +01:00
Valentin Deniaud
8efb3ee192
journal: ignore event referencing deleted service in statistics ( #50987 )
2021-02-16 17:39:59 +01:00
Loïc Dachary
cc02a30b14
ldap: additional tests for the keep_password function ( #50931 )
...
License: MIT
2021-02-16 17:39:16 +01:00
Loïc Dachary
882ce5d930
doc: explain how to run all the tests ( #50921 )
...
License: MIT
2021-02-16 17:38:32 +01:00
Loïc Dachary
0e2117c0aa
doc: run tests with code coverage ( #50921 )
...
License: MIT
2021-02-16 17:38:32 +01:00
Loïc Dachary
27c3efc615
doc: note about tests/test_ldap.py failing because of apparmor ( #50921 )
...
License: MIT
2021-02-16 17:38:32 +01:00
Loïc Dachary
a2ccc2ca89
doc: instructions to setup a development environment ( #50921 )
...
License: MIT
2021-02-16 17:38:32 +01:00