Commit Graph

1013 Commits

Author SHA1 Message Date
Xavier Guimard
5dc1bc0a49 Merge branch 'v2.0' 2020-04-12 20:40:24 +02:00
Xavier Guimard
f4976d85fa Fix Ajax responses when rejected (current system broken by CORS) 2020-04-12 20:33:55 +02:00
Christophe Maudoux
543ac4ed63 Avoid loop with Self protected Portal URLs (#2143) 2020-04-10 14:17:53 +02:00
Xavier Guimard
c09797ff11 Fix Ajax responses when rejected 2020-04-09 10:36:51 +02:00
Christophe Maudoux
28dc89796c Merge branch 'v2.0' 2020-04-03 11:22:28 +02:00
Christophe Maudoux
be55df6d1d Re-order Portal constant 2020-04-03 11:15:53 +02:00
Christophe Maudoux
71ba189edc Append special characters password policy (#2130) 2020-04-02 12:14:05 +02:00
Christophe Maudoux
7c0e6a2d00 Merge branch 'v2.0' 2020-04-01 15:55:31 +02:00
Christophe Maudoux
9a18f2f553 Fix cache reload error with status (#2127) 2020-04-01 00:33:49 +02:00
Christophe Maudoux
5842bcfc56 Typo 2020-03-28 00:17:25 +01:00
Christophe Maudoux
c4ebfc3484 Merge branch 'v2.0' 2020-03-22 22:47:09 +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
Xavier Guimard
e046eac1d0 Fix autopkgtest: "\1 better written as $1" 2020-03-06 21:17:06 +01:00
Christophe Maudoux
093b4e6817 Typo 2020-03-03 19:52:42 +01:00
Christophe Maudoux
ea9f019bc8 Append debug logs (#2071) 2020-03-03 17:41:19 +01:00
Christophe Maudoux
a81dbb108b Merge branch 'v2.0' 2020-03-02 17:45:20 +01:00
Maxime Besson
fab2553064 Merge branch 'improve-group-2036' into 'v2.0'
New macro for group handling, and group-handling examples in default config

See merge request lemonldap-ng/lemonldap-ng!128
2020-03-02 17:02:35 +01:00
Christophe Maudoux
d67f32d2b2 Merge branch 'v2.0' 2020-02-25 21:28:07 +01:00
Xavier Guimard
4459a47f76 Tidy 2020-02-20 23:37:05 +01:00
Xavier Guimard
a76cba3856 Update versions 2020-02-20 23:37:01 +01:00
Christophe Maudoux
fe4f925e58 Fix warning messages 2020-02-16 16:10:35 +01:00
Christophe Maudoux
4f44b69290 Fix warning messages 2020-02-16 15:35:53 +01:00
Christophe Maudoux
79bb7f4138 Minor GUI improvements (Highlight active menu) 2020-02-14 23:23:49 +01:00
Christophe Maudoux
15c12346ab Hide persistent session attributes & Improve unit tests (#2093) 2020-02-14 16:21:31 +01:00
Christophe Maudoux
964afdb011 Improve unit test & Make manifest (#2071) 2020-02-13 09:36:57 +01:00
Christophe Maudoux
6996c79cab Improve code (#2071) 2020-02-12 22:14:02 +01:00
Christophe Maudoux
0df38323af Typo & improve msg (#2071) 2020-02-10 09:31:43 +01:00
Maxime Besson
779df229e4 Add new inGroup function to test group membership (#2036) 2020-02-06 16:22:23 +01:00
Xavier Bachelot
23b8756f2b Unbundle Time::Fake 2020-02-03 09:36:51 +01:00
Maxime Besson
e39f67290c Fix unit test for #321 with old perl 2020-01-29 08:01:44 +01:00
Xavier Guimard
22a58a6f44 Merge branch 'v2.0' 2020-01-28 15:58:25 +01:00
Christophe Maudoux
4a0b092e7c make json 2020-01-15 22:12:02 +01:00
Christophe Maudoux
583bbbe285 Append CSP frame-ancestors option & Improve unit test (#2068) 2020-01-15 16:09:57 +01:00
Christophe Maudoux
aab0dcca14 Merge branch 'v2.0' 2020-01-10 23:06:59 +01:00
Christophe Maudoux
d7cee58edf Improve log 2020-01-08 23:05:43 +01:00
Christophe Maudoux
94cefa3ef4 Typo 2020-01-07 22:38:08 +01:00
Christophe Maudoux
0b8f84ae2d Enable debug 2020-01-04 17:28:52 +01:00
Christophe Maudoux
0546303dac Merge branch 'v2.0' 2020-01-04 14:24:04 +01:00
Xavier Guimard
6f3bdfd9de More security in handler in-memory session 2019-12-30 14:49:29 +01:00
Christophe Maudoux
9a86559847 Typo (#2055) 2019-12-27 21:23:28 +01:00
Xavier Guimard
8d5a29075b Another bad export 2019-12-25 13:17:43 +01:00
Christophe Maudoux
2954ea2abc Disable compactConf by default & Update unit tests (#2046) 2019-12-22 13:06:10 +01:00
Clément OUDOT
7d13400be4 Update version in modules 2019-12-21 16:33:39 +01:00
Clément OUDOT
983af4dec1 make json (#1605) 2019-12-21 16:13:32 +01:00
Xavier
947dd9a438 Merge branch 'v2.0'
TODO: Fix OIDC
2019-12-11 08:00:40 +01:00
Xavier Guimard
85728c8870 New skip() function in rules 2019-12-10 16:06:17 +01:00
Maxime Besson
f1aa14a862 Fix PATH_INFO when using uwsgi (#2031) 2019-12-02 22:17:13 +01:00
Christophe Maudoux
8db635199f Make manifest 2019-11-27 21:34:15 +01:00
Christophe Maudoux
46d96b1a38 Modify logger (#2030) 2019-11-25 22:55:06 +01:00
Christophe Maudoux
d20c5efb35 Send service headers to protected applications & Improve unit test (#2030) 2019-11-25 22:28:59 +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
Maxime Besson
bedcf20806 Change portal error code on 2F failure (#2008) 2019-11-15 11:19:08 +01:00
Christophe Maudoux
2c6e33e085 make manifest 2019-11-13 21:06:42 +01:00
Xavier Guimard
edae537ea3 Merge branch 'centos-ci' into 'v2.0'
Add CentOS7 CI config

See merge request lemonldap-ng/lemonldap-ng!102
2019-11-08 10:32:48 +01:00
Christophe Maudoux
86e7140624 Update version (#1994) 2019-11-05 20:50:15 +01:00
Christophe Maudoux
a44223e358 Append extended function (#1994) 2019-11-05 17:18:23 +01:00
Maxime Besson
cb541e89d4 Check that memcached is started before running SecureToken test 2019-11-05 16:33:13 +01:00
Maxime Besson
983a4e6485 Use Time::Fake to avoid sleeping during tests 2019-11-04 18:11:32 +01:00
Maxime Besson
d66d24c8d5 Update OAuth2 handler to recognize refreshed tokens (#813) 2019-11-04 10:44:54 +01:00
Christophe Maudoux
2efb445534 Merge branch 'v2.0' 2019-11-02 12:06:09 +01:00
Christophe Maudoux
1d2bbab057 make json 2019-10-30 18:52:27 +01:00
Christophe Maudoux
21b1e75a4d Merge branch 'v2.0' into 1988 2019-10-30 16:35:44 +01:00
Xavier
42d1028040 Fix SecureToken for recent Perl 2019-10-30 07:28:16 +01:00
Christophe Maudoux
64d76148ef Improve unit tests (#1988) 2019-10-29 22:35:21 +01:00
Christophe Maudoux
a3169c4480 Improve unit tests (#1988) 2019-10-29 22:18:23 +01:00
Christophe Maudoux
4f8d089ec6 Improve debug logs (#1988) 2019-10-29 20:09:11 +01:00
Christophe Maudoux
9231711a41 Merge branch 'v2.0' 2019-10-29 19:33:11 +01:00
Christophe Maudoux
73bd5cdf72 Typo 2019-10-27 23:30:33 +01:00
Christophe Maudoux
601ac0d20d Fix log msg (#1988) 2019-10-27 21:05:54 +01:00
Christophe Maudoux
04428af556 Append url AuthnLevel option (#1988) 2019-10-27 18:38:39 +01:00
Christophe Maudoux
ef08306906 Merge branch 'v2.0' into 1988 2019-10-26 22:58:37 +02:00
Christophe Maudoux
eee9ab8305 Fix regex 2019-10-26 22:37:56 +02:00
Christophe Maudoux
5eaf00601e WIP 2019-10-26 21:40:19 +02:00
Christophe Maudoux
8903874b98 WIP - Append option & update langs 2019-10-26 12:43:27 +02:00
Maxime Besson
55f4007870 Clear location rules array on reload (#1966) 2019-10-18 15:54:48 +02:00
Xavier
3f7ae26d49 Merge branch 'v2.0' 2019-10-15 22:12:27 +02:00
Xavier
aa2fa22074 Add regexp capture feature in rules (#321) 2019-10-15 21:46:04 +02:00
Christophe Maudoux
ef5f852297 Improve debug log & typo 2019-10-15 17:36:09 +02:00
Christophe Maudoux
9c823b2e7f Import ServiceTokenTTL into tsv (#1974) 2019-10-11 22:12:55 +02:00
Xavier
2323c031ec Merge branch 'v2.0' 2019-09-30 23:20:12 +02:00
Christophe Maudoux
138cfe6edb Append DecryptValue plugin (#1956) 2019-09-30 22:29:49 +02:00
Christophe Maudoux
a219a51e1c Revert "Make manifest"
This reverts commit c00110ed01.
2019-09-30 22:28:55 +02:00
Christophe Maudoux
c00110ed01 Make manifest 2019-09-30 22:26:55 +02:00
Christophe Maudoux
7534692a87 WIP - Append AuthBasic hanlder unit test 2019-09-29 13:44:21 +02:00
Christophe Maudoux
8fbbf89d5c Improve handler unit tests 2019-09-29 13:14:20 +02:00
Christophe Maudoux
9102cc2acc Typo 2019-09-29 12:50:46 +02:00
Xavier
b6d517d3d7 Fix tests 2019-09-29 08:30:39 +02:00
Christophe Maudoux
d1d6b4f192 Append SecureToken handler unit test 2019-09-28 19:49:01 +02:00
Christophe Maudoux
b969f5b876 Typo 2019-09-28 19:45:21 +02:00
Christophe Maudoux
abf27ad7ac Fix secureToken with PSGI servers 2019-09-28 19:45:07 +02:00
Christophe Maudoux
200546b2e4 Fix logger 2019-09-28 19:18:53 +02:00
Christophe Maudoux
32a0d0944a Append ZimbraPreAuth handler test (#1954) 2019-09-28 12:11:33 +02:00
Christophe Maudoux
892516d55e Typo 2019-09-28 12:10:33 +02:00
Christophe Maudoux
6329887871 Fix returned values - Propage #1954 2019-09-27 23:19:21 +02:00
Christophe Maudoux
e612f53838 Merge branch 'v2.0' 2019-09-27 22:33:00 +02:00
Christophe Maudoux
0f32b7db82 Set version & tidy (#1954) 2019-09-27 22:29:06 +02:00
Christophe Maudoux
9d245fe819 Fix namespace (#1954) 2019-09-27 22:09:04 +02:00
Christophe Maudoux
1d0a79ba5d Fix returned values (#1954) 2019-09-27 21:46:18 +02:00
Christophe Maudoux
dc33966c87 make manifest 2019-09-24 22:04:10 +02:00
Xavier
cc79680b89 Merge branch 'v2.0' 2019-09-24 21:03:55 +02:00
Clément OUDOT
27b2f65a1c Update version in Makefile.PL 2019-09-24 11:23:32 +02:00
Christophe Maudoux
19e7f68640 Harmonize 2019-09-22 19:45:39 +02:00
Christophe Maudoux
9ec3ef8cfe Merge branch 'v2.0' 2019-09-22 15:54:58 +02:00
Christophe Maudoux
8af332c265 make json 2019-09-22 15:50:43 +02:00
Christophe Maudoux
5d9fc02205 Typo & logger 2019-09-20 22:47:48 +02:00
Xavier
cccd025dfc Tidy + typo 2019-09-18 21:49:55 +02:00
Xavier
fedea4abbd Merge remote-tracking branch 'mamesene/certificateReset-1605' 2019-09-18 21:44:31 +02:00
Christophe Maudoux
52be87b012 Merge branch 'v2.0' 2019-09-18 21:14:24 +02:00
Christophe Maudoux
84778604fd Typo 2019-09-18 21:01:24 +02:00
Maxime Besson
bdd2fed3ae Fix UTF-8 values in HTTP headers (#1922) 2019-09-17 23:11:04 +02:00
Xavier
8b5387a48b Merge branch 'v2.0' 2019-09-17 20:56:39 +02:00
Maxime Besson
98f55fd384 Translate the error code displayed in debug logs 2019-09-17 20:17:57 +02:00
Xavier
f9704e8982 Merge branch 'v2.0' 2019-09-16 22:58:01 +02:00
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
e1fe12a94d Merge branch 'v2.0' 2019-09-12 22:03:57 +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
Xavier
d881605fed Merge branch 'v2.0' 2019-09-11 21:22:50 +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
61200a67a7 Update manifest 2019-09-03 23:15:37 +02:00
Xavier
ba7f8695f7 Merge branch 'v2.0' (fix versions) 2019-09-03 23:14:45 +02:00
Xavier
c312e16712 Merge branch 'v2.0' 2019-09-02 23:16:37 +02:00
Xavier
a04bbf15b7 Add timeout for configuration load (#1908) 2019-09-02 23:01:09 +02:00
Christophe Maudoux
174193e74c Merge branch 'v2.0' 2019-09-01 22:11:33 +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
Xavier Guimard
4193f4fb51 Merge branch 'v2.0' 2019-08-28 11:35:43 +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
Xavier
7e5d6d6afd Merge branch 'v2.0' 2019-08-27 07:14:35 +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
Christophe Maudoux
1212cd9ba2 Merge branch 'v2.0' 2019-08-25 18:47:43 +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
Christophe Maudoux
866d5457f3 Merge branch 'v2.0' 2019-08-09 23:33:59 +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
Christophe Maudoux
b7c8d30b3f Merge branch 'v2.0' 2019-07-10 12:16:43 +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
Xavier
6f365c9e43 Parallelize common/portal tests 2019-07-02 22:06:37 +02:00
Christophe Maudoux
686b29c7e0 Improve unit test (#1773) 2019-07-02 20:23:39 +02:00
Xavier
3b7a70e0b7 Merge branch 'v2.0' (with new tidy) 2019-07-02 20:12:11 +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
1a1ccd7568 Merge branch 'crypto-improvements' 2019-06-27 22:03:05 +02:00
Xavier
2fcaf52bcf Better random string generation (#1803) 2019-06-27 21:59:18 +02:00
Xavier Guimard
9d5d1f6cd5 Don't use Crypt::URandom inside jail: this import file access libraries 2019-06-27 19:10:51 +02:00
Xavier Guimard
72439d341f Merge branch 'v2.0' 2019-06-27 07:59:37 +02:00
Xavier Guimard
a6a25f0aa5 Fix randomly CI failure (#1797) 2019-06-25 17:46:49 +02:00
Xavier Guimard
3d1be3e7e5 Set negetive values for PE_PASSWORD_OK and PE_LOGOUT_OK (Fixes: #1816) 2019-06-25 17:38:08 +02:00
Xavier Guimard
1b4600b15c Merge branch 'v2.0' 2019-06-25 17:14:00 +02:00
Xavier Guimard
442a26a537 Remove localStorage purge (see #1815) 2019-06-24 19:05:10 +02:00
Xavier
d27e4bcc55 Merge branch 'v2.0' 2019-06-15 09:23:50 +02:00
Xavier Guimard
65eaefa75f Tidy 2019-06-14 17:23:26 +02:00
Xavier Guimard
020553ab6a Merge branch 'v2.0' 2019-06-13 10:09:18 +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
Xavier
a2454ff4cc Merge branch 'v2.0' 2019-06-12 21:44:39 +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 Guimard
f59681e80e Merge branch 'v2.0' 2019-06-07 17:48:32 +02:00
Xavier
f4bca7430a Add addAuthRouteWithRedirect() method to Try (#1787) 2019-06-06 22:59:02 +02:00
Christophe Maudoux
59f6106ba6 Merge remote-tracking branch 'origin/v2.0' 2019-05-31 00:16:07 +02:00
Christophe Maudoux
4e53907e09 Diag msg 2019-05-30 12:26:50 +02:00
Xavier
f75093d433 Merge branch 'v2.0' 2019-05-28 22:12: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
Xavier Guimard
1509d44d5f Merge branch 'v2.0' 2019-05-27 12:03:45 +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