Serghei Mihai
230cec28eb
idp_oidc: fix MissingParameter initialization ( #50217 )
2021-01-18 10:59:48 +01:00
Frédéric Péters
78dff608b8
manager: do not wrap journal timestamps ( #50055 )
2021-01-12 14:33:28 +01:00
Valentin Deniaud
09c68bddc3
manager: check permissions before showing add user button ( #49893 )
2021-01-12 14:10:49 +01:00
Benjamin Dauvergne
081a4e5798
utils: fix subscript checking for python 3.9 ( #49608 )
2021-01-08 12:01:28 +01:00
Benjamin Dauvergne
ae5a9c0b3d
translation update
2021-01-04 12:13:12 +01:00
Valentin Deniaud
1d09697079
manager: do without disabled add user button on users page ( #45338 )
2021-01-04 11:44:31 +01:00
Frédéric Péters
a6eb71ac63
build: update to use origin/main
2020-12-26 15:21:15 +01:00
Benjamin Dauvergne
f904f03a57
do not store username in password reset tokens ( #49131 )
2020-12-18 14:50:14 +01:00
Frédéric Péters
71183a9730
misc: add autocompletion support for separated number and street fields ( #48918 )
2020-12-18 12:04:31 +01:00
Frédéric Péters
69b9e72ad8
tests: adapt test_massive_role_parenting to change in Operation ( #49592 )
2020-12-18 12:04:31 +01:00
Benjamin Dauvergne
9eb5264024
restore password reset only for active users ( #49131 )
...
Bug introduced in commit from #48264
2020-12-18 07:45:55 +01:00
Benjamin Renard
1f2ea15580
Add A2_RESET_PASSWORD_ID_LABEL parameter ( #49131 )
2020-12-18 07:45:55 +01:00
Benjamin Renard
fd248ebb89
Allow users to provide their email or username for password reset process ( #49131 )
2020-12-18 07:45:55 +01:00
Benjamin Dauvergne
02f00a2046
translation update
2020-12-15 15:26:43 +01:00
Valentin Deniaud
d098a6fcf4
api_views: allow dates in statistics datetime filters ( #49485 )
2020-12-15 14:20:00 +01:00
Benjamin Dauvergne
12fd246aeb
django_rbac: replace Operation.name by a registry ( #49142 )
...
There is no need to store the operation label in the database.
2020-12-15 12:13:07 +01:00
Valentin Deniaud
32de734b5a
csv_import: use absolute URL for password reset ( #49479 )
2020-12-15 11:30:26 +01:00
Benjamin Dauvergne
ea62c3f8ca
tests: update test_check_and_repair_managers_of_roles ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
95b4528228
misc: remove update_roles_admins post_migrate ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
bdb80f27e8
misc: add checks and repairs on admin roles permissions and ou ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
c0c98c2da5
misc: fix check of manager's roles ou ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
e7a6477635
misc: format long line ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
09c7bd1882
misc: move check of manager's roles ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
00d2f2584a
misc: does not check global email uniqueness ( #48372 )
2020-12-15 11:08:02 +01:00
Benjamin Dauvergne
42b3ab4b29
misc: change registration of check-and-repair methods ( #48372 )
2020-12-14 16:22:32 +01:00
Valentin Deniaud
4a36966b55
api: small adjustements to statistics endpoints ( #49174 )
2020-12-14 10:17:43 +01:00
Thomas NOËL
f48d3b4cae
style: show all password rules on one line ( #49263 )
2020-12-08 20:16:16 +01:00
Emmanuel Cazenave
52d0d79506
jenkins: make tox verbose
2020-12-08 16:36:12 +01:00
Benjamin Dauvergne
e231c939a9
misc: ignore name argument for compatibility with DRF==3.4 ( #49110 )
2020-12-04 15:56:25 +01:00
Paul Marillonnet
a8fa8543c6
translation update
2020-12-04 12:37:33 +01:00
Benjamin Dauvergne
1687d1a7a4
idp_oidc: make access_token validity depends on expiration or session existence ( #48889 )
2020-12-04 11:56:31 +01:00
Benjamin Dauvergne
847411c28f
idp_oidc: replace secrets.compare_digest() for python<3.6 ( #47900 )
2020-12-04 11:21:49 +01:00
Benjamin Dauvergne
4b9be7a3cb
idp_oidc: simplify oidc_client fixture ( #47900 )
...
* new test test_admin will test the admin view for creating OIDCClient
* default mapping are extracted in an app setting
* OIDC_CLIENT_PARAMS is now only used on the main test SSO, creatint
less redundant tests
2020-12-04 11:21:49 +01:00
Benjamin Dauvergne
380215ff0d
idp_oidc: implement correct error reporting in user_info ( #47900 )
...
* error and error_description are reported in a status 401 HTTP response,
inside the WWW-Authenticate and inside the JSON body of the response.
2020-12-04 11:21:49 +01:00
Benjamin Dauvergne
21363956de
idp_oidc: add a simple oidc client fixture ( #47900 )
2020-12-04 11:21:49 +01:00
Benjamin Dauvergne
34e8ca3ff4
idp_oidc: correctly load session in OIDCCode and OIDCAccessToken ( #47900 )
...
* access_token can be valid without a session or with a session linked to the user
* code is only valid with a live session linked to its user
* session was not loaded correctly, it's only loaded after accessing its
content, and session_key is only checked if the session is loaded.
2020-12-04 11:21:48 +01:00
Benjamin Dauvergne
a8214192a8
idp_oidc: improve error reporting in token endpoint ( #47900 )
2020-12-04 11:21:48 +01:00
Frédéric Péters
d915700420
translation update
2020-12-04 08:28:06 +01:00
Benjamin Dauvergne
e8d20c6b36
misc: decode bytes in User.set_random_password() ( #49072 )
2020-12-03 11:53:13 +01:00
Benjamin Dauvergne
be38c3ab23
tox.ini: only show warnings from authentic2
2020-12-03 09:52:36 +01:00
Valentin Deniaud
2cc198dd70
api: add statistics endpoints ( #48845 )
2020-12-03 09:17:48 +01:00
Benjamin Dauvergne
206fec2122
tests: fix indentation ( #47943 )
2020-12-02 19:16:44 +01:00
Benjamin Dauvergne
550e5d1bf6
manage: ensure created users have a password ( #47943 )
2020-12-02 19:16:44 +01:00
Benjamin Dauvergne
9fe6ce378f
misc: use set_random_password() in csv_import ( #47943 )
2020-12-02 19:16:44 +01:00
Benjamin Dauvergne
4a2305459f
misc: add User.set_random_password() ( #47943 )
2020-12-02 19:16:44 +01:00
Paul Marillonnet
8c3902b2c2
misc: do not modify email when marking users as deleted ( #48264 )
2020-12-02 09:56:08 +01:00
Valentin Deniaud
c1345a3356
journal: add event type statistics ( #47467 )
2020-12-01 17:36:22 +01:00
Benjamin Dauvergne
5371f986b6
backends: define a total ordering for user's querysets ( #49009 )
2020-12-01 12:28:01 +01:00
Frédéric Péters
fda0fe2080
misc: don't display "Manually enter..." checkbox on disabled widget ( #48953 )
2020-11-30 12:46:26 +01:00
Paul Marillonnet
c5d9257bc1
misc: remove references to deprecated menu module ( #48906 )
2020-11-27 11:35:26 +01:00