Commit Graph

280 Commits

Author SHA1 Message Date
Xavier Guimard
7a5e1df4d2 Fix some warnings 2019-09-16 17:56:53 +02:00
Christophe Maudoux
a913c99c06 Improve unit tests (#1904) 2019-09-01 21:41:41 +02:00
Xavier Guimard
aeff014f79 Parallel tests 2019-08-29 10:48:55 +02:00
Christophe Maudoux
8da9c64ea2 Fix unit test (#1884) 2019-08-16 13:56:59 +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
0692879d97 Fix unit test (#1829) 2019-07-04 22:49:26 +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
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
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
b69ffc0ff8 WIP - ContextSwitching (#1783) 2019-06-21 15:23:06 +02:00
Xavier Guimard
65eaefa75f Tidy 2019-06-14 17:23:26 +02:00
Christophe Maudoux
a3d66a22b1 Improve unit test (#1717) 2019-06-07 11:26:07 +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
1bc9539538 Fix unit test (#1773) 2019-05-26 20:43:43 +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
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Christophe Maudoux
ec7ae5f3d6 Append unit test (#1741) 2019-05-08 23:20:39 +02:00
Christophe Maudoux
66b23dafef Improve unit tests (#1661) 2019-04-21 11:58:30 +02:00
maudoux
b8977ffb2f Manage Viewer routes with function (#1710) & Improve unit tests 2019-04-12 22:58:47 +02:00
Christophe Maudoux
71300988f9 Fix route conflict (#1661) 2019-04-11 11:13:05 +02:00
maudoux
c9d704189b Append unit tests (#1661) 2019-04-01 21:58:05 +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
51038f7695 Append unit test (#1661) 2019-03-26 22:57:24 +01:00
Christophe Maudoux
eba7a48fd5 Fix unit test 2019-03-15 15:59:17 +01:00
Christophe Maudoux
71fc765d01 WIP - Inherits Conf.pm (#1661) 2019-03-15 15:40:08 +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
Clément OUDOT
8304a48073 Remove trustedProxies option (#1612) 2019-02-08 11:14:22 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
4a14fa08b3 Add test to reproduce #1640 2019-02-06 14:30:30 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Maxime Besson
1cd0a069b6 Fix unit tests 2019-02-03 20:12:53 +01:00
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
3d4e317aed Improve manager tree and contextual help (#1616) 2019-01-19 15:03:20 +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
Christophe Maudoux
c121214721 Backport all v2.1 improvements 2018-12-30 20:02:00 +01:00
Christophe Maudoux
e08d0a78e6 Fix unit tests (#1506) 2018-12-13 00:12:49 +01:00
Christophe Maudoux
49f63913e2 tidy (#1561) 2018-12-01 22:40:22 +01:00
Christophe Maudoux
61e880f9b5 tidy (#1561) 2018-12-01 22:37:10 +01:00
Christophe Maudoux
d17cfd53e6 Improve unit test (#1561) 2018-12-01 22:36:03 +01:00
Christophe Maudoux
dc3f179d23 Improve unit test (#1561) 2018-12-01 16:34:20 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
c3ee16ec28 Append handler internal cache timeout parameter (#1535) 2018-11-09 21:35:51 +01:00
Christophe Maudoux
e81bd64876 Typo 2018-10-13 22:04:33 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
107b0386b9 Typo 2018-10-02 21:22:28 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
96727b4b81 Typo 2018-08-30 23:20:54 +02:00
Xavier Guimard
b87d4e22a7 tidy 2018-08-30 07:40:51 +02:00
Christophe Maudoux
7614b42a59 Improve unit test 2018-08-26 12:17:16 +02:00
Christophe Maudoux
57540d97ea perltidy 2018-08-25 20:40:44 +02:00
Christophe Maudoux
bc73f9d420 Append serach engine unit tests 2018-08-25 20:07:36 +02:00
Christophe Maudoux
107a368988 Append 2faManager unit test 2018-08-25 18:17:16 +02:00
Xavier Guimard
e9f6168ff0 Detect changes in app categories (#1479) 2018-08-16 07:34:30 +02:00
Xavier Guimard
7b39d72176 Disable conf tests until test files are updated 2018-07-11 08:22:27 +02:00
Christophe Maudoux
14f70772a8 Modify notication date to pass test 2018-06-22 20:01:44 +02:00
Xavier Guimard
4087038c64 Bad management of entry point in choice (#1342) 2018-06-20 22:29:48 +02:00
Xavier Guimard
68aace109b Missing ini-only prm declaration (#1431) 2018-06-20 21:45:28 +02:00
Xavier Guimard
0986dcebfb Missing attr (#1454) 2018-06-15 19:21:56 +02:00
Xavier Guimard
c806743390 Adapt tests 2018-05-11 14:05:07 +02:00
Xavier Guimard
80ed8580f2 Update tests (#1416) 2018-05-07 18:01:52 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Christophe Maudoux
549603949f Update 80-attributes.t to pass tests 2018-04-05 23:00:36 +02:00
Xavier Guimard
5f068d4f92 Update prm list 2018-03-09 18:45:05 +01:00
Xavier Guimard
bef0966ac4 Add ini-only parameters (#1148) 2018-03-08 20:43:50 +01:00
Xavier Guimard
67a530bc01 Second-Factor-Engine skeleton (#1148) 2018-03-08 16:33:34 +01:00
Xavier Guimard
b3ff6e2666 Clean shellbangs (Debian 4.1.2 policy compliance) 2017-12-01 06:42:02 +01:00
Xavier Guimard
9895cc2d2d Update tests (#1323) 2017-11-01 07:38:49 +00:00
Xavier Guimard
85c90eaba5 Avoid writing in /tmp during build (#LEMONDAP-1323) 2017-10-31 12:33:50 +00:00
Xavier Guimard
4a7d232ee8 Declare arabic language (#1222)
TODO: flag problem
2017-05-22 15:31:34 +00:00
Xavier Guimard
f07c2e40cd Fix manager tests 2017-04-14 10:12:30 +00:00
Xavier Guimard
9a0a56b5fd Prepare new CAS arch in manager (#1183) 2017-04-12 16:45:55 +00:00
Xavier Guimard
2580a21f7a Remove old UA exported var (#1044) 2017-03-31 16:15:38 +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
4d4a565a55 Remove portalForceAuthn from tests (#595) 2017-03-26 05:26:22 +00:00
Xavier Guimard
393f99c234 Fix test count 2017-03-16 12:25:36 +00:00
Xavier Guimard
66e273d18c Order IP sessions (#354) 2017-03-15 12:39:43 +00:00
Xavier Guimard
fe8da3eedf Fix build error since r6247 2017-03-14 15:53:03 +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
d3766ff37a Harmonize manager to portal (dir htdocs) 2017-02-22 21:48:52 +00:00
Xavier Guimard
09f13b1b00 Notification server SOAP/REST (#595) 2017-02-19 17:04:49 +00:00
Xavier Guimard
f4f38df929 Update manager tests (#1033) 2017-02-19 08:33:01 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +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
4eb089dcc5 Bad test count (#1151) 2017-02-07 08:06:45 +00:00
Xavier Guimard
2f31b05c1f Keep combination keys (#1151) 2017-02-07 08:05:30 +00:00
Xavier Guimard
313e016cd0 Missing file (#1151) 2017-02-06 20:25:35 +00:00
Xavier Guimard
58ee26a128 Combination seems finished (except tests) (#1151) 2017-02-06 20:24:58 +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
7d27259e64 Create a "Same" value for userDB and remove some other 2017-02-05 09:13:20 +00:00
Xavier Guimard
6fa885c74b Typo (#868) 2017-02-02 21:51:04 +00:00
Xavier Guimard
74823d08b5 Update tests (#868) 2017-02-01 10:36:11 +00:00
Xavier Guimard
8f0bb1bed7 Notification File/JSON tested (#868) 2017-02-01 06:16:33 +00:00
Xavier Guimard
61fd463f45 Split notifications (XML vs JSON) [#868] 2017-01-31 19:11:59 +00:00
Xavier Guimard
4ae5c7463c Replace .pl (#595) 2017-01-30 16:22:39 +00:00
Xavier Guimard
67712c789c Update tests (#595) 2017-01-30 09:08:46 +00:00
Xavier Guimard
1e4c6da389 Rename lmConf-*.js to lmConf-*.json (fix: #1090) 2017-01-27 11:58:46 +00:00
Xavier Guimard
f7df1db206 Hide some warnings 2017-01-27 09:39:58 +00:00
Xavier Guimard
2e77ef4cc4 Update tests (#1140) 2017-01-25 21:02:49 +00:00
Xavier Guimard
6e9a24e9c4 Hide some warnings (#1135) 2017-01-17 20:38:20 +00:00
Xavier Guimard
350587b569 Fix tests (#595) 2017-01-15 22:04:35 +00:00
Xavier Guimard
1b88459c31 Remove samlIDPSSODescriptorSingleSignOnServiceSOAP from everywhere 2017-01-13 08:17:20 +00:00
Xavier Guimard
9caab59035 Avoid some warnings 2017-01-12 06:05:06 +00:00
Xavier Guimard
3c5cb018ef Compact conf 2017-01-11 21:10:13 +00:00
Xavier Guimard
990006ce80 Move conf regexp constants to common (#970) 2017-01-10 21:43:37 +00:00
Xavier Guimard
a0ea56a29a SOAP/REST in progress (#970) 2017-01-08 08:42:19 +00:00
Xavier Guimard
0da228ff35 make tidy 2016-12-26 09:23:35 +00:00
Xavier Guimard
310896e6a1 Don't store default values for sub parameters 2016-12-03 18:26:56 +00:00
Xavier Guimard
05491c7699 Remove network access attempts during tests (closes: #1055) 2016-07-08 05:15:24 +00:00
Clément Oudot
1141e80ad0 Fix test on sessions (#1043) 2016-06-26 20:56:57 +00:00
Xavier Guimard
dfffbd1742 Fix information lost when renaming partner (closes: #1042) 2016-06-14 05:26:24 +00:00
Xavier Guimard
c1fb44a2b7 Many changes in notifications (#595) 2016-06-02 21:20:36 +00:00
Xavier Guimard
39c6713aea Tidy 2016-04-29 07:27:26 +00:00
Xavier Guimard
1a16c2dbc8 First running test (#595) 2016-04-03 16:27:13 +00:00
Xavier Guimard
8e957020f3 Update tests since exec errors are now warnings 2016-03-24 21:11:07 +00:00
Xavier Guimard
180e97a4d8 Finish App list diff (#575) 2016-03-21 17:52:41 +00:00
Xavier Guimard
a288fb0c09 Update diff() test 2016-03-20 22:35:14 +00:00
Xavier Guimard
df44cc6c9d New REST method: diff between 2 confs (#575) 2016-03-20 09:07:33 +00:00
Clément Oudot
c713469cb6 Use a getIdentifier method to be able to purge a notification (#947) 2016-02-24 17:26:52 +00:00
Xavier Guimard
f4ed479a1c Bad regexp for uri 2016-02-17 14:31:30 +00:00
Xavier Guimard
c964cec646 Finish cli (Closes: #921) 2016-02-06 12:22:10 +00:00
Xavier Guimard
c4137c1d3e Update parameters tests + add test (#583, Closes #LEMONLDAP-924) 2016-02-05 11:21:00 +00:00
Clément Oudot
7a3aeacce8 Fix unit test (#820) 2016-02-04 10:18:09 +00:00
Xavier Guimard
a3c3fe9f45 Update tests 2016-01-24 09:15:48 +00:00
Xavier Guimard
7c676d8d99 make tidy 2016-01-22 16:53:41 +00:00
Xavier Guimard
4e0f37d071 Return "setDefault" when key is undefined (Closes: #903) 2016-01-19 21:22:05 +00:00
Xavier Guimard
a67cc83c97 Bug in deleted cat (menu / app list) + better debug (#907) 2016-01-16 21:13:43 +00:00
Xavier Guimard
b50e985ee6 Check for removed apps (#907)
Not completly verified
2016-01-15 06:27:45 +00:00
Xavier Guimard
b23595a5e2 Save conflict 2016-01-14 10:17:12 +00:00
Xavier Guimard
d2fcb5083a Back from JSON::MaybeXS to JSON (#877) 2016-01-13 19:47:56 +00:00
Xavier Guimard
d877623f6d Default value must not be a scalar for hash containers (#882) 2016-01-12 09:34:02 +00:00
Xavier Guimard
6eaea5081a Avoid double utf8 management (#827) 2016-01-11 20:32:44 +00:00
Clément Oudot
dae02078ce Possibility to use a certificate instead of a public key (#879) 2016-01-11 10:55:59 +00:00
Xavier Guimard
49686ebb8e Update utf8 test 2016-01-07 22:31:58 +00:00
Xavier Guimard
ea87afe8b8 utf8 in progress... (#827) 2016-01-07 22:28:58 +00:00
Xavier Guimard
e2745c5e83 More comments 2016-01-07 11:40:24 +00:00
Xavier Guimard
7e79007a2b Verify that node titles are not attribute names 2016-01-07 06:13:14 +00:00
Xavier Guimard
8c4a26d0fe More comments 2016-01-06 22:03:46 +00:00