Commit Graph

1982 Commits

Author SHA1 Message Date
Christophe Maudoux
e77a017e4d Typo (1783) 2019-07-02 23:31:08 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Xavier Guimard
92d32da369 Improve cli test (#1833) 2019-07-01 16:47:43 +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
Xavier Guimard
1de3713382 Clean cli test 2019-07-01 16:19:54 +02:00
Xavier Guimard
91c161949d Add cli test 2019-07-01 16:16:12 +02:00
Christophe Maudoux
b94cbe0144 Fix default value (#1825) 2019-07-01 13:28:01 +02:00
Xavier Guimard
8ab4e51540 Update translations 2019-07-01 10:14:10 +02:00
Christophe Maudoux
9e66b0a117 Append conf test (#1825) 2019-06-30 19:28:46 +02:00
Christophe Maudoux
2c2a7e6c3a Merge branch '1825' into v2.0 2019-06-30 19:21:58 +02:00
Christophe Maudoux
70602ecf7a Update conf files (#1825) 2019-06-30 19:18:35 +02:00
Christophe Maudoux
1be79bce4b make json 2019-06-30 19:01:14 +02:00
Christophe Maudoux
a1f5791e06 Merge branch '1783' into v2.0 2019-06-30 19:00:41 +02:00
Christophe Maudoux
30624254e2 make json 2019-06-30 18:45:23 +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
4e97b8dd02 Update lang (#1825) 2019-06-29 21:14:59 +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 Guimard
44a6e25851 Improve cryptographic functions (#1823) 2019-06-28 10:30:37 +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
859d7fad79 Update fr.json 2019-06-27 10:49:59 +02:00
Xavier Guimard
c222fb4009 Update tr 2019-06-26 07:50:31 +02:00
Christophe Maudoux
f11c34e9cd Cleaning code (#1783 & #1658) 2019-06-25 23:04:27 +02:00
Christophe Maudoux
266f2fdf02 Merge branch 'v2.0' into 1783 2019-06-24 23:36:54 +02:00
Xavier Guimard
f9fb8a2772 Update manager JS 2019-06-24 11:45:53 +02:00
Christophe Maudoux
831a988516 Append conf test (#1783) 2019-06-23 22:55:10 +02:00
Christophe Maudoux
e5f03f34d9 Append ContextSwitching plugin (#1783) 2019-06-23 22:19:40 +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
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
Xavier
400df1a137 Update translations 2019-06-16 16:42:23 +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
Christophe Maudoux
5218944bf2 Improve unit tests (#1796) 2019-06-14 23:11:10 +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
056306a9c4 Update fr translation 2019-06-14 08:54:08 +02:00
Xavier Guimard
e7bc7b3f4e Add restExportSecretKeys option (#1799) 2019-06-14 08:51:58 +02:00
Xavier
a1ea32981c Optimize perlExpr handling (#1717) 2019-06-10 08:56:56 +02:00
Christophe Maudoux
69e7ea7938 Update langs 2019-06-09 19:54:16 +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
Christophe Maudoux
bbe18393a5 Update langs (#1782) 2019-06-07 19:51:51 +02:00
Christophe Maudoux
a3d66a22b1 Improve unit test (#1717) 2019-06-07 11:26:07 +02:00
Christophe Maudoux
3015faef0e Share functions with Safe (#1717) 2019-06-07 11:26:07 +02:00
Christophe Maudoux
57bd151aaa Update fr (#1765) 2019-06-05 21:11:04 +02:00
Xavier Guimard
f457b79438 Update translations 2019-06-05 14:24:52 +02:00
Christophe Maudoux
132e57b4b3 Manage CORS headers (#1765) 2019-05-31 17:00:39 +02:00
Xavier
7ab5c3e654 More comment (#1767) 2019-05-31 09:07:40 +02:00
Xavier
d278d33f87 Partial revert of 380d4da1 (#1767) 2019-05-31 08:45:44 +02:00
Christophe Maudoux
380d4da1ec Update and Fix overScheme (#1767) 2019-05-30 23:35:20 +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 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
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
74b9960afb Build conf (#1773) 2019-05-26 18:32:38 +02:00
Maxime Besson
c65e22dcf8 Add missing Finnish flag
And some unit tests to make all language have a matching flag icon
2019-05-24 15:18:49 +02:00
Christophe Maudoux
2a3907a28d Improve code (#1758) 2019-05-17 22:06:26 +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
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
Clément OUDOT
332fb4f9da Update version in module dependencies 2019-05-12 16:22:50 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Christophe Maudoux
8f140bd235 Display in Manager default cookie type 2019-05-11 19:07:07 +02:00
Xavier
2d29b8724c Update translation (basic translations) 2019-05-11 18:10:53 +02:00
Xavier
a96238c2c3 Update translations 2019-05-11 18:04:41 +02:00
Xavier
000db1536b Update versions 2019-05-11 17:37:56 +02:00
Xavier
5d1c8ff6b2 make manifest 2019-05-11 15:45:25 +02:00
Christophe Maudoux
8185f335e7 Cleaning code (#1741) 2019-05-11 11:52:07 +02:00
Maxime Besson
e31a607c35 Fix typos in fr/en manager translations 2019-05-09 17:32:30 +02:00
Christophe Maudoux
ec7ae5f3d6 Append unit test (#1741) 2019-05-08 23:20:39 +02:00
Christophe Maudoux
c210333908 Detect delete category (#1741) 2019-05-08 22:57:15 +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
09c4b347aa Remove debug msg (#1730) 2019-05-05 22:13:06 +02:00
Christophe Maudoux
a830b4393d Highlight valid SSO sessions (#1735) 2019-05-05 21:28:38 +02:00
Christophe Maudoux
f2f303e1f1 Update langs (#1735) 2019-05-05 21:26:38 +02:00
Christophe Maudoux
70b66772b4 make minify (#1735) 2019-05-04 20:21:00 +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
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
e5630cfb05 WIP - Sort by real ans spoofed attributes (#1730) 2019-05-01 23:30:02 +02:00
Christophe Maudoux
77aeea0f85 Append SAML configuration test (#1729) 2019-05-01 21:40:16 +02:00
Xavier
808d52e51b Typo in fr translation 2019-05-01 12:11:36 +02:00
Xavier
af1e45077e Typo in fr translation 2019-05-01 12:08:00 +02:00
Xavier
f43991bbbd Update translations 2019-04-30 20:28:50 +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
Xavier Guimard
23a57fc4e7 Fix warning (#1661) 2019-04-23 14:26:15 +02:00
Clément OUDOT
06a7c97fd8 Add OAuth2 vhostType (#1146) 2019-04-22 19:10:50 +02:00
Christophe Maudoux
c12251b767 Sort manager messages 2019-04-21 21:32:21 +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
66b23dafef Improve unit tests (#1661) 2019-04-21 11:58:30 +02:00
Christophe Maudoux
3672d934d9 Set Viewer options by using rules (#1661) 2019-04-21 11:58:13 +02:00
Xavier Guimard
aa175dafc1 Update manager JS libs (#1716) 2019-04-19 13:49:12 +02:00
Xavier Guimard
3111cb0cb2 Update translation (using 100% match suggestions) 2019-04-17 17:31:03 +02:00
Xavier Guimard
b252bb3818 Update translation (using 100% match suggestions) 2019-04-16 13:19:59 +02:00
Xavier Guimard
62c3bd6a5b Update translations 2019-04-16 11:44:49 +02:00
Christophe Maudoux
b2f5e08b41 Cast bool as integer (#1684) 2019-04-15 21:47:26 +02:00
Xavier Guimard
5fd9e9d422 Fix boolean values for YAML
Closes: #1684
2019-04-15 11:44:11 +02:00
maudoux
b8977ffb2f Manage Viewer routes with function (#1710) & Improve unit tests 2019-04-12 22:58:47 +02:00
Christophe Maudoux
999c43b32d Fix typo (#1709) 2019-04-11 17:43:41 +02:00
Xavier Guimard
7501e167af Full Itlaian translation 2019-04-11 11:16:28 +02:00
Christophe Maudoux
71300988f9 Fix route conflict (#1661) 2019-04-11 11:13:05 +02:00
Xavier Guimard
f4dcac4131 Update translations 2019-04-11 11:06:36 +02:00
Xavier Guimard
1034600040 Update translations 2019-04-11 10:57:22 +02:00
maudoux
1d08372a8c Sort CAS servers & update langs (#1704) 2019-04-10 21:58:37 +02:00
Xavier
1bcf828a89 Merge remote-tracking branch 'arosier/idpsort' into v2.0 2019-04-10 19:48:26 +02:00
Antoine ROSIER
f7b296b032 Sorting OIDc (#1704) 2019-04-10 17:06:41 +02:00
Antoine ROSIER
8636da45be Sorting SAML idp (#1704) 2019-04-10 17:06:41 +02:00
Xavier
01b60dcb22 Update translations 2019-04-09 22:17:46 +02:00
maudoux
02c473c919 Update ConfTree (#1699) 2019-04-05 22:39:58 +02:00
maudoux
71d14c6a6b Update langs (#1699) 2019-04-05 22:39:22 +02:00
Christophe Maudoux
398e16c4b9 Update Zero.pm 2019-04-05 12:06:13 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
maudoux
5b67f1f743 Use rule to enable OTT (#1694) 2019-04-03 23:28:45 +02:00
maudoux
6dd40a40de Apply patch to fix Manager display issue 2019-04-03 22:13:53 +02:00
Xavier Guimard
ece9b21219 Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
Xavier Guimard
141ba96c92 Update version 2019-04-03 13:53:56 +02:00
Xavier
4b5b663353 make manifest 2019-04-02 06:54:00 +02:00
maudoux
2d402a347a Disable Diff link if useless (#1661) 2019-04-01 22:55:47 +02:00
maudoux
c9d704189b Append unit tests (#1661) 2019-04-01 21:58:05 +02:00
maudoux
98869b5ae6 Enable routes if required (#1661) 2019-04-01 21:58:05 +02:00
maudoux
b7a826abfd Make json (#1661) 2019-04-01 14:57:41 +02:00
maudoux
d51e24f2f1 Update manifest (#1661) 2019-04-01 14:57:15 +02:00
maudoux
b790949492 Update parameter name (#1661) 2019-04-01 14:52:23 +02:00
maudoux
b6162f5ae9 Hide secret keys in diff.html 2019-04-01 14:42:52 +02:00
maudoux
cc0dc83d3d Update unit test (#1661) 2019-04-01 14:42:52 +02:00
Christophe Maudoux
d06760a908 Update manifest 2019-03-26 22:57:24 +01:00
Christophe Maudoux
43b825e6e0 Disable browser route (#1661) 2019-03-26 22:57:24 +01:00
Christophe Maudoux
51038f7695 Append unit test (#1661) 2019-03-26 22:57:24 +01:00
Christophe Maudoux
b76db50022 Update zeroConf 2019-03-26 22:57:24 +01:00
Xavier
8144ef9132 Fix boolean display with YAML backend (Fixes: #1684) 2019-03-26 22:55:52 +01:00
Xavier Guimard
d1bf4efc4d Update translations 2019-03-26 19:02:50 +01:00
Xavier
27b45d1af8 Add LinkedIn in combination modules (Fixes: #1682) 2019-03-26 07:00:53 +01:00
Xavier
81c88216b0 Fix forced french display (Fixes: #1657) 2019-03-25 21:46:17 +01:00
Christophe Maudoux
40643f1258 Fix parameters setting (#1661) 2019-03-20 17:38:45 +01:00
Christophe Maudoux
7704964219 Hide secret values (#1661) 2019-03-20 16:56:26 +01:00
Christophe Maudoux
73c8a1a8d7 Allow to hide other keys (#1661) 2019-03-19 17:56:46 +01:00
Clément OUDOT
8ab1eb54bf Update MANIFEST 2019-03-19 15:39:13 +01:00
Christophe Maudoux
8491387486 Improve GUI 2019-03-18 16:43:37 +01:00
Christophe Maudoux
eba7a48fd5 Fix unit test 2019-03-15 15:59:17 +01:00
Christophe Maudoux
6903087f63 Merge branch 'viewer' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into viewer 2019-03-15 15:52:30 +01:00
Christophe Maudoux
e7f21b2c73 Append Viewer SPA (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
71fc765d01 WIP - Inherits Conf.pm (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
bfa7482a1f WIP - Hidden ConfTree PK (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
bc40d48a14 WIP - Fix routes (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
2070b03303 WIP - Viewer SPA (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
4a8a614bc9 WIP - Append relative files (#1661) 2019-03-15 15:40:08 +01:00
Xavier Guimard
b7a78b500e Merge remote-tracking branch 'maxbes/proverc' into v2.0 2019-03-14 17:27:31 +01:00
Maxime Besson
7c16a2f7ad Exclude .proverc from manifests 2019-03-14 16:57:08 +01:00
Christophe Maudoux
ab4054b6b9 WIP - Inherits Conf.pm (#1661) 2019-03-14 16:39:49 +01:00
Maxime Besson
f46260204c Provide configuration for manual launching of unit tests
This commit adds a .proverc configuration in lemonldap-* subdirectories

It allows you to run unit tests easily during development

    make clean && make
    cd lemonldap-ng-portal
    prove t/my-unit-test.t
    prove -v t/my-unit-test.t
    prove t/*.t

You'll get a nice colored output, plenty of details with '-v' (great is
you set logLevel to "debug" in the test), etc.
2019-03-14 16:38:40 +01:00
Christophe Maudoux
3729b70717 Merge branch 'v2.0' into viewer 2019-03-14 09:41:19 +01:00
Christophe Maudoux
a32a1626bc WIP - Hidden ConfTree PK (#1661) 2019-03-13 22:56:16 +01:00
Christophe Maudoux
4174d41765 WIP - Fix routes (#1661) 2019-03-13 17:12:38 +01:00
Clément OUDOT
d620ae2e8b Merge branch 'maxbes/lemonldap-ng-saml-issuer-entityid-override' into v2.0 2019-03-13 10:30:16 +01:00
Christophe Maudoux
c06ea5d5f1 WIP - Viewer SPA (#1661) 2019-03-12 22:59:15 +01:00
Christophe Maudoux
4201fe25d8 WIP - Append relative files (#1661) 2019-03-12 16:33:09 +01:00
Christophe Maudoux
4c145e4c03 Fix lang (#1658) 2019-03-10 22:01:30 +01:00
Christophe Maudoux
be28b60e66 Append identities rule (#1658) 2019-03-09 23:29:10 +01:00
Christophe Maudoux
09281f8d22 Append identities rule and fix error catching (#1664) 2019-03-08 11:39:19 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Maxime Besson
bfc2b7ca19 Make meta tags slightly more xml friendly 2019-03-07 18:20:05 +01:00
Christophe Maudoux
a9fbec3f84 Revert - Allow figures in login (#1667) 2019-03-07 10:39:08 +01:00
Christophe Maudoux
07635e7370 Fix unit test confs (#1667) 2019-03-07 10:11:03 +01:00
Christophe Maudoux
a076459bdd Allow figures in login (#1667) 2019-03-07 09:00:24 +01:00
Christophe Maudoux
7b08a7c442 Rename idSpoofing plugin to Impersonation & all relative parameters (#1664) 2019-03-06 16:30:56 +01:00
Christophe Maudoux
2c20627294 Disable Conf test (#1658) 2019-03-05 19:36:03 +01:00
Christophe Maudoux
e09c136302 Change fa icon color (#1664) 2019-03-05 15:07:54 +01:00
Christophe Maudoux
7a31052d33 Fix lang (#1664) 2019-03-05 15:07:27 +01:00
Christophe Maudoux
ff05a8f797 Modify parameters (#1664) 2019-03-05 14:50:01 +01:00
Christophe Maudoux
e7ec247f0c Modify warning (#1664) 2019-03-04 23:18:48 +01:00
Christophe Maudoux
2e5b9795b3 Disable warning (#1664) 2019-03-04 23:12:52 +01:00
Christophe Maudoux
782ab4af49 Fix langs (#1658) 2019-03-04 23:12:09 +01:00
Maxime Besson
25d1c45fd4 Add new option to override EntityID when acting as IDP 2019-03-04 09:33:10 +01:00
Christophe Maudoux
7ead696ec0 Update version 2019-03-03 22:10:33 +01:00