Commit Graph

965 Commits

Author SHA1 Message Date
Maxime Besson 93c9ae427f tidy 2021-10-08 08:32:33 +02:00
Maxime Besson b2bcb4dcb9 Transmit handler local config to handler psgi server init (#2632) 2021-10-08 08:32:21 +02:00
Maxime Besson 22a0f1c013 Initialize PATCH routes (#2626)
This prevents the following message from appearing when the portal fails
to initialize

Conflict detected between 2 extensions, aborting 1 route
2021-10-07 08:50:47 +02:00
Christophe Maudoux c74c478b02 Improve unit test (#2627) 2021-10-02 18:20:20 +02:00
Christophe Maudoux 732c8631eb Append an option in Manager to define RULES_URL param (#2627) 2021-10-01 23:01:14 +02:00
Christophe Maudoux 51ee0fe1a9 Improve debug message (#2618) 2021-09-23 22:26:28 +02:00
Christophe Maudoux c5c1c76415 Improve unit test (#2618) 2021-09-20 22:00:14 +02:00
Christophe Maudoux 7385a7d033 Code cleaning (#2618) 2021-09-20 21:29:15 +02:00
Christophe Maudoux fd1557ed37 Build vhost header depending on RULES_URL if defined 2021-09-20 16:18:31 +02:00
Maxime Besson d8eb44a5ab Add portal status codes for Auth::OIDC errors (#2558) 2021-09-15 19:21:47 +02:00
Alexandre KARIM d8c512547a Test & code refactoring(#2601) 2021-09-06 17:10:55 +02:00
Christophe Maudoux eab4d4a31e Append an option to normalize headers & Improve unit tests + doc (#2604) 2021-09-01 21:48:10 +02:00
Maxime Besson 5ea7a0916d Add _oidc_grant_type variable (#2602) 2021-09-01 17:32:15 +02:00
Maxime Besson 35a06011b6 Unit test for #2595 2021-08-30 17:49:56 +02:00
Maxime Besson 036da3e3aa Do not interpret 0 as empty string in substitute (#2595) 2021-08-30 17:49:07 +02:00
Clément OUDOT 14848f9bf1 Set modules version to 2.0.13 2021-08-20 18:30:13 +02:00
Christophe Maudoux 37363971f3 Merge branch 'v2.0' into 2564 2021-08-12 23:46:55 +02:00
Maxime Besson 2fac0d9f47 Update LLNG download URL 2021-08-12 17:02:50 +02:00
Christophe Maudoux 084b9b26f1 Merge branch 'v2.0' into 2564 2021-08-02 10:10:25 +02:00
Yadd 9174a81d6c Add some mission Perl build dependencies 2021-08-01 08:31:37 +02:00
Christophe Maudoux 21ba445141 Fix unit test (#2564) & some warnings 2021-07-28 10:38:45 +02:00
Christophe Maudoux fbcaacbdf1 Langs (#2564) 2021-07-27 21:47:48 +02:00
Christophe Maudoux a6ecbf1ec8 Fix version & comment 2021-07-26 22:55:27 +02:00
Maxime Besson c1b6ca940d Unit tests for jail error reporting (#2568) 2021-07-26 16:45:17 +02:00
Maxime Besson d46a2f5c28 Fix error reporting in Jail (#2568) 2021-07-26 16:44:58 +02:00
Clément OUDOT a7809f10fe Update version in main modules 2021-07-22 17:53:50 +02:00
Yadd fe6ad903f1 Update manifests 2021-07-12 19:00:03 +02:00
Yadd 83b45db614 Fix versions 2021-06-28 15:36:29 +02:00
Maxime Besson e5b5fe1a09 Unit test for #2549 2021-06-24 09:26:27 +02:00
Maxime Besson 23a8a10096 Add missing access token expiration check in OAuth2 handler (#2549) 2021-06-24 09:26:27 +02:00
Yadd 8ba39d7cda Fix test 2021-06-19 19:21:31 +02:00
Yadd 2e9e16600b Fix version 2021-06-19 18:45:06 +02:00
Yadd b6a1f946b2 Fix handler cache corruption (#2539) 2021-06-19 18:43:41 +02:00
Christophe Maudoux 469d2a40aa Fix warning (#2538) 2021-06-09 23:06:03 +02:00
Christophe Maudoux 0f40e2d1bb Check conf. timestamp to reload (#2508) 2021-04-26 00:26:33 +02:00
Yadd 96dbbd9ad4 Fix checkTime use (closes: #2515) 2021-04-24 16:04:23 +02:00
Maxime Besson 41c388b26b Fix error handling when OAuth2 session is not found (#2481) 2021-03-03 15:57:52 +01:00
Christophe Maudoux b46259cae9 Enable upgradeSession only if required & Append unit test (#2480) 2021-03-02 19:20:15 +01:00
Soisik Froger 6aab33615c Use timezone provided in input dates in extended function "checkDate" (#2462) 2021-02-17 11:30:38 +00:00
Christophe Maudoux 5f7981e256 Improve error message & unit test (#2458) 2021-02-16 22:04:38 +01:00
Christophe Maudoux 1f66e03969 Append an option to download rules.json file from remote server (#2458) 2021-02-16 12:15:18 +01:00
Christophe Maudoux 3bee740125 display headers (#2458) 2021-02-12 19:25:55 +01:00
Christophe Maudoux 6e1efc8bb5 WIP: CheckDevOps plugin skeleton (#2458) 2021-02-12 18:11:37 +01:00
Christophe Maudoux 4515768513 Display explicit error message (#2329) 2021-02-10 22:27:12 +01:00
Maxime Besson bbe3b5808e Fix Devops unit test in old perl versions 2021-02-08 15:11:50 +01:00
Christophe Maudoux 5e28f76a64 Restrict session data available for DevOps handler (#2456) 2021-02-05 19:55:22 +01:00
Maxime Besson 80db94c501 Update OAuth2 handler to handle JWT access tokens (#2419) 2021-02-01 18:20:32 +01:00
Clément OUDOT d4ae146fd6 Update version in main modules 2021-01-30 18:32:52 +01:00
Xavier Guimard 7166a96c88 Add dependency to JSON::XS (Closes: #2442) 2021-01-29 06:31:23 +01:00
Christophe Maudoux 5d56a88ff3 Use strict & Typo 2021-01-23 18:57:24 +01:00
Maxime Besson 92c20740fb Unit test for #2397 2021-01-19 16:44:06 +01:00
Maxime Besson c311438270 Make clientid and scopes available to OAuth2 handler (#2397) 2021-01-19 16:44:06 +01:00
Christophe Maudoux aad6244997 Merge branch 'v2.0' into findUser 2021-01-18 12:05:04 +01:00
Clément OUDOT 8663c0104c Update version in main modules for 2.0.10 2021-01-17 16:56:51 +01:00
Christophe Maudoux cd37ccc35c Merge branch 'v2.0' into findUser 2021-01-14 22:39:02 +01:00
Christophe Maudoux e2fabf594a Tidy & append release note (#2434) 2021-01-14 22:34:42 +01:00
Christophe Maudoux 25bc6c0dad Revert "Tidy & append release note"
This reverts commit fbf7901d12.
2021-01-14 22:33:58 +01:00
Christophe Maudoux fbf7901d12 Tidy & append release note 2021-01-14 22:22:15 +01:00
Xavier Guimard 30c7c21a06 Improve headers deletion (#2434) 2021-01-14 13:49:08 +01:00
Xavier Guimard be7a52844b Clean also headers and cookies for conditional skip (#2434) 2021-01-14 13:30:55 +01:00
Xavier Guimard b5e0cc66cd Partial test for #2434 which shows that all is not yet fixed 2021-01-14 13:12:25 +01:00
Xavier Guimard 6294ff7238 Really delete header when using Nginx (#2434) 2021-01-14 11:40:21 +01:00
Christophe Maudoux e4444c907f Append CheckUser normalized headers option & Improve unit test (#2436) 2021-01-08 18:38:05 +01:00
Alexandre KARIM 3a55051ce0 V2.0 2020-12-21 20:07:55 +01:00
Christophe Maudoux f7800e5644 use strict 2020-12-19 00:04:59 +01:00
Christophe Maudoux 6f3938d014 Avoid to match non-Lemon cookie (#2417) 2020-12-18 23:20:54 +01:00
Christophe Maudoux e9487a42d7 Remove trailing white-spaces with Zimbra parameters - Improve unit test 2020-12-18 09:25:14 +01:00
Christophe Maudoux ff04fc9248 Avoid to match non-Lemon cookie (#2417) 2020-12-18 09:25:08 +01:00
Christophe Maudoux e35209c761 Remove trailing white-spaces with Zimbra parameters 2020-12-16 22:53:53 +01:00
Xavier Guimard 74f582baf4 Add zh_TW translation (portal) 2020-11-23 15:43:13 +01:00
Christophe Maudoux d22bb7bc32 Improve unit test (#2381) 2020-11-20 12:56:31 +01:00
Maxime Besson 185b30e621 typo 2020-11-18 14:35:10 +01:00
Maxime Besson fd1aac2bd1 Make sure cache module is loaded (#2387) 2020-11-18 14:29:38 +01:00
Maxime Besson 8756a2dd68 Fix cache remove on logout (#2387) 2020-11-18 14:03:59 +01:00
Maxime Besson 62c0f9a8b7 unit test for has2f (#2391) 2020-11-18 10:10:51 +01:00
Maxime Besson b18350703d Add has2f function (#2391) 2020-11-18 10:10:51 +01:00
Christophe Maudoux c9c72e7d27 Improve doc (#2381) 2020-11-16 17:51:01 +01:00
Christophe Maudoux d356455ed8 Merge branch 'v2.0' into 2381 2020-11-15 16:31:49 +01:00
Christophe Maudoux ce54774ee7 Improve unit test (#2381) 2020-11-15 16:23:25 +01:00
Christophe Maudoux a0feeae9a1 Append accessToTrace parameter (#2381) 2020-11-12 13:43:41 +01:00
Maxime Besson 808f6e870b Fix inGroup expansion (#2378) 2020-11-11 13:30:11 +01:00
Christophe Maudoux 91907eba90 Improve & fix AD backend (#2377) 2020-11-09 17:50:15 +01:00
Christophe Maudoux c742d8320e Set user and oldpassword fields into reset password form & Improve unit tests (#2377) 2020-11-09 13:27:16 +01:00
Xavier Guimard 5fa54c45fb Update version 2020-11-02 12:49:00 +01:00
Xavier Guimard bdccb42196 Launch DevOps configuration check before fetching cookie (Fixes #2367) 2020-11-02 12:29:25 +01:00
Christophe Maudoux b869b59da7 Avoid assignment (#2360) 2020-10-30 12:55:39 +01:00
Maxime Besson 3105f4bf50 Make cda query arg robust to parameter reordering (#2357) 2020-10-26 16:55:50 +01:00
Christophe Maudoux 3516f978f5 Purge handler msg (#2354) 2020-10-17 19:46:05 +02:00
Maxime Besson a71991924c Allow server port to be overriden in Apache handler (#2335) 2020-10-01 17:54:02 +02:00
Maxime Besson 163c90b42f Use Plack::Request accessors (#2335) 2020-10-01 17:54:02 +02:00
Nicolas R a630ff429f Regenerate META files to advertise bugtracker 2020-09-22 06:26:24 +02:00
Nicolas R a841691f76 Update MANIFEST for Perl distributions
This is adding a MANIFEST.SKIP to avoid adding cruft
to MANIFEST files and updating all MANIFEST.

This is fixing an issue in lemonldap-ng-manager which
is using some unpublished file like:
    Api/Providers/CasApp.pm
2020-09-22 06:22:00 +02:00
Clément OUDOT f835f3d36f Update version in modules 2020-09-06 19:58:58 +02:00
Maxime Besson eb191be72e Add error message when no sf available during upgrade (#2124) 2020-09-04 17:17:02 +02:00
Maxime Besson 1cf1990fe2 Add portal code for session upgrade 2020-09-04 17:15:34 +02:00
Maxime Besson f51d597712 Refactor handler auth level detection (#2124) 2020-09-04 17:14:05 +02:00
Christophe Maudoux 5c5cfeccdc Improve ServiceToken debug logs (#2284) 2020-08-19 22:52:28 +02:00
Clément OUDOT 74f530dd28 Fix call to localUnlog (#2258) 2020-07-17 17:22:07 +02:00
Xavier Guimard 6bf1cf8973 Add reload test (#2055) 2020-06-25 15:24:44 +02:00
Christophe Maudoux b04b2076de Preserve real_hGroups (#2229) 2020-06-06 23:27:37 +02:00