Commit Graph

8661 Commits

Author SHA1 Message Date
Xavier Guimard
7abbb3fa66 Permit html use in lang templates
Closes: #1706
2019-05-17 08:05:36 +02:00
Xavier
b91d1d4b87 Tidy 2019-05-16 20:45:14 +02:00
Xavier
a2e78c88c3 Set versions 2019-05-16 20:42:31 +02:00
Maxime Besson
3a8b6da81a Add date and PID to default stderr logger
When using Apache or docker, the default Std logger does not write a
timestamp.

This format (poorly) imitates the error_log format so that LLNG messages
will stand out a little less in apache logs. And so that our docker
users can have timestamped messages
2019-05-16 17:39:20 +02:00
Maxime Besson
2f9c7b787e Change default syslog format to include [level]
The default configuration of syslog/journald in pretty much all
environments does not include the log level in the message

This means that it's hard to know which log messages are important and
which aren't at a glance, especially in `debug` level.

This commit should make debugging a lot easier by default.

Savvy users who need precise control on the syslog format should
probably use Log4Perl
2019-05-16 14:02:37 +02:00
Xavier
1186aba52b lmError(): return JSON if wanted (#1745) 2019-05-16 06:50:13 +02:00
Christophe Maudoux
c20c14ac95 Append unit test (#1755) 2019-05-15 23:50:28 +02:00
Christophe Maudoux
e46fac82b2 CheckUser with tokenGlobalStorage & Warn if SSO groups are merged 2019-05-15 23:45:06 +02:00
Xavier Guimard
570513ab96 Closes: #1750 2019-05-15 13:40:27 +02:00
Xavier
2edb5517fd Set a default log (#1750) 2019-05-15 06:49:33 +02:00
Xavier
2c86fdfffa Replace whoami by getpwuid (#1750) 2019-05-15 06:11:27 +02:00
Xavier
cf297736b5 Improve cli logs (#1750) 2019-05-14 22:05:57 +02:00
Maxime Besson
1f1eeab9c8 Do not log a warning when displaying form with Combination
When form-based authentication methods return PE_FIRSTLOGIN, do not log
a warning because it's normal behavior to show the form.
2019-05-14 19:47:28 +02:00
Christophe Maudoux
fc034ad4bf Impersonation with doubleCookie (#1746) 2019-05-12 22:59:21 +02:00
Christophe Maudoux
95c08b89e7 Rename vars to be more consistent 2019-05-12 21:08:03 +02:00
Clément OUDOT
05cd4d4a58 Fix update token with global storage (#1742) 2019-05-12 20:39:25 +02:00
Clément OUDOT
682b193477 Use TOKEN kind for mail password reset sessions (#1743) 2019-05-12 20:04:38 +02:00
Clément OUDOT
07de622e83 Fix getRegisterSession and getMailSession (#1743) 2019-05-12 17:36:14 +02:00
Clément OUDOT
12fec2e41a Update documentation 2019-05-12 16:33:56 +02:00
Clément OUDOT
21dc5bff73 Update version in changelog, Debian and RPM 2019-05-12 16:28:20 +02:00
Clément OUDOT
332fb4f9da Update version in module dependencies 2019-05-12 16:22:50 +02:00
Clément OUDOT
807959dd40 Include 1.9.19 in changelog 2019-05-12 16:16:42 +02:00
Christophe Maudoux
e8b4e0c52c Update manifest 2019-05-11 23:21:54 +02:00
Xavier
9a71709f44 Tidy 2019-05-11 23:03:48 +02:00
Christophe Maudoux
a93caace4b Improve unit test (#1746) 2019-05-11 23:01:52 +02:00
Christophe Maudoux
8737fc0808 Impersonation with doubleCookie & Append unit test (#1746) 2019-05-11 22:57:52 +02:00
Christophe Maudoux
f917a9cfec Improve unit test for doubleCookie 2019-05-11 22:52:07 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Christophe Maudoux
aeead582d8 Restore _httpSession (#1746) 2019-05-11 19:07:07 +02:00
Christophe Maudoux
8f140bd235 Display in Manager default cookie type 2019-05-11 19:07:07 +02:00
Xavier
2d29b8724c Update translation (basic translations) 2019-05-11 18:10:53 +02:00
Xavier
e78cfefae8 Update translation (~100% match) 2019-05-11 18:08:50 +02:00
Xavier
a96238c2c3 Update translations 2019-05-11 18:04:41 +02:00
Xavier
393cee6c45 Update versions 2019-05-11 17:43:38 +02:00
Xavier
7177e8d644 make manifest 2019-05-11 17:38:37 +02:00
Xavier
000db1536b Update versions 2019-05-11 17:37:56 +02:00
Xavier
fe4fe6a7d3 Add security test (#1742) 2019-05-11 15:56:17 +02:00
Xavier
5d1c8ff6b2 make manifest 2019-05-11 15:45:25 +02:00
Xavier
2ce7396bf2 Don't filter on session_kind with SOAP (#1742) 2019-05-11 15:41:14 +02:00
Xavier
8897fd49b3 Don't filter on session_kind with REST (#1742)
Same to do with SOAP
2019-05-11 15:29:29 +02:00
Christophe Maudoux
8185f335e7 Cleaning code (#1741) 2019-05-11 11:52:07 +02:00
Xavier
2351251c49 #1742 in progress... 2019-05-11 09:32:50 +02:00
Xavier
6235b303b3 #1742 in progress... 2019-05-11 09:31:17 +02:00
Xavier
22acb06555 Test to prove that #1743 is fixed 2019-05-10 18:50:20 +02:00
Xavier Guimard
1cd50bb353 Fix Auth::Remote session kind (#1742) 2019-05-10 18:02:56 +02:00
Xavier Guimard
638a0de81a Don't use SSO session type for tokens (Fixes security part of #1742) 2019-05-10 17:35:10 +02:00
Xavier Guimard
55eeb303a2 Verify session kind if given (#1742)
This breaks AuthRemote
2019-05-10 17:35:10 +02:00
Christophe Maudoux
8fd06f1b6f Fix syntax error (#1703) 2019-05-10 17:20:59 +02:00
Xavier
4ed5c282a2 Fix syntax error 2019-05-10 06:19:54 +02:00
Maxime Besson
e31a607c35 Fix typos in fr/en manager translations 2019-05-09 17:32:30 +02:00