Commit Graph

2386 Commits

Author SHA1 Message Date
Maxime Besson
1623c542a0 Add ldap IO timeout option to manager (#2267) 2020-10-27 16:01:36 +01:00
Xavier Guimard
b6c78511db Import tr translation from transifex 2020-10-26 20:06:16 +01:00
Xavier Guimard
5626852872 Refresh translations 2020-10-19 06:14:38 +02:00
Christophe Maudoux
53b1f0b059 Fix & improve unit tests (#2353) 2020-10-18 11:55:06 +02:00
Christophe Maudoux
b3ad81ec8c Display notification content (#2353) 2020-10-16 23:28:00 +02:00
Maxime Besson
ac3d521c5e API: remove confKey from PUT body 2020-10-14 14:18:17 +02:00
Maxime Besson
338958f269 API: add redirectUris to top level response 2020-10-14 11:37:13 +02:00
Maxime Besson
0ca8701ea7 Api: friendly error if confKey is empty during creation 2020-10-14 11:36:37 +02:00
Maxime Besson
2b4c76cf4d API: tidy CasApp.pm 2020-10-14 11:36:16 +02:00
Christophe Maudoux
bf9ecc35ad Re-order tree to be more consistent (#2336) 2020-10-12 16:59:14 +02:00
Christophe Maudoux
dd833c2843 Update doc (#1605) 2020-10-12 16:39:12 +02:00
Christophe Maudoux
1c574f03da Rule is not parsed -> convert to bool & be more consistent (#1605) 2020-10-12 15:38:57 +02:00
Christophe Maudoux
9f57ec474b Code refactoring (#2339) 2020-10-12 15:03:21 +02:00
Xavier Guimard
a78c7c5061 Update JS files 2020-10-10 10:03:55 +02:00
Maxime Besson
ca97628c04 Fix unit tests for #2431 2020-10-07 20:00:16 +02:00
Maxime Besson
834c09995c Fix unit tests for #2431 2020-10-07 19:46:56 +02:00
Maxime Besson
3a4d2f1939 Add a manager test to warn user when Lasso is too old for SHA2 (#2341) 2020-10-07 19:13:15 +02:00
Maxime Besson
f74787f81a Switch default SAML signature alg to SHA256 (#2341) 2020-10-07 15:35:37 +02:00
Maxime Besson
5606d0ed6f Add support for SHA384 and SHA512 (#2322) 2020-10-07 15:31:57 +02:00
Maxime Besson
aec6f82ffd Add manager test for signature method override (#2319) 2020-10-07 15:31:27 +02:00
Maxime Besson
4d5de59735 Add manager option to override SAML signature method (#2319) 2020-10-07 15:31:27 +02:00
Maxime Besson
e72d7d7235 Update manager to generate saml certs by default (#2316) 2020-10-07 15:25:08 +02:00
Maxime Besson
2ba14db40e Add new route to generate a X509 self signed cert (#2316) 2020-10-07 15:24:44 +02:00
Maxime Besson
7a68c1e407 lemonldap-ng-cli: fix restore when config is empty (#2340) 2020-10-07 15:07:42 +02:00
Christophe Maudoux
352b97f681 Append option to modify 2FA during context switching (#2338) 2020-10-04 21:18:09 +02:00
Christophe Maudoux
bd1b153561 Re-order and update lang to be more consistent 2020-10-02 20:42:46 +02:00
Clément OUDOT
9cec235472 Configuration of adaptative authentication level plugin in Manager (#2336) 2020-10-02 16:41:35 +02:00
Christophe Maudoux
8a4903abd8 Typo 2020-09-30 21:41:27 +02:00
Christophe Maudoux
3ca6a04ec9 Append manager test (#2329) 2020-09-26 22:30:30 +02:00
Nicolas R
a630ff429f Regenerate META files to advertise bugtracker 2020-09-22 06:26:24 +02:00
Nicolas R
a841691f76 Update MANIFEST for Perl distributions
This is adding a MANIFEST.SKIP to avoid adding cruft
to MANIFEST files and updating all MANIFEST.

This is fixing an issue in lemonldap-ng-manager which
is using some unpublished file like:
    Api/Providers/CasApp.pm
2020-09-22 06:22:00 +02:00
Maxime Besson
c7d878f893 Implement a new config test for #2293 2020-09-16 17:29:49 +02:00
Maxime Besson
afb62cb1a6 Add test mail server endpoint (#2293) 2020-09-16 17:29:49 +02:00
Maxime Besson
022ecdf6f7 Add button in manager to send a test mail (#2293) 2020-09-16 17:29:48 +02:00
Maxime Besson
99dc799534 Remove SMTP config test (#2293) 2020-09-16 17:27:00 +02:00
Christophe Maudoux
1a73f7ab7f Append rule & fix userData (#2314 & #2315) 2020-09-15 14:13:34 +02:00
Christophe Maudoux
db88ee72eb Update lang (#2314) 2020-09-15 14:13:34 +02:00
Xavier Guimard
638f9ab3c9 Update Turkish translation from transifex 2020-09-15 06:25:41 +02:00
Clément OUDOT
9568b1006f Update MANIFEST (#2312) 2020-09-13 14:09:52 +02:00
Xavier Guimard
a84aaedbd0 Update translations from transifex 2020-09-08 18:12:22 +02:00
Xavier Guimard
29ded15290 Update tr translation from transifex 2020-09-08 18:05:09 +02:00
Christophe Maudoux
059b2b13f1 Merge branch 'v2.0' into 2266 2020-09-07 18:56:37 +02:00
Clément OUDOT
f835f3d36f Update version in modules 2020-09-06 19:58:58 +02:00
Maxime Besson
4e5578e32f New manager options for ldap certificate validation (#2250) 2020-09-05 12:21:34 +02:00
Xavier Guimard
18a6889c1d Fix lang 2020-09-05 08:18:50 +02:00
Xavier Guimard
c8df084247 Update versions 2020-09-04 17:59:00 +02:00
Maxime Besson
66c68f6056 Merge branch 'feature-delayed-2fa-2124' into 'v2.0'
Delay 2FA until required by an application

See merge request lemonldap-ng/lemonldap-ng!147
2020-09-04 17:40:46 +02:00
Maxime Besson
eb191be72e Add error message when no sf available during upgrade (#2124) 2020-09-04 17:17:02 +02:00
Maxime Besson
c183675651 Add option to skip session upgrade confirmation (#2124) 2020-09-04 17:16:09 +02:00
Maxime Besson
1cf1990fe2 Add portal code for session upgrade 2020-09-04 17:15:34 +02:00
Maxime Besson
ab356f12fb Add manager option for delayed 2FA (#2124) 2020-09-04 17:15:29 +02:00
Maxime Besson
cb43b27904 Add manager options for authn level in issuer apps (#2124, #1848) 2020-09-04 17:14:04 +02:00
Xavier Guimard
b9e9ff1f3f Make autopkgtest happy 2020-09-04 06:23:35 +02:00
Maxime Besson
9e6dc394e3 Improve french translation of OIDC terms 2020-09-02 19:16:13 +02:00
Christophe Maudoux
2cf9af77d5 Merge branch 'v2.0' into 2266 2020-09-02 18:54:29 +02:00
Christophe Maudoux
c5f9514d11 Update warn message 2020-09-02 18:49:46 +02:00
Clément OUDOT
2ca72e5613 Add del method in CLI (#2303) 2020-09-01 18:14:00 +02:00
Clément OUDOT
c2bc521938 Replace messages keyin CLI output by default translation (#2233) 2020-08-31 22:03:55 +02:00
Christophe Maudoux
41380aa158 Display body if there is a message or element to display 2020-08-31 16:30:46 +02:00
Christophe Maudoux
435b2ec552 Revert "Hide body if no message to display"
This reverts commit 2a39b1c2ec
2020-08-31 15:59:29 +02:00
Christophe Maudoux
05096327c0 Re-order menu & Update langs (#2266) 2020-08-29 22:50:29 +02:00
Christophe Maudoux
7a9020ff25 Modify type (#2266) 2020-08-29 20:13:11 +02:00
Christophe Maudoux
0a4812203c Allowed all special chars and rule to disable local password policy (#2266) 2020-08-29 19:08:47 +02:00
Maxime Besson
759a006ae9 Fix unit test #2299 2020-08-28 17:53:57 +02:00
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