Commit Graph

838 Commits

Author SHA1 Message Date
Xavier Guimard
027a588185 Regexp opt conflict 2018-05-28 07:31:33 +02:00
Xavier Guimard
c4c63abc8b Use cached conf if backend fails (Closes: #1429) 2018-05-24 10:25:27 +02:00
Xavier Guimard
9445d14dbe Update MongoDB conf backend (#800) 2018-05-23 06:41:47 +02:00
Xavier Guimard
a43961a9e0 Little "eval" to avoid some MySQL crash (#1407) 2018-05-16 15:03:39 +02:00
Xavier Guimard
77a558e13a Distinct log/userLog in Dispatch (#1419) 2018-05-11 17:24:56 +02:00
Xavier Guimard
7af003bf3d Add Dispatch logger (fixes: #1419) 2018-05-11 14:43:41 +02:00
Xavier Guimard
1398e87cee Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-05-09 21:09:26 +02:00
Xavier Guimard
3fa8f13627 Fix Sentry logger
Fixes: #1418
2018-05-09 21:07:21 +02:00
Xavier Guimard
b1c6e20aad Add Sentry logger (#1418) 2018-05-09 20:40:11 +02:00
Christophe Maudoux
0f8c5823ac Append 2ndFA manager module to default enabled modules 2018-05-07 22:54:50 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Xavier Guimard
cc100316f5 Optimize SQL query 2018-04-23 17:17:34 +02:00
Christophe Maudoux
2119be03e1 Merge branch 'master' into manager-2ndFA-module 2018-04-17 22:54:31 +02:00
Xavier Guimard
e97a546433 Add "Null" logger (#857) 2018-04-17 06:56:29 +02:00
Christophe Maudoux
568f29f97c Fix session update bug (#1392) 2018-04-16 22:12:51 +02:00
Christophe Maudoux
5295161103 Delete 2F device (#1392) 2018-04-16 19:55:52 +02:00
Christophe Maudoux
f8e697d50a Delete 2F device (#1392) 2018-04-16 17:07:38 +02:00
Christophe Maudoux
936c54a802 Merge branch 'master' into portal-multi-U2F-registration 2018-04-09 12:17:11 +02:00
Xavier Guimard
b3a336a931 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-09 08:46:53 +02:00
Christophe Maudoux
b2472f61a1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-05 22:45:11 +02:00
Xavier Guimard
afab5536f2 Update manifests 2018-04-05 22:37:29 +02:00
Xavier Guimard
770a888cea Update metadata 2018-04-05 22:27:51 +02:00
Christophe Maudoux
2185f0ef27 Add Max2FDevices & Max2FDevicesNameLength attributes (#1386) 2018-04-04 23:14:25 +02:00
Xavier Guimard
51026a906b Missing end value 2018-04-04 18:13:46 +02:00
Christophe Maudoux
dc3336e8b1 Add manager userAuthorizedtoDelete entries (#1386) 2018-04-03 22:57:30 +02:00
Xavier Guimard
0623b4f9fe Add ini-only default values in DefaultValues.pm (#595) 2018-04-03 10:23:31 +02:00
Xavier Guimard
244bd617ac Update Makefile.PL 2018-03-28 09:09:47 +02:00
Xavier Guimard
e206be3322 SCRIPT_NAME is optional for handler
Avoid warning (#595)
2018-03-27 22:45:06 +02:00
Xavier Guimard
ca93445c6f Add Cookie::Baker::XS in recommended deps (#595) 2018-03-27 22:40:26 +02:00
Xavier Guimard
c32e962ea9 Rearrange uWSGI files 2018-03-25 14:54:32 +02:00
Christophe Maudoux
da926a8546 Merge branch 'master' into manager-SFA-module 2018-03-20 21:32:55 +01:00
Xavier Guimard
e89db33b5e Remove Auth::Yubikey (#1399) 2018-03-20 18:45:57 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Christophe Maudoux
bfc0a4f102 Merge branch 'master' into manager-SFA-module 2018-03-19 22:05:45 +01:00
Xavier Guimard
9c17f1b3b6 Error in intervals (#1359) 2018-03-18 22:38:12 +01:00
Xavier Guimard
05c77feebc Possibility to forbid U2F unregistration (#1148) 2018-03-18 22:20:05 +01:00
Christophe Maudoux
533df1ac1d Fix bug 2018-03-18 22:10:12 +01:00
Xavier Guimard
799109caca UTOTP manager part (#1391)
ToDo: self-registration + tests
2018-03-18 09:30:08 +01:00
Christophe Maudoux
fbe3af9f64 Merge branch 'master' into manager-SFA-module 2018-03-15 20:42:12 +01:00
Xavier Guimard
9cb44cc6c3 Manage headers (Closes: #1397) 2018-03-15 12:57:23 +01:00
Christophe Maudoux
e3b839ee95 Merge branch 'master' into manager-SFA-module 2018-03-14 22:09:45 +01:00
Xavier Guimard
79f64c8270 Backport #1372 2018-03-14 06:53:53 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
84b4b572de Typo (#1373) 2018-03-12 17:56:58 +01:00
Xavier Guimard
da889f9e26 Bad regexp (fixes: #1373) 2018-03-12 17:43:18 +01:00
Maudoux Christophe
6e27659c51 Revert "Update doc"
This reverts commit b77d45eca9
2018-03-12 16:45:22 +01:00
Christophe Maudoux
b77d45eca9 Update doc 2018-03-12 16:34:04 +01:00
Christophe Maudoux
810b9f6a27 WIP - 2ndFA manager module 2018-03-11 23:33:55 +01:00
Christophe Maudoux
d50775a5f2 Append add & verify button + update lang 2018-03-03 23:19:30 +01:00
Xavier Guimard
b30d3db3a0 Tidy 2018-03-03 09:32:01 +01:00
Xavier Guimard
79daebecec Apply some master changes 2018-03-03 09:21:06 +01:00
Christophe Maudoux
dd10b2472e Append U2F manager module to manage users U2F Key (WIP - Delete only !!!) 2018-03-01 11:30:21 +01:00
Christophe Maudoux
9dfce47dfb WIP - Append U2F module to manage users U2F Key (delete only at the moment) 2018-03-01 00:07:31 +01:00
Christophe Maudoux
31398c78bc WIP - delete U2F key attributes from manager with U2F module 2018-02-27 12:01:33 +01:00
Xavier Guimard
6604860ec0 Add "doubleHash" in "hashParamaters"
Fixes: #1368
2018-02-22 16:01:24 +01:00
Xavier Guimard
a129081847 Full TOTP (#1359) 2018-02-21 22:07:12 +01:00
Xavier Guimard
2d58b3f9f6 TOTP Manager part (#1359) 2018-02-21 06:48:06 +01:00
Xavier Guimard
b9e2e91844 TOTP Portal part seems finished (#1359)
TODO: Manager attributes
2018-02-20 22:58:20 +01:00
Xavier Guimard
560341ea51 TOTP self registration in progress (#1359) 2018-02-20 18:36:34 +01:00
Xavier Guimard
79aad61a6b Update dependencies (#1359) 2018-02-19 22:47:10 +01:00
Xavier Guimard
d37a384328 Move TOTP verification in Common (#1359)
This Common module will be used also in admin interface
2018-02-19 22:34:23 +01:00
Xavier Guimard
3451612b50 Typo 2018-01-23 23:08:12 +01:00
Clément OUDOT
a6590bf210 Force Net::LDAP to handle values in UTF-8 (#1358) 2018-01-22 10:48:53 +01:00
Xavier Guimard
c3fd234d23 Remove .bak file (#1352) 2018-01-19 15:40:54 +01:00
Clément OUDOT
f5e68b584e Manage UTF8 in configuration with MySQL (#1352) 2018-01-19 15:06:35 +01:00
Nicolas Quiniou-Briand
6eca6de10a Replace noreply@test.com by noreply@example.com, see #1337 2017-12-07 15:24:15 +01:00
Xavier Guimard
b3ff6e2666 Clean shellbangs (Debian 4.1.2 policy compliance) 2017-12-01 06:42:02 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Clément Oudot
8a07f47e77 Add krbRemoveDomain parameter (#707) 2017-11-06 15:19:06 +00:00
Clément Oudot
6823a6e09e Fix default value for registerUrl (#1325) 2017-11-02 17:04:03 +00:00
Xavier Guimard
6ee5509f70 Add registerUrl (fixes: #1325) 2017-11-02 16:16:21 +00:00
Xavier Guimard
d503a6f098 Remove temp dir #1323 2017-10-30 21:19:50 +00:00
Xavier Guimard
081699b29e AutoSignin works now (#1318)
TODO: doc
2017-10-27 13:11:30 +00:00
Xavier Guimard
53f1ba28de Typo (#1151) 2017-10-27 05:20:16 +00:00
Xavier Guimard
17a3b5e976 Raise an error if notification connector fails (#595) 2017-10-19 14:59:19 +00:00
Xavier Guimard
b63305b641 Fix bad return (#595) 2017-10-19 14:23:42 +00:00
Clément Oudot
a7401b72f6 Fix from_json methods (#1303) 2017-09-28 12:52:14 +00:00
Xavier Guimard
6e7510c969 Debug (#1305) 2017-09-26 20:00:56 +00:00
Xavier Guimard
69ece7740d Update debian/control 2017-09-26 19:11:04 +00:00
Xavier Guimard
fc49c10a5d Remove old hook (fixes: #1306) 2017-09-26 08:04:32 +00:00
Clément Oudot
43b3b495a8 Fix bad module dependency in code (#1260) 2017-09-19 09:10:23 +00:00
Xavier Guimard
bf1cf4c4f5 Display OIDC Consent tab if needed (#826) 2017-09-15 10:34:43 +00:00
Xavier Guimard
5b5e5db123 OpenID Connect consent skeleton (#826) 2017-09-15 10:32:15 +00:00
Clément Oudot
417d8f407c Force allow_nonref for JSON conf/sessions (#1294) 2017-09-06 18:01:09 +00:00
Xavier Guimard
93b491e061 Avoid plugin route conflict (partial fix for #1290) 2017-09-06 13:18:08 +00:00
Xavier Guimard
d788674e22 Warn if a route is redefined (#595) 2017-09-05 18:34:46 +00:00
Clément Oudot
b16a2becf9 Litlle fix for REST conf in lemonldap-ng.ini (#970) 2017-09-05 15:45:18 +00:00
Xavier Guimard
73c8cfb02f Missing comments for REST conf backend (#970) 2017-09-05 15:16:32 +00:00
Clément Oudot
f65ba0745d Enable loop context vars in templates (#1292) 2017-09-04 14:10:41 +00:00
Clément Oudot
70693929e4 Fix SOAP configuration module (#1288) 2017-08-29 15:20:54 +00:00
Clément Oudot
2ec88532ad Catch DBI execution error (#1263) 2017-08-29 14:04:40 +00:00
Clément Oudot
095a6ed8e5 Restore empty hash after SOAP getConfig call (#1288) 2017-08-28 16:37:31 +00:00
Xavier Guimard
4c603c9e90 Remove SQL transactions since "AutoCommit" is on (#1118) 2017-07-13 07:36:59 +00:00
Xavier Guimard
d391bcc0e1 Add SQLite in authorizated backends 2017-07-11 18:25:15 +00:00
Xavier Guimard
694293299f Fix #1118 for DBI 2017-07-11 12:16:56 +00:00
Xavier Guimard
482a6fb59d Revert r6542 (#1118) 2017-07-11 11:50:09 +00:00
Clément Oudot
8ec280164b Define query_string method to support old version of Plack on CentOS7 2017-07-10 10:15:04 +00:00
Clément Oudot
2400f84cb9 Prepare 2.0.0~alpha1 release 2017-07-10 10:01:40 +00:00
Clément Oudot
dd87683a4c Prepare 2.0.0-alpha1 release 2017-07-10 09:11:34 +00:00
Clément Oudot
00e7cea00c LinkedIn parameters in Manager for 2.0 (#1243) 2017-06-23 14:47:03 +00:00
David COUTADEUR
80f5d06e82 perl tidy 2017-06-23 09:57:07 +00:00
David COUTADEUR
6533b0a36b first working version of dynamic hash passwords in trunk (LEMONLDAP-1245) 2017-06-23 09:23:29 +00:00
Xavier Guimard
4a7d232ee8 Declare arabic language (#1222)
TODO: flag problem
2017-05-22 15:31:34 +00:00
Clément Oudot
318d43e07f Check logout redirect URI (#1233) 2017-05-18 14:52:38 +00:00
Xavier Guimard
cb42cd5521 Fix UTF-8 in conf upload (fixes: #1118) 2017-05-18 10:46:12 +00:00
Xavier Guimard
732e449ac6 Enable Italian (#1232) 2017-05-09 12:55:56 +00:00
Clément Oudot
56254f1d4f Apply commit 6513 to trunk (#1218) 2017-04-27 10:21:46 +00:00
Xavier Guimard
567be5f719 Add Portal Vietnames translation (#1220) 2017-04-25 08:50:25 +00:00
Xavier Guimard
3328c5c7f0 Remove session from local cache (closes: #1215) 2017-04-25 07:24:44 +00:00
Xavier Guimard
d6c5229af8 Bad cipher initialization (#595) 2017-04-21 07:36:14 +00:00
Xavier Guimard
c8b33af881 Fix display error (#867) 2017-04-19 10:52:18 +00:00
Xavier Guimard
00423fc223 Fix proxied services in CAS (#1183) 2017-04-15 13:21:33 +00:00
Xavier Guimard
6e38097176 Don't enable SMTP by default 2017-04-13 20:08:54 +00:00
Xavier Guimard
b83374b274 New Issuer::CAS (#1183) 2017-04-13 19:17:29 +00:00
Xavier Guimard
380c3fec6b Update manager part of Auth::CAS (#1183) 2017-04-13 09:04:40 +00:00
Xavier Guimard
a63c7a7d4a Display CAS exportedVars (#1183) 2017-04-13 07:28:17 +00:00
Xavier Guimard
b93d7ff315 Issuer::CAS manager part (#1183) 2017-04-12 20:02:04 +00:00
Xavier Guimard
97e124e997 Auth::CAS manager part (#1183) 2017-04-12 19:49:26 +00:00
Xavier Guimard
9a0a56b5fd Prepare new CAS arch in manager (#1183) 2017-04-12 16:45:55 +00:00
Xavier Guimard
dec57ba3f5 Move CAS Server options to CTrees (#1183) 2017-04-12 16:45:52 +00:00
Xavier Guimard
679911d4d0 Prepare CAS partners managment (#1183) 2017-04-12 16:45:49 +00:00
Xavier Guimard
43ece77749 Remove unused CAS_pgtFile parameter (#1183) 2017-04-12 16:45:45 +00:00
Xavier Guimard
a83a707931 Add Ajax to SSL (closes #1212) 2017-04-11 19:19:59 +00:00
Xavier Guimard
fbbe3aaf9b Unable Auth::Kerberos in Manager (closes: #707) 2017-04-11 13:21:35 +00:00
Xavier Guimard
efd1c1435a Update some deps (#595) 2017-04-11 09:17:13 +00:00
Xavier Guimard
fbd2a3673f Missing path (#595) 2017-04-10 18:54:11 +00:00
Xavier Guimard
c1bb34ab11 Fix #1207 2017-04-07 10:28:55 +00:00
Xavier Guimard
ddc1615546 Kerberos-by-Ajax skeleton (#707)
TODO: write javascript
2017-04-06 11:33:12 +00:00
Xavier Guimard
388e313250 Update Null level 2017-03-30 05:11:02 +00:00
Xavier Guimard
af60e2e6ab Typo (#1208) 2017-03-28 21:10:49 +00:00
Xavier Guimard
2e59ea441a Replace request management in handler (#1044)
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Xavier Guimard
8682f63414 Add YAML configuration backend (#1208) 2017-03-28 17:09:48 +00:00
Xavier Guimard
c761cc5781 Mark some properties "lazy" to be sure conf is intialized (#595) 2017-03-27 16:51:18 +00:00
Xavier Guimard
6efec8525f Install new SMTP options (#1206) 2017-03-27 07:02:19 +00:00
Xavier Guimard
6a651b5bee Try to implement SAML reauth (#595) 2017-03-23 20:49:52 +00:00
Xavier Guimard
4af8a59b5e Handler part of reauthentication (#1204) 2017-03-23 18:22:44 +00:00
Xavier Guimard
e33a741acf Add rules for 2f (#1015) 2017-03-23 06:20:06 +00:00
Xavier Guimard
0595f729e2 Update manager (#1161) 2017-03-22 20:47:09 +00:00
Xavier Guimard
d9f3311bb2 Manage multiple forms with combination (#1151) 2017-03-22 18:11:38 +00:00
Xavier Guimard
760e7e2859 Import isInNet6 in Safelib (#1201) 2017-03-17 16:31:17 +00:00
Xavier Guimard
0b4fd5f497 Update manifest (#1201) 2017-03-17 16:31:15 +00:00
Xavier Guimard
c81d3133ec IPv6 works for session explorer (#1201) 2017-03-17 16:31:04 +00:00
Xavier Guimard
52b2086650 Prepare IPv6 functions (#1201) 2017-03-17 11:18:25 +00:00
Xavier Guimard
7df4880d20 Fix "next" link when cfg is 1 (#575) 2017-03-16 12:21:49 +00:00
Xavier Guimard
bf3c43aecd Replace inline css (#1137) 2017-03-16 11:38:52 +00:00
Xavier Guimard
03339738b7 Remove unsafe authorization (#1184) 2017-03-16 06:30:30 +00:00
Xavier Guimard
a07e92759c Add Auth::PAM (#closes: #1196) 2017-03-14 15:34:10 +00:00
Clément Oudot
f1804db2c7 Allow unsafe-inline styles for portal skin background (#1184 / #LEMONLDAP-1138) 2017-03-14 13:51:30 +00:00
Xavier Guimard
ffbd92745c Set default value to 1 for captcha_mail (#595) 2017-03-14 12:24:45 +00:00
Xavier Guimard
85ad473cd7 Authorize data: images in CSP header (#1138) 2017-03-14 12:08:01 +00:00
Xavier Guimard
580c161855 More debug 2017-03-14 11:28:16 +00:00
Xavier Guimard
3f3ac6d76f Clean 2017-03-13 06:30:58 +00:00
Xavier Guimard
7f460429e1 OIDC OP2RP logout in progress (#1194) 2017-03-10 11:39:19 +00:00
Xavier Guimard
2ec0f3ce6f Add OIDC logout parameters (#1032) 2017-03-09 21:56:45 +00:00
Xavier Guimard
9fb80061a0 Additional parameters for custom modules (#1188) 2017-03-08 17:41:42 +00:00
Xavier Guimard
f63e5eaca1 Add version in conf (to be used later with #797) 2017-03-07 17:49:46 +00:00
Xavier Guimard
2fb085b2a6 New "Custom" modules family (closes: #1188) 2017-03-07 17:28:09 +00:00
Xavier Guimard
21856ea330 Update dependecies (#595) 2017-03-07 10:03:23 +00:00
Xavier Guimard
56337e602e Remove some dependencies (#595) 2017-03-07 06:30:57 +00:00
Xavier Guimard
6344051c75 Update some versions 2017-03-07 06:05:08 +00:00
Xavier Guimard
906f081b31 Verify REST backend config (#970) 2017-03-06 15:06:49 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
64756142e1 Service token server (#971) 2017-03-01 06:41:42 +00:00
Xavier Guimard
e2f4de3f9d Missing versions (#595) 2017-02-28 20:53:19 +00:00
Clément Oudot
c18533d447 Use getSkin to choose portal skin (#1177) 2017-02-28 18:39:56 +00:00
Xavier Guimard
b132e83530 Better token for REST session creation (#970) 2017-02-28 05:30:47 +00:00
Xavier Guimard
c0c67fd0bd Minimize persistentSession tie/untie (#713, #LEMONLDAP-1173) 2017-02-27 20:48:00 +00:00
Xavier Guimard
babb7f9230 Little things (#595) 2017-02-27 19:30:43 +00:00
Xavier Guimard
270410224d Update in doc (#782) 2017-02-26 13:42:49 +00:00
Xavier Guimard
38365b94ee Add DBI in e2e-tests 2017-02-26 08:04:39 +00:00
Xavier Guimard
538c723b8c Improve PATH_INFO split (#1175) 2017-02-24 11:23:16 +00:00
Xavier Guimard
7be468841b Add conditional SSLVar (closes: #803) 2017-02-24 06:29:50 +00:00
Xavier Guimard
d7025a2251 Add REST Auth/UserDB/Password backend (closes: #1174) 2017-02-23 21:46:00 +00:00
Xavier Guimard
c08489a6bc Add Log4perl logger (closes: #1162) 2017-02-21 06:41:50 +00:00
Xavier Guimard
e315a447d7 Change JS access (#1137) 2017-02-21 05:38:59 +00:00
Xavier Guimard
7a71c9db37 Revert r6047 (#1148) 2017-02-20 21:59:31 +00:00
Xavier Guimard
8c3ff5fb0b Minimize Apache::Session tie/untie (closes: #1173) 2017-02-20 21:00:05 +00:00
Xavier Guimard
09f13b1b00 Notification server SOAP/REST (#595) 2017-02-19 17:04:49 +00:00
Xavier Guimard
ede8f56ef3 Tidy 2017-02-19 11:51:58 +00:00
Xavier Guimard
697ebfdf8e Move default mail subjects in JSON (may close #1033) 2017-02-19 08:07:21 +00:00
Xavier Guimard
ca2c453e71 Add "public pages" concept to 2.0 (#1120) 2017-02-18 06:49:06 +00:00
Xavier Guimard
1642a20d56 Display multiple forms (#830) 2017-02-16 17:22:08 +00:00
Xavier Guimard
aaa9e80472 Updates (#1067) 2017-02-16 11:08:18 +00:00
Xavier Guimard
e3dafad97d Add lwpOpts and lwpSslOpts to Apache/Session/REST (see #1065) 2017-02-15 18:21:00 +00:00
Xavier Guimard
1e7b2c4a39 Add LWP options (closes: #1065) 2017-02-15 15:08:23 +00:00
Xavier Guimard
b829b6c19b Replace userNotice/Error... by userLogger (#857) 2017-02-15 14:16:59 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
b31635c62b Force syslog when FastCGI in use (#1162) 2017-02-15 06:41:41 +00:00
Xavier Guimard
fc1527686c Remove loca-only parameters (#1160) 2017-02-15 06:39:54 +00:00
Xavier Guimard
88dd1201ef Remove local-only parameters (#1160) 2017-02-13 16:48:39 +00:00
Xavier Guimard
d25f7061ab Transform logger into objects (#1162) 2017-02-13 11:58:39 +00:00
Xavier Guimard
64027a901a Initialize with local conf (#1162) 2017-02-12 20:19:39 +00:00
Xavier Guimard
c5626c77b5 Create logger files (#1162) 2017-02-12 20:09:46 +00:00
Xavier Guimard
40b7535ff3 Reorganize handler (closes: #1160) 2017-02-11 07:47:22 +00:00
Xavier Guimard
1f2c5a0726 Remove unused file (#595) 2017-02-09 21:14:09 +00:00
Xavier Guimard
18a51d858a Replace %ENV by $req->env (#1156) 2017-02-09 08:05:55 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
e57abb7285 Typo 2017-02-08 13:01:04 +00:00
Xavier Guimard
35f506bd60 Start rewrite Register::U2F using Ajax (#1148)
NB: broken for now
2017-02-08 13:01:02 +00:00