Commit Graph

1345 Commits

Author SHA1 Message Date
Xavier
3f7ae26d49 Merge branch 'v2.0' 2019-10-15 22:12:27 +02:00
Christophe Maudoux
4bb6e94b3c Fix doc link (#1956) 2019-10-13 15:40:49 +02:00
Christophe Maudoux
0ca649f106 Use custom decrypt functions (#1956) 2019-10-13 15:08:32 +02:00
Xavier
6453a04a55 Merge branch 'v2.0' 2019-10-09 07:08:30 +02:00
Christophe Maudoux
3d4aebcb21 Tidy & Fix version (#1968) 2019-10-05 12:03:49 +02:00
Christophe Maudoux
ee6d67e4fd Better fix - Don t load localConf twice (#1968) 2019-10-05 11:54:55 +02:00
Christophe Maudoux
c43ed2b5ca Fix skip conf tests (#1968) 2019-10-02 22:05:31 +02:00
Maxime Besson
914a760e25 Fix Choice parameter overload in manager (#1962) 2019-10-01 14:50:22 +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
e612f53838 Merge branch 'v2.0' 2019-09-27 22:33:00 +02:00
Christophe Maudoux
1d0a79ba5d Fix returned values (#1954) 2019-09-27 21:46:18 +02:00
Xavier
cc79680b89 Merge branch 'v2.0' 2019-09-24 21:03:55 +02:00
Xavier
b332a07dc9 Spelling error 2019-09-24 19:24: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
c34c6e646e Append search parameters & improve unit test (#1938) 2019-09-19 22:51:10 +02:00
Clément OUDOT
0466a2c8cc Merge remote-tracking branch 'origin/master' into maxbes/lemonldap-ng-fix-1882-remove-oidcServiceMetaDataIssuer 2019-09-19 15:31:25 +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
Clément OUDOT
28b5cc0e31 Force lower case in initial value of _whatToTrace macro (#1869) 2019-09-18 21:19:53 +02:00
Christophe Maudoux
52be87b012 Merge branch 'v2.0' 2019-09-18 21:14:24 +02:00
Clément OUDOT
30a674da2c Move display generate password box option (#1928) 2019-09-18 16:06:12 +02:00
mamesene
9d149a95f6 Reset Certificate module (#1605) 2019-09-18 16:04:45 +02:00
Christophe Maudoux
ed345329ec Avoid warning 2019-09-17 21:42:42 +02:00
Maxime Besson
a8cab64c5b Remove oidcServiceMetaDataIssuer (#1882) 2019-09-17 21:34:25 +02:00
Xavier
212a07ca20 Update versions 2019-09-17 20:57:48 +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
Christophe Maudoux
5615d5b2a3 Append display Slave logo option (#1936) 2019-09-14 22:07:44 +02:00
Christophe Maudoux
9784e75ead Check Slave credential headers (#1935) 2019-09-13 22:21:09 +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
Clément OUDOT
84cea17ced Parameter in Manager (#1928) 2019-09-12 18:42:53 +02:00
Xavier
d881605fed Merge branch 'v2.0' 2019-09-11 21:22:50 +02:00
Christophe Maudoux
86daaf54f6 Append parameter & update langs (#1925) 2019-09-10 10:15:17 +02:00
Clément OUDOT
374cac7874 Remove linkedInFields parameter (#1890) 2019-09-09 11:23:55 +02:00
Christophe Maudoux
132f42d44c Forbid browsers to store users password & Improve unit tests (#1913) 2019-09-08 19:28:28 +02:00
Maxime Besson
94877793d4 increase clock tolerance during rest secret check (#1923) 2019-09-06 17:45:51 +02:00
Clément OUDOT
a0f9c85913 Define ldapITDS parameter in Manager (#1619) 2019-09-05 17:17:21 +02:00
Clément OUDOT
068ffbe604 Define portalDisplayPasswordPolicy parameter in Manager (#993) 2019-09-05 13:02:51 +02:00
Clément OUDOT
d7262767dc Add local password policy parameters in Manager (#993) 2019-09-05 10:55:08 +02:00
Christophe Maudoux
afd915f64c Merge branch 'v2.0' 2019-09-03 23:00:07 +02:00
Christophe Maudoux
750d0e1c70 Improve conf test (#1916) 2019-09-03 22:52:07 +02:00
Christophe Maudoux
56ed8a5724 Append issuersTimeout option (#1916) 2019-09-03 22:52:07 +02:00
Christophe Maudoux
8c2613ca72 Update version (#1904) 2019-09-01 22:37:53 +02:00
Christophe Maudoux
174193e74c Merge branch 'v2.0' 2019-09-01 22:11:33 +02:00
Christophe Maudoux
1166d5442c Explain removed keys (#1904) 2019-09-01 21:40:44 +02:00
Christophe Maudoux
873e5084e0 Append "Don t compact conf" option (#1904) 2019-08-31 23:03:17 +02:00
Maxime Besson
d61935ab6e Implement introspection endpoint for access tokens (#1843) 2019-08-29 19:10:51 +02:00
Christophe Maudoux
1212cd9ba2 Merge branch 'v2.0' 2019-08-25 18:47:43 +02:00
Christophe Maudoux
baf4a96cf1 Modify CAS Apps options order 2019-08-25 18:10:45 +02:00
Christophe Maudoux
c00b16363b Detect CAS/OIDC conf. changes (#1889) 2019-08-25 18:10:45 +02:00
Clément OUDOT
47dc4936ac Replace default LinkedIn scopes (#1890) 2019-08-22 15:08:45 +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
Xavier
bef05c6f5d Merge branch 'v2.0' 2019-08-20 21:49:21 +02:00
Christophe Maudoux
5d3db32dd9 Fix regex (#1880) 2019-08-20 21:12:34 +02:00
Christophe Maudoux
d7e7b622ce Disable viewer with default options (#1880) 2019-08-20 17:06:51 +02:00
Christophe Maudoux
7d0d9da101 Update Manager.pm 2019-08-20 14:58:09 +02:00
Christophe Maudoux
9d9f4f2e03 Update viewer 2019-08-18 11:14:42 +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
Xavier
424121af8a Add forceGlobalStorageUpgradeOTT doc (#1884) 2019-08-16 12:58:08 +02:00
Christophe Maudoux
28732d614b Merge branch 'v2.0' 2019-08-15 22:43:20 +02:00
Christophe Maudoux
0f4d3c8b04 Fix default values display issue 2019-08-13 23:24:18 +02:00
Christophe Maudoux
1f782ec4c1 Fix viewer display issue 2019-08-13 21:59:30 +02:00
Maxime Besson
2e9f57ab6f Better default behavior for oidcServiceMetaDataIssuer (#1882) 2019-08-13 18:09:59 +02:00
Xavier Guimard
c928189779 Better manager regexps 2019-08-12 15:34:48 +02:00
Christophe Maudoux
866d5457f3 Merge branch 'v2.0' 2019-08-09 23:33:59 +02:00
Christophe Maudoux
fdee58a120 Better fix (#1880) 2019-08-09 09:24:32 +02:00
Christophe Maudoux
33e7a05f8a Append parameter to set Manager default route (#1880) 2019-08-08 22:39:09 +02:00
Maxime Besson
13937b948f Fix RSA private key regexp
Previously it accepted BEGIN PRIVATE KEY but not END PRIVATE KEY
2019-08-06 15:46:24 +02:00
Christophe Maudoux
3a660bde24 Merge branch 'v2.0' 2019-08-03 11:18:06 +02:00
Maxime Besson
15c3b0bbf8 Add Radius second factor (#1847) 2019-08-02 18:03:10 +02:00
Maxime Besson
c1afdbefac Add labels and logos to all 2F providers (#1873) 2019-08-01 17:27:14 +02:00
Christophe Maudoux
b1399fb583 perltidy 2019-07-31 23:08:49 +02:00
Christophe Maudoux
499b16bd07 Merge branch 'v2.0' 2019-07-31 16:34:38 +02:00
Christophe Maudoux
96ae65e800 Re-order 2FA (#1860) 2019-07-31 16:31:04 +02:00
Christophe Maudoux
ecb3204d38 Append conf parameters (#1851) 2019-07-25 11:59:00 +02:00
Christophe Maudoux
c82fc0f572 Merge branch 'v2.0' 2019-07-23 16:03:10 +02:00
Maxime Besson
d82f776df8 Allow multi instanciation of 2F modules (#1860)
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.

An additional portal code reads the `sfExtra` variable to load the
declared modules.

An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
b705b10da8 Merge branch 'v2.0' 2019-07-17 12:26:55 +02:00
Xavier Guimard
966eef33ee Fix df96168c error: _example/conf/lmConf-1.json is auto-generated (#1850) 2019-07-10 17:15:40 +02:00
Christophe Maudoux
b7c8d30b3f Merge branch 'v2.0' 2019-07-10 12:16:43 +02:00
Christophe Maudoux
36c806fa61 make json 2019-07-07 22:30:24 +02:00
Christophe Maudoux
240617d8d8 Fix unit tests 2019-07-06 23:27:45 +02:00
Christophe Maudoux
2aee0467b0 Hide _session_id with CheckUser (#1658) 2019-07-06 22:55:31 +02:00
Christophe Maudoux
3ddc92d4f3 Update conf. test (#1825) 2019-07-05 23:09:23 +02:00
Christophe Maudoux
2016abd2ee Send pdata cookie to cross domain (#1829) 2019-07-04 21:49:28 +02:00
Xavier
a104db2f2d Clean logs 2019-07-04 07:24:50 +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
af63d55c08 Merge branch 'v2.0' 2019-07-01 20:21:42 +02:00
Xavier Guimard
364fb8b627 Improve cli-restore file read (#1833) 2019-07-01 16:45:40 +02:00
Xavier Guimard
17b84e3eb8 Cli-restore: Verify that file is readable (#1833) 2019-07-01 16:26:51 +02:00
Christophe Maudoux
b94cbe0144 Fix default value (#1825) 2019-07-01 13:28:01 +02:00
Christophe Maudoux
9e66b0a117 Append conf test (#1825) 2019-06-30 19:28:46 +02:00
Christophe Maudoux
a1f5791e06 Merge branch '1783' into v2.0 2019-06-30 19:00:41 +02:00
Christophe Maudoux
06d4faafe1 Merge branch 'v2.0' into 1825 2019-06-30 18:22:39 +02:00
Christophe Maudoux
0f5030e345 Merge branch 'v2.0' into 1783 2019-06-30 18:22:13 +02:00
Clément OUDOT
aa393549e6 Check if file is provided (#1832) 2019-06-30 17:48:59 +02:00
Clément OUDOT
c81bf555dd Fix CLI warning (#1831) 2019-06-30 17:34:23 +02:00
Christophe Maudoux
bcbea7bee0 Update version (#1825) 2019-06-29 21:48:52 +02:00
Christophe Maudoux
3e7f87eca6 Append config. tests (#1825) 2019-06-29 21:32:31 +02:00
Christophe Maudoux
11d2909b0a WIP - Disable persistent sessions storage (#1825) 2019-06-29 21:10:16 +02:00
Christophe Maudoux
897d04ac93 Merge branch 'v2.0' into 1783 2019-06-28 22:05:48 +02:00
Xavier Guimard
43d5139040 Update versions 2019-06-28 17:04:14 +02:00
Xavier
1a1ccd7568 Merge branch 'crypto-improvements' 2019-06-27 22:03:05 +02:00
Christophe Maudoux
8ad895c3b8 Merge branch 'v2.0' into 1783 2019-06-27 21:11:56 +02:00
Xavier Guimard
e23611b73b Avoid failure with future Perl (warnings reserved) 2019-06-27 17:41:24 +02:00
Xavier Guimard
4b48f95507 Move missing deps in the good place (#1824) 2019-06-27 17:08:21 +02:00
Christophe Maudoux
8f834f5bb8 Append use directive (#1824) 2019-06-27 13:27:05 +02:00
Christophe Maudoux
f11c34e9cd Cleaning code (#1783 & #1658) 2019-06-25 23:04:27 +02:00
Christophe Maudoux
831a988516 Append conf test (#1783) 2019-06-23 22:55:10 +02:00
Christophe Maudoux
b69ffc0ff8 WIP - ContextSwitching (#1783) 2019-06-21 15:23:06 +02:00
Christophe Maudoux
a2ebaf31b1 WIP - AdminImpersonation skeleton (#1783) 2019-06-19 18:13:17 +02:00
Christophe Maudoux
9ac5834bfe Merge branch 'v2.0' 2019-06-17 22:42:28 +02:00
Christophe Maudoux
774a82d674 Fix double default value setting 2019-06-17 22:31:44 +02:00
Christophe Maudoux
9fa11709e6 Append options to use Notifications plugin & set notification reference (#1796) 2019-06-17 22:31:44 +02:00
Christophe Maudoux
c3b3c281ad Hide _2fDevices with REST services 2019-06-16 20:33:34 +02:00
Christophe Maudoux
d6f3dd459a Display message (#1796) 2019-06-16 16:02:48 +02:00
Christophe Maudoux
f514da3c3a Hide _2fDevices with REST services 2019-06-15 22:38:21 +02:00
Xavier
d27e4bcc55 Merge branch 'v2.0' 2019-06-15 09:23:50 +02:00
Christophe Maudoux
fde6ff2cc8 WIP (#1796) 2019-06-14 23:09:32 +02:00
Xavier Guimard
65eaefa75f Tidy 2019-06-14 17:23:26 +02:00
Xavier Guimard
e7bc7b3f4e Add restExportSecretKeys option (#1799) 2019-06-14 08:51:58 +02:00
Christophe Maudoux
aabb65629b Merge remote-tracking branch 'origin/v2.0' 2019-06-10 21:07:42 +02:00
Xavier
a1ea32981c Optimize perlExpr handling (#1717) 2019-06-10 08:56:56 +02:00
Christophe Maudoux
b71f678f80 Filter SSO groups to merge (#1791) 2019-06-08 22:08:58 +02:00
Christophe Maudoux
e3c2766809 Test 2F TTL (#1782) 2019-06-07 19:51:51 +02:00
Xavier Guimard
f59681e80e Merge branch 'v2.0' 2019-06-07 17:48:32 +02:00
Christophe Maudoux
3015faef0e Share functions with Safe (#1717) 2019-06-07 11:26:07 +02:00
Xavier Guimard
ee661fc61d Merge branch 'v2.0' 2019-06-04 17:59:55 +02:00
Christophe Maudoux
132e57b4b3 Manage CORS headers (#1765) 2019-05-31 17:00:39 +02:00
Christophe Maudoux
59f6106ba6 Merge remote-tracking branch 'origin/v2.0' 2019-05-31 00:16:07 +02:00
Xavier
20ef62e4fb Add restore command to cli (#1770) 2019-05-30 10:18:41 +02:00
Xavier
a09e299b3d Rename dump command to save (#1770) 2019-05-30 09:43:28 +02:00
Xavier
00852d1a66 Add dump() command in cli
Closes: #1770
2019-05-30 09:39:36 +02:00
Xavier
f75093d433 Merge branch 'v2.0' 2019-05-28 22:12:50 +02:00
Xavier Guimard
8fd3f6be90 Merge branch 'issue1521-appmenu' into 'v2.0'
Preserve applicationList key names (#1521)

See merge request lemonldap-ng/lemonldap-ng!76
2019-05-28 22:10:53 +02:00
Maxime Besson
b12992755f Preserve applicationList key names (#1521)
Previously, every configuration save from the manager would overwrite
applicationList key names to preserve their ordering.

This commit introduces a new "order" key in the JSON config instead.
2019-05-28 15:38:26 +02:00
Christophe Maudoux
455221781f Modify ServiceToken TTL option (#1773) 2019-05-27 23:07:18 +02:00
Xavier Guimard
1509d44d5f Merge branch 'v2.0' 2019-05-27 12:03:45 +02:00
Christophe Maudoux
535ae3f7be Append ServiceToken TTL option (#1773) 2019-05-26 21:43:13 +02:00
Christophe Maudoux
74b9960afb Build conf (#1773) 2019-05-26 18:32:38 +02:00
Xavier Guimard
4678649367 Merge branch 'v2.0' 2019-05-24 10:23:40 +02:00
Christophe Maudoux
2a3907a28d Improve code (#1758) 2019-05-17 22:06:26 +02:00
Xavier
8c562c7817 Modularize Display/login (#1652) 2019-05-17 10:26:45 +02:00
Xavier Guimard
5a1c090a18 Merge branch 'v2.0' 2019-05-17 10:26:19 +02:00
Xavier
b91d1d4b87 Tidy 2019-05-16 20:45:14 +02:00
Xavier
a2e78c88c3 Set versions 2019-05-16 20:42:31 +02:00
Xavier Guimard
bdc68d5833 Merge branch 'v2.0' 2019-05-15 14:25:57 +02:00
Xavier Guimard
570513ab96 Closes: #1750 2019-05-15 13:40:27 +02:00
Xavier
2edb5517fd Set a default log (#1750) 2019-05-15 06:49:33 +02:00
Xavier
2c86fdfffa Replace whoami by getpwuid (#1750) 2019-05-15 06:11:27 +02:00
Xavier
cf297736b5 Improve cli logs (#1750) 2019-05-14 22:05:57 +02:00
Christophe Maudoux
95c08b89e7 Rename vars to be more consistent 2019-05-12 21:08:03 +02:00
Xavier
224307515f Merge branch 'v2.0' 2019-05-11 20:25:11 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Christophe Maudoux
8185f335e7 Cleaning code (#1741) 2019-05-11 11:52:07 +02:00
Christophe Maudoux
c210333908 Detect delete category (#1741) 2019-05-08 22:57:15 +02:00
Xavier Guimard
db4b46c487 Merge branch 'v2.0' 2019-05-07 09:36:19 +02:00
Xavier Guimard
23fb9f1c86 Update version (#1736) 2019-05-06 18:16:08 +02:00
Xavier Guimard
34628e68ca Fix cfgVersion (Closes: #1736) 2019-05-06 18:13:15 +02:00
Christophe Maudoux
a3ec2eb225 Merge branch 'v2.0' 2019-05-04 20:26:32 +02:00
Christophe Maudoux
ff0b6ba31f Highlight valid SSO sessions in sessions explorer (#1735) 2019-05-04 19:14:11 +02:00
Christophe Maudoux
ab95f749dc Append warning if Impersonation is enable without prefix (#1664) 2019-05-03 17:22:30 +02:00
Xavier
f1f3929cf1 Merge branch 'v2.0' 2019-05-02 14:49:35 +02:00
Christophe Maudoux
a382d919ae Typo 2019-05-02 14:26:53 +02:00
Christophe Maudoux
2c22327fe7 Sort real and spoofed attributes in Session explorer (#1730) 2019-05-02 11:32:22 +02:00
Christophe Maudoux
77aeea0f85 Append SAML configuration test (#1729) 2019-05-01 21:40:16 +02:00
Christophe Maudoux
e9b26bb79a Merge remote-tracking branch 'origin/master' into favapps 2019-04-30 21:57:46 +02:00
Xavier
29b71569de Merge branch 'v2.0' 2019-04-30 21:03:14 +02:00
Christophe Maudoux
130f6ba983 Move FavApps plugin options to Portal Menu (#1689) 2019-04-30 19:19:56 +02:00
Clément OUDOT
d388461909 Add PKCE option in Manager (#1722) 2019-04-29 17:35:23 +02:00
Clément OUDOT
8e6f678be7 Create a configuration option to allow a Relying Party to be a public client
Allow unauthenticated requests on OAuth2 token endoint

#1725
2019-04-29 10:02:16 +02:00
Maxime Besson
2f9e6aa623 Allow override of username attribute for CAS apps
Global CAS options allows the admistrator to set the session attribute
that gets exported to all CAS application as the main identifier
(cas:user)

This commit adds the ability to override this configuration for a
particular CAS application.

OIDC already allows this

Fixes #1713
2019-04-28 21:06:34 +02:00
Christophe Maudoux
aea313e2e6 Use activation rule (#1689) 2019-04-25 23:02:37 +02:00
Christophe Maudoux
8460e47b49 Merge remote-tracking branch 'origin/master' into favapps 2019-04-23 21:58:09 +02:00
Xavier Guimard
80f9889271 Merge branch 'v2.0' 2019-04-23 15:12:59 +02:00
Xavier Guimard
23a57fc4e7 Fix warning (#1661) 2019-04-23 14:26:15 +02:00
Xavier
c968b39715 Merge branch 'v2.0' 2019-04-22 23:30:12 +02:00
Clément OUDOT
06a7c97fd8 Add OAuth2 vhostType (#1146) 2019-04-22 19:10:50 +02:00
Christophe Maudoux
48d51b1c5e Merge remote-tracking branch 'origin/master' into favapps 2019-04-21 22:34:31 +02:00
Christophe Maudoux
3491adbd3d Upgrade default authentication level (#1699) 2019-04-21 21:30:38 +02:00
Christophe Maudoux
83e1d78900 Improve code (#1661) 2019-04-21 18:52:43 +02:00
Christophe Maudoux
3672d934d9 Set Viewer options by using rules (#1661) 2019-04-21 11:58:13 +02:00
Xavier Guimard
bd94c5579d Merge branch 'v2.0' 2019-04-16 13:39:31 +02:00
Xavier Guimard
5fd9e9d422 Fix boolean values for YAML
Closes: #1684
2019-04-15 11:44:11 +02:00
Christophe Maudoux
e490addd2d WIP - favApps skeleton (#1689) 2019-04-14 22:34:58 +02:00
Christophe Maudoux
476212094a Merge branch 'v2.0' 2019-04-14 21:13:43 +02:00
maudoux
b8977ffb2f Manage Viewer routes with function (#1710) & Improve unit tests 2019-04-12 22:58:47 +02:00
Xavier
27bf1ea3d8 Merge branch 'v2.0' 2019-04-11 22:12:02 +02:00
Christophe Maudoux
71300988f9 Fix route conflict (#1661) 2019-04-11 11:13:05 +02:00
maudoux
1d08372a8c Sort CAS servers & update langs (#1704) 2019-04-10 21:58:37 +02:00