Commit Graph

718 Commits

Author SHA1 Message Date
Christophe Maudoux
6e50f41687 Fix session update (#1664) 2019-03-06 21:29:03 +01:00
Christophe Maudoux
e32e5adf59 Append unit test (#1664) 2019-03-06 21:28:45 +01:00
Christophe Maudoux
e506c5cc58 Using current session if exists (#1664) 2019-03-06 19:26:32 +01:00
Christophe Maudoux
13fdc5eda8 Append unit test (#1664) 2019-03-06 17:58:09 +01:00
Xavier Guimard
26b80873be Modify Try.pm to handle authorizations (#1658) 2019-03-05 21:11:07 +01:00
Christophe Maudoux
6ba5c4b530 Update unit test (#1658) 2019-03-05 19:42:29 +01:00
Christophe Maudoux
556cfcf355 Fix unit test (#1664) 2019-03-04 22:00:07 +01:00
Christophe Maudoux
419489fa08 Improve unit test (#1664) 2019-03-04 21:28:21 +01:00
Maxime Besson
58a823c222 Add unit tests for metadata generation 2019-03-04 09:33:12 +01:00
Christophe Maudoux
f8160f2130 Append unit test (#1658) 2019-03-02 13:11:56 +01:00
Christophe Maudoux
f3617ef947 Append unit test (#1658) 2019-03-01 21:46:35 +01:00
Maxime Besson
756cf38159 Add unit tests 2019-03-01 10:18:57 +01:00
dcoutadeur
ba9dc8863f add test to fix 'id_token validity not correctly evaluated' #1662 2019-02-28 10:37:51 +01:00
Christophe Maudoux
9fafa1d8d5 Override msg with local json files (#1595) 2019-02-20 23:22:56 +01:00
Christophe Maudoux
53eb78c53d Update unit test (#1595) 2019-02-19 23:03:40 +01:00
Christophe Maudoux
a28310956e Append unit test (#1632) 2019-02-16 22:00:25 +01:00
Christophe Maudoux
46f685f9b2 Improve unit test (#1632) 2019-02-14 22:09:59 +01:00
Xavier Guimard
77ccc9bbc3 Skip GPG test if gpg install fails. Fixes debci
See https://bugs.debian.org/922265
2019-02-14 16:39:27 +01:00
Xavier Guimard
095f9c67fd Fix LDAP policy test (Closes: #1639) 2019-02-12 12:00:49 +01:00
Clément OUDOT
0686a0844c Use a DSA account to test ppolicy (#1639) 2019-02-12 09:23:09 +01:00
Xavier Guimard
b3969ba84c Try PE_PP_PASSWORD_TOO_SHORT => fail (#1639) 2019-02-12 09:00:21 +01:00
Clément OUDOT
e7dbc48623 Add password min length policy in slapd test server (#1639) 2019-02-11 21:16:54 +01:00
Xavier Guimard
e728e0f415 Fix test count when TESTLDAP is not set (#1639) 2019-02-11 16:19:35 +01:00
Xavier Guimard
eb9500023e Add test for "lock" (#1639) 2019-02-11 16:12:49 +01:00
Xavier Guimard
e001cc4069 Enable test for "expire" too 2019-02-11 16:03:37 +01:00
Xavier Guimard
3069887a52 Call PasswordDB::LDAP if unauth user requests changing password (#1639) 2019-02-11 15:40:27 +01:00
Xavier Guimard
562526dd89 Improve LDAP reset test (#1639) 2019-02-11 14:26:41 +01:00
Clément OUDOT
6cb587596c Add LDAP password ppolicies in slapd test server (#1639) 2019-02-11 10:34:00 +01:00
Christophe Maudoux
060190758f Improve unit test (#1625) 2019-02-10 22:32:47 +01:00
Christophe Maudoux
d804ce2ba5 Improve unit test (#1625) 2019-02-10 22:29:50 +01:00
Christophe Maudoux
1f11f31532 Improve unit test (#1625) 2019-02-10 11:35:15 +01:00
Christophe Maudoux
e457685e63 Improve unit test (#1625) 2019-02-10 11:17:23 +01:00
Christophe Maudoux
2fcc91f72d Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-09 23:06:02 +01:00
Christophe Maudoux
64e6c20f9f Improve unit test (#1595) 2019-02-09 23:05:51 +01:00
Xavier Guimard
1293643a76 Materialize failure #1639 2019-02-09 20:59:03 +01:00
Xavier Guimard
759c93b595 Full test for #1639 2019-02-09 20:53:24 +01:00
Xavier Guimard
9208beba38 Test skeleton for #1639 2019-02-09 09:49:21 +01:00
Christophe Maudoux
2ce4e982c9 Error level 2019-02-07 17:21:56 +01:00
Christophe Maudoux
8b995f55bf Restore OpenID activation global rule & Improve unit test (#1625) 2019-02-07 17:21:14 +01:00
Christophe Maudoux
b1048043e9 Restore GET activation global rule & Improve unit test (#1625) 2019-02-07 17:16:29 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Christophe Maudoux
5055b18087 Restore OIDC activation global rule (#1625) & Improve unit test 2019-02-06 23:10:10 +01:00
Christophe Maudoux
f3bbc0e44e Improve unit test (#1625) 2019-02-06 22:54:41 +01:00
Christophe Maudoux
007a5432f9 Restore CAS activation global rule (#1625) 2019-02-06 22:16:34 +01:00
Christophe Maudoux
d0ba478b6e Improve unit test (#1637) 2019-02-06 13:13:24 +01:00
Christophe Maudoux
70994bd7db Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-05 23:37:46 +01:00
Christophe Maudoux
24e58fafc9 Improve unit test (#1637) 2019-02-05 23:32:55 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
d4ce3950ad Improve test skips 2019-02-05 10:35:42 +01:00
Christophe Maudoux
29b293395a Improve unit test (#1628) 2019-02-04 19:20:28 +01:00
Christophe Maudoux
8c409fc51d Fix error msg & Improve unit test (#1628) 2019-02-04 17:40:18 +01:00
Christophe Maudoux
7ce7db37af Rename unit test (#1629) 2019-02-04 12:17:10 +01:00
Christophe Maudoux
d14f0ff384 Improve RexEp (#1629) 2019-02-04 12:14:31 +01:00
Xavier Guimard
2a7171381b Accept old gpg syntax (Closes: #1569) 2019-02-03 23:10:12 +01:00
Christophe Maudoux
e41be10a23 Improve RegExp (#1629) 2019-02-03 21:48:49 +01:00
Christophe Maudoux
fcac69fe7a Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-03 20:05:40 +01:00
Christophe Maudoux
153084118f Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-03 20:05:28 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Christophe Maudoux
a084ba3c84 Improve unit tests (#1605) 2019-02-02 22:23:56 +01:00
Christophe Maudoux
9987d28ac3 Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-02 21:31:37 +01:00
Christophe Maudoux
dba550b6a9 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-02 19:06:18 +01:00
Christophe Maudoux
08647bb96a Improve unit test (#1636) 2019-02-02 15:34:24 +01:00
Christophe Maudoux
832d7d87c8 Fix AuthSSL with Choice (#1636) 2019-02-01 23:54:20 +01:00
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
e555e2409b Disable autocompletion in 2FA forms (#1609) 2019-01-09 19:01:49 +01:00
Xavier Guimard
1e3ab69be3 Add minimal Auth::GPG 2018-12-21 16:07:28 +01:00
Christophe Maudoux
f42fbdac16 Improve unit test (#1587) 2018-12-18 11:16:34 +01:00
Christophe Maudoux
3d08f13da4 Improve unit test (#1585) 2018-12-15 16:37:04 +01:00
Christophe Maudoux
e08d0a78e6 Fix unit tests (#1506) 2018-12-13 00:12:49 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Clément OUDOT
5a0bf72dfd Fix warnings in RPM build (#1559) 2018-11-29 21:36:54 +01:00
Xavier Guimard
74fb013e73 Fix some warnings 2018-11-29 21:19:39 +01:00
Xavier Guimard
02f8c41030 Fix little warnings (#1559) 2018-11-29 17:00:28 +01:00
Christophe Maudoux
7c1162dd1f Improve unit test 2018-11-26 21:59:40 +01:00
Christophe Maudoux
545a6485ae Improve unit test 2018-11-26 21:38:59 +01:00
Xavier Guimard
6aee861c4d spelling errors 2018-11-26 14:41:48 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
61399a5a5e Improve unit test (#1550) 2018-11-23 23:04:47 +01:00
Christophe Maudoux
38b37600c8 Improve unit test (#1550) 2018-11-21 21:35:43 +01:00
Christophe Maudoux
2d1e56467e Improve unit test (#1550) 2018-11-21 21:32:03 +01:00
Christophe Maudoux
b1fe73be96 Fix unit test 2018-11-20 22:49:51 +01:00
Christophe Maudoux
0f29f458bf Improve unit test 2018-11-20 22:35:44 +01:00
Christophe Maudoux
dd4bf53ed8 Improve unit test (#1508) 2018-11-16 22:02:43 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Xavier Guimard
69cdd66444 Password::Choice wasn't called (#1508 #1517) 2018-11-16 15:08:27 +01:00
Christophe Maudoux
870ef88284 Set tempo 2018-11-15 22:55:53 +01:00
Christophe Maudoux
7416dc7e65 Typo 2018-11-15 21:16:58 +01:00
Christophe Maudoux
3980070aa3 Unit test -> debug 2018-11-15 19:38:23 +01:00
Christophe Maudoux
b1747a95df Display form again when an error occures (#1508) 2018-11-15 19:26:16 +01:00
Christophe Maudoux
f98734adba Unit test -> debug 2018-11-14 23:02:13 +01:00
Christophe Maudoux
b1d2d061c6 Improve unit test (#1508) 2018-11-14 22:52:52 +01:00
Christophe Maudoux
91ffd2955a Improve unit test (#1508) 2018-11-13 23:45:57 +01:00
Xavier Guimard
e317d180b9 Fix MailReset for DBI (#1508)
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Xavier Guimard
61eb91b7aa Store pdata in mailToken (#1508) 2018-11-13 06:53:21 +01:00
Xavier Guimard
107805d03b Add MailReset+Choice test (#1508) 2018-11-10 09:37:33 +01:00
Christophe Maudoux
63fc2dbf27 Improve unit tests (#1509) 2018-11-09 21:36:55 +01:00
Christophe Maudoux
ce7629e86e Improve unit tests (#1539) 2018-11-07 22:27:58 +01:00
Christophe Maudoux
723ea51979 Improve unit test (#1532) 2018-11-03 23:30:45 +01:00
Christophe Maudoux
6c02e92d8b Improve unit test (#1532) 2018-11-03 23:19:25 +01:00
Christophe Maudoux
4b3d110ec2 Improve unit test (#1515) 2018-11-03 23:01:29 +01:00
Christophe Maudoux
de55085a47 Improve unit test (#1534) 2018-11-03 22:55:20 +01:00
Christophe Maudoux
bf51bd868b Improve unit tests (store & bypass oidcConsent (#1533) 2018-10-30 23:22:20 +01:00
Clément OUDOT
badc7a0cad Add AD password module (#1530) 2018-10-29 18:35:25 +01:00
Clément OUDOT
f31b60cf98 No more pdata in CAS gateway mode test (#1528) 2018-10-29 08:09:03 +01:00
Christophe Maudoux
d28991ec6b Append unit tests (#1509) 2018-10-23 23:39:28 +02:00
Christophe Maudoux
52ac044205 Improve unit tests (#1515) 2018-10-21 22:51:41 +02:00
Christophe Maudoux
799e6cfa3c Fix unit test (#1515) 2018-10-21 22:15:26 +02:00
Christophe Maudoux
2e658fd557 Append old LLNG logo & Fix unit tests (#1515) 2018-10-21 22:12:56 +02:00
Christophe Maudoux
ef53a04549 Improve unit test to pass auto-dpkg tests ? 2018-10-19 20:57:53 +02:00
Clément OUDOT
30b7ce6396 Use main logo in mails (#1515) 2018-10-17 10:43:41 +02:00
Christophe Maudoux
300b68cba0 Improve unit tests (#1515 & #1522) 2018-10-16 22:09:14 +02:00
Christophe Maudoux
a0b71fe08a Improve unit tests (#1515) 2018-10-16 21:49:07 +02:00
Christophe Maudoux
f0e230d8e0 Improve notification unit tests to avoid issue (#1522) 2018-10-15 22:07:41 +02:00
Christophe Maudoux
25ca799302 Improve unit test (#1515)
test main logo link
2018-10-13 23:09:59 +02:00
Christophe Maudoux
2e63096719 Improve history unit test - custom values (#1501) 2018-10-12 22:50:01 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Xavier Guimard
22c1b5532f Improve test (#1517) 2018-10-09 22:45:40 +02:00
Xavier Guimard
7a2420370b Add password change in Choice (#1517) 2018-10-09 22:42:43 +02:00
Christophe Maudoux
e0521cd470 perltidy 2018-10-07 15:40:45 +02:00
Christophe Maudoux
96e84e3ebb Improve unit test - Custom msg with session data (#1510) 2018-10-07 15:38:02 +02:00
Christophe Maudoux
b075aa47a6 perltidy 2018-10-07 11:40:26 +02:00
Christophe Maudoux
44b5726ece Append 2F unit tests & update manifest 2018-10-06 23:10:48 +02:00
Christophe Maudoux
5a832b57a7 Remove unuseful Perl version directive 2018-10-05 21:36:13 +02:00
Christophe Maudoux
65296a4bdf perltidy (#1507) 2018-10-04 19:09:11 +02:00
Christophe Maudoux
db77f9bf3e Append unit test (#1507) 2018-10-04 19:08:29 +02:00
Xavier Guimard
b82ae3f259 Missings unlink 2018-10-03 22:01:32 +02:00
Christophe Maudoux
6ad4b886b6 Improve unit test (#1510) 2018-10-02 20:40:55 +02:00
Christophe Maudoux
bcdd461f0b Improve unit test (#1510) 2018-10-02 20:29:43 +02:00
Christophe Maudoux
8890aa05f7 Fix conf parameter name (#1510) 2018-10-01 15:20:41 +02:00
Christophe Maudoux
9387ed9778 Append unit test (#1506) 2018-09-28 23:04:03 +02:00
Xavier Guimard
6d96cd5531 Fix tests (#1504) 2018-09-26 19:59:23 +02:00
Xavier Guimard
999569c170 Provide WSDL in 2.0 (#8)
To use it, set "wsdlServer=1" in lemonldap-ng.ini
2018-09-26 07:28:29 +02:00
Christophe Maudoux
dff17f9dfe WIP - Disable unit test (#1506) 2018-09-23 12:57:24 +02:00
Christophe Maudoux
31a689340d Rename BruteForceProtection plugin (#1506) 2018-09-23 11:09:04 +02:00
Christophe Maudoux
d4d41d124c Rename unit test & Update manifest 2018-09-22 22:39:15 +02:00
Christophe Maudoux
587fdfe708 Append BrutForceProtection unit test (#1506) 2018-09-22 22:34:14 +02:00
Christophe Maudoux
fd6bb12aa5 Improve unit test 2018-09-22 22:25:30 +02:00
Christophe Maudoux
5ce3559ed2 Update unit test 2018-09-22 20:37:51 +02:00
Christophe Maudoux
5494fd07fb Improve unit test to check 'failedLogin' history (#1501) 2018-09-22 11:21:37 +02:00
Christophe Maudoux
5cc64d285f Update unit tests with history 2018-09-09 23:37:40 +02:00
Christophe Maudoux
30697c8cd5 Modify tests to check login history 2018-09-09 23:18:49 +02:00
Xavier Guimard
c72c14b230 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-06 11:31:01 +02:00
Xavier Guimard
739082083f Add test framework doc 2018-09-06 11:23:49 +02:00
Christophe Maudoux
6e5f10be35 Improve 76-2F-Ext.t 2018-09-06 10:17:59 +02:00
Xavier Guimard
4c1434dfeb Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 22:25:41 +02:00
Xavier Guimard
841c5ba504 Improve Debian autopkgtest tests 2018-09-05 22:24:23 +02:00
Christophe Maudoux
b23f96e268 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 21:20:38 +02:00
Christophe Maudoux
766343062f Append EXT2F unit test 2018-09-05 21:13:39 +02:00
Xavier Guimard
10ed38bd3a Optimize notifications (#1497) 2018-09-05 13:35:50 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00