Commit Graph

1013 Commits

Author SHA1 Message Date
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
Christophe Maudoux
b1232739a0 Fix unit test 2020-12-10 23:54:43 +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
Xavier Guimard
93cb619cd2 Merge branch 'v2.0' into master 2020-11-13 06:17:45 +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
ba638e50b7 Merge branch 'v2.0' into master 2020-11-02 12:52:30 +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
ac98c223d3 Merge branch 'v2.0' 2020-11-01 00:03:07 +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
Xavier Guimard
e7526f32af Fix versions 2020-10-07 17:15:20 +02:00
Xavier Guimard
4583f3a9e6 Merge branch 'v2.0' into master 2020-10-07 17:11:27 +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
Xavier Guimard
b8102d127e Merge remote-tracking branch 'origin/v2.0' into master 2020-09-22 13:05:37 +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
Xavier Guimard
17da7d2e6d Merge branch 'meta' into 'master'
Regenerate META files to advertise bugtracker

See merge request lemonldap-ng/lemonldap-ng!162
2020-09-22 06:18:33 +02:00
Nicolas R
e0620e8d5c Regenerate META files to advertise bugtracker
Before this change the gitlab bugtracker was
not correctly advertised.
2020-09-21 15:56:36 -05:00
Nicolas R
0ace7560fb 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-21 15:35:06 -05: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
5496d798a3 Merge branch 'v2.0' 2020-08-28 22:05:52 +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
Christophe Maudoux
bb9e03d1e5 Tidy 2020-05-24 00:04:33 +02:00
Christophe Maudoux
79246c8da9 Tidy 2020-05-23 23:52:09 +02:00
Christophe Maudoux
532ffe3fea Merge branch 'v2.0' 2020-05-23 23:38:06 +02:00
Clément OUDOT
27ca06136b Add URI escaping in Handler unit tests (#2217) 2020-05-22 17:33:25 +02:00
Clément OUDOT
1d36f703f7 URI escape value of url parameter value (#2217) 2020-05-22 17:32:46 +02:00
Christophe Maudoux
9bf915b5dc Fix unit tests & Version 2020-05-08 23:03:16 +02:00
Clément OUDOT
2b73d98e72 Upgrade version in Handler::Lib::CDA (#2192) 2020-05-08 18:14:53 +02:00
Xavier Guimard
9663912564 Improve vhost wilcards: add "%" char to match only one subdomain 2020-05-06 17:11:46 +02:00
Xavier Guimard
ab94e7198e Add deterministic order (alphabetical) (#2188) 2020-05-06 13:11:28 +02:00
Xavier Guimard
b7c3221423 Add deterministic order (#2188) 2020-05-06 13:08:58 +02:00
Xavier Guimard
1bb176fb5a typo 2020-05-06 13:07:12 +02:00
Xavier Guimard
c96daef1d7 More tests (#2188) 2020-05-06 13:05:27 +02:00
Xavier Guimard
f2e892a44d Fix vhost wildcard order (#2188) 2020-05-06 13:02:57 +02:00
Xavier Guimard
7d35953668 Set precedence order for vhost wildcards (#2188) 2020-05-06 10:49:05 +02:00
Xavier Guimard
39f61a750a Add tests for vhost wildcards 2020-05-06 10:30:03 +02:00
Xavier Guimard
411a7de8e7 Improve wildcard system in virtualhosts (#2188) 2020-05-06 10:29:44 +02:00
Xavier Guimard
89c6a400a0 Add Env build dependency (RT-132508) 2020-05-06 08:53:55 +02:00
Xavier Guimard
235b020c31 Add Env build dependency (RT-132508) 2020-05-06 08:52:30 +02:00
Xavier Guimard
894098835c Add missing build dependency to Time::Fake (Closes: RT-132508) 2020-05-06 04:18:06 +02:00
Clément OUDOT
193c80b1d4 Update MANIFEST 2020-05-05 15:41:03 +02:00
Maxime Besson
00a0aac46a Merge branch 'fix-oauth2-handler-2167' into 'v2.0'
Change OAuth2 handler behavior to conform to RFC

See merge request lemonldap-ng/lemonldap-ng!139
2020-05-04 15:56:48 +02:00
Clément OUDOT
ac9769ff69 Prepare release 2.0.8 2020-04-30 19:59:37 +02:00
Maxime Besson
31fea1d66e Add unit test for #2167 2020-04-29 22:28:34 +02:00
Maxime Besson
5eb7c98776 Improve handler test lib 2020-04-29 22:28:34 +02:00
Xavier Guimard
1a01a96af4 Add String::Random as Common build dependency (Fixes: #2052, RT-131220) 2020-04-26 08:54:17 +02:00
Christophe Maudoux
d2d9988b61 Merge branch 'v2.0' 2020-04-25 23:16:21 +02:00
Xavier Guimard
0baf014e6b Revert "Fix part of circular links (related to #1990)"
This reverts commit c9e7f3a1b0.
2020-04-23 12:00:51 +02:00
Maxime Besson
250761f115 OAuth2 handler: return 401 when missing or bad access token (#2167) 2020-04-22 17:28:06 +02:00
Xavier Guimard
c9e7f3a1b0 Fix part of circular links (related to #1990) 2020-04-22 14:13:14 +02:00
Clément OUDOT
23d2e527b1 Revert "Fix returned values - Propage #1954" (#2128)
This reverts commit 6329887871.
2020-04-16 21:48:58 +02:00