Commit Graph

4244 Commits

Author SHA1 Message Date
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