Clément Oudot
7a7bb1fbda
make tidy on all files
2015-03-10 15:07:33 +00:00
Xavier Guimard
fc6c64d6f3
Part back to 3466: Attributes.pm is not github version
2015-03-09 15:39:15 +00:00
Clément Oudot
2ff2d0e01a
First version of OpenIDConnect RP module ( #183 )
2014-11-14 14:29:55 +00:00
Clément Oudot
f97f5c72e0
make tidy
2014-07-24 15:48:32 +00:00
Clément Oudot
e011600113
Show error from Common::Session module in logs ( #741 )
2014-07-24 15:37:12 +00:00
Clément Oudot
05e1b778c8
Remove stats on local cache in 1.4 branch, already fixed in trunk ( #727 )
2014-07-23 12:20:21 +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
aa1c7357fe
Handler Jail: attribute "safe" renamed into "jail" ( #729 )
2014-07-07 09:54:13 +00:00
François-Xavier Deltombe
b903597b76
Handler: Ensure that new jail is consistent with its attributes ( #729 )
2014-07-07 09:36:54 +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
778da7f7ac
Handler: implement function print() for API::CGI (LEMONLDAP-630)
2014-07-07 07:57:35 +00:00
François-Xavier Deltombe
2be522b2ec
Handler: Refactor UpdateCookie by relying on Main:: methods ( #630 )
2014-07-07 07:02:46 +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
b572b051b5
Fix bug of incomplete request header cleaning with unprotect ( #728 )
2014-07-04 16:28:06 +00:00
François-Xavier Deltombe
10288887e2
Handler: to be able to read request headers in jail - for CGI ( #633 )
2014-07-04 15:10:18 +00:00
François-Xavier Deltombe
656600007a
Handler: to be able to read request headers in jail ( #633 )
2014-07-04 15:07:42 +00:00
François-Xavier Deltombe
8b745dc095
LL::NG::Handler::API::ApacheMP2::uri_with_args usable as a function or as a method ( #633 )
2014-07-04 09:12:57 +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
45c845c718
Handler: add some logs at configuration reload ( #630 )
2014-07-03 15:21:06 +00:00
François-Xavier Deltombe
588d438879
Handler: adjust few things about logs and loglevel ( #630 )
2014-07-03 15:20:20 +00:00
François-Xavier Deltombe
8920533794
Handler: Add a param "logLevel" to control LL::NG logs for CGIs ( #630 )
2014-07-03 14:08:08 +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
e2feaf796d
Handler: update test for svn commit r3468 ( #717 )
2014-07-03 09:30:41 +00:00
François-Xavier Deltombe
16e2a6a374
Handler : fix slight bug introduced by r3470
...
(Note: I made a mistake on the file selected for previous commit)
2014-07-03 09:09:56 +00:00
François-Xavier Deltombe
c0a2153d1d
Handler: fix slight bug introduced by r3470
2014-07-02 14:59:00 +00:00
François-Xavier Deltombe
9fb000e33c
Handler: refactor LL::NG::Handler::CGI with LL::NG::Handler::main methods ( #630 )
2014-07-02 14:22:17 +00:00
François-Xavier Deltombe
42ceb63218
Handler: update CGI API ( #630 )
2014-07-02 14:20:00 +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
004f73f476
Handler: move jail initialization out from defaultValuesInit ( #717 )
2014-07-02 11:23:40 +00:00
François-Xavier Deltombe
72f15a2bd9
Handler: Fix a slight bug at configuration reload ( #630 )
2014-07-02 11:21:24 +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
0f0ac0dc69
Handler: Update tests for previous commit ( #630 )
2014-07-01 12:59:11 +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
899b9899bd
Slight bugfix for previous commit ( #633 )
2014-07-01 09:42:15 +00:00
François-Xavier Deltombe
5181ffbe79
Handler: Unify session data substitution in headers and locationRules ( #633 )
2014-07-01 09:31:53 +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
4f2d8404bb
Remove a test to localInit() method, removed at prevous revision
2014-06-27 16:44:14 +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
7cfff88ac5
Handler::SharedConf simplified: localInit merged() in init()
...
and testConf() and setConf() merged into checkConf() (#630 )
2014-06-27 14:17:13 +00:00
Clément Oudot
6a120c7ed3
Various fix for RPM packaging
2014-06-27 14:12:54 +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
70ec1d03cb
Refactor LL::NG::Handler::Specific::AuthBasic ( #630 )
2014-06-25 10:01:17 +00:00
François-Xavier Deltombe
61e02f1a3f
Handler: to prevent a slight bug in tests ( #630 )
2014-06-19 17:55:36 +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
4b844b7e07
Handler: refresh method renamed into reload ( #630 )
2014-06-19 17:04:02 +00:00
François-Xavier Deltombe
2d81231daf
Make config reload request to Handler simpler
...
and remove dependencies to Apache mod_perl 2 (#630 )
2014-06-19 17:00:35 +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
7fbd4301ef
Modularization of server signature enrichment in LL::NG::Handler ( #630 )
2014-06-19 14:25:19 +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
David COUTADEUR
5b25f60809
- Fix r3348 and r3335: renaming SpecificHandler into Specific
...
(references #630 #LEMONLDAP-583)
2014-06-11 14:43:57 +00:00
François-Xavier Deltombe
af81a5e7d6
Simplify call to LL::NG::Handler::Main::updateStatus ( #630 )
2014-06-09 17:42:25 +00:00
François-Xavier Deltombe
d60d8ee9a2
Forgot to commit test files for previous revision ( #630 )
2014-06-09 17:42:02 +00:00
François-Xavier Deltombe
b1b7e1f1bf
Define functions in LL::NG::Handler::API::*.pm to manage requests
...
and call them instead of Apache mod_perl functions (#630 )
2014-06-09 17:09:48 +00:00
Clément Oudot
dbfbde2e9f
make tidy
2014-06-08 10:04:50 +00:00
François-Xavier Deltombe
2a447eeb47
Adapt Nginx vhost files because of the perl API inabilities ( #583 )
2014-05-30 17:11:00 +00:00
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