Commit Graph

1410 Commits

Author SHA1 Message Date
Maxime Besson
e041eb46bc Update unit tests for #2596 2021-08-26 18:03:35 +02:00
Alexandre KARIM
cd72d00ef8 Subject & deduplicate history IP #2325 2021-08-25 14:28:15 +02:00
Alexandre KARIM
f9c20e6072 Merge branch 'v2.0' into 2325 2021-08-23 16:13:50 +02:00
Christophe Maudoux
017408d005 Merge branch 'v2.0' into 2589 2021-08-20 20:06:22 +02:00
Clément OUDOT
e26f39eb93 Merge branch '2564' into 'v2.0'
2564

See merge request lemonldap-ng/lemonldap-ng!214
2021-08-20 16:07:39 +00:00
Clément OUDOT
4b69efdcce Set on-time-code autocomplete (#2585) 2021-08-20 17:20:58 +02:00
Clément OUDOT
7ecc02d9ea Remove autocomplete on image (#2585) 2021-08-20 11:59:20 +02:00
Alexandre KARIM
ffa804f6a3 Append unit test (#2325) 2021-08-19 10:55:17 +02:00
Alexandre KARIM
fa363b0bb1 Append unit test (#2325) 2021-08-19 10:55:17 +02:00
Christophe Maudoux
351bd43f31 Improve unit test (#2589) 2021-08-18 23:59:51 +02:00
Christophe Maudoux
809faf68c1 Fix unit tests (#2589) 2021-08-13 12:24:40 +02:00
Christophe Maudoux
37363971f3 Merge branch 'v2.0' into 2564 2021-08-12 23:46:55 +02:00
Christophe Maudoux
a524e3cd7c Fix unit tests (#2589) 2021-08-12 23:32:04 +02:00
Christophe Maudoux
30fd065134 Fix unit tests (#2589) 2021-08-12 22:58:47 +02:00
Christophe Maudoux
028e03d8b1 Be more consistent (#2585) 2021-08-05 22:59:33 +02:00
Christophe Maudoux
b4b19919a3 Append autocomplete attribute & fix unit tests (#2585) 2021-08-05 22:45:31 +02:00
Christophe Maudoux
4f78b12d18 Fix warning 2021-07-28 12:45:53 +02:00
Christophe Maudoux
02b702b416 Fix unit test (#2564) 2021-07-28 12:28:47 +02:00
Christophe Maudoux
4d2dfe4abc Fix warnings 2021-07-28 12:10:55 +02:00
Christophe Maudoux
b2f3d00127 Increase ttl 2021-07-28 11:45:46 +02:00
Christophe Maudoux
d44d407bca Enable debug 2021-07-28 11:05:52 +02:00
Christophe Maudoux
21ba445141 Fix unit test (#2564) & some warnings 2021-07-28 10:38:45 +02:00
Christophe Maudoux
fbcaacbdf1 Langs (#2564) 2021-07-27 21:47:48 +02:00
Christophe Maudoux
152855bb84 Improve unit test (#2564) 2021-07-27 20:25:18 +02:00
Christophe Maudoux
13a62b4dde Append unit test (#2564) 2021-07-27 20:12:35 +02:00
Maxime Besson
0aa78fead7 Unit tests for CORS on OIDC endpoints (#2567) 2021-07-26 15:44:20 +02:00
David Coutadeur
c6033a35dc test logout forward url pointing to a protected application (#2153) 2021-07-12 18:16:10 +02:00
Maxime Besson
71e4115875 Make sure empty referers are valid during logout 2021-07-09 15:02:46 +02:00
Yadd
959a4349a2 Merge branch '2328-propagate-logout-through-chaining' into 'v2.0'
test chained SAML login with 2 IDP + logout in SOAP (#2328)

See merge request lemonldap-ng/lemonldap-ng!203
2021-07-09 09:44:08 +00:00
David Coutadeur
70af572c4a test chained SAML login with 2 IDP + logout in SOAP (#2328) 2021-07-09 10:23:17 +02:00
Christophe Maudoux
a85e47ecca Allow to display password with dontStorePassword option & Update unit test (#2454) 2021-07-08 23:55:03 +02:00
Clément OUDOT
82dc1de87f Unit test for portalEnablePasswordDisplay (#2454) 2021-07-07 19:43:56 +02:00
David Coutadeur
5b59eeb2e5 remove useless test on saml signature for test logout through OIDC and SAML chaining (#2328) 2021-07-05 17:43:07 +02:00
David Coutadeur
98b05eb885 test logout through OIDC and SAML chaining (#2328) 2021-07-05 17:09:35 +02:00
Maxime Besson
6a70596ec0 Unit tests for #2544 2021-06-28 13:57:22 +02:00
Christophe Maudoux
7f91820224 Display removed SF name (#1782) 2021-06-26 22:38:42 +02:00
Christophe Maudoux
71ed63a999 Fix unit tests (#2539) 2021-06-26 22:38:41 +02:00
Maxime Besson
d287efb343 Unit test for #2535 2021-06-25 11:43:53 +02:00
Maxime Besson
1d80c262ab Make unit test for #2539 less noisy 2021-06-24 19:05:11 +02:00
Maxime Besson
70bd06bc32 Fix unit test for #2534 2021-06-24 19:02:34 +02:00
Maxime Besson
3d1cc3f499 Unit test for #2534 2021-06-24 16:59:20 +02:00
Christophe Maudoux
71fa5d09f7 Be more strict with URL (#2477) 2021-06-24 14:33:27 +02:00
Yadd
8a18543f55 Remove TODO loop 2021-06-24 14:04:31 +02:00
Maxime Besson
9a2dc48b56 Unit test for #2550 2021-06-21 09:38:03 +02:00
Maxime Besson
ee51e010dc Unit test for #2548 2021-06-21 09:38:03 +02:00
Maxime Besson
e1b7f61d13 Update ID token unit tests 2021-06-21 09:38:03 +02:00
Yadd
b6a1f946b2 Fix handler cache corruption (#2539) 2021-06-19 18:43:41 +02:00
Maxime Besson
2de2cbf454 Fix 2F unit test (#2539) 2021-06-19 18:25:07 +02:00
Maxime Besson
dae4293ecf Unit test for #2518 2021-06-15 14:26:23 +02:00
Maxime Besson
77f5577dc4 Improve SAML test lib 2021-06-15 12:40:15 +02:00
Maxime Besson
cf59bb915e refactor expectAuthenticatedAs 2021-06-15 12:40:15 +02:00
Christophe Maudoux
469d2a40aa Fix warning (#2538) 2021-06-09 23:06:03 +02:00
Christophe Maudoux
86f46ebc5b Fix some warnings (#2538) 2021-06-08 23:03:54 +02:00
Maxime Besson
275567436e Unit test for #2496 2021-06-03 18:31:38 +02:00
Maxime Besson
2414fb4751 Unit tests for (#2510) 2021-06-02 11:08:07 +02:00
Maxime Besson
3b76479bda Add expectPdata function to test lib 2021-06-02 11:07:53 +02:00
Maxime Besson
d4aed0b332 Tidy test lib 2021-06-02 11:07:28 +02:00
Maxime Besson
6ef522c193 Unit tests for #2533 2021-06-01 11:28:34 +02:00
Maxime Besson
ec2b904f4f Unit test for #2532 2021-05-31 11:23:38 +02:00
Maxime Besson
8992b3e789 Unit test for #2529 2021-05-31 09:52:26 +02:00
Christophe Maudoux
7860e18034 Append unit test (#1976) 2021-05-08 21:38:13 +02:00
Christophe Maudoux
a3c48af972 Append unit test (#1976) 2021-05-07 08:15:32 +02:00
Christophe Maudoux
cf55716825 Allow findUser with UpgradeSession (#1976) 2021-05-06 23:16:26 +02:00
Maxime Besson
2142b90caa Unit test for #2513 2021-04-23 09:02:24 +02:00
Maxime Besson
16557f3965 Refactor child-src unit tests (#2513) 2021-04-23 09:02:24 +02:00
Maxime Besson
cd97d3b922 Refactor $req->{cspFormAction} (#2513) 2021-04-23 09:02:24 +02:00
Christophe Maudoux
b54c95ccd2 Improve unit tests & Fix regex (#2509) 2021-04-21 22:14:47 +02:00
Christophe Maudoux
21ced5dbad Fix speChars test, typos & display (#2509) 2021-04-14 13:28:12 +02:00
Maxime Besson
d4c1c3c7de Unit test for #2506 2021-04-09 17:52:24 +02:00
Maxime Besson
1253effa29 Unit test for #2502 2021-04-07 16:40:32 +02:00
Christophe Maudoux
64dffcf4d0 Send only technical and exported attributes (#2503) 2021-04-03 16:46:43 +02:00
Christophe Maudoux
4751427105 Fix error level & Improve doc (#1976) 2021-04-01 23:31:48 +02:00
Christophe Maudoux
bcfb075f63 Be more consistent with REST params & Update doc (#1976) 2021-04-01 22:48:08 +02:00
Christophe Maudoux
6eda19c112 Fix test (#2501) 2021-04-01 19:02:46 +02:00
Christophe Maudoux
654184dd66 Fix bad request (#2501) 2021-04-01 14:49:44 +02:00
Maxime Besson
9fda75edc5 Unit test for #2488 2021-03-17 14:24:47 +01:00
Maxime Besson
fc693184dc Unit test for #2484 2021-03-10 15:47:46 +01:00
Maxime Besson
6a3479ea3c unit tests: Try to find templateDir in path
This change makes running the testsuite from an external directory
easier. Which is useful if you want to unit test a custom module
2021-03-08 18:45:13 +01:00
Maxime Besson
e3ecddb8c9 Unit tests for #2424 2021-03-03 11:03:19 +01:00
Christophe Maudoux
b46259cae9 Enable upgradeSession only if required & Append unit test (#2480) 2021-03-02 19:20:15 +01:00
Yadd
a422af3038 Fix test 2021-03-02 07:58:25 +01:00
Yadd
3883c5abff Fix vhost regexp (#2477) 2021-03-02 07:57:21 +01:00
Maxime Besson
09d727410c Unit test for #2474 2021-02-24 17:48:12 +01:00
Maxime Besson
db8ea6f885 Extend GPG key expiration date, fixes GPG unit test 2021-02-20 20:31:21 +01:00
Maxime Besson
861463f987 Update unit test for #2465 2021-02-19 17:39:45 +01:00
Christophe Maudoux
ff36b81e73 Append accessor to avoid modify conf (#2451) 2021-02-19 07:44:00 +01:00
Xavier Guimard
b5c0ca94c4 CrowdSec plugin (#2451) 2021-02-19 07:40:36 +01:00
Christophe Maudoux
057cfb29e8 Improve code (#2458) 2021-02-18 23:35:25 +01:00
Christophe Maudoux
5f7981e256 Improve error message & unit test (#2458) 2021-02-16 22:04:38 +01:00
Christophe Maudoux
d9a0034e7c Fix warning 2021-02-16 19:07:30 +01:00
Christophe Maudoux
21ba54ca74 Fix warning 2021-02-16 18:49:37 +01:00
Christophe Maudoux
c1951ce3fe Fix warning 2021-02-16 18:30:41 +01:00
Christophe Maudoux
67d8dccf25 Fix warning 2021-02-16 17:04:41 +01:00
Christophe Maudoux
12565ec173 Fix warning 2021-02-16 17:03:34 +01:00
Christophe Maudoux
35385b803d Fix warning 2021-02-16 16:35:23 +01:00
Christophe Maudoux
edf7a88114 Update 29-AuthGPG.t 2021-02-16 15:29:27 +01:00
Christophe Maudoux
071cfe68e2 Fix test 2021-02-16 14:56:59 +01:00
Christophe Maudoux
4583108068 Append download unit test (#2458) 2021-02-16 14:21:10 +01:00
Christophe Maudoux
e477a1cef8 Append unit test & Doc (#2458) 2021-02-15 11:40:46 +01:00
Christophe Maudoux
55071d5210 Keep old behavior if no JS (#1976) 2021-02-05 18:05:59 +01:00
Maxime Besson
857a336da2 Unit tests for JWT access tokens (#2419) 2021-02-01 18:20:32 +01:00
Maxime Besson
420fc72d63 Remove useless vars from OIDC tests 2021-02-01 18:20:32 +01:00
Maxime Besson
3fcea7eb1d Refactor OIDC unit tests 2021-02-01 18:20:32 +01:00
Maxime Besson
6aef1a6317 Refactor: getUserInfo now returns a hash 2021-02-01 18:20:32 +01:00
Maxime Besson
4803024b3e Unit tests for #2424 2021-02-01 16:25:36 +01:00
Christophe Maudoux
ea80b4df0e Use Ajax request (#1976) 2021-01-30 23:22:03 +01:00
Maxime Besson
f8f892c741 Unit test for #2449 2021-01-29 09:45:50 +01:00
Maxime Besson
11a8615348 Fix unit test for #1987 2021-01-25 12:18:55 +01:00
Christophe Maudoux
d2e35df987 Test required select values & Append unit test (#1976) 2021-01-24 19:07:58 +01:00
Christophe Maudoux
7c3955b2aa Allow input type select with FindUser (#1976) 2021-01-23 23:00:23 +01:00
Christophe Maudoux
7d232b43fd Append unit Combination unit test (#1976) 2021-01-23 18:56:19 +01:00
Maxime Besson
ef3c0121e7 Fix random CI failures 2021-01-20 16:52:20 +01:00
Maxime Besson
0e5686a7db Unit test for #2445 2021-01-20 15:37:31 +01:00
Maxime Besson
9463ad3fe5 Unit test for client credentials grant (#1987) 2021-01-19 17:06:21 +01:00
Christophe Maudoux
e4444c907f Append CheckUser normalized headers option & Improve unit test (#2436) 2021-01-08 18:38:05 +01:00
Christophe Maudoux
39528ef1c3 Control parameters (#1976) & Improve unit tests 2021-01-05 22:46:35 +01:00
Christophe Maudoux
1c45e8a8c0 Merge branch 'v2.0' into findUser 2021-01-05 22:14:28 +01:00
Christophe Maudoux
846d6a3655 Allow wildcard with searching parameters (#1976) & Improve unit tests 2021-01-05 22:08:48 +01:00
Maxime Besson
127aa91a8f Merge branch 'feature-cas-service-url-2321' into 'v2.0'
Feature cas service url 2321

See merge request lemonldap-ng/lemonldap-ng!175
2021-01-05 18:49:24 +01:00
Maxime Besson
723dcce62f Unit test for #2321 2021-01-05 17:42:40 +01:00
Maxime Besson
65939365a8 Unit test for #716 2021-01-04 21:31:34 +01:00
Maxime Besson
971dbf231e Unit test for #714 2021-01-04 21:31:34 +01:00
Maxime Besson
fdbe713e1f Unit test for #2430 2021-01-04 21:16:52 +01:00
Christophe Maudoux
554daba5fe Allow multi-valued excluding parameters (#1976) 2021-01-04 20:23:42 +01:00
Christophe Maudoux
fc6ea96954 FindUser with combination (#1976) 2021-01-03 19:00:20 +01:00
Christophe Maudoux
50a35e7588 Improve unit test (#1976) 2021-01-02 23:08:56 +01:00
Christophe Maudoux
c2c02b4c86 Append REST UserDB unit test (#1976) 2021-01-02 22:50:56 +01:00
Christophe Maudoux
5e8effcddd Test token (#1976) 2021-01-02 17:46:16 +01:00
Christophe Maudoux
c2342336c2 Merge branch 'v2.0' into findUser 2020-12-27 23:39:54 +01:00
Christophe Maudoux
597455dfcf FindUser with LDAP & AD & Append unit test (#1976) 2020-12-27 23:37:40 +01:00
Christophe Maudoux
072f68004a Improve debug log & unit tests (#1976) 2020-12-27 18:03:08 +01:00
Christophe Maudoux
0b750fb6cc Append Choice unit tests (#1976) 2020-12-27 14:24:15 +01:00
Christophe Maudoux
c0f71ee0f1 Fix FindUSer with Choice (#1976) 2020-12-27 13:29:10 +01:00
Christophe Maudoux
406fdbc54b Append unit test if Impersonation is missing (#1976) 2020-12-26 15:27:25 +01:00
Christophe Maudoux
3219673375 Append unit test with token & Fix error code (#1976) 2020-12-26 14:30:38 +01:00
Christophe Maudoux
23e52fcec2 Append Demo UserDB unit test & Fix code (#1976) 2020-12-26 14:30:38 +01:00
Christophe Maudoux
f956810e48 Redirect to Portal (#1976) 2020-12-23 22:47:08 +01:00
Christophe Maudoux
c3d2b2b463 Fix warnings 2020-12-23 16:23:28 +01:00
Christophe Maudoux
60ce68ce23 Use OTT (#1976) 2020-12-23 14:50:36 +01:00
Christophe Maudoux
02aafdeddd Improve unit test DBI (#1976) 2020-12-22 23:04:47 +01:00
Christophe Maudoux
77c25b98cf FindUser DBI & Append unit test (#1976) 2020-12-22 22:51:37 +01:00
Maxime Besson
ed0be42c93 Merge branch 'WIP-plugin-hooks-2359' into 'v2.0'
Plugin hook system to extend issuers (and maybe more)

See merge request lemonldap-ng/lemonldap-ng!166
2020-12-21 16:35:03 +01:00
Christophe Maudoux
48df4a8807 Fix conf test & unit test (#2243) 2020-12-19 19:46:36 +01:00
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
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
d7d1473ad5 Unit tests for #2403 2020-12-07 17:49:22 +01:00