Commit Graph

63 Commits

Author SHA1 Message Date
Xavier Guimard
5862481956 Set master version to 2.1.0 2019-02-12 18:21:38 +01:00
Christophe Maudoux
45413d838d Typo 2019-02-04 21:15:59 +01:00
Xavier Guimard
a2917ffc93 More doc (#595) 2017-02-16 07:37:40 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
2d2edb61ac Merge experimental branch (#960)
Also update version to 2.0
2016-03-17 22:19:44 +00:00
Xavier Guimard
7ac07074ae Update versions 2016-03-03 20:25:16 +00:00
Xavier Guimard
1584b3bcc4 Fix chmod 2016-03-03 20:25:12 +00:00
Clément Oudot
1c758efa33 Update inline doc in Handler::Main (#630) 2016-02-26 11:17:35 +00:00
Xavier Guimard
dfce1419ad Good length for utf8 characters (may close #733) 2016-02-19 09:41:12 +00:00
Xavier Guimard
8d0f4caadf Add missing 2016-02-13 18:21:09 +00:00
Xavier Guimard
8c1bd8efeb Avoid using each(): it tries to delete key 2016-02-13 10:06:48 +00:00
Xavier Guimard
b6f7b2a96a Move Ajax hook from handler to portal (Closes: #790) 2016-01-28 22:25:46 +00:00
Xavier Guimard
4f3a42ba48 Manage Ajax requests redirection with 401 (new parameter noAjaxHook) 2016-01-28 06:43:46 +00:00
Xavier Guimard
e8dac0fe6b Replace 'splice' by copy (Closes: #534) 2016-01-02 09:29:05 +00:00
Clément Oudot
9f689ed222 Apply session activity patch to trunk (#845) 2015-09-21 08:18:46 +00:00
Clément Oudot
3ee120fe2b Do not update session _lastSeen at each request (#805) 2015-04-11 11:27:33 +00:00
Clément Oudot
7a7bb1fbda make tidy on all files 2015-03-10 15:07:33 +00:00
Clément Oudot
e011600113 Show error from Common::Session module in logs (#741) 2014-07-24 15:37:12 +00:00
David COUTADEUR
9e267def6f fix /status page in branch 1.4 and trunk (references #727) 2014-07-22 16:29:03 +00:00
François-Xavier Deltombe
833efce50b Handler: define constant MAINTENANCE_CODE in API modules (#630) 2014-07-09 16:06:53 +00:00
François-Xavier Deltombe
c802450e7e Post Replay: forward POST data not defined in config (#630) 2014-07-09 14:58:03 +00:00
François-Xavier Deltombe
219787e1d6 Handler, refactoring Post Replay: parameters added in manager (#630) 2014-07-09 13:04:42 +00:00
François-Xavier Deltombe
9fbe43548e Handler: Post Replay refactored (#630) 2014-07-07 18:30:42 +00:00
François-Xavier Deltombe
bde515e504 Handler: merge API functions set_err_header_out and set_header_out (LEMONLDAP-630) 2014-07-07 08:08:39 +00:00
François-Xavier Deltombe
209e60fd87 Handler: clean comments in Main.pm (#630) 2014-07-04 17:12:06 +00:00
François-Xavier Deltombe
02a0fffb87 Handler: Add functions in jail to get request data (#633) 2014-07-04 08:36:38 +00:00
François-Xavier Deltombe
19703f8919 Update session in cache for loca macros not by hand anymore,
but with LL::NG::Common::Session functions (#724)
2014-07-03 09:46:20 +00:00
François-Xavier Deltombe
ee4b9e8bfe Handler: Make possible to define access rule in run() params (#630) 2014-07-02 14:14:33 +00:00
François-Xavier Deltombe
201095d30a Handler: re-implement vhost aliases (#630) 2014-07-01 13:11:45 +00:00
François-Xavier Deltombe
628d7e393f Handler: set current request as LL::NG::Handler::API variable,
instead of as a function parameter (#630)
2014-07-01 12:58:04 +00:00
François-Xavier Deltombe
31439ff7c9 Move methods handler() and logout() from Main to SharedConf (#630) 2014-07-01 10:09:35 +00:00
François-Xavier Deltombe
056d6cacf2 Handler: Move remaining functions of Main::Headers into Main (#630) 2014-07-01 09:54:09 +00:00
François-Xavier Deltombe
a469de88ba Handler: Main::GlobalInit moved into Reload::configReload (#717) 2014-06-30 18:34:23 +00:00
François-Xavier Deltombe
29bcee135b Handler: Rename Initialization::GlobalInit into Reload (#717) 2014-06-30 09:35:32 +00:00
François-Xavier Deltombe
d1bd1e0003 Handler: simplify init management (#717) 2014-06-30 09:18:00 +00:00
François-Xavier Deltombe
6aa06d2d40 Handler: remove useless call to defaultValuesInit at server startup, move
remaining methods of LocalInit into SharedConf and remove LocalInit.pm (#630)
2014-06-27 16:20:51 +00:00
François-Xavier Deltombe
cf00c2db20 Handler: send session cache params to Status process only at config reload (#630) 2014-06-27 10:33:09 +00:00
François-Xavier Deltombe
f21f54c6c0 Remove LL::NG::Handler::Main::unprotect method, since it is unsafe
(does not hide cookie) and can be replaced with SKIP (#630)
2014-06-26 15:36:50 +00:00
François-Xavier Deltombe
3204fe8fb0 Handler: session cache not initialize at startup anymore (this is done by
Common::Session), and not required anymore by Status module (#630)
2014-06-26 15:12:31 +00:00
François-Xavier Deltombe
03ae29f651 LL::NG::Handler::Main reverted to rev 3426 (it was an error) and perltidied 2014-06-25 16:03:30 +00:00
Clément Oudot
b72d79a30b Better connection management (#663, #LEMONLDAP-664):
- Create userDBFinish, passwordDBFinish and registerDBFinish methods
- Call finish methods for each backend in process
- Call LDAP unbind only when necessary
- Unbind if error in RegisterDBLDAP
2014-06-25 11:53:09 +00:00
François-Xavier Deltombe
52db234bf7 Handler: Rename vars $apacheRequest and $mess into $r and $msg (#630) 2014-06-19 17:53:04 +00:00
François-Xavier Deltombe
c1c68209c7 Run status request as PerlResponseHandler, to make it simpler
and remove dependencies to Apache mod_perl 2 (#630)
2014-06-19 16:52:10 +00:00
François-Xavier Deltombe
43a6b9d96c Modularization of logs in LL::NG::Handler (#630) 2014-06-19 13:29:01 +00:00
François-Xavier Deltombe
7f8a4acd52 Simplify work done in svn commit r3410 2014-06-17 19:22:36 +00:00
François-Xavier Deltombe
e4b008b56d Reinitialize var $datas before filling it with new user session datas (#710) 2014-06-16 19:45:54 +00:00
David COUTADEUR
12f01ae45d Simplify the handler function and glob (handler_mp2 / handler_mp1)
and the logout function and glob (logout_mp2 / logout_mp1)
Now, there are just 2 functions: handler and logout
2014-06-16 12:12:05 +00:00
David COUTADEUR
f6bc0bd81f - adjusting variable name : webserverCodes -> httpCodes (shorter + more descriptive)
(references #630 and complements r3410)
2014-06-16 09:44:39 +00:00
David COUTADEUR
e657a409c0 deport all module requirements and variables thread sharing in Main and
SharedConf into API specific modules.
 - creation of a thread_share function sharing or not variables (in MP2)
 - move apache module requirements to ApacheMP2
 - move variables thread sharing to ApacheMP2
 - creation of a webserverCodes tag for importing HTTP response codes
(references #630)
2014-06-13 16:12:54 +00:00
François-Xavier Deltombe
7f463bfece Do not lose URL-encoding when redirecting to portal (#630) 2014-06-13 12:14:44 +00:00