Commit Graph

180 Commits

Author SHA1 Message Date
Maxime Besson
f020a27a2c Add function to test if an element is in a list (#2011) 2019-11-22 18:49:02 +01:00
Xavier Guimard
edae537ea3 Merge branch 'centos-ci' into 'v2.0'
Add CentOS7 CI config

See merge request lemonldap-ng/lemonldap-ng!102
2019-11-08 10:32:48 +01:00
Christophe Maudoux
86e7140624 Update version (#1994) 2019-11-05 20:50:15 +01:00
Christophe Maudoux
a44223e358 Append extended function (#1994) 2019-11-05 17:18:23 +01:00
Maxime Besson
cb541e89d4 Check that memcached is started before running SecureToken test 2019-11-05 16:33:13 +01:00
Maxime Besson
983a4e6485 Use Time::Fake to avoid sleeping during tests 2019-11-04 18:11:32 +01:00
Christophe Maudoux
64d76148ef Improve unit tests (#1988) 2019-10-29 22:35:21 +01:00
Christophe Maudoux
a3169c4480 Improve unit tests (#1988) 2019-10-29 22:18:23 +01:00
Christophe Maudoux
9c823b2e7f Import ServiceTokenTTL into tsv (#1974) 2019-10-11 22:12:55 +02:00
Christophe Maudoux
7534692a87 WIP - Append AuthBasic hanlder unit test 2019-09-29 13:44:21 +02:00
Christophe Maudoux
8fbbf89d5c Improve handler unit tests 2019-09-29 13:14:20 +02:00
Xavier
b6d517d3d7 Fix tests 2019-09-29 08:30:39 +02:00
Christophe Maudoux
d1d6b4f192 Append SecureToken handler unit test 2019-09-28 19:49:01 +02:00
Christophe Maudoux
b969f5b876 Typo 2019-09-28 19:45:21 +02:00
Christophe Maudoux
32a0d0944a Append ZimbraPreAuth handler test (#1954) 2019-09-28 12:11:33 +02:00
Christophe Maudoux
892516d55e Typo 2019-09-28 12:10:33 +02:00
Christophe Maudoux
84778604fd Typo 2019-09-18 21:01:24 +02:00
Christophe Maudoux
5ef6443103 Improve unit test (#1901) 2019-08-31 22:15:00 +02:00
Xavier Guimard
aeff014f79 Parallel tests 2019-08-29 10:48:55 +02:00
Christophe Maudoux
814590d40e Remove consumed headers & update unit test (#1863) 2019-08-27 21:15:19 +02:00
Christophe Maudoux
323a6a027c Revert "Fix duplicate headers & update unit test (#1863)"
This reverts commit c7e7a2bd86.
2019-08-26 23:13:17 +02:00
Christophe Maudoux
c7e7a2bd86 Fix duplicate headers & update unit test (#1863) 2019-08-26 22:53:29 +02:00
Christophe Maudoux
037dff2de9 Typo 2019-08-26 22:53:29 +02:00
Christophe Maudoux
686b29c7e0 Improve unit test (#1773) 2019-07-02 20:23:39 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Xavier Guimard
a6a25f0aa5 Fix randomly CI failure (#1797) 2019-06-25 17:46:49 +02:00
Xavier
be908c84ad Optimize #1797 2019-06-12 22:55:25 +02:00
Christophe Maudoux
313fe39ed9 tidy 2019-06-12 22:43:16 +02:00
Christophe Maudoux
55e26efe4e Send service headers & improve unit test (#1797) 2019-06-12 22:33:18 +02:00
Christophe Maudoux
aa0b67f979 Send source VH header & Improve unit test (#1797) 2019-06-11 21:44:38 +02:00
Christophe Maudoux
4e53907e09 Diag msg 2019-05-30 12:26:50 +02:00
Christophe Maudoux
781f299603 Improve unit test (#1773) 2019-05-27 22:42:02 +02:00
Christophe Maudoux
22cca03e0a Improve unit test (#1773) 2019-05-26 22:15:24 +02:00
Christophe Maudoux
447e961360 Improve unit test (#1773) 2019-05-26 21:46:44 +02:00
Christophe Maudoux
1bc9539538 Fix unit test (#1773) 2019-05-26 20:43:43 +02:00
Christophe Maudoux
39233ccb99 Improve unit test (#1773) 2019-05-26 18:36:45 +02:00
Christophe Maudoux
5ec8904d17 Improve unit test (#1773) 2019-05-26 18:32:38 +02:00
Christophe Maudoux
f917a9cfec Improve unit test for doubleCookie 2019-05-11 22:52:07 +02:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
4934eb92f8 Merge branch 'v2.0' 2019-02-05 11:28:32 +01:00
Xavier Guimard
cd8146a172 Add test to check if vhostOptions are read (#1613) 2019-02-05 11:25:26 +01:00
Xavier Guimard
75994f726d Missing dep 2019-02-05 11:25:26 +01:00
Christophe Maudoux
45413d838d Typo 2019-02-04 21:15:59 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
4ec3df028d Typo 2018-10-26 20:55:31 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
e97a546433 Add "Null" logger (#857) 2018-04-17 06:56:29 +02:00
Xavier Guimard
b3ff6e2666 Clean shellbangs (Debian 4.1.2 policy compliance) 2017-12-01 06:42:02 +01:00
Xavier Guimard
6da0f69b27 Fix #1323 2017-10-30 20:24:59 +00:00
Xavier Guimard
87b41339e5 Wildcard feature in vhost (closes: #1317) 2017-10-23 19:59:43 +00:00
Xavier Guimard
2580a21f7a Remove old UA exported var (#1044) 2017-03-31 16:15:38 +00:00
Xavier Guimard
2e59ea441a Replace request management in handler (#1044)
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Xavier Guimard
c761cc5781 Mark some properties "lazy" to be sure conf is intialized (#595) 2017-03-27 16:51:18 +00:00
Xavier Guimard
ca2e9be0e5 Rename _loginHistory (#1169) 2017-03-21 21:00:37 +00:00
Xavier Guimard
99ddfbfe25 Rename _startTime and _updateTime (#1169) 2017-03-21 20:52:40 +00:00
Xavier Guimard
e681f31079 Simple token system as discuss in #971 2017-03-04 12:24:56 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
943ad7f156 DevOps in progress (#1091) 2017-02-22 08:12:55 +00:00
Xavier Guimard
1c257018ee Add DevOps handler (#1091) 2017-02-22 06:35:19 +00:00
Xavier Guimard
d13d87d68d Force standard logger (#1162) 2017-02-21 11:11:23 +00:00
Xavier Guimard
104ca36361 Force standard logger (#1162) 2017-02-21 11:08:45 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
d25f7061ab Transform logger into objects (#1162) 2017-02-13 11:58:39 +00:00
Xavier Guimard
cf1b164058 Avoid calling init without valid lemonldap-ng.ini (#1162) 2017-02-12 20:26:36 +00:00
Xavier Guimard
c5626c77b5 Create logger files (#1162) 2017-02-12 20:09:46 +00:00
Xavier Guimard
40b7535ff3 Reorganize handler (closes: #1160) 2017-02-11 07:47:22 +00:00
Xavier Guimard
e7cb171f02 Don't use accessor to avoid jail failing (#1160) 2017-02-10 12:52:25 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
9e12c94234 Remove old CGI files (#595) 2017-02-05 12:30:50 +00:00
Xavier Guimard
1e4c6da389 Rename lmConf-*.js to lmConf-*.json (fix: #1090) 2017-01-27 11:58:46 +00:00
Xavier Guimard
d0350660e7 More security for path 2017-01-10 06:04:38 +00:00
Xavier Guimard
a09d12031e Some big changes (#595)
Replace uri_escape by WWW::Form::UrlEncoded
Replace PSGI:Request by inheritance from Plack::Request
2017-01-04 16:36:54 +00:00
Xavier Guimard
9fcbf8ed9a Import autopkgtests (#1110) 2016-11-12 08:24:52 +00:00
Xavier Guimard
469622fe97 Pass to closures (#1044) 2016-07-30 20:48:03 +00:00
Xavier Guimard
6d4b8c436b Clean t/ 2016-06-12 16:52:34 +00:00
Xavier Guimard
bf1fd28aff Backport #1036 2016-06-09 11:45:10 +00:00
Xavier Guimard
39c6713aea Tidy 2016-04-29 07:27:26 +00:00
Xavier Guimard
4fe318a5ea Authentication succeeds (#595) 2016-04-04 20:39:22 +00:00
Xavier Guimard
fa0ae39f8a Add special handler to be used by PSGI portal (#595) 2016-03-23 21:55:47 +00:00
Xavier Guimard
2d2edb61ac Merge experimental branch (#960)
Also update version to 2.0
2016-03-17 22:19:44 +00:00
Xavier Guimard
8357b79684 Activate maintenance mode if reval fails (closes: #973) 2016-03-08 15:03:55 +00:00
Xavier Guimard
4fbdd9b15f Remove old Proxy.pm (#630) 2016-02-27 17:46:21 +00:00
Xavier Guimard
aab84b0d6f make tidy 2016-02-17 10:12:19 +00:00
Xavier Guimard
7de28b3912 Avoid some warnings 2016-02-17 10:07:24 +00:00
Xavier Guimard
857ec88efc Fix some warnings 2016-02-17 10:07:08 +00:00
Xavier Guimard
deeead1a7e Launch init() in tests 2016-02-16 16:01:45 +00:00
Xavier Guimard
0f8fe7894f Rename router() to handler() in PSGI (#820) 2016-02-11 06:00:35 +00:00
Xavier Guimard
0e11cf3ed3 Full tests for Nginx handler (#583) 2016-02-01 22:22:33 +00:00
Xavier Guimard
ff61b49fd9 Full PSGI test 2016-02-01 20:10:28 +00:00
Xavier Guimard
189e560900 Nginx in progress... (#583) 2016-02-01 19:05:14 +00:00
Xavier Guimard
feee76e5bd PSGI tests in progress... (#583) 2016-02-01 12:15:27 +00:00
Xavier Guimard
8aa41789a9 Skeleton for PSGI handler tests 2016-02-01 11:11:31 +00:00
Xavier Guimard
ee5b1351e1 Update lmConf (missing required attributes) 2016-01-12 22:04:08 +00:00
Xavier Guimard
773ccfe718 Avoid some warnings 2016-01-12 21:00:09 +00:00
Xavier Guimard
fc6c64d6f3 Part back to 3466: Attributes.pm is not github version 2015-03-09 15:39:15 +00:00
Clément Oudot
f97f5c72e0 make tidy 2014-07-24 15:48:32 +00:00
François-Xavier Deltombe
aa1c7357fe Handler Jail: attribute "safe" renamed into "jail" (#729) 2014-07-07 09:54:13 +00:00