Commit Graph

750 Commits

Author SHA1 Message Date
Maxime Besson
e281ad7cc3 Add support for CORS preflight (#1765) 2019-09-16 16:55:15 +02:00
Christophe Maudoux
c446f194eb Import custom functions into Conf Jail (#1929) 2019-09-13 10:03:28 +02:00
Xavier
e50e7d09d1 Update version of (really) modified files 2019-09-12 21:56:49 +02:00
Christophe Maudoux
db591a789f Typo 2019-09-11 22:59:43 +02:00
Christophe Maudoux
9f6e269c39 Use sha256 instead of md5 (#1925) 2019-09-10 22:30:03 +02:00
Christophe Maudoux
86daaf54f6 Append parameter & update langs (#1925) 2019-09-10 10:15:17 +02:00
Christophe Maudoux
c1af9e49f7 WIP - Append extractFormInfo step & AuthChoiceParam for AuthChoice (#1925) 2019-09-09 23:23:52 +02:00
Christophe Maudoux
14d82c4a79 Fix ua options (#1925) 2019-09-09 22:34:44 +02:00
Xavier
a04bbf15b7 Add timeout for configuration load (#1908) 2019-09-02 23:01:09 +02:00
Christophe Maudoux
5ef6443103 Improve unit test (#1901) 2019-08-31 22:15:00 +02:00
Christophe Maudoux
05271f9b76 Fix zero and empty header values (#1901) 2019-08-31 22:15:00 +02:00
Xavier Guimard
aeff014f79 Parallel tests 2019-08-29 10:48:55 +02:00
Clément OUDOT
fc35c17383 Fix call to logger (#1898) 2019-08-28 10:49:30 +02:00
Xavier
1f2f0240f0 Love Perl (#1863)
TIMTOWTDI
2019-08-28 00:36:18 +02:00
Christophe Maudoux
814590d40e Remove consumed headers & update unit test (#1863) 2019-08-27 21:15:19 +02:00
Clément OUDOT
22108c9c89 Fix call to add_output_filter (#1898) 2019-08-27 16:54:01 +02:00
Clément OUDOT
6a462bfed3 Fix call to logger (#1898) 2019-08-27 16:46:50 +02:00
Clément OUDOT
a7950a2613 Main run method also returns session (#1898) 2019-08-27 16:38:00 +02:00
Xavier Guimard
323d92fa1b Don't load Data::Dumper unless debug 2019-08-27 10:10:11 +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
21f3aa5501 Cleaning code 2019-08-26 22:53:29 +02:00
Christophe Maudoux
037dff2de9 Typo 2019-08-26 22:53:29 +02:00
Xavier Guimard
9773b8967a Fix warning 2019-08-21 10:47:53 +02:00
Christophe Maudoux
96c5006d9a Fix wrapper (#1885) 2019-08-20 22:36:51 +02:00
Christophe Maudoux
4d583ceb9c Append a custom param to log (#1885) 2019-08-20 22:04:05 +02:00
Maxime Besson
c718e806ed Fix reporting of getMod errors 2019-08-19 17:22:14 +02:00
Christophe Maudoux
b1c637cfca Revert "Append a custom param to be logged (#1885)"
This reverts commit 1e838f0487
2019-08-16 15:28:47 +02:00
Christophe Maudoux
1e838f0487 Append a custom param to be logged (#1885) 2019-08-16 15:25:21 +02:00
Xavier
d2892a629b Revert "More simple regexp"
This reverts commit 2feb4a40aa.

Closes: #1876
2019-08-06 20:18:13 +02:00
Xavier Guimard
e7ec18a3b4 Update versions 2019-07-10 13:48:55 +02:00
Xavier Guimard
a1df1157f4 Render CDA compatible with Try (Fixes: #1849) 2019-07-10 10:40:32 +02:00
Xavier
7aad1563c0 Duplicate userLogger into logger->debug (#1842) 2019-07-04 21:22:06 +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
43d5139040 Update versions 2019-06-28 17:04:14 +02:00
Xavier Guimard
44a6e25851 Improve cryptographic functions (#1823) 2019-06-28 10:30:37 +02:00
Xavier Guimard
a6a25f0aa5 Fix randomly CI failure (#1797) 2019-06-25 17:46:49 +02:00
Xavier Guimard
442a26a537 Remove localStorage purge (see #1815) 2019-06-24 19:05:10 +02:00
Xavier Guimard
65eaefa75f Tidy 2019-06-14 17:23:26 +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
Xavier
a6aaf8a507 Add XSS test (#1795) 2019-06-11 21:30:15 +02:00
Xavier Guimard
77490381d0 Revert "Add systemd scripts for cron tasks"
This reverts commit 78e50ac855.
2019-06-11 15:07:57 +02:00
Xavier Guimard
4ea4b727d1 Revert "Add systemd timer (replace cron)"
This reverts commit c47091b944.
2019-06-11 15:07:49 +02:00
Xavier
f4bca7430a Add addAuthRouteWithRedirect() method to Try (#1787) 2019-06-06 22:59:02 +02:00
Christophe Maudoux
4e53907e09 Diag msg 2019-05-30 12:26:50 +02:00
Christophe Maudoux
455221781f Modify ServiceToken TTL option (#1773) 2019-05-27 23:07:18 +02:00
Christophe Maudoux
781f299603 Improve unit test (#1773) 2019-05-27 22:42:02 +02:00
Christophe Maudoux
4d024cf41a Append ServiceToken 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
535ae3f7be Append ServiceToken TTL option (#1773) 2019-05-26 21:43:13 +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
74c5f50e89 Append option to modify ServiceToken TTL (#1773) 2019-05-26 18:24:08 +02:00
Christophe Maudoux
8cbe84c830 Typo & Version 2019-05-26 10:32:27 +02:00
Christophe Maudoux
1bcf4e09af Append double cookies and refresh request unit tests (#1747) 2019-05-20 23:05:47 +02:00
Xavier Guimard
78e50ac855 Add systemd scripts for cron tasks 2019-05-20 10:23:18 +02:00
Xavier
c47091b944 Add systemd timer (replace cron) 2019-05-19 23:29:16 +02:00
Clément OUDOT
332fb4f9da Update version in module dependencies 2019-05-12 16:22:50 +02:00
Christophe Maudoux
f917a9cfec Improve unit test for doubleCookie 2019-05-11 22:52:07 +02:00
Xavier
000db1536b Update versions 2019-05-11 17:37:56 +02:00
Christophe Maudoux
8fd06f1b6f Fix syntax error (#1703) 2019-05-10 17:20:59 +02:00
Xavier Guimard
d2442724f4 Generate debian/*cron* files from LLNG ones (#1733) 2019-05-06 18:37:26 +02:00
Xavier
24d7a880f5 Fix wantJSON (#1146) 2019-05-02 18:49:54 +02:00
Clément OUDOT
1e0c79944f Update session test for OAuth2 Handler (#1146) 2019-05-02 15:58:03 +02:00
Xavier
313ffa1e44 Add wantJSON() in Apache2::Request (#1146) 2019-05-01 08:29:47 +02:00
Xavier
e5f6112994 Add OAuth2 Wrapper for auto-protected apps 2019-04-23 06:25:53 +02:00
Clément OUDOT
aff2114fd7 Fix code for oidcStorage test in Handler (#1146) 2019-04-22 18:46:18 +02:00
Clément OUDOT
03d4855485 OAuth2 Handler (#1146) 2019-04-22 18:02:14 +02:00
Clément OUDOT
c07fb5bb65 Load oidcStorage in tsv (#1146) 2019-04-22 17:51:00 +02:00
Xavier Guimard
0be5510d05 Verify logLevel value (Closes: #1714) 2019-04-16 17:01:00 +02:00
Xavier
804a996810 Update versions 2019-04-09 22:04:19 +02:00
Xavier
046585020f Allow hashes in Combination module overload (Closes: #1707) 2019-04-09 21:01:55 +02:00
Christophe Maudoux
165c59c882 Update version (#1703) 2019-04-09 16:53:01 +02:00
Christophe Maudoux
9e970b06d2 Fix header empty value (#1703) 2019-04-09 14:41:38 +02:00
Christophe Maudoux
511cef0acd Update comment 2019-04-09 14:41:38 +02:00
Christophe Maudoux
d4593fdaed Fix sent header empty value 2019-04-08 17:15:44 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
Xavier Guimard
ece9b21219 Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
Xavier Guimard
141ba96c92 Update version 2019-04-03 13:53:56 +02:00
Xavier
cf908fa091 Clean userLogger (#1687 #1688) 2019-03-27 21:31:04 +01:00
Clément OUDOT
07b7103e3d URL encode POST data keys (#1680) 2019-03-25 14:23:27 +01:00
Clément OUDOT
ef8c097897 Use new jquery URL for form replay (#1679) 2019-03-25 13:36:51 +01:00
Xavier Guimard
b7a78b500e Merge remote-tracking branch 'maxbes/proverc' into v2.0 2019-03-14 17:27:31 +01:00
Maxime Besson
7c16a2f7ad Exclude .proverc from manifests 2019-03-14 16:57:08 +01:00
Maxime Besson
f46260204c Provide configuration for manual launching of unit tests
This commit adds a .proverc configuration in lemonldap-* subdirectories

It allows you to run unit tests easily during development

    make clean && make
    cd lemonldap-ng-portal
    prove t/my-unit-test.t
    prove -v t/my-unit-test.t
    prove t/*.t

You'll get a nice colored output, plenty of details with '-v' (great is
you set logLevel to "debug" in the test), etc.
2019-03-14 16:38:40 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Xavier Guimard
26b80873be Modify Try.pm to handle authorizations (#1658) 2019-03-05 21:11:07 +01:00
Christophe Maudoux
0209e7364b Display empty headers (#1658) 2019-02-26 22:01:15 +01:00
Christophe Maudoux
cb65e0984e Append comment (#1658) 2019-02-26 21:55:03 +01:00
Xavier Guimard
dae8adb443 Read rules in PSGI::Try (#1658) 2019-02-25 23:50:17 +01:00
Christophe Maudoux
e296d1d407 WIP - Append checkHeaders function (#1658) 2019-02-24 22:08:06 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
51a9488bc2 Return 0 if init has failed (Fixes: #1486) 2019-02-06 17:48:17 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00