Frédéric Péters
de917d74ad
franceconnect: use rel=noopener for links opening in new tabs ( #34038 )
2019-06-19 15:26:22 +02:00
Frédéric Péters
c20b1071db
misc: fix spelling in French message ( #34117 )
2019-06-19 11:24:32 +02:00
Frédéric Péters
ed932c9e3d
misc: update French translation to use "réinitialiser", no dash ( #34116 )
2019-06-19 11:16:39 +02:00
Frédéric Péters
64a13abb24
misc: adjust password reset log messages ( #34126 )
2019-06-19 11:06:58 +02:00
Frédéric Péters
b25f376f21
fc: use gettext for unknown INSEE code error message ( #33602 )
2019-06-19 11:06:58 +02:00
Paul Marillonnet
23145898bd
python3: deprecate file builtin ( #32815 )
2019-06-19 09:38:15 +02:00
Paul Marillonnet
a516e02de0
python3: define a FileType in tests/test_commands.py ( #32815 )
...
as file is not a builtin anymore
2019-06-19 09:38:00 +02:00
Paul Marillonnet
246e0dcf1f
py3: use XMLParser not XMLTreeBuilder ( #32818 )
2019-06-19 09:25:39 +02:00
Frédéric Péters
d2abe87988
manager: allow word breaking in users tables ( #33822 )
2019-06-19 09:21:52 +02:00
Frédéric Péters
d5a55fcaa7
saml: don't error when logging a 8bit artifact response ( #32795 )
2019-06-19 09:21:05 +02:00
Benjamin Dauvergne
e28e30fe93
manager: hide the username column ( #33971 )
2019-06-14 12:03:08 +02:00
Benjamin Dauvergne
407f4c8c22
show synced LDAP users with verbosity > 2 ( #33870 )
2019-06-12 13:30:03 +02:00
Frédéric Péters
66b96a1236
translation update
2019-06-07 14:56:43 +02:00
Frédéric Péters
0bffa24aaf
translation update
2019-06-07 13:26:53 +02:00
Thomas NOËL
a083fb5367
auth_saml: add missing mellon base template ( #33743 )
2019-06-06 12:07:00 +02:00
Frédéric Péters
4d18e9dfa2
misc: remove "you have been logged out" message ( #33703 )
2019-06-05 19:19:34 +02:00
Frédéric Péters
b960e14fed
misc: redirect user to homepage after password reset ( #33611 )
2019-06-03 14:13:59 +02:00
Frédéric Péters
bedcbc5a4c
registration: add a note about spams ( #27097 )
2019-06-03 14:13:59 +02:00
Benjamin Dauvergne
59c913ee46
static: track password change with "input" event ( #33571 )
2019-05-31 15:03:20 +02:00
Benjamin Dauvergne
7eda057909
integrate authentic2-auth-fc in packaging ( #20852 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
30dc69eeb5
views: do not set password on unlink for LDAP users ( #24710 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
11dccefc81
show change password link after user unlink ( fixes #32953 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
95d59c86d0
views: clean FranceConnect session variable on unlink ( #32953 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
1c40ec3f41
adapts to spring cleaning in authentic ( #32866 )
...
See #32934 .
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
338b02cd99
py3ize obviously non-compatible code ( #32866 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
8d27718f51
improve code style ( #32866 )
...
- remove obviously dead code (reported by flake8)
- fix PEP8 violations
- rename variable using stdlib builtin names
- use get_version() from combo's setup.py
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
72d48a8326
add copyright headers ( #32866 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
3ca5c43a73
apps: hide password management link when FC authenticated ( #27083 )
...
It's done by implementing a2_hook_user_can_change_password on the
AppConfig object.
2019-05-31 14:51:55 +02:00
Serghei Mihai
ffc66bcbfa
misc: rename authentication "frontend" to "authenticator" ( #14475 )
2019-05-31 14:51:55 +02:00
Frédéric Péters
a8c3559f87
templates: add alt texts to image links ( #29408 )
2019-05-31 14:51:55 +02:00
Frédéric Péters
2ea59ce790
tests: adjust not to find link by label ( #29228 )
2019-05-31 14:51:55 +02:00
Frédéric Péters
4fbe554bb0
improve markup of login_registration template ( #29228 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
0525533f85
views: search email case insensitively ( fixes #29007 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
483b0dce96
lock first name and last name ( fixes #27044 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
d082fb4998
utils: apply mapping to custom attributes before static ones ( #27044 )
...
It's impossible to set a verified first_name or last_name without it.
2019-05-31 14:51:55 +02:00
Serghei Mihai
517dad7553
center explanation text ( #27182 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
1b8ee0a38a
launch tests with Django 1.11 ( fixes #27095 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
929b58d989
views: pass service field to fc login post registration ( fixes #21908 )
2019-05-31 14:51:55 +02:00
Serghei Mihai
18ce5d5b15
css: do not force button height ( #25763 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
d3c163a62e
add missing close tag ( #21908 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
a9823e5a71
update french translation ( #21908 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
a041be4668
keep authentication context ( fixes #21908 )
...
- simplify and reorganize login templates,
- URL are not built inside templates anymore,
- we have now 3 different templates:
- login.html for the login page
- registration.html for the registration page
- linking.html for the account page
- using feature from #25623 , authentication_method is kept by the
registration view.
- the service slug is correctly threaded between every views.
- explanations about FranceConnect are now done in a common template
"explanation.html".
- restore popup mode, use it through setting A2_FC_POPUP=True, it works
for:
- login and login with registration (workflow for login with
registration is a bit complicated),
- registration,
- and linking (linking your existing to FC through the "My account"
page)
unlinking is not handled with a popup.
2019-05-31 14:51:55 +02:00
Frédéric Péters
06d4e913fe
don't alter can_reset_password flag for users without an FC account ( #25655 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
c4eade4d96
remove use of context_instance ( fixes #25532 )
...
context_instance is not passed anymore by authentic2, and giving
context_instance=None to render() prevent the request object to be feed
in the context of the template, breaking some templates.
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
e78fbbd68d
implement AppConfig.a2_hook_user_can_reset_password ( fixes #25535 )
...
It returns True if an user is linked to an FC account, it allows any
FC user to login to its account as long as it still has control of the
FC email even if he has lost its FC credentials.
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
54edc159b2
do not set a password on FranceConnect users ( #25535 )
...
As user don't know this password they can never change it...
2019-05-31 14:51:55 +02:00
Emmanuel Cazenave
87e2a5fb75
don't load authentic2 template tags ( #25393 )
2019-05-31 14:51:55 +02:00
Frédéric Péters
126dbd1656
templates: merge duplicated class attributes ( #25353 )
2019-05-31 14:51:55 +02:00
Frédéric Péters
3340c52c09
misc: don't use addtoblock to insert fc.css ( #25356 )
2019-05-31 14:51:55 +02:00
Benjamin Dauvergne
b8efc1a645
tests: add tests on new password related functions ( #24835 )
...
- verify new users have a password set
- verify old users keep their password on linking and are not
asked for a new password if they used their password for logging in.
2019-05-31 14:51:55 +02:00