Christophe Maudoux
56243712ff
Update unit tests ( #2243 )
2020-12-17 22:55:12 +01:00
Christophe Maudoux
ef8aa7cee9
Update unit test ( #2243 )
2020-12-16 23:35:53 +01:00
Christophe Maudoux
7be0240389
Update default values & Tidy ( #2243 )
2020-12-16 22:58:01 +01:00
Christophe Maudoux
652d8ba9bc
Prevent authentication on backend if account is locked ( #2243 )
2020-12-16 22:49:41 +01:00
Christophe Maudoux
2dde8672d5
Fix unit tests warning ( #2406 )
2020-12-11 00:10:22 +01:00
Christophe Maudoux
90d2dc58b7
Decrease log level
2020-12-10 23:56:12 +01:00
Maxime Besson
c57c72ae1e
Unit test for #2413
2020-12-09 18:01:44 +01:00
Maxime Besson
442203685f
checkState: fix perl error when testing a user account ( #2413 )
2020-12-09 18:01:02 +01:00
Maxime Besson
d7d1473ad5
Unit tests for #2403
2020-12-07 17:49:22 +01:00
Maxime Besson
8793a5b6a1
Fix storage of LDAP attributes with a value of 0 ( #2403 )
2020-12-07 17:49:21 +01:00
Clément OUDOT
185c3f690c
Only run checkpassword javascript if a newpassword field is present ( #2411 )
2020-12-07 17:40:46 +01:00
Maxime Besson
c6d20ca8b3
Fix init of ::Portal::Password::LDAP ( #2410 )
2020-12-07 16:59:48 +01:00
Maxime Besson
9ba6938e90
Show a friendlier error message when a module fails init ( #2410 )
2020-12-07 16:59:48 +01:00
Christophe Maudoux
c2266720f9
Unauthenticated logout request with route & improve unit test ( #2342 )
2020-12-06 11:21:11 +01:00
Christophe Maudoux
41889e5ee2
Append unit test ( #2342 )
2020-12-05 20:37:50 +01:00
Christophe Maudoux
b2306cc8ad
Unauthenticated logout ( #2342 )
2020-12-05 19:31:23 +01:00
Christophe Maudoux
f2960f706e
TOTP tolerates both backward and forward clock drift & Append unit test ( #2394 )
2020-12-04 23:05:11 +01:00
Xavier Guimard
b5aec37089
Add Spanish translation (not finished but usable)
2020-12-04 13:11:01 +01:00
Clément OUDOT
db8e8be2ad
Reduce loglevel in unit test ( #2406 )
2020-12-03 20:55:43 +01:00
Clément OUDOT
6b1da39581
Unit test for mail 2F session key ( #2406 )
2020-12-03 20:00:51 +01:00
Clément OUDOT
426555effe
Use a specific parameter for mail 2F session key ( #2406 )
2020-12-03 19:59:36 +01:00
Christophe Maudoux
40113b6829
Improve unit test ( #2398 )
2020-12-01 22:49:17 +01:00
Christophe Maudoux
421929d081
Hide valued headers only ( #2398 )
2020-12-01 20:49:42 +01:00
Clément OUDOT
8211850be7
Better userLogger messages for password change ( #2393 )
2020-11-29 18:02:13 +01:00
Clément OUDOT
fa36ca674c
CSS improvements for checkbox label ( #2301 )
2020-11-28 13:18:38 +01:00
Clément OUDOT
375c64ab42
CSS rule to fix height for checkboc label ( #2301 )
2020-11-28 13:05:07 +01:00
Clément OUDOT
0761e4dabb
Fix CSS typo ( #1431 )
2020-11-28 13:00:50 +01:00
Christophe Maudoux
32d52b96d8
Append an option to obfuscate some headers value ( #2398 )
2020-11-27 23:09:18 +01:00
Maxime Besson
699679a8e0
Documentation for #2359
2020-11-27 14:00:58 +01:00
Maxime Besson
3d83e9fb88
Unit test for OIDC hooks ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
f49c1adf17
add oidcGenerateIDToken hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
daef0cf776
add oidcGenerateUserInfoResponse hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
faadb3f059
add oidcGotRequest hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
bfb0041074
Unit test for SAML hooks ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
c19be1d501
Tidy SAML issuer ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
a706f8a470
add samlBuildLogoutResponse hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
ddc43f7c9c
add samlGotLogoutRequest hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
2dba11e6b3
Add samlBuildAuthnResponse hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
de1d6e205b
Add samlGotAuthnRequest hook ( #2359 )
2020-11-27 14:00:58 +01:00
Maxime Besson
f0dbb28866
Add Hook system for plugins ( #2359 )
2020-11-27 14:00:58 +01:00
Xavier Guimard
54b778ddb7
Update zh_TW translation
2020-11-27 12:27:21 +01:00
Christophe Maudoux
7a7751e569
Code refactoring & typos ( #2334 )
2020-11-25 21:59:49 +01:00
Christophe Maudoux
47151b608a
Log level
2020-11-25 21:58:40 +01:00
Christophe Maudoux
b04bb6ab84
Test if Vhost is HTTP or HTTPS & improve unit test ( #2386 )
2020-11-25 19:09:33 +01:00
Christophe Maudoux
f963afd812
Logs more explicit ( #2334 )
2020-11-25 17:17:36 +01:00
Xavier Guimard
74f582baf4
Add zh_TW translation (portal)
2020-11-23 15:43:13 +01:00
Christophe Maudoux
0a4fabb4e4
Use strict & fix warnings
2020-11-21 19:24:04 +01:00
Christophe Maudoux
6060a54536
Use whatToTrace in log ( #2393 )
2020-11-19 21:51:58 +01:00
Christophe Maudoux
a19d229cd3
Use whatToTrace in log ( #2393 )
2020-11-19 21:28:52 +01:00
Maxime Besson
62c0f9a8b7
unit test for has2f ( #2391 )
2020-11-18 10:10:51 +01:00
Christophe Maudoux
433d0f1259
Fix warnings
2020-11-17 23:23:17 +01:00
Maxime Besson
17f1b474c1
Allow custom logo for sslChoice ( #2388 )
...
CHOICENAME.png now works if the file exists in common/modules
2020-11-17 22:30:47 +01:00
Christophe Maudoux
0294df1cc8
URI are case sensitive ( #2386 )
2020-11-17 22:03:55 +01:00
Christophe Maudoux
df99148b68
Fix wildcarded VHost & improve unit test ( #2386 )
2020-11-17 22:03:55 +01:00
Christophe Maudoux
dfc68f9f98
Use Mouse instead of Exporter
2020-11-16 21:54:54 +01:00
Maxime Besson
0bf14c4709
Unit test for #2382
2020-11-16 18:38:53 +01:00
Maxime Besson
8f1b30b6d0
Return an error if http session could not be found ( #2382 )
2020-11-16 18:38:53 +01:00
Maxime Besson
4ceb75c970
Add urlencode helper to test lib
2020-11-16 18:38:53 +01:00
Maxime Besson
ad4a79e9de
Add http/https option to test lib
2020-11-16 18:38:53 +01:00
Xavier Guimard
30583e3f0f
Add Chinese (Taiwan) translation of mail.json
2020-11-16 09:58:56 +01:00
Christophe Maudoux
0e27767872
Resize modules logo
2020-11-15 23:05:39 +01:00
Maxime Besson
0263865faa
Add CORS headers to error pages ( #2380 )
2020-11-12 14:34:16 +01:00
Maxime Besson
5ada67bf47
Unit test for #2378
2020-11-11 13:39:37 +01:00
Maxime Besson
c8248e1dd3
Add groups for test suite users
2020-11-11 13:39:04 +01:00
Christophe Maudoux
231ec50d63
Fix protocol in log
2020-11-10 10:47:14 +01:00
Christophe Maudoux
91907eba90
Improve & fix AD backend ( #2377 )
2020-11-09 17:50:15 +01:00
Christophe Maudoux
c742d8320e
Set user and oldpassword fields into reset password form & Improve unit tests ( #2377 )
2020-11-09 13:27:16 +01:00
Maxime Besson
3b122daab9
Unit tests for ( #2330 )
2020-11-06 19:00:52 +01:00
Maxime Besson
fa2301ab0e
Force OIDC claim types according to config ( #2330 )
2020-11-06 19:00:52 +01:00
Xavier Guimard
893385d007
Replace application/javascript by application/json ( Fixes #2376 )
2020-11-06 17:58:41 +01:00
Clément OUDOT
fa0f043f18
Check internal refresh result ( #2375 )
2020-11-05 12:26:35 +01:00
Maxime Besson
9463278b2d
Fix doc in test-lib
2020-11-05 10:38:47 +01:00
Maxime Besson
03a6a25bed
Unit test for #2372
2020-11-05 10:38:47 +01:00
Maxime Besson
d63a55d619
Check Kerberos domain against optional whitelist ( #2372 )
2020-11-05 10:38:47 +01:00
Clément OUDOT
b0ef0376fb
Adapt unit test to new HTML code ( #2374 )
2020-11-05 10:14:42 +01:00
Clément OUDOT
e00f1f9e5f
Use form-check-input class ( #2374 )
2020-11-04 23:28:13 +01:00
Clément OUDOT
18c1a753ad
Remove space from generated login in register process ( #2373 )
2020-11-04 21:10:09 +01:00
Christophe Maudoux
31ff8484bb
Tidy
2020-11-04 17:02:07 +01:00
Christophe Maudoux
20f5f467dd
Typos ( #2368 )
2020-11-04 16:12:04 +01:00
Christophe Maudoux
e017f3af80
Improve unit tests ( #2368 )
2020-11-04 13:49:51 +01:00
Christophe Maudoux
50f01e2cbe
Remove cookie & code refactoring ( #2368 )
2020-11-04 13:49:51 +01:00
Maxime Besson
1de41224f8
Avoid memory leaks in $req->steps ( #2369 )
2020-11-02 23:22:04 +01:00
Clément OUDOT
8c1f5c6d50
Launch adaptative authentication plugin just before storing session values ( #2336 )
2020-11-02 15:56:19 +01:00
Christophe Maudoux
ca7107ec59
Improve unit test ( #2364 )
2020-11-01 19:47:10 +01:00
Christophe Maudoux
fb02515d3e
Append unit test & update manifest ( #2366 )
2020-11-01 12:40:26 +01:00
Xavier Guimard
6990a4a0c0
Set "secure" to StayConnected cookie
2020-11-01 08:15:09 +01:00
Christophe Maudoux
0469d36aec
Update version & tidy ( #2366 )
2020-10-31 23:55:41 +01:00
Christophe Maudoux
d8114e0e16
Submit 2FA with StayConnected plugin ( #2366 )
2020-10-31 23:20:18 +01:00
Christophe Maudoux
7ac2a0da80
Allow to check last logins with stayConnected plugin & improve unit test ( #2365 )
2020-10-31 22:10:14 +01:00
Christophe Maudoux
b869b59da7
Avoid assignment ( #2360 )
2020-10-30 12:55:39 +01:00
Maxime Besson
367f1bc5ad
Add LDAP IO timeout ( #2267 )
2020-10-27 16:01:39 +01:00
Xavier Guimard
b6c78511db
Import tr translation from transifex
2020-10-26 20:06:16 +01:00
Christophe Maudoux
e704fe24ea
Fix warning if no path given & code refactoring
2020-10-26 19:21:54 +01:00
Xavier Guimard
5626852872
Refresh translations
2020-10-19 06:14:38 +02:00
Christophe Maudoux
3b1fbd3259
Fix caption position & minify ( #2356 )
2020-10-18 21:02:23 +02:00
Christophe Maudoux
f212b68837
Improve unit test & perl tidy ( #2356 )
2020-10-18 20:43:12 +02:00
Christophe Maudoux
bb79e2a9ac
Merge branch 'v2.0' into 'v2.0'
...
fix some RGAA criteria
See merge request lemonldap-ng/lemonldap-ng!165
2020-10-18 20:37:30 +02:00
dcoutadeur
3d2d08e1fc
fix previous commit: RGAA 5.4 requires arrays to have defined captions ( #2356 )
2020-10-18 14:35:51 +02:00
dcoutadeur
4a1f08e681
fix previous commit: RGAA 5.4 requires arrays to have defined captions ( #2356 )
2020-10-17 19:43:50 +02:00
Christophe Maudoux
90c8c2ba86
Improve messages ( #2332 )
2020-10-16 23:27:06 +02:00
dcoutadeur
59cb1db437
fix RGAA 5.4 requires arrays to have defined captions ( #2356 )
2020-10-16 16:07:31 +02:00
Clément OUDOT
901dc20d69
Use same fields id for passwords in mail.tpl than in password.tpl ( #2355 )
2020-10-15 18:21:17 +02:00
Christophe Maudoux
4b479d48b0
Improve unit test ( #2352 )
2020-10-14 22:02:57 +02:00
Christophe Maudoux
da9dc04657
redirect user to 2fregisters after reAuthn process ( #2332 )
2020-10-14 22:02:57 +02:00
Christophe Maudoux
a86bf488c4
Test if a skip option is enabled ( #2352 )
2020-10-13 22:30:06 +02:00
Christophe Maudoux
929e00e91a
Display button only if upgradeSession plugin is enabled ( #2332 )
2020-10-12 22:32:05 +02:00
Christophe Maudoux
f6eb9e5c1a
Improve unit test ( #2332 )
2020-10-12 22:16:36 +02:00
Christophe Maudoux
605d724453
Improve GUI & unit tests ( #2332 )
2020-10-12 19:24:52 +02:00
Christophe Maudoux
1c574f03da
Rule is not parsed -> convert to bool & be more consistent ( #1605 )
2020-10-12 15:38:57 +02:00
Christophe Maudoux
d76438b1e8
Update langs & error code ( #2238 )
2020-10-12 15:16:55 +02:00
Christophe Maudoux
0b29eb1389
Fix typos
2020-10-12 14:56:07 +02:00
Christophe Maudoux
9245fc4ee1
Append unit test ( #2338 )
2020-10-12 14:55:46 +02:00
Christophe Maudoux
01031d8c4f
Code refactoring ( #2339 )
2020-10-10 19:47:55 +02:00
Xavier Guimard
a78c7c5061
Update JS files
2020-10-10 10:03:55 +02:00
dcoutadeur
cadc4110fa
fix RGAA 1.2 criterium: applogo alt image should be empty (ref #2345 )
2020-10-09 16:22:14 +02:00
Maxime Besson
fcb8e6b3c5
Use keepalive for LDAP connections ( #2344 )
2020-10-09 12:22:28 +02:00
Maxime Besson
834c09995c
Fix unit tests for #2431
2020-10-07 19:46:56 +02:00
Maxime Besson
1a92304bcd
Fallback to sha1 saml signatures on old test env ( #2341 )
2020-10-07 19:14:34 +02:00
Maxime Besson
856f798e4d
Update unit test for #2322
2020-10-07 15:31:59 +02:00
Maxime Besson
5606d0ed6f
Add support for SHA384 and SHA512 ( #2322 )
2020-10-07 15:31:57 +02:00
Maxime Besson
af80e3c4ee
Unit test for #2319
2020-10-07 15:31:27 +02:00
Maxime Besson
1234d5294f
Let users override default SAML signature method ( #2319 )
2020-10-07 15:31:27 +02:00
Christophe Maudoux
cd02b8023e
Fix warning ( #2332 )
2020-10-05 20:45:05 +02:00
Clément OUDOT
a2c2d4281f
Fix JSON usage in unit test for adaptative authentication level plugin ( #2336 )
2020-10-05 10:49:49 +02:00
Christophe Maudoux
352b97f681
Append option to modify 2FA during context switching ( #2338 )
2020-10-04 21:18:09 +02:00
Christophe Maudoux
da91097969
Improve fix ( #2332 )
2020-10-04 19:32:10 +02:00
Christophe Maudoux
a8343ac7be
Test authLevel before removing 2F device ( #2332 )
2020-10-04 19:29:31 +02:00
Clément OUDOT
5d22cf9cd8
Force logout in unit test ( #2336 )
2020-10-04 17:16:02 +02:00
Clément OUDOT
16211e5573
Remove unused sort rule ( #2336 )
2020-10-04 17:05:16 +02:00
Clément OUDOT
2c9ef41c2c
Use whatToTrace ( #2336 )
2020-10-04 17:02:55 +02:00
Clément OUDOT
fd5170c945
Use buildRule ( #2336 )
2020-10-04 16:59:21 +02:00
Clément OUDOT
b21a5fc653
Unit test for adaptative authentication level plugin ( #2336 )
2020-10-04 16:46:14 +02:00
Christophe Maudoux
b573dbb789
Better fix and improve unit test ( #2337 )
2020-10-04 11:35:26 +02:00
Christophe Maudoux
222a6472f4
Fix unit test with skip() ( #2333 )
2020-10-03 13:31:20 +02:00
Christophe Maudoux
452594dbb5
Revert "Avoid to create persistentSession during switching process"
...
This reverts commit 5707f40c5a
.
2020-10-03 13:05:51 +02:00
Christophe Maudoux
89372fb2ce
Append unit test ( #2333 )
2020-10-03 12:34:13 +02:00
Christophe Maudoux
cb0fed8e13
Prevent to update SFA if impersonation is in progress ( #2337 )
2020-10-03 11:58:49 +02:00
Christophe Maudoux
5707f40c5a
Avoid to create persistentSession during switching process
2020-10-02 21:41:07 +02:00
Christophe Maudoux
055ec69b92
Code cleaning & refactoring
2020-10-02 20:40:41 +02:00
Clément OUDOT
6cccea0e46
First version of adaptative authentication level plugin ( #2336 )
2020-10-02 15:05:15 +02:00
Christophe Maudoux
6c2dd27934
Update lang
2020-09-30 22:17:15 +02:00
Christophe Maudoux
4ecce4726b
Remove corrupted sessions ( #2334 )
2020-09-30 21:39:09 +02:00
Nicolas R
a630ff429f
Regenerate META files to advertise bugtracker
2020-09-22 06:26:24 +02:00
Nicolas R
a841691f76
Update MANIFEST for Perl distributions
...
This is adding a MANIFEST.SKIP to avoid adding cruft
to MANIFEST files and updating all MANIFEST.
This is fixing an issue in lemonldap-ng-manager which
is using some unpublished file like:
Api/Providers/CasApp.pm
2020-09-22 06:22:00 +02:00
Maxime Besson
89ec2b09b1
Improve SMTP error reporting ( #2293 )
2020-09-16 17:29:49 +02:00
Maxime Besson
1db67d735a
Put mail transport code in Common so the manager can use it (#2293,#2304)
2020-09-16 17:27:00 +02:00
Christophe Maudoux
6d5ff2468b
Typo
2020-09-16 11:17:14 +02:00
Christophe Maudoux
6f62adacee
Improve unit test ( #2315 )
2020-09-16 11:11:46 +02:00
Christophe Maudoux
556e1fd2df
perl tidy
2020-09-15 22:24:36 +02:00
Christophe Maudoux
d57c314abe
Code refactoring ( #2314 )
2020-09-15 22:24:21 +02:00