Commit Graph

612 Commits

Author SHA1 Message Date
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
Xavier Guimard
e2b026b7c8 Fix versions 2019-02-05 23:06:18 +01:00
Clément OUDOT
c77783eb2f Merge branch 'v2.0' 2019-02-05 18:46:40 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +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
Xavier Guimard
9582ef82d5 Fix little warning 2019-02-05 11:25:26 +01:00
Christophe Maudoux
45413d838d Typo 2019-02-04 21:15:59 +01:00
Christophe Maudoux
beaab7e7af Fix CDA & AuthBasic namespace (#1638) 2019-02-04 20:50:27 +01:00
Christophe Maudoux
a34aa1992b Fix CDA & AuthBasic namespace (#1638) 2019-02-04 20:47:13 +01:00
Xavier Guimard
c5a3687040 Merge remote-tracking branch 'max/fix-redir' into v2.0 2019-02-03 22:48:43 +01:00
Maxime Besson
e028088f88 Add the ability to detect HTTPS from web server env
This commit adds a new "Default" option for the global HTTPS setting. In
this mode, the handler will refer to the HTTPS env variable to know if it's
being accessed over HTTPS or not. An administrator is of course still
free to force HTTPS by setting it either globally or per-VHost
2019-02-03 20:12:53 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Maxime Besson
faa748f68f Add Mail second factor plugin 2019-02-03 14:43:44 +01:00
Clément OUDOT
918508c37e Remove STDERR message in Handler.pm (#1618) 2019-02-01 11:24:17 +01:00
Clément OUDOT
8df8d9b521 Remove STDERR message in Handler.pm (#1618) 2019-02-01 11:23:47 +01:00
Clément OUDOT
b79c7112fc Revert "Fix handler namespace"
This reverts commit 01ba3b6e13.
2019-02-01 11:23:36 +01:00
Clément OUDOT
372073e130 Revert "Fix handler namespace"
This reverts commit 01ba3b6e13.
2019-02-01 11:21:25 +01:00
Xavier Guimard
681481b0a1 Fix #1630 2019-02-01 09:52:28 +01:00
Xavier Guimard
01ba3b6e13 Fix handler namespace 2019-01-31 23:16:52 +01:00
Christophe Maudoux
84913b36eb Delete SSO cookie with Nginx (#1630) 2019-01-30 23:10:33 +01:00
Christophe Maudoux
5a03e518c8 Delete SSO cookie with Nginx (#1630) 2019-01-30 23:02:08 +01:00
Christophe Maudoux
72daca2f8f Fix regex (#1630) 2019-01-30 19:36:36 +01:00
Clément OUDOT
54491c667a Use main Handler version in server signature (#1618) 2019-01-16 12:32:45 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Clément OUDOT
d912f82d91 Update version in modules 2018-12-21 15:19:34 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
f2d1957114 Partial revert (#1585) 2018-12-15 20:31:05 +01:00
Christophe Maudoux
658a7a88c0 Append show_lang and main_logo parameters & Fix URL typo (#1585) 2018-12-15 16:05:48 +01:00
Xavier Guimard
0aabaed43f Fix vhostOptions default value (workaround for @#! SOAP, #1579) 2018-12-12 06:47:33 +01: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
b914bfbf0a update translations from transifex 2018-11-28 14:34:00 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Xavier Guimard
41500780ec Fix warning 2018-11-24 19:48:16 +01:00
Xavier Bachelot
6d10f1f8f2 Remove duplicate use 2018-11-20 10:49:57 +01:00
Xavier Bachelot
301b0d40eb Add missing use 2018-11-19 17:21:07 +01:00
Clément OUDOT
8e9528ca26 Fix Handler CDA (#1544) 2018-11-15 15:17:07 +01:00