Commit Graph

1398 Commits

Author SHA1 Message Date
Maxime Besson
a431e0521a Fix #2603 2021-09-01 17:32:15 +02:00
Alexandre KARIM
52ed859c4e Update version #2325 2021-08-25 14:37:23 +02:00
Alexandre KARIM
f9c20e6072 Merge branch 'v2.0' into 2325 2021-08-23 16:13:50 +02:00
Clément OUDOT
14848f9bf1 Set modules version to 2.0.13 2021-08-20 18:30:13 +02:00
Clément OUDOT
e26f39eb93 Merge branch '2564' into 'v2.0'
2564

See merge request lemonldap-ng/lemonldap-ng!214
2021-08-20 16:07:39 +00:00
Maxime Besson
21703d144c Partial revert "Better conf backend errors report" 2021-08-20 11:01:47 +02:00
Alexandre KARIM
13a7a81173 Mail template (#2325) 2021-08-19 10:55:17 +02:00
Alexandre KARIM
d0c6f7eec6 NewLocationWarning plugin skeleton (#2325) 2021-08-19 10:55:17 +02:00
Christophe Maudoux
a13feee5a2 Merge branch 'v2.0' into 2564 2021-08-18 23:38:24 +02:00
Maxime Besson
158b5deae3 Update lemonldap-ng-cli doc 2021-08-13 11:10:20 +02:00
Christophe Maudoux
37363971f3 Merge branch 'v2.0' into 2564 2021-08-12 23:46:55 +02:00
Maxime Besson
095ba8a060 Use Pod::Usage in importMetadata and add manpage 2021-08-12 17:02:50 +02:00
Maxime Besson
2fac0d9f47 Update LLNG download URL 2021-08-12 17:02:50 +02:00
Yadd
c98aa34be7 CPAN: require Apache::Session::Browseable 3.0.9 2021-08-11 06:42:59 +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
fbcaacbdf1 Langs (#2564) 2021-07-27 21:47:48 +02:00
Clément OUDOT
a7809f10fe Update version in main modules 2021-07-22 17:53:50 +02:00
Clément OUDOT
327be18f04 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2021-07-18 18:20:01 +02:00
Clément OUDOT
9f68108aa7 As user/group option to lemonldap-ng-sessions (#2562) 2021-07-18 18:18:52 +02:00
Clément OUDOT
b8b9a08528 Merge branch 'convertSessions-delete-attribute' into 'v2.0'
Exclude attributes in convert sessions script

See merge request lemonldap-ng/lemonldap-ng!206
2021-07-18 15:51:47 +00:00
Clément OUDOT
fac231baa9 Ignore unknown options for CLI (#2562) 2021-07-18 17:51:19 +02:00
Clément OUDOT
55bd2cd595 Update usage (#2562) 2021-07-16 12:42:41 +02:00
Clément OUDOT
2c69e9b959 Tidy code (#2562) 2021-07-16 12:35:29 +02:00
Clément OUDOT
a6766f1dcc Fix CLI script (#2562) 2021-07-16 12:03:59 +02:00
Yadd
107ddc8ef8 Merge branch 'doc-persistent_session_where' into 'v2.0'
Add samples to filter persistent sessions

See merge request lemonldap-ng/lemonldap-ng!191
2021-07-15 19:41:45 +00:00
Alex Kelly
6bc4423feb Fixed variable reference 2021-07-15 11:39:34 -04:00
Alex Kelly
115725dae5 Added the same --user and --group options to lemonldap-ng-cli 2021-07-15 11:38:35 -04:00
Clément OUDOT
67c8df09ad Possibility to exclude attributes in sessions conversion 2021-07-13 14:58:21 +02:00
Clément OUDOT
321be132c4 Fix comment 2021-07-13 14:50:45 +02:00
Yadd
fe6ad903f1 Update manifests 2021-07-12 19:00:03 +02:00
Clément OUDOT
d9556aaa47 Add portalEnablePasswordDisplay parameter in manager (#2454) 2021-07-07 19:12:13 +02:00
Yadd
c9bf13aae7 Prefer CDBI 2021-06-29 20:29:22 +02:00
Yadd
26150b85bd Fix RDBI rollback 2021-06-29 19:30:44 +02:00
Yadd
d7cbee5dbb Better conf backend errors report 2021-06-29 19:27:57 +02:00
Maxime Besson
aea7bdebe8 Reword option descriptions 2021-06-29 15:35:29 +02:00
Maxime Besson
2c7ba2d057 tidy 2021-06-29 15:30:33 +02:00
Maxime Besson
ff09c8856f Remove deprecated options 2021-06-29 15:30:33 +02:00
Antoine Gallavardin
ebc29edcb9 correct script an documentation 2021-06-29 15:30:33 +02:00
Gallavardin Antoine
17be15e88a improve Metadata script import 2021-06-29 15:30:33 +02:00
Yadd
83b45db614 Fix versions 2021-06-28 15:36:29 +02:00
Yadd
7a219e1a61 Fix RDBI when configuration is forced (Closes: #2493) 2021-06-27 19:13:37 +02:00
Christophe Maudoux
7f91820224 Display removed SF name (#1782) 2021-06-26 22:38:42 +02:00
David Coutadeur
2a8a2ac845 give more logs when prepare() or execute() fail (helps debugging #2455) 2021-06-25 19:41:36 +02:00
Maxime Besson
316c734bbc Merge branch 'fix-totp-options-2541' into v2.0 2021-06-25 13:55:53 +02:00
Yadd
822594d06e Better error report with conf-DBI* 2021-06-25 08:04:49 +02:00
Maxime Besson
4aa9edb2cc Add manager option for userinfo signature alg (#2547) 2021-06-17 18:56:40 +02:00
Maxime Besson
c197bd95b5 Remove totp2fDisplayExistingSecret and totp2fUserCanChangeKey (#2541) 2021-06-15 14:54:32 +02:00
Maxime Besson
50225ce438 Add option to only allow declared oidc scopes (#2496) 2021-06-03 17:40:49 +02:00
Christophe Maudoux
6be4cfe035 Dismiss cache if cfgDate has changed (#2508) 2021-05-03 23:13:04 +02:00
Christophe Maudoux
8ae9985e7c Partial revert (#2508) 2021-05-02 22:09:46 +02:00
Christophe Maudoux
0f40e2d1bb Check conf. timestamp to reload (#2508) 2021-04-26 00:26:33 +02:00
atisne
f5f861243e Add samples to filter persistent sessions
in lemonldap-ng-sessions online help
2021-04-16 17:48:33 +02:00
Maxime Besson
6f6239b6c3 Add manager option for #2506 2021-04-09 18:09:28 +02:00
Christophe Maudoux
bcfb075f63 Be more consistent with REST params & Update doc (#1976) 2021-04-01 22:48:08 +02:00
Maxime Besson
824cd5fb89 Fix CLI for oidcOPMetaDataJSON (#2439)
and oidcOPMetaDataJWKS
2021-03-30 16:32:14 +02:00
Maxime Besson
6f9734db92 convertSession: add option to rename fields (#2499) 2021-03-30 16:32:14 +02:00
Maxime Besson
b4f5ee58c3 Fix #2498 2021-03-30 16:32:14 +02:00
Maxime Besson
f98710bd34 Fix convertSession error reporting (#2487) 2021-03-15 21:18:08 +01:00
Clément OUDOT
205605a79c Merge branch 'v2.0' into 'v2.0'
Use timezone provided in input dates in extended function "checkDate" (#2462)

See merge request lemonldap-ng/lemonldap-ng!179
2021-02-22 10:08:16 +00:00
Maxime Besson
93d54458df Add oidcRPMetaDataScopeRules to list of hash params (#2424) 2021-02-19 17:26:23 +01:00
Xavier Guimard
b5c0ca94c4 CrowdSec plugin (#2451) 2021-02-19 07:40:36 +01:00
Maxime Besson
122512f01a Fix deserialization of array conf attributes (#2469) 2021-02-18 22:08:47 +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
1f66e03969 Append an option to download rules.json file from remote server (#2458) 2021-02-16 12:15:18 +01:00
Christophe Maudoux
6e1efc8bb5 WIP: CheckDevOps plugin skeleton (#2458) 2021-02-12 18:11:37 +01:00
Maxime Besson
f1335c3f1e Create a Common module for JWT ops (#2419) 2021-02-01 18:20:32 +01:00
Maxime Besson
39a419c1b1 Manager options for JWT access tokens (#2419) 2021-02-01 18:15:55 +01:00
Maxime Besson
88cc6004a4 Add manager option for dynamic scopes (#2424) 2021-02-01 16:25:36 +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
Xavier Guimard
77362c1d2d Fix POD 2021-01-24 07:47:28 +01:00
Maxime Besson
8debc0fd1d Partial revert of 893385d007 (fixes #2446) 2021-01-23 19:55:21 +01:00
Christophe Maudoux
5d56a88ff3 Use strict & Typo 2021-01-23 18:57:24 +01:00
Maxime Besson
c783ebc6d0 Add option to enable client credentials grant (#1987) 2021-01-19 17:06:21 +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
Clément OUDOT
1dfbbe9fb3 Add addPostVars/delPostVars actions (#1978) 2021-01-10 17:46:03 +01:00
Christophe Maudoux
e4444c907f Append CheckUser normalized headers option & Improve unit test (#2436) 2021-01-08 18:38:05 +01:00
Maxime Besson
93988663b4 Add ldapGetUserBeforePasswordChange to manager (#714) 2021-01-08 15:09:19 +01:00
Christophe Maudoux
d14fae87ce Append conf test & REST init test & set default values (#2176) 2021-01-06 23:10:09 +01:00
Christophe Maudoux
846d6a3655 Allow wildcard with searching parameters (#1976) & Improve unit tests 2021-01-05 22:08:48 +01:00
Christophe Maudoux
fc6ea96954 FindUser with combination (#1976) 2021-01-03 19:00:20 +01:00
Christophe Maudoux
c2342336c2 Merge branch 'v2.0' into findUser 2020-12-27 23:39:54 +01:00
Christophe Maudoux
c0f71ee0f1 Fix FindUSer with Choice (#1976) 2020-12-27 13:29:10 +01:00
Christophe Maudoux
0236dc00d6 Removing workaround with MailPasswordReset 2020-12-23 14:57:55 +01:00
Maxime Besson
cf351a53e4 Fix lemonldap-ng-sessions error message 2020-12-21 21:33:51 +01:00
Maxime Besson
f221a5bdfb Unit test for #2351 2020-12-21 21:33:51 +01:00
Maxime Besson
48b96dbaae Documentation for #2351 2020-12-21 21:33:51 +01:00
Maxime Besson
ec0c8214f7 Add a mass-delete feature to lemonldap-ng-sessions (#2351) 2020-12-21 21:33:51 +01:00
Christophe Maudoux
4d04672c20 WIP: FindUser skeleton (#1976) 2020-12-20 22:54:35 +01:00
Christophe Maudoux
f7800e5644 use strict 2020-12-19 00:04:59 +01:00
Christophe Maudoux
7be0240389 Update default values & Tidy (#2243) 2020-12-16 22:58:01 +01:00
Christophe Maudoux
df82d9d185 Take useSafeJail option into account in Manager &
Append an option to skip assignment test & Improve unit test (#2414, #2360)
2020-12-10 22:43:26 +01:00
Christophe Maudoux
f2960f706e TOTP tolerates both backward and forward clock drift & Append unit test (#2394) 2020-12-04 23:05:11 +01:00
Xavier Guimard
b5aec37089 Add Spanish translation (not finished but usable) 2020-12-04 13:11:01 +01:00
Christophe Maudoux
32d52b96d8 Append an option to obfuscate some headers value (#2398) 2020-11-27 23:09:18 +01:00
Xavier Guimard
74f582baf4 Add zh_TW translation (portal) 2020-11-23 15:43:13 +01:00
Christophe Maudoux
0a4fabb4e4 Use strict & fix warnings 2020-11-21 19:24:04 +01:00
Maxime Besson
b18350703d Add has2f function (#2391) 2020-11-18 10:10:51 +01:00
Christophe Maudoux
d356455ed8 Merge branch 'v2.0' into 2381 2020-11-15 16:31:49 +01:00
Maxime Besson
0263865faa Add CORS headers to error pages (#2380) 2020-11-12 14:34:16 +01:00
Christophe Maudoux
a0feeae9a1 Append accessToTrace parameter (#2381) 2020-11-12 13:43:41 +01:00
Maxime Besson
5714a753be Add manager form for OIDC attribute (#2330) 2020-11-06 19:00:52 +01:00
Xavier Guimard
893385d007 Replace application/javascript by application/json (Fixes #2376) 2020-11-06 17:58:41 +01:00
Maxime Besson
8b9c6be6f6 Add krbAllowedDomains in manager (#2372) 2020-11-05 10:39:20 +01:00
Christophe Maudoux
602ccf91f6 Append parameters (#2368) 2020-11-04 13:49:51 +01:00
Christophe Maudoux
b869b59da7 Avoid assignment (#2360) 2020-10-30 12:55:39 +01:00
Christophe Maudoux
600569247f WIP: Hide _session_id with session & 2ndFA explorers (#2350) 2020-10-28 09:31:12 +01:00
Maxime Besson
1623c542a0 Add ldap IO timeout option to manager (#2267) 2020-10-27 16:01:36 +01:00
Christophe Maudoux
1c574f03da Rule is not parsed -> convert to bool & be more consistent (#1605) 2020-10-12 15:38:57 +02:00
Maxime Besson
fcb8e6b3c5 Use keepalive for LDAP connections (#2344) 2020-10-09 12:22:28 +02:00
Maxime Besson
f74787f81a Switch default SAML signature alg to SHA256 (#2341) 2020-10-07 15:35:37 +02:00
Maxime Besson
4d5de59735 Add manager option to override SAML signature method (#2319) 2020-10-07 15:31:27 +02:00
Christophe Maudoux
352b97f681 Append option to modify 2FA during context switching (#2338) 2020-10-04 21:18:09 +02:00
Clément OUDOT
9cec235472 Configuration of adaptative authentication level plugin in Manager (#2336) 2020-10-02 16:41:35 +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
Maxime Besson
71b262b23e Add cli command to test SMTP (#2293) 2020-09-16 17:29:49 +02:00
Maxime Besson
c7d878f893 Implement a new config test for #2293 2020-09-16 17:29:49 +02:00
Maxime Besson
933cfd956b Fix old versions of Email::Transport (#2304) 2020-09-16 17:29:49 +02:00
Maxime Besson
1db67d735a Put mail transport code in Common so the manager can use it (#2293,#2304) 2020-09-16 17:27:00 +02:00
Christophe Maudoux
1a73f7ab7f Append rule & fix userData (#2314 & #2315) 2020-09-15 14:13:34 +02:00
Christophe Maudoux
059b2b13f1 Merge branch 'v2.0' into 2266 2020-09-07 18:56:37 +02:00
Clément OUDOT
f835f3d36f Update version in modules 2020-09-06 19:58:58 +02:00
Maxime Besson
c6358d7587 add ldapVerify option to ldap conf backend (#2250) 2020-09-05 12:21:37 +02:00
Maxime Besson
36a1b1c85c implement ldapVerify in notif backend (#2250) 2020-09-05 12:21:37 +02:00
Maxime Besson
4e5578e32f New manager options for ldap certificate validation (#2250) 2020-09-05 12:21:34 +02:00
Xavier Guimard
c8df084247 Update versions 2020-09-04 17:59:00 +02:00
Maxime Besson
4342987306 Override provided _session_type when creating new session 2020-09-04 17:16:11 +02:00
Maxime Besson
c183675651 Add option to skip session upgrade confirmation (#2124) 2020-09-04 17:16:09 +02:00
Maxime Besson
ab356f12fb Add manager option for delayed 2FA (#2124) 2020-09-04 17:15:29 +02:00
Maxime Besson
cb43b27904 Add manager options for authn level in issuer apps (#2124, #1848) 2020-09-04 17:14:04 +02:00
Clément OUDOT
c64c1a46b9 Fix typo in delete method call (#2305) 2020-09-03 09:24:50 +02:00
Christophe Maudoux
2cf9af77d5 Merge branch 'v2.0' into 2266 2020-09-02 18:54:29 +02:00
Clément OUDOT
2ca72e5613 Add del method in CLI (#2303) 2020-09-01 18:14:00 +02:00
Clément OUDOT
d10f6fb167 Add missing option iniFile in CLI help 2020-08-31 22:47:57 +02:00
Clément OUDOT
422f4be2bc Add missing option in CLI help 2020-08-31 22:45:21 +02:00
Christophe Maudoux
05096327c0 Re-order menu & Update langs (#2266) 2020-08-29 22:50:29 +02:00
Christophe Maudoux
0a4812203c Allowed all special chars and rule to disable local password policy (#2266) 2020-08-29 19:08:47 +02:00
Christophe Maudoux
4d52fedfe5 WIP - Incremental tempo 2020-08-25 22:58:47 +02:00
Maxime Besson
d5b47115ee Prettify json on manager conf export (#2292) 2020-08-25 18:27:25 +02:00
Maxime Besson
b67b7ebd05 Pretty-print config by default (#2292) 2020-08-25 15:03:42 +02:00
Maxime Besson
d8c745410c Document prettyPrint config option (#2292) 2020-08-25 15:03:42 +02:00
Maxime Besson
971f132b03 Add option to pretty print JSON config (#2292) 2020-08-25 15:01:04 +02:00
Christophe Maudoux
81a5d2552e Make json - Display oidc tab only if not empty 2020-08-25 11:12:48 +02:00
Maxime Besson
c5c6c4ab0c Factor genId2F method into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
4497f39efe Factor psession id calculation into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
26cd1945fb Try to compute the correct value of SameSite by default (#2281) 2020-08-17 18:05:09 +02:00