Commit Graph

2249 Commits

Author SHA1 Message Date
Christophe Maudoux
b3164d4bb5 De duplicate test name (#2237) 2020-08-11 22:03: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
Maxime Besson
695ed61c77 Merge branch 'doc-2.0' into v2.0 2020-06-01 16:23:26 +02:00
Maxime Besson
a98e5c05b4 doc: fix markup 2020-06-01 16:22:25 +02:00
Xavier Guimard
767b4ceeef Some little things 2020-05-31 09:23:40 +02:00
Maxime Besson
c5c9d581cb Improve error message when cli fails to save (#2223) 2020-05-28 22:04:08 +02:00
Maxime Besson
0757f0af28 Add manager option for external yubikey ID provisionning (#2189) 2020-05-25 18:57:07 +02:00
Christophe Maudoux
bb9e03d1e5 Tidy 2020-05-24 00:04:33 +02:00
Clément OUDOT
f00753e5e5 Make manifest 2020-05-22 17:34:27 +02:00
Xavier Guimard
061a37d508 Update Polish translation 2020-05-20 22:00:58 +02:00
Christophe Maudoux
eb65264d5d Append Impersonation unrestrictedUsers rule & Update langs (#2207) 2020-05-19 23:33:07 +02:00
Xavier Guimard
66588175f2 Fix textarea usage in manager forms (fixes: #2196) 2020-05-16 21:45:36 +02:00
Xavier Guimard
3b066f1710 Disable jquery (#2197) 2020-05-15 15:07:26 +02:00
Xavier Guimard
308e87a3fb Disable jquery (#2197) 2020-05-15 15:05:33 +02:00
Xavier Guimard
ee6fd758f1 fix cfgAuthor when manager is protected by webserver (#2209) 2020-05-15 14:21:57 +02:00
Xavier Guimard
9b2ac6488a Use REMOTE_USER environment variable to set cfgAuthor if exists (#2209) 2020-05-15 09:57:17 +02:00
Xavier Guimard
fcaa959219 Add X-Real-IP in cfgAuthorIP if exists (#2195) 2020-05-12 17:02:59 +02:00
Xavier Guimard
3385fc3ae2 Register X-Forwarded-For value in cfgAuthorIP when available (fixes: #2195) 2020-05-12 15:58:41 +02:00
Maxime Besson
4688c2debc Add pl translation for proxy rest settings 2020-05-09 20:12:04 +02:00
Maxime Besson
db9e862843 Merge branch 'feature-userdb-password-restserver' into v2.0 2020-05-09 20:07:24 +02:00
Xavier Guimard
7d50814038 Add polish translation in manager (#2193) 2020-05-09 08:40:28 +02:00
Christophe Maudoux
9bf915b5dc Fix unit tests & Version 2020-05-08 23:03:16 +02:00
Christophe Maudoux
097ddc4251 Fix OIDC default value 2020-05-08 22:06:25 +02:00
Xavier Guimard
b217f529a6 Fix sourcemaps 2020-05-06 15:31:10 +02:00
Xavier Guimard
234da90be9 Update JS libs (fixes at least a low-level jQuery CVE) 2020-05-06 15:09:17 +02:00