Commit Graph

1154 Commits

Author SHA1 Message Date
Xavier Guimard
f8942d156d Override templateDir before calling sendHtml (fixes: #1642) 2019-02-05 19:04:06 +01:00
Xavier Guimard
92b65ae86f Merge branch 'v2.0' 2019-02-05 13:59:22 +01:00
Xavier Guimard
a549e62657 Add Auth::GPG parameters (#1569) 2019-02-05 11:51:39 +01:00
Xavier Guimard
4934eb92f8 Merge branch 'v2.0' 2019-02-05 11:28:32 +01:00
Xavier Guimard
8d40de133f Update cpan deps 2019-02-05 11:25:26 +01:00
Christophe Maudoux
b39e6ce99f WIP - Append relative parameters (#1637) 2019-02-04 23:13:54 +01:00
Xavier Guimard
c5a3687040 Merge remote-tracking branch 'max/fix-redir' into v2.0 2019-02-03 22:48:43 +01:00
Christophe Maudoux
e41be10a23 Improve RegExp (#1629) 2019-02-03 21:48:49 +01:00
Maxime Besson
e028088f88 Add the ability to detect HTTPS from web server env
This commit adds a new "Default" option for the global HTTPS setting. In
this mode, the handler will refer to the HTTPS env variable to know if it's
being accessed over HTTPS or not. An administrator is of course still
free to force HTTPS by setting it either globally or per-VHost
2019-02-03 20:12:53 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Maxime Besson
faa748f68f Add Mail second factor plugin 2019-02-03 14:43:44 +01:00
Clément OUDOT
bdfc905a59 Use make json to rebuild Manager files (#1601) 2019-02-02 15:55:55 +01:00
Christophe Maudoux
08647bb96a Improve unit test (#1636) 2019-02-02 15:34:24 +01:00
Xavier Guimard
c77317fef7 Update versions 2019-01-31 23:20:57 +01:00
Xavier Guimard
c60ba130b8 Replace rand() by Crypt::URandom::urandom() 2019-01-31 23:16:52 +01:00
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
ce809fc80c Improve manager tree (#1616) 2019-01-19 14:27:00 +01:00
Xavier Guimard
774137e5fd Remove useless test (fixes test failure on Debian unstable) 2019-01-19 09:48:44 +01:00
Christophe Maudoux
6dee2f2dba Fix unit test for Debian Buster 2019-01-18 21:47:40 +01:00
Christophe Maudoux
559b410849 Fix unit test for Debian Buster 2019-01-18 21:46:23 +01:00
Christophe Maudoux
e1565191bf WIP - Fix unit test 2019-01-18 21:38:24 +01:00
Christophe Maudoux
adbe2adb3e WIP - Fix unit test 2019-01-18 21:16:55 +01:00
Christophe Maudoux
baa2868d3f WIP - Fix unit test 2019-01-18 20:09:42 +01:00
Christophe Maudoux
5752254af8 WIP - Fix unit test 2019-01-18 19:48:46 +01:00
Christophe Maudoux
b486735d46 WIP - Split mailReset plugin and SMTP parameters (#1616) 2019-01-16 22:57:35 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Xavier Guimard
12be005b15 Update manager javascripts (#1568 #1495) 2019-01-04 15:49:35 +01:00
Clément OUDOT
d912f82d91 Update version in modules 2018-12-21 15:19:34 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Xavier Guimard
843e18c64e Initialize user() in $req (#1591) 2018-12-17 18:44:12 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Xavier Guimard
ef6313b1c9 Fix bad returned value in Conf/Backends/MongoDB.pm 2018-12-10 22:48:09 +01:00
Xavier Guimard
8bd4ed0870 Removed unsed captcha file (#1567) 2018-12-03 22:37:55 +01:00
Christophe Maudoux
b493fac7be Disable safe warnings (#1561) 2018-11-30 21:45:54 +01:00
Christophe Maudoux
e3999aad6b WIP - Comment safe 2018-11-30 20:36:45 +01:00
Xavier Guimard
18c5ca83bf make spelling 2018-11-29 21:47:04 +01:00
Xavier Guimard
75f20be6d8 Fix some warnings (#1559) 2018-11-29 19:48:49 +01:00
Xavier Guimard
02f8c41030 Fix little warnings (#1559) 2018-11-29 17:00:28 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Clément OUDOT
9cb56173db Configure timeout for configuration reload (#1553) 2018-11-26 08:21:00 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Christophe Maudoux
fdfeb9331b make json 2018-11-15 22:39:05 +01:00
Christophe Maudoux
32affcc0f3 make json 2018-11-15 22:38:43 +01:00
Christophe Maudoux
72b42a516f Append reset password retries number parameter (#1508) 2018-11-15 21:16:46 +01:00
Christophe Maudoux
c3ee16ec28 Append handler internal cache timeout parameter (#1535) 2018-11-09 21:35:51 +01:00
Clément OUDOT
b46db2909c Remove remaining dash (#1503) 2018-11-08 15:48:23 +01:00
Clément OUDOT
f4d77d3fc7 Fix import metadata script (#1503) 2018-11-08 12:32:30 +01:00
Christophe Maudoux
87c85c5b01 Append manager option to enable langs display (#1539) 2018-11-07 20:10:31 +01:00
Christophe Maudoux
3211236904 Set default formAction CSP (#1499) 2018-10-30 20:32:20 +01:00
Clément OUDOT
588852952e Keep Register modules parameters (#1531) 2018-10-29 17:04:04 +01:00
Clément OUDOT
c968973c76 Keep LDAP parameters for AD configuration (#1531) 2018-10-29 16:32:26 +01:00
Clément OUDOT
34c9fb80f6 Change generation of IDP/SP key (#1503) 2018-10-28 19:08:45 +01:00
Christophe Maudoux
44956956e5 Fix unit test warning (#1509) 2018-10-23 21:38:43 +02:00
Christophe Maudoux
5bfb38db56 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-22 22:28:48 +02:00
Christophe Maudoux
14391d07d1 Append debug messages (#1509) 2018-10-22 22:28:37 +02:00
Clément OUDOT
1313350aec Add remove action (#1503) 2018-10-22 18:33:08 +02:00
Clément OUDOT
dd62d90de7 Fix typo for idpconfprefix (#1503) 2018-10-22 18:17:20 +02:00
Christophe Maudoux
4df8ce2c0e Set formAction CSP from Manager (#1499) 2018-10-18 19:51:50 +02:00
Xavier Guimard
6b41c1d3d6 abort should work even if init fails (#1525) 2018-10-16 23:18:26 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
c2da030b95 BruteForceProtection plugin disable by default 2018-10-10 23:12:38 +02:00
Christophe Maudoux
8e5286dceb Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-08 23:03:09 +02:00
Christophe Maudoux
7a1117d4c4 Append Portal main logo option in Manager (#1515) 2018-10-08 23:02:59 +02:00
Xavier Guimard
1ef8c05908 Add "over" feature to choice (#1500) 2018-10-08 16:57:24 +02:00
Christophe Maudoux
8d7afa75a3 Append portalForceAuthn option in Tree (#1507) 2018-10-03 22:32:37 +02:00
Christophe Maudoux
a6c461f7b6 WIP - Rename plugin PortalForceAuthn (#1507) 2018-10-03 21:27:09 +02:00
Christophe Maudoux
85c6ad2498 WIP - Append PortalForceReAuthn (#1507) 2018-10-03 21:07:10 +02:00
Clément OUDOT
d21dfa926b Add SAML user attribute option in Manager (#1512) 2018-10-02 17:18:17 +02:00
Clément OUDOT
ecd68f6a28 Option to display warning messages (#1503) 2018-10-02 12:04:15 +02:00
Clément OUDOT
dba8ab697f Options configuration for metadata import script (#1503) 2018-10-02 12:02:08 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +02:00
Christophe Maudoux
31a689340d Rename BruteForceProtection plugin (#1506) 2018-09-23 11:09:04 +02:00
Christophe Maudoux
312e152bcc Append brutForceProtection plugin (#1506) 2018-09-22 19:26:21 +02:00
Clément OUDOT
62b74a7af3 Fix typo (#1503) 2018-09-18 22:58:25 +02:00
Clément OUDOT
a06a7c3faf Manage attributes (#1503) 2018-09-18 17:47:55 +02:00
Clément OUDOT
381e9288e2 First version of import metadata script (#1503) 2018-09-18 14:51:58 +02:00
Clément OUDOT
5c8f42bda4 Configuration for SAML Discovery Protocol (#1478) 2018-09-04 15:24:18 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
1223700d62 Typo 2018-08-31 19:30:18 +02:00
Christophe Maudoux
3ae96fcbb2 Improve and cleaning code 2018-08-30 23:21:20 +02:00
Christophe Maudoux
96322a1419 Append test 2018-08-25 18:17:43 +02:00
Xavier Guimard
7e8a007b02 Accept DBD::MariaDB (#1490) 2018-08-23 07:01:22 +02:00
Christophe Maudoux
6251da2e56 Fix TOTP formula 2018-08-18 21:21:20 +02:00
Xavier Guimard
bf7d85532d Replace bool by boolOrExpr for sfRequired + partial revert (#1487) 2018-08-15 20:42:08 +02:00
Xavier Guimard
e55094602e Be tolerant with whitespaces in ini file (Fixes: #1488) 2018-08-12 22:33:14 +02:00
Christophe Maudoux
1bebba42c3 WIP - Partial revert and debug messages appended to test (#1480) 2018-08-08 09:51:06 +02:00
Christophe Maudoux
6619e56714 WIP - Add CSP form-action attribute in LLNG conf. Need more tests (#1480) 2018-08-07 23:54:42 +02:00
Christophe Maudoux
1551398025 Fix translate 2018-07-24 21:26:37 +02:00
Christophe Maudoux
a6f19e187a Fix comment (#1464) 2018-07-22 23:15:01 +02:00
Christophe Maudoux
93fcfbe5b1 Delete OIDC Consents from sessions explorer (#1464) 2018-07-21 22:11:14 +02:00
Christophe Maudoux
6c11572c2a Display oidcConsents (#1464) 2018-07-19 00:01:43 +02:00
Xavier Guimard
9cecdc43b7 Store new conf in local storage + bug in customFunctions 2018-07-12 14:38:28 +02:00
Xavier Guimard
16dfbed636 Tidy 2018-07-12 09:04:05 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
28aedcd63c Some errors in CAS (#1461) 2018-06-26 21:45:55 +02:00
Clément OUDOT
151088559f Move CAS options in CAS service (#1161) 2018-06-23 09:21:09 +02:00
Clément OUDOT
8a4adfd384 Configure Facebook user field (#1322) 2018-06-22 18:16:24 +02:00
Clément OUDOT
7eb24abe3c Configure Twitter user field (#1322) 2018-06-22 17:44:41 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
ff0c8029db Change oidc content key for removal (#1431) 2018-06-20 21:38:26 +02:00
Xavier Guimard
def1b0bef2 Add Local conf backend (closes: #1458) 2018-06-19 21:05:36 +02:00
Xavier Guimard
e6b6d88514 PATH_INFO must be set (#1342) 2018-06-19 19:58:12 +02:00
Xavier Guimard
6cd2314d9d Add comment for checkTime (#1454) 2018-06-18 18:35:37 +02:00
Xavier Guimard
f5971ad98d Set configuration checkTime (#1454) 2018-06-15 19:00:14 +02:00
Xavier Guimard
a725a8f28f Revert d5d74b93 (#1454) 2018-06-15 06:57:43 +02:00
Xavier Guimard
a3d400e765 Set default values before storing local conf (#1454)
Bug introduced in d5d74b93
2018-06-15 06:55:10 +02:00
Xavier Guimard
b64df9a73c Typo (#1454) 2018-06-14 22:29:20 +02:00
Xavier Guimard
5488ceccef Update local cache on conf save (#1454) 2018-06-14 22:26:10 +02:00
Xavier Guimard
a7329c1dcc Verify Mouse version with Apache (#1452) 2018-06-14 06:19:27 +02:00
Xavier Guimard
5bfdeb6b43 Comment (#1452) 2018-06-13 23:20:35 +02:00
Xavier Guimard
f4b3e43a2c Workaround for ModPerl/Mouse bug (#1452) 2018-06-13 23:10:40 +02:00
Clément OUDOT
ea8817f3ff Use SHA1 as default value (#1247) 2018-06-12 22:35:00 +02:00
Clément OUDOT
28c4429b75 Configuration for SAML signature method (#1247) 2018-06-12 18:22:21 +02:00
Xavier Guimard
1ed0ab110b Remove doc translation system (#1445) 2018-06-07 18:58:55 +02:00
Xavier Guimard
96ee91f2aa Typo 2018-05-28 07:31:48 +02:00
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
Xavier Guimard
5c421f8b61 Spelling parser 2017-02-07 14:46:28 +00:00
Xavier Guimard
2f31b05c1f Keep combination keys (#1151) 2017-02-07 08:05:30 +00:00
Xavier Guimard
58ee26a128 Combination seems finished (except tests) (#1151) 2017-02-06 20:24:58 +00:00
Xavier Guimard
1780092b0c Combination in progress (#1151) 2017-02-06 06:42:22 +00:00
Xavier Guimard
8a3bb7b0f9 Combination override conf (#1151)
TODO: lot of job in the manager...
2017-02-05 23:04:28 +00:00
Xavier Guimard
b78022558d More combination tests (#1151) 2017-02-05 21:12:06 +00:00
Xavier Guimard
afcb39a355 Combination in progress (#1151) 2017-02-05 17:05:33 +00:00
Xavier Guimard
193ac7c260 Combination in progress (#1151) 2017-02-05 13:11:14 +00:00
Xavier Guimard
6cc7190df5 Tidy 2017-02-05 12:30:57 +00:00
Xavier Guimard
9e12c94234 Remove old CGI files (#595) 2017-02-05 12:30:50 +00:00
Xavier Guimard
6cccc434e1 Combination skeleton (#1151) 2017-02-05 12:24:26 +00:00
Xavier Guimard
29d90718eb More tests (#1151) 2017-02-05 11:13:32 +00:00
Xavier Guimard
7d27259e64 Create a "Same" value for userDB and remove some other 2017-02-05 09:13:20 +00:00
Xavier Guimard
9c3bdd51b8 Combination parser works (#1151) 2017-02-05 08:26:43 +00:00
Xavier Guimard
00ee360511 Rename pm (#1151) 2017-02-05 08:26:38 +00:00
Xavier Guimard
7a675d14ca Combination parser (#1151) 2017-02-04 19:46:34 +00:00
Xavier Guimard
41da50b8ca U2F registration works (#1148) 2017-02-03 17:14:13 +00:00
Xavier Guimard
a14d718351 U2F skeleton (#1148) 2017-02-02 21:48:32 +00:00
Xavier Guimard
4178455d95 Notif in progress (#868) 2017-02-02 06:08:40 +00:00
Xavier Guimard
a08d2f6433 Remove BrowserID parameters (see #602) 2017-02-01 10:32:03 +00:00
Xavier Guimard
8f0bb1bed7 Notification File/JSON tested (#868) 2017-02-01 06:16:33 +00:00
Xavier Guimard
dc2080716d Notification JSON/File (#868) 2017-02-01 05:30:44 +00:00
Xavier Guimard
03f2df36d3 Prepare JSON notifications (#868) 2017-01-31 22:10:26 +00:00
Xavier Guimard
61fd463f45 Split notifications (XML vs JSON) [#868] 2017-01-31 19:11:59 +00:00
Xavier Guimard
5dc2df2a5e More doc (#595) 2017-01-30 20:21:58 +00:00
Xavier Guimard
4ae5c7463c Replace .pl (#595) 2017-01-30 16:22:39 +00:00
Xavier Guimard
7a3725db9d Pwd reset in progress (#595) 2017-01-29 09:11:27 +00:00
Xavier Guimard
1e4c6da389 Rename lmConf-*.js to lmConf-*.json (fix: #1090) 2017-01-27 11:58:46 +00:00
Xavier Guimard
234551387f Captcha and token in progress (#1140) 2017-01-24 22:05:07 +00:00
Xavier Guimard
a9e8dcf276 Don't store 'false' values in default 2017-01-24 21:02:04 +00:00
Xavier Guimard
e414ee5151 Prepare captcha (#595) 2017-01-24 17:55:20 +00:00
Xavier Guimard
42c42562a6 Ask token to use get_key_from_all_sessions (#595) 2017-01-23 22:04:24 +00:00
Xavier Guimard
5369f46024 REST session/conf backends (#970) 2017-01-22 22:51:22 +00:00
Xavier Guimard
b70dac9f3a CSP in progress (#1138) 2017-01-19 06:09:20 +00:00
Xavier Guimard
04585cf188 Prepare Content-Security-Policy for portal (#1138) 2017-01-18 22:36:03 +00:00
Xavier Guimard
5ae758c6f1 Remove all inline CSS/JS (#1137) 2017-01-17 23:17:23 +00:00
Xavier Guimard
6b2dbd6482 Add portal status plugin (#595) 2017-01-16 21:00:50 +00:00
Xavier Guimard
f7cc7b2b66 More debug (#595) 2017-01-14 08:17:42 +00:00
Xavier Guimard
c5309a6e35 Remove registerUrl: fixed to /register (#595) 2017-01-14 08:17:38 +00:00
Xavier Guimard
1b88459c31 Remove samlIDPSSODescriptorSingleSignOnServiceSOAP from everywhere 2017-01-13 08:17:20 +00:00
Xavier Guimard
3c5cb018ef Compact conf 2017-01-11 21:10:13 +00:00
Xavier Guimard
1ccad93701 Compact conf 2017-01-11 06:13:37 +00:00
Xavier Guimard
990006ce80 Move conf regexp constants to common (#970) 2017-01-10 21:43:37 +00:00
Xavier Guimard
7234f907aa More tests for REST API (#970) 2017-01-10 21:43:34 +00:00
Xavier Guimard
d0350660e7 More security for path 2017-01-10 06:04:38 +00:00
Xavier Guimard
11dc704a57 Optimize (#595) 2017-01-09 15:43:30 +00:00
Xavier Guimard
293f0eea71 Replace build_urlencode to manage old Plack (#595) 2017-01-09 12:55:04 +00:00
Xavier Guimard
10509e2a52 REST in progress (#970) 2017-01-09 06:11:30 +00:00
Xavier Guimard
a0ea56a29a SOAP/REST in progress (#970) 2017-01-08 08:42:19 +00:00
Xavier Guimard
d1646392a9 Split soap/rest server in config/sessions (#970) 2017-01-08 08:42:16 +00:00
Xavier Guimard
2250202fa9 Manage Zero only in manager (#970) 2017-01-08 08:42:12 +00:00
Xavier Guimard
2118a4242b Move read conf calls into Conf/RESTServer (#970) 2017-01-08 06:25:10 +00:00
Xavier Guimard
1983842f79 SOAP server (#970) 2017-01-07 20:37:07 +00:00
Xavier Guimard
b24343bd10 SOAP server (#970) 2017-01-07 18:04:20 +00:00
Xavier Guimard
99d294d7c4 Replace read_body by Plack::Request::content() (#595) 2017-01-07 07:45:36 +00:00
Xavier Guimard
41d47e8a74 Remove CGO SOAP calls 2017-01-07 07:45:33 +00:00
Xavier Guimard
216f035c86 Rewrite SOAP server (#970) 2017-01-07 07:45:30 +00:00
Xavier Guimard
b28fbd23aa Add "rest" parameter (#970) 2017-01-06 16:18:43 +00:00
Xavier Guimard
3f22d3132b Update manifests (#595) 2017-01-06 12:42:13 +00:00
Xavier Guimard
cd17296dae Reorganize conf access (#595) 2017-01-06 12:40:56 +00:00
Xavier Guimard
118beaa022 Move conf backends (#595) 2017-01-06 12:30:41 +00:00
Xavier Guimard
8856c35fb2 Prepare REST server (#970) 2017-01-06 09:04:00 +00:00
Xavier Guimard
b94a337a05 Optimize checksession endpoint (#595) 2017-01-04 22:19:17 +00:00
Xavier Guimard
778c0b997f Update POD (#595) 2017-01-04 20:22:04 +00:00
Xavier Guimard
e31eed9589 Add Plack in common dependencies (#595) 2017-01-04 18:35:32 +00:00
Xavier Guimard
e337703568 Add Plack in common dependencies (#595) 2017-01-04 18:25:07 +00:00
Xavier Guimard
a09d12031e Some big changes (#595)
Replace uri_escape by WWW::Form::UrlEncoded
Replace PSGI:Request by inheritance from Plack::Request
2017-01-04 16:36:54 +00:00
Xavier Guimard
d35e24703e Remove old Google auth (#595)
Google OpenId endpoints now points to OpenId-Connect configuration
2017-01-03 06:09:29 +00:00
Xavier Guimard
3790836333 Start OIDC (#595) 2016-12-29 20:34:46 +00:00
Xavier Guimard
53a1830a69 Add authorization header (#595) 2016-12-29 10:12:08 +00:00
Xavier Guimard
c14bd95d92 Import some 1.9.7 changes 2016-12-29 06:25:07 +00:00
Xavier Guimard
936b6e5164 SAML matadata (#595) 2016-12-28 18:38:03 +00:00
Xavier Guimard
0da228ff35 make tidy 2016-12-26 09:23:35 +00:00
Xavier Guimard
909391ffc7 Spelling errors 2016-12-19 20:47:44 +00:00
Xavier Guimard
056688cae9 Some doc (#595) 2016-12-19 12:18:26 +00:00
Xavier Guimard
f1ef6e8938 Enable complex routes for plugins (#595) 2016-12-17 20:19:46 +00:00
Xavier Guimard
329993a40a SLO Soap server in progress [SAML] (#595) 2016-12-14 05:51:45 +00:00
Xavier Guimard
0380452082 SLO Soap server [SAML] (#595) 2016-12-13 19:21:36 +00:00
Xavier Guimard
1274d75a6a Import 1.9 changes 2016-12-11 10:45:59 +00:00
Xavier Guimard
3cd46fee91 Provide SOAP errors (#595) 2016-12-07 22:29:58 +00:00
Xavier Guimard
310896e6a1 Don't store default values for sub parameters 2016-12-03 18:26:56 +00:00
Xavier Guimard
6c7e797a3a Avoid some warnings (#LEMONDAP-595) 2016-12-02 16:29:04 +00:00
Xavier Guimard
d097b4ec0a Enable setAuthSessionInfo (#595) 2016-12-01 22:25:05 +00:00
Xavier Guimard
d71c38c510 Update META.yml 2016-12-01 19:43:17 +00:00