Commit Graph

2272 Commits

Author SHA1 Message Date
Maxime Besson
0aff92709c Add unit test for #2299 2020-08-28 17:00:48 +02:00
Maxime Besson
07828a9a85 Add healthcheck endpoint to manager API (#2299) 2020-08-28 17:00:48 +02:00
Christophe Maudoux
2a39b1c2ec Hide body if no message to display 2020-08-28 16:02:15 +02:00
Christophe Maudoux
5d056699c4 Merge branch '2276' into 'v2.0'
2276

See merge request lemonldap-ng/lemonldap-ng!159
2020-08-28 15:06:01 +02:00
Christophe Maudoux
8b6ab584cf WIP: Update langs & append conf test (#2276) 2020-08-27 14:38:11 +02:00
Maxime Besson
aef9409a63 Use local manager conf when checking conf in lmConfigEditor (#2296) 2020-08-26 10:29:53 +02:00
Maxime Besson
a5deca8ce8 Fix localConf object when checking new conf in UI (#2296) 2020-08-26 09:20:03 +02:00
Christophe Maudoux
4d52fedfe5 WIP - Incremental tempo 2020-08-25 22:58:47 +02:00
Christophe Maudoux
0614c69a91 Typo 2020-08-25 20:03:58 +02:00
Christophe Maudoux
26de10fd91 Update unit tests 2020-08-25 12:53:53 +02:00
Christophe Maudoux
81a5d2552e Make json - Display oidc tab only if not empty 2020-08-25 11:12:48 +02:00
Christophe Maudoux
0ca3e1fcf5 Update Attributes.pm 2020-08-25 11:07:06 +02:00
Christophe Maudoux
08fb50191e Improve notifications explorer & unit tests (#2283) 2020-08-19 22:52:28 +02:00
Christophe Maudoux
1ce89fb696 Fix warning (#2283) 2020-08-19 22:52:28 +02:00
Maxime Besson
c5c6c4ab0c Factor genId2F method into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
a4b80b1a37 Manager tests for SameSite attribute 2020-08-17 18:05:09 +02:00
Maxime Besson
26cd1945fb Try to compute the correct value of SameSite by default (#2281) 2020-08-17 18:05:09 +02:00
Maxime Besson
4ba29f10a7 Merge branch 'fix-cache-dir-2254' into 'v2.0'
Move cache directory to /var/cache (#2254)

See merge request lemonldap-ng/lemonldap-ng!157
2020-08-14 18:34:31 +02:00
Christophe Maudoux
9643308717 Fix delete2FA function (#2279) 2020-08-13 00:00:02 +02:00
Christophe Maudoux
299dc19f4d Display instance name when prompting message (#2278) 2020-08-12 19:36:34 +02:00
Christophe Maudoux
3af35204c5 Append conf tests (#2274) 2020-08-11 22:03:32 +02:00
Christophe Maudoux
b3164d4bb5 De duplicate test name (#2237) 2020-08-11 22:03:32 +02:00
Maxime Besson
ea134d0bfc Fix generation of lmConf-1.json (#2254) 2020-08-10 15:15:32 +02:00
Maxime Besson
2054799baf Move cache directory to /var/cache (#2254)
In order to avoid namespace issues, and for better compliance with the
FHS.

Only the default configs are changed.
2020-08-10 15:15:32 +02:00
Maxime Besson
9b348f7cf8 Manager HTML cleanup (#2248) 2020-07-28 14:17:33 +02:00
Maxime Besson
dac0300aa5 Remove self closing spans (#2248) 2020-07-28 14:17:33 +02:00
Maxime Besson
593e48e63e Add manager test for #2237 2020-07-24 17:10:11 +02:00
Maxime Besson
bef2411132 Allow empty URLs in config values by default (#2253) 2020-07-24 16:54:25 +02:00
Xavier Guimard
9e28948d40 Update Turkish translation from transifex 2020-07-16 20:21:16 +02:00
Xavier Guimard
036b919b6b Update translations 2020-07-14 18:35:07 +02:00
Olof Johansson
054e87c1f9 manager: Adapt html to stricter rules in angularjs >= 1.8.0
label and textarea elements in XHTML must have a matching closing tag
for strict XHTML conformity; when upgrading to angularjs 1.8.0, this
became mandatory even when used with angular because of some potential
XSS issue.

Without this change, the rendering of the modal save form of the manager
web interface will "break" halfway through, and only the text "Summary"
is visible under the "Saving configuration" header. (This is similar to
what is described in #2197, but with that fixed applied.)

Reference: https://docs.angularjs.org/guide/migration#migrating-from-1-7-to-1-8
2020-07-01 16:37:26 +02:00
Soisik Froger
cbe85dd6a2 Manager API: Check confKey is valid when adding a new cat or app to avoid breaking configuration 2020-06-26 10:05:08 +00:00
Soisik Froger
e558b30628 Manager API: Fixed error when adding an app to non existing category - now returns a 404 2020-06-26 07:46:24 +00:00
Soisik Froger
53cce170d2 Manager API: Added 404 response code to openapi spec, improved error message on category not found when getting/listing application(s) and added tests to ensure 404 is returned on category or apps not found. 2020-06-26 07:30:22 +00:00
Soisik Froger
72f957957a Manager API: Added menu category and application API (includes openapi spec & tests) 2020-06-24 14:58:10 +00:00
Maxime Besson
768a7b0ecb Fix translation mistake in manager down arrow 2020-06-24 11:19:18 +02:00
Maxime Besson
d1cbb7263f Remove default value of ldapPort 2020-06-23 17:42:00 +02:00
Maxime Besson
914251d163 Update Build.pm for #2214 2020-06-23 11:29:58 +02:00
Maxime Besson
1ed5b95fd9 Merge branch 'cas-and-apps-api' into 'v2.0'
Manager API: Added some minor fixes for CasApp provider API

See merge request lemonldap-ng/lemonldap-ng!149
2020-06-22 18:41:17 +02:00
Christophe Maudoux
d9fb4e3a17 Typo & Append debug log (#2055) 2020-06-21 13:00:49 +02:00
Christophe Maudoux
954643994f Typo and update PSGI doc 2020-06-20 12:36:17 +02:00
Soisik Froger
dcc49bd58e Manager API: Added some minor fixes for CasApp provider API 2020-06-18 09:18:10 +02:00
Maxime Besson
9dcfeadc7c Merge branch 'soifro/lemonldap-ng-cas-and-apps-api' into v2.0 2020-06-17 22:25:39 +02:00
Maxime Besson
0c70e8be0c Manager API: compare host part of service URL only 2020-06-17 22:21:01 +02:00
Maxime Besson
4e0003d5d8 Manager API: fix perl warning 2020-06-17 22:21:01 +02:00
Maxime Besson
51762ca85f Add config test for CAS App url presence/uniqueness (#2240)
The issuer code only looks at the host part
2020-06-17 19:14:09 +02:00
Maxime Besson
7d5d62541a Add config test for OIDCRP client id presence/uniqueness (#2240) 2020-06-17 19:14:09 +02:00
Soisik Froger
4699a1accb Manager API: service as primary key for CAS application 2020-06-17 09:33:33 +00:00
Soisik Froger
bbc9d27a8b Manager API: Added CAS provider API (includes openapi spec & tests) 2020-06-17 06:57:40 +00:00
Christophe Maudoux
b04b2076de Preserve real_hGroups (#2229) 2020-06-06 23:27:37 +02:00