Commit Graph

180 Commits

Author SHA1 Message Date
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
François-Xavier Deltombe
588d438879 Handler: adjust few things about logs and loglevel (#630) 2014-07-03 15:20:20 +00:00
François-Xavier Deltombe
e2feaf796d Handler: update test for svn commit r3468 (#717) 2014-07-03 09:30:41 +00:00
François-Xavier Deltombe
0f0ac0dc69 Handler: Update tests for previous commit (#630) 2014-07-01 12:59:11 +00:00
François-Xavier Deltombe
a469de88ba Handler: Main::GlobalInit moved into Reload::configReload (#717) 2014-06-30 18:34:23 +00:00
François-Xavier Deltombe
29bcee135b Handler: Rename Initialization::GlobalInit into Reload (#717) 2014-06-30 09:35:32 +00:00
François-Xavier Deltombe
4f2d8404bb Remove a test to localInit() method, removed at prevous revision 2014-06-27 16:44:14 +00:00
François-Xavier Deltombe
6aa06d2d40 Handler: remove useless call to defaultValuesInit at server startup, move
remaining methods of LocalInit into SharedConf and remove LocalInit.pm (#630)
2014-06-27 16:20:51 +00:00
Clément Oudot
6a120c7ed3 Various fix for RPM packaging 2014-06-27 14:12:54 +00:00
François-Xavier Deltombe
cf00c2db20 Handler: send session cache params to Status process only at config reload (#630) 2014-06-27 10:33:09 +00:00
François-Xavier Deltombe
3204fe8fb0 Handler: session cache not initialize at startup anymore (this is done by
Common::Session), and not required anymore by Status module (#630)
2014-06-26 15:12:31 +00:00
David COUTADEUR
5b25f60809 - Fix r3348 and r3335: renaming SpecificHandler into Specific
(references #630 #LEMONLDAP-583)
2014-06-11 14:43:57 +00:00
François-Xavier Deltombe
d60d8ee9a2 Forgot to commit test files for previous revision (#630) 2014-06-09 17:42:02 +00:00
Clément Oudot
dbfbde2e9f make tidy 2014-06-08 10:04:50 +00:00
François-Xavier Deltombe
2a447eeb47 Adapt Nginx vhost files because of the perl API inabilities (#583) 2014-05-30 17:11:00 +00:00
Clément Oudot
c4b9635c53 Fix some tests after recent modifications on Handler 2014-05-24 18:23:34 +00:00
François-Xavier Deltombe
b83ca9d9b2 pass $apacheRequest object to functions in parameters
instead of as a global var (#630)
2014-05-23 10:23:51 +00:00
David COUTADEUR
baaf923536 - renaming DefaultHandler into SharedConf, and using Handler.pm as new entry point
(references #630)
2014-05-21 17:44:24 +00:00
François-Xavier Deltombe
85e9b0f0fb Fix unit test by setting LLNG_DEFAULTCONFFILE as a filename, not a file descriptor 2014-05-16 13:29:12 +00:00
Xavier Guimard
872e804520 Don't use default temp directory for tests 2014-05-11 20:03:56 +00:00
Xavier Guimard
3539f1c965 Bad portal URL (missing "/") 2014-05-11 20:02:43 +00:00
Clément Oudot
0a0545c8f3 Fix unit test by using LLNG_DEFAULTCONFFILE env 2014-05-01 21:27:07 +00:00
David COUTADEUR
81553b7a5e - merging tests from lemonldap-ng-experimental branch to trunk
(references #630)
2014-03-31 16:25:09 +00:00
David COUTADEUR
e40020674a - deleting tests corresponding to CDA handler. (deleted in previous commit)
- deleting stuff referencing CDA in the MANIFEST file
2014-03-31 15:53:17 +00:00
Clément Oudot
8ae9672cf3 Test defaultValuesInit (#558) 2013-10-03 10:48:52 +00:00
Clément Oudot
a81fecb46f Catch STDERR in test file to prevent rule output (#613) 2013-09-27 15:09:04 +00:00
Clément Oudot
b12d691fbc Add AuthBasic Handler in default installation (#519) 2012-09-10 10:34:28 +00:00
François-Xavier Deltombe
203b4f5d9c Remove session cache default namespace from code also in purgeLocalCache
+ udpate comments (Lemonldap-499)
2012-08-13 10:53:29 +00:00
Clément Oudot
7242777ec6 Test Digest::HMAC_SHA1 in Zimbra test (#470) 2012-06-07 08:58:28 +00:00
Clément Oudot
abbed8d8bf Fix Zimbra Handler syntax (#470) 2012-05-31 20:20:00 +00:00
Clément Oudot
56581a13fc Reorganize files - work in progress (#444) 2012-02-28 22:52:36 +00:00