Commit Graph

236 Commits

Author SHA1 Message Date
Clément OUDOT
9256571f25 Return session id with successful REST authentication (#1711) 2019-04-12 16:57:22 +02:00
Clément OUDOT
ae3a728378 Manage template inclusion when file is not in configured portal theme (#1653) 2019-04-10 15:42:58 +02:00
Xavier
af707c5b1f Clear pdata on lmerror access 2019-04-10 07:14:36 +02:00
Clément OUDOT
8859fe342b Fix setHiddenFormValue (#1692) 2019-04-03 17:54:58 +02:00
Clément OUDOT
bac2eb564c Remove antiframe protection in portal javascript (#1696) 2019-04-02 15:05:41 +02:00
Clément OUDOT
4af47ad6a4 Allow iframe from portal to be able to load saml SLO return page (#1671) 2019-04-01 18:09:31 +02:00
Clément OUDOT
59bc0642fc Always display info (#1693) 2019-04-01 17:18:28 +02:00
Xavier
906db8daa6 Merge branch 'antoinerosier/lemonldap-ng-logs' into v2.0 2019-03-27 21:44:25 +01:00
Antoine ROSIER
b79c9659cb Add user logs informations (#1687) 2019-03-27 16:00:39 +01:00
Xavier Guimard
99afd7243a Fix #1675 2019-03-26 08:06:55 +01:00
Xavier
774707ad65 Add cache to avoid parsing and compiling JSON files at each request (#1595) 2019-03-26 06:49:39 +01:00
Clément OUDOT
8a9a5b0b3a New method to override messages with JSON files (#1595) 2019-03-19 17:39:13 +01:00
Clément OUDOT
9798c78068 Remove userData if authentication fails (#1666) 2019-03-18 21:29:15 +01:00
Christophe Maudoux
4fe1473f9a Check access rules (#1658) 2019-02-28 21:59:59 +01:00
Clément OUDOT
d8a8832f4c Restore old login history (#1656) 2019-02-28 17:40:15 +01:00
Clément OUDOT
b3f917ac5a Improve log in updateSession (#1656) 2019-02-28 16:51:16 +01:00
Christophe Maudoux
00fae442e9 Update version (#1595) 2019-02-21 16:33:12 +01:00
Christophe Maudoux
b57a0788c2 Check JSON structure (#1595) 2019-02-21 16:25:02 +01:00
Christophe Maudoux
9fafa1d8d5 Override msg with local json files (#1595) 2019-02-20 23:22:56 +01:00
Christophe Maudoux
063c0f0d1b Partial revert - Modify Portal side is more consistent (#1653) 2019-02-18 20:39:47 +01:00
Christophe Maudoux
9274c54f20 Disable Portal cache (#1651) 2019-02-13 22:35:23 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
f8942d156d Override templateDir before calling sendHtml (fixes: #1642) 2019-02-05 19:04:06 +01:00
Xavier Guimard
24ef6d3905 Revert "Override templateDir before calling sendHtml (#1642)"
This reverts commit 0466bf2784.
2019-02-05 19:00:01 +01:00
Clément OUDOT
0466bf2784 Override templateDir before calling sendHtml (#1642) 2019-02-05 18:46:14 +01:00
Clément OUDOT
8ca60a9238 Do not set portal background in CSS if no value is configured (#1643) 2019-02-05 18:39:43 +01:00
Christophe Maudoux
3021e998a7 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-03 00:17:53 +01:00
Clément OUDOT
b63dd14746 Update module version (#1634) 2019-01-31 15:40:54 +01:00
Clément OUDOT
059d5320cb Clean code that manages templates parameters (#1634, #1631) 2019-01-31 15:38:58 +01:00
Xavier Guimard
76927ef053 Move TROVER into sendHtml() (#1586) 2018-12-19 23:28:40 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Xavier Guimard
843e18c64e Initialize user() in $req (#1591) 2018-12-17 18:44:12 +01:00
Christophe Maudoux
658a7a88c0 Append show_lang and main_logo parameters & Fix URL typo (#1585) 2018-12-15 16:05:48 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
824ab9a70f Return PE_OK to process $req next step (#1536) 2018-11-06 09:37:40 +01:00
Christophe Maudoux
3211236904 Set default formAction CSP (#1499) 2018-10-30 20:32:20 +01:00
Christophe Maudoux
aaaa8f54f5 Append debug messages & Fix issue (#1509) 2018-10-23 21:35:44 +02:00
Christophe Maudoux
8ba4d112cc Append debug messages (#1509) 2018-10-22 22:40:20 +02:00
Christophe Maudoux
14391d07d1 Append debug messages (#1509) 2018-10-22 22:28:37 +02:00
Christophe Maudoux
4df8ce2c0e Set formAction CSP from Manager (#1499) 2018-10-18 19:51:50 +02:00
Clément OUDOT
e269d75789 Do not set -Access-Control-Allow-Origin header when answering Ajax call (#1519) 2018-10-15 14:20:49 +02:00
Clément OUDOT
13320e64a9 Set form-action for SAML Discovery Protocol URL (#1478) 2018-10-12 10:11:51 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
5494fd07fb Improve unit test to check 'failedLogin' history (#1501) 2018-09-22 11:21:37 +02:00
Christophe Maudoux
e7d7ef1e0a FIX logins history display (#1501) 2018-09-22 10:14:29 +02:00
Christophe Maudoux
0ed8dbdde2 Fix logins history update - Failed and Granted Access with and without SFA (#1501) 2018-09-12 23:14:35 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Clément OUDOT
46702f3a62 Allow to add URLs in CSP from-action from the request object (#1480) 2018-08-28 18:24:01 +02:00
Xavier Guimard
52348ecbb0 Hide some warnings (#1487) 2018-08-15 22:47:23 +02:00
Christophe Maudoux
2f910aa87b Fix mistake (#1480) 2018-08-08 10:19:16 +02:00
Christophe Maudoux
a3ef440fe2 WIP - Append debug message (#1480) 2018-08-08 10:13:58 +02:00
Christophe Maudoux
700f08ad33 Fix mistake (#1480) 2018-08-08 10:09:33 +02:00
Christophe Maudoux
1bebba42c3 WIP - Partial revert and debug messages appended to test (#1480) 2018-08-08 09:51:06 +02:00
Christophe Maudoux
6619e56714 WIP - Add CSP form-action attribute in LLNG conf. Need more tests (#1480) 2018-08-07 23:54:42 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
7b1fd1eae7 Escape pdata cookie value (#1461)
This fixes CI failure with Debian/stable
2018-07-05 21:22:47 +02:00
Xavier Guimard
e0b2797e70 In progress but federation proxy is broken (#1461) 2018-07-05 14:24:22 +02:00
Xavier Guimard
854cf7be77 Set pdata cookie only if needed (#1461) 2018-07-04 17:23:17 +02:00
Xavier Guimard
8de024ddb6 Prepare cookie storage for #1461 2018-07-04 13:33:20 +02:00
Xavier Guimard
28aedcd63c Some errors in CAS (#1461) 2018-06-26 21:45:55 +02:00
Xavier Guimard
213f674b9e Return psession directly on error (#1452) 2018-06-13 22:17:28 +02:00
Xavier Guimard
1a9ec21d00 Use IO::Handle methods (#1148) 2018-06-12 11:45:21 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
aaaf5cfed4 Restrict CSP form-action to URL scheme (#1384) 2018-03-21 14:52:22 +01:00
Xavier Guimard
33c764855d Don't encode + (may fix: #1385) 2018-03-10 09:33:14 +01:00
Xavier Guimard
5c5556a865 2F choice works (#1148)
TODO: logos
2018-03-09 13:29:39 +01:00
Xavier Guimard
06cb8a6e11 2F engine works with 1 2F enabled (#1148) 2018-03-08 20:36:32 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Clément Oudot
7b216e614b Allow 0 value in setHiddenFormValue (#1328) 2017-11-06 11:05:09 +00:00
Xavier Guimard
46364da414 Move some HTML fragments to templates (#1302) 2017-10-10 11:04:40 +00:00
Xavier Guimard
080f4670ec Return 200 for Ajax queries if error is PE_PASSWORD_OK (#1258) 2017-09-22 14:26:07 +00:00
Xavier Guimard
b15d82a12b Error in id detection (#595) 2017-09-19 08:08:51 +00:00
Xavier Guimard
fefd723226 Avoid some warnings 2017-07-11 11:50:21 +00:00
Xavier Guimard
d7240e038e Fix #852 2017-05-04 07:19:50 +00:00
Xavier Guimard
b4102acf45 May fix #852 2017-05-04 07:13:26 +00:00
Xavier Guimard
df3c1efb54 Handle 404 and 502 error codes (fixes: #1211) 2017-04-12 07:07:27 +00:00
Xavier Guimard
6cc554ac75 Optimization (#595) 2017-04-10 18:45:45 +00:00
Xavier Guimard
e7c3561451 Some errors (#595) 2017-04-07 04:39:53 +00:00
Xavier Guimard
537d41a29b Kerberos in progress (#707) 2017-04-06 20:37:38 +00:00
Xavier Guimard
2e59ea441a Replace request management in handler (#1044)
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Xavier Guimard
e8c2925a3f Typo 2017-03-22 18:11:44 +00:00
Xavier Guimard
ca2e9be0e5 Rename _loginHistory (#1169) 2017-03-21 21:00:37 +00:00
Xavier Guimard
99ddfbfe25 Rename _startTime and _updateTime (#1169) 2017-03-21 20:52:40 +00:00
Xavier Guimard
cdeec00972 Replace "?lmError=" by router path (#595) 2017-03-16 21:33:13 +00:00
Xavier Guimard
9a5ecdf1cb Repair activeTimer (#595) 2017-03-16 20:19:06 +00:00
Xavier Guimard
bf3c43aecd Replace inline css (#1137) 2017-03-16 11:38:52 +00:00
Xavier Guimard
0845237efe Import CSP in manager code (#1137) 2017-03-15 22:27:58 +00:00
Xavier Guimard
126fdb091c Manage cookie expiration (#1131) 2017-03-15 10:01:29 +00:00
Xavier Guimard
d70a5b005f Update handler internal cache on session update (#595) 2017-03-09 21:56:48 +00:00
Clément Oudot
c18533d447 Use getSkin to choose portal skin (#1177) 2017-02-28 18:39:56 +00:00
Xavier Guimard
c0c67fd0bd Minimize persistentSession tie/untie (#713, #LEMONLDAP-1173) 2017-02-27 20:48:00 +00:00
Xavier Guimard
8c3ff5fb0b Minimize Apache::Session tie/untie (closes: #1173) 2017-02-20 21:00:05 +00:00
Xavier Guimard
09f13b1b00 Notification server SOAP/REST (#595) 2017-02-19 17:04:49 +00:00
Xavier Guimard
2e680c2ff1 Enable history (#595) 2017-02-19 07:17:48 +00:00
Xavier Guimard
a70842603a Update portal status (#595) 2017-02-18 14:25:51 +00:00
Xavier Guimard
ca2c453e71 Add "public pages" concept to 2.0 (#1120) 2017-02-18 06:49:06 +00:00
Xavier Guimard
97b8b40cc5 Add grantSession test (#595) 2017-02-17 07:40:15 +00:00
Xavier Guimard
99aa48105a Add refresh session utility (#852)
TODO: link in menu
2017-02-16 16:11:12 +00:00