Commit Graph

125 Commits

Author SHA1 Message Date
Clément Oudot
c4755ab360 Fix Status.pm (#26) 2014-05-27 13:46:11 +00:00
Clément Oudot
66c93ec387 Manage already existing accounts in Register (#26) 2014-05-27 13:42:00 +00:00
Clément Oudot
b334e6ae36 Update Handler MANIFEST 2014-05-27 13:41:28 +00:00
Clément Oudot
57182767f4 Some error codes for Register (#26) 2014-05-26 16:25:33 +00:00
Clément Oudot
c4b9635c53 Fix some tests after recent modifications on Handler 2014-05-24 18:23:34 +00:00
François-Xavier Deltombe
9d6a40e4de Define functions to manage HTTP headers in LL::NG::Handler::API::*.pm 2014-05-23 15:21:10 +00:00
François-Xavier Deltombe
c6f5fa3c21 Draft of API modularization, with set_user method working 2014-05-23 13:35:47 +00:00
François-Xavier Deltombe
b83ca9d9b2 pass $apacheRequest object to functions in parameters
instead of as a global var (#630)
2014-05-23 10:23:51 +00:00
François-Xavier Deltombe
003a36afd1 pass $apacheRequest object to accessRules in parameters
instead of as a global var (#630)
2014-05-22 15:08:18 +00:00
François-Xavier Deltombe
d41028ddfd pass $apacheRequest object to POST form transform fonctions
in parameters instead of as a global var (#630)
2014-05-22 14:15:50 +00:00
François-Xavier Deltombe
dcabb537d6 LL::NG::Handler: move $ntsv vars (except $ntsv->{datasUpdate})
into $tsv, since they can be thread shared (#630)
2014-05-22 12:21:28 +00:00
David COUTADEUR
e1890bac1c - fix former module name in handler apache vhost (for branch 1.4 and trunk)
- reinject modifications from trunk to branch experimental
(references #630)
2014-05-22 09:06:59 +00:00
Clément Oudot
b0de7fe3a0 Default values are now centralized (#686) 2014-05-22 07:48:47 +00:00
David COUTADEUR
baaf923536 - renaming DefaultHandler into SharedConf, and using Handler.pm as new entry point
(references #630)
2014-05-21 17:44:24 +00:00
David COUTADEUR
ca6227f469 - deleting specific handlers defined in two places.
- deleting old MyHandler*, because they are not used anymore. (Specific handlers are called directly)
- renaming SpecificHandlers into Specific

- documentation updated accordingly in: 1.4/upgrades, 1.4/applications/zimbra, 1.4/applications/sympa, 1.4/securetoken
(references #630)
2014-05-21 16:30:14 +00:00
François-Xavier Deltombe
85e9b0f0fb Fix unit test by setting LLNG_DEFAULTCONFFILE as a filename, not a file descriptor 2014-05-16 13:29:12 +00:00
Xavier Guimard
872e804520 Don't use default temp directory for tests 2014-05-11 20:03:56 +00:00
Xavier Guimard
3539f1c965 Bad portal URL (missing "/") 2014-05-11 20:02:43 +00:00
Clément Oudot
0a0545c8f3 Fix unit test by using LLNG_DEFAULTCONFFILE env 2014-05-01 21:27:07 +00:00
Clément Oudot
25930249f8 Update cronjob to use Common::Session module (#671) 2014-04-25 08:20:00 +00:00
Clément Oudot
831e6743eb Fix parameter name in perldoc (#671) 2014-04-25 08:19:00 +00:00
François-Xavier Deltombe
4e24132b33 Fix typo about vhost https option in Handler (introduced in svn commit r3267 for #630) 2014-04-22 14:47:30 +00:00
Clément Oudot
05d7a72907 Do not link Handler.pm to DefaultHandler, else tests are broken (#630) 2014-04-17 16:13:22 +00:00
Clément Oudot
d28a7bb217 Update versions to 1.4.0 2014-04-17 15:20:28 +00:00
Clément Oudot
75c3a79abf Use main Handler module VERSION (#630) 2014-04-17 15:20:07 +00:00
Clément Oudot
d69fd4ce25 Add Mouse as Handler dependency (#701) 2014-04-17 14:28:38 +00:00
Clément Oudot
37493931b4 Fix comment of purgeLocalCache script (#671) 2014-04-15 14:43:02 +00:00
Clément Oudot
e3eacb3814 Use new session API in UpdateCookie Handler (#671) 2014-04-15 14:02:39 +00:00
Clément Oudot
33b201bd98 Use new session API in Handler/Main (#671) 2014-04-11 16:12:21 +00:00
Clément Oudot
ed0812d69b Use new session API in Handler AuthBasic (#671) 2014-04-11 14:58:30 +00:00
Clément Oudot
bb2c6f0003 Use new session API in Handler/CGI (#671) 2014-04-11 14:58:05 +00:00
Clément Oudot
8511219fc1 Use new session module in sessions explorer (#671) 2014-04-02 08:22:30 +00:00
David COUTADEUR
59f0b9e5d4 - correction of a hook in the Logger, which made this module incompatible with perl 5.10.5 / debian squeeze
(affectations and substitutions are now expanded to multiple lines)

(references #630)
2014-03-31 21:07:06 +00:00
David COUTADEUR
66d3a96dd1 - correction of mistakes done on previous commit.
(confusion between handler and manager MANIFEST and Makefile.PL)
(references #630)
2014-03-31 20:41:41 +00:00
David COUTADEUR
81553b7a5e - merging tests from lemonldap-ng-experimental branch to trunk
(references #630)
2014-03-31 16:25:09 +00:00
David COUTADEUR
e40020674a - deleting tests corresponding to CDA handler. (deleted in previous commit)
- deleting stuff referencing CDA in the MANIFEST file
2014-03-31 15:53:17 +00:00
David COUTADEUR
d0b69019f1 - deleting specific handler CDA.
New usage is to configure $cda into configuration
(references #630)
2014-03-31 15:49:31 +00:00
David COUTADEUR
cff92f2ebd - adaptation of new handler tests:
* don't use LemonLoadConf anymore (instead minimal config hash is used in 01 and 02 tests)
  * using ENV variables instead of GLOBAL::variable to launch DefaultHander with a test configuration
  * unset ENV variables at the end of every test
  * adapting Makefile with new dependancies used for test
2014-03-31 15:43:39 +00:00
David COUTADEUR
1c5d4d8c32 - correcting old style specific handlers (reinjecting modification from
SpecificHandlers/*.pm)
- adding a comment line to indicate which style is the current specific
handler and how it is supposed to be launched
- adapting DefaultHandler.pm to permit tests passing configuration file parameter
(references #630)
2014-03-20 18:40:26 +00:00
David COUTADEUR
2408e9e4af - fix commit 3268: the jail_reval function must handle more cases
(references #630)
2014-03-17 14:38:22 +00:00
David COUTADEUR
8439c0692b - deleting useless constant SAFEWRAP in GlobalInit (must just appear in Jail)
(references #630)
2014-03-17 13:32:17 +00:00
David COUTADEUR
262fdaef2c - simplification of jail_reval call (references #630) 2014-03-17 12:58:49 +00:00
David COUTADEUR
b3d05721a8 - Merging branch lemonldap-ng-experimental/Handler-Mouse with with trunk
code impacted:
* lemonldap-ng-handler/*: handler code,
* lemonldap-ng-handler/example/*.pm: handler aliases to libraries,
* _example/etc/*.conf: virtual host templates
(references #630, #LEMONLDAP-386)

(second part of incomplete r3251 commit)
2014-03-13 15:07:36 +00:00
David COUTADEUR
f993e2e6dd - Merging branch lemonldap-ng-experimental/Handler-Mouse with with trunk
code impacted:
 * lemonldap-ng-handler/*: handler code,
 * lemonldap-ng-handler/example/*.pm: handler aliases to libraries,
 * _example/etc/*.conf: virtual host templates
(references #630, #LEMONLDAP-386)
2014-03-04 16:07:32 +00:00
Clément Oudot
b691acdff8 Update META.yml 2014-02-18 13:57:21 +00:00
Xavier Guimard
53b66996e3 Propagate #637 in 1.3 branch and in META files 2013-11-03 20:52:15 +00:00
Clément Oudot
b6cf706217 Preparation for release 1.3.0 2013-11-02 11:03:25 +00:00
Xavier Guimard
0829a57f2e Use UTF-8 encoding in all Perl files 2013-10-19 16:34:20 +00:00
Xavier Guimard
f29d3b563e s/utf8/utf-8/ in HTTP headers
Closes: #626
2013-10-17 19:21:45 +00:00
Xavier Guimard
00ad847b90 ip() compatibility with Apache-1.3 2013-10-15 12:47:30 +00:00