Commit Graph

280 Commits

Author SHA1 Message Date
Maxime Besson
0d951c55f1 API: Check configuration validity before saving (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
34389242cb API: handle oidc RedirectURI as array (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
1a37940ea9 improve api unit tests output (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
e0edd1449b Hide prefix from option names in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
369c08337c Add per-service macros to API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
53a1e61394 Fix extraClaims name in API (#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
2f8be3eb57 API: change error codes from 405 to 400 (#2033,#2034) 2020-04-22 11:54:38 +02:00
Maxime Besson
51e1d3651e Remove unused singleSessionUserByIP option (#2159) 2020-04-21 10:17:44 +02:00
Christophe Maudoux
30f6a889de Append contextSwitching prefix parameter (#1783) 2020-04-03 23:09:55 +02:00
Maxime Besson
fd2747b1e4 Fix CLI unit tests (#2103) 2020-02-24 14:29:56 +01:00
Christophe Maudoux
53d7923cd4 WIP - Increase lock time after each failed login attempt (#2088) 2020-02-23 23:19:32 +01:00
Xavier Guimard
4459a47f76 Tidy 2020-02-20 23:37:05 +01:00
Xavier Guimard
22c1f7270c Add feature to override SOAP Proxy URN (#2100) 2020-02-20 21:49:55 +01:00
Christophe Maudoux
4f44b69290 Fix warning messages 2020-02-16 15:35:53 +01:00
Christophe Maudoux
15c12346ab Hide persistent session attributes & Improve unit tests (#2093) 2020-02-14 16:21:31 +01:00
Christophe Maudoux
73a0ec9dc6 Toggle buttons (#2071) 2020-02-09 21:55:52 +01:00
Christophe Maudoux
03b4da1286 Update unit test (!124) 2020-02-07 22:00:54 +01:00
Xavier Guimard
09d929b1ff Change Manager framework to plugins 2020-01-28 15:32:30 +01:00
Xavier Guimard
14495b0445 Data error 2020-01-28 15:32:10 +01:00
Christophe Maudoux
d31205aa1a Improve CLI unit test (#2059) 2020-01-14 22:46:43 +01:00
Christophe Maudoux
0dd6b28616 Fix logger with CLI & Test type (#2059) 2020-01-12 22:19:54 +01:00
Christophe Maudoux
2481a1922c Typo (Thx Soisik ;-) 2020-01-10 21:30:51 +01:00
Clément OUDOT
dbf6550f6a Merge branch 'v2.0' into configuration-api 2020-01-10 11:31:31 +01:00
Christophe Maudoux
54d21780fe Fix TAP plan 2020-01-10 09:25:56 +01:00
Christophe Maudoux
bb53c5c420 Append log & Improve unit test (#2059) 2020-01-09 22:22:14 +01:00
Soisik Froger
ab969382f2 Merge remote-tracking branch 'upstream/configuration-api' into configuration-api 2020-01-06 08:25:23 +00:00
Clément OUDOT
8704982dd5 Merge branch 'v2.0' into configuration-api 2020-01-06 09:05:20 +01:00
Soisik Froger
be414ee4fa Manager API - perltidy - #2033 2020-01-02 15:55:44 +00:00
Soisik Froger
62b9e8574c Manager API - 2F remove from SSO session and local cache - #2033 2020-01-02 16:43:53 +01:00
Soisik Froger
9dc29c02d9 fixed unit test comments 2020-01-02 09:56:50 +01:00
Christophe Maudoux
931cdc611d Catch error and Improve parameter tests & Improve unit test (#2049) 2019-12-23 21:37:40 +01:00
Christophe Maudoux
2954ea2abc Disable compactConf by default & Update unit tests (#2046) 2019-12-22 13:06:10 +01:00
Soisik Froger
badef81aa8 Manager API - perltidy - #2034 & #2033 2019-12-20 10:13:15 +00:00
Soisik Froger
e939fa42fa Manager API - 2F unit tests - #2033 2019-12-20 10:05:16 +00:00
Soisik Froger
4e4f42460a Manager API - 2F get & delete routes/methods - #2033 2019-12-19 15:52:51 +00:00
Soisik Froger
c8e36a8899 Manager API - FindBy(clientId/entityId) should send back 404 when not found - #2034 2019-12-18 16:18:17 +00:00
Soisik Froger
bf6e7c2afd Manager API - Change all providers API routes from /v1/providers to /api/v1/providers - #2034 2019-12-18 15:45:42 +00:00
Soisik Froger
37d01266a9 Manager API - perltidy - #2034 2019-12-17 19:58:55 +00:00
Soisik Froger
4c5948623c Manager API - samlSP unit tests and ajustments for update/patch to keep old values - #2034 2019-12-17 17:43:29 +00:00
Soisik Froger
f107356e5e Manager API - Added unit tests for oidcRP findByConfKey/findByClientId - #2034 2019-12-17 13:35:38 +00:00
Soisik Froger
63c8e0b848 Manager API - Fixed unit tests - #2034 2019-12-17 09:51:19 +00:00
Soisik Froger
bfacf29fd7 Manager API - Refactoring: common API module extended by providers sub modules oidcRP/samlSP. Added unit tests for oidcRP - #2034 2019-12-17 08:56:59 +00:00
Soisik Froger
edd262caf8 Manager API - Delete method for SAML SP and OIDC RAP - #2034 2019-12-09 19:32:54 +00:00
Maxime Besson
7fe25b2f68 API skeleton 2019-12-04 09:59:40 +01:00
Christophe Maudoux
3e24077813 Update langs (#1999) 2019-11-13 12:03:35 +01:00
Christophe Maudoux
c01c26af6a Append option to override Issuer OTT storage (#1993) 2019-10-31 11:40:33 +01:00
Maxime Besson
4afecb4620 Remove IDP cookie (#1941) 2019-10-17 23:09:03 +02:00
Christophe Maudoux
91e3f413ab Improve unit test (#1968) 2019-10-05 11:59:52 +02:00
Christophe Maudoux
44f37e6fdd Typo 2019-09-16 20:52:00 +02:00
Xavier Guimard
3e06800d09 Add #1934 test 2019-09-16 17:56:53 +02:00
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