Commit Graph

51 Commits

Author SHA1 Message Date
Christophe Maudoux
5d56a88ff3 Use strict & Typo 2021-01-23 18:57:24 +01:00
Christophe Maudoux
bb9e03d1e5 Tidy 2020-05-24 00:04:33 +02:00
Christophe Maudoux
5842bcfc56 Typo 2020-03-28 00:17:25 +01:00
Christophe Maudoux
40fb55f3c4 Prevent to die if Custom Functions package is not found (#2121) 2020-03-20 22:31:50 +01:00
Christophe Maudoux
204d804ec0 Revert "Prevent to die if Custom Functions package is not found"
This reverts commit e67c81bdca.
2020-03-20 22:31:02 +01:00
Christophe Maudoux
e67c81bdca Prevent to die if Custom Functions package is not found 2020-03-20 22:25:24 +01:00
Christophe Maudoux
fc2e65be6b Avoid warning (#2011) 2019-11-22 21:42:28 +01:00
Maxime Besson
f020a27a2c Add function to test if an element is in a list (#2011) 2019-11-22 18:49:02 +01:00
Christophe Maudoux
c446f194eb Import custom functions into Conf Jail (#1929) 2019-09-13 10:03:28 +02:00
Xavier Guimard
44a6e25851 Improve cryptographic functions (#1823) 2019-06-28 10:30:37 +02:00
Xavier Guimard
75f20be6d8 Fix some warnings (#1559) 2018-11-29 19:48:49 +01:00
Xavier Guimard
02f8c41030 Fix little warnings (#1559) 2018-11-29 17:00:28 +01:00
Xavier Guimard
a7329c1dcc Verify Mouse version with Apache (#1452) 2018-06-14 06:19:27 +02:00
Xavier Guimard
5bfdeb6b43 Comment (#1452) 2018-06-13 23:20:35 +02:00
Xavier Guimard
f4b3e43a2c Workaround for ModPerl/Mouse bug (#1452) 2018-06-13 23:10:40 +02:00
Xavier Guimard
452bb301de Clean #1309 2017-10-04 20:18:01 +00:00
Xavier Guimard
77874022ab Little error in #1309 + use it 2017-10-04 20:16:32 +00:00
Xavier Guimard
a2f411f811 New "require" parameter (fixes: #1309) 2017-10-04 19:57:21 +00:00
Xavier Guimard
ed823b9e1a Restore headers with Apache (#1044) 2017-03-29 10:01:11 +00:00
Xavier Guimard
ef8bd5cccf Typo (#1044) 2017-03-29 05:17:35 +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
f1219ab3d1 Move ENV substitution to substitute() (#595) 2017-03-27 20:45:19 +00:00
Xavier Guimard
553e6e09e1 Import crypto functions in jail (fix: #1187) 2017-03-05 06:41:38 +00:00
Xavier Guimard
347b67aa98 Prepare token method for #971 2017-02-21 17:39:55 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
edc713b0ca Enable $ENV{} in rules (#595)
Not that it doesn't make sense except for portal rules
2017-02-09 21:14:12 +00:00
Xavier Guimard
18a51d858a Replace %ENV by $req->env (#1156) 2017-02-09 08:05:55 +00:00
Xavier Guimard
9caab59035 Avoid some warnings 2017-01-12 06:05:06 +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
39c6713aea Tidy 2016-04-29 07:27:26 +00:00
Xavier Guimard
3290e2bdb9 Change substitution in safe jail (#960) 2016-04-05 20:46:09 +00:00
Xavier Guimard
e23f0a3e2d Missing merge 2016-03-24 21:11:04 +00:00
Xavier Guimard
5a04d1ff61 Import encrypt in header functions (closes: #983) 2016-03-23 12:55:09 +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
7ac07074ae Update versions 2016-03-03 20:25:16 +00:00
Xavier Guimard
1584b3bcc4 Fix chmod 2016-03-03 20:25:12 +00:00
Xavier Guimard
91228b5767 Enable custom functions with safe jail (closes: #956) 2016-02-28 11:51:37 +00:00
Xavier Guimard
e8dac0fe6b Replace 'splice' by copy (Closes: #534) 2016-01-02 09:29:05 +00:00
Xavier Guimard
0d42b85e7d Avoid 'Unescaped left brace in regex is deprecated' warning 2015-12-26 10:49:15 +00:00
Clément Oudot
7a7bb1fbda make tidy on all files 2015-03-10 15:07:33 +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
b903597b76 Handler: Ensure that new jail is consistent with its attributes (#729) 2014-07-07 09:36:54 +00:00
François-Xavier Deltombe
02a0fffb87 Handler: Add functions in jail to get request data (#633) 2014-07-04 08:36:38 +00:00
François-Xavier Deltombe
52db234bf7 Handler: Rename vars $apacheRequest and $mess into $r and $msg (#630) 2014-06-19 17:53:04 +00:00
François-Xavier Deltombe
b1b7e1f1bf Define functions in LL::NG::Handler::API::*.pm to manage requests
and call them instead of Apache mod_perl functions (#630)
2014-06-09 17:09:48 +00:00
Clément Oudot
dbfbde2e9f make tidy 2014-06-08 10:04:50 +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
2408e9e4af - fix commit 3268: the jail_reval function must handle more cases
(references #630)
2014-03-17 14:38:22 +00:00
David COUTADEUR
262fdaef2c - simplification of jail_reval call (references #630) 2014-03-17 12:58:49 +00:00