Xavier Guimard
08408218fa
Avoid launching 2 status ( closes : #934 )
2016-02-17 09:07:01 +00:00
Xavier Guimard
63337070ec
Avoid some little warnings
2016-02-17 09:06:54 +00:00
Xavier Guimard
9a828abfbb
Insert handler sub to activate menu even is run() is omitted ( #898 )
2016-02-17 06:18:23 +00:00
Xavier Guimard
deeead1a7e
Launch init() in tests
2016-02-16 16:01:45 +00:00
Xavier Guimard
3f1d4b69bc
Join variables
2016-02-15 21:12:56 +00:00
Xavier Guimard
174651d9ae
Buffer potential problem (may close #733 )
2016-02-15 17:31:26 +00:00
Xavier Guimard
2876a85288
Adapt handler menu to use $tsv ( Closes : #898 )
2016-02-14 08:13:56 +00:00
Xavier Guimard
f98a466ee9
Status for Nginx (#Closes: #934 )
2016-02-14 07:48:41 +00:00
Xavier Guimard
0035463294
Missing var substitution ( #733 )
2016-02-14 07:13:05 +00:00
Xavier Guimard
8d0f4caadf
Add missing
2016-02-13 18:21:09 +00:00
Xavier Guimard
225521a416
New post management in handler ( #733 )
2016-02-13 18:21:03 +00:00
Xavier Guimard
8c1bd8efeb
Avoid using each(): it tries to delete key
2016-02-13 10:06:48 +00:00
Xavier Guimard
3b083ee9a1
Status for Nginx ( #934 )
2016-02-11 12:09:53 +00:00
Xavier Guimard
bb1f00cd77
Restore status ( closes : #897 )
2016-02-11 10:58:53 +00:00
Xavier Guimard
e0f6abd064
Bad API detection order ( #897 )
2016-02-11 10:58:49 +00:00
Xavier Guimard
0f8fe7894f
Rename router() to handler() in PSGI ( #820 )
2016-02-11 06:00:35 +00:00
Xavier Guimard
2e8123ab57
Restore status ( #897 ):
...
- Use PerlModule instead of PerlRequire (used after Apache fork)
- Initialize handler API for status
2016-02-10 21:45:07 +00:00
Xavier Guimard
2dc1750ce7
Access control has been broken in r4353
2016-02-09 22:17:39 +00:00
Xavier Guimard
9097135ecd
Spelling errors
2016-02-06 18:41:21 +00:00
Xavier Guimard
f35de3ffd2
Hide cookie for Nginx ( #583 )
2016-02-03 06:43:11 +00:00
Xavier Guimard
268bcb6a6c
Headers support for LUA or not ( #583 )
2016-02-02 22:19:32 +00:00
Xavier Guimard
0e11cf3ed3
Full tests for Nginx handler ( #583 )
2016-02-01 22:22:33 +00:00
Xavier Guimard
ff61b49fd9
Full PSGI test
2016-02-01 20:10:28 +00:00
Xavier Guimard
189e560900
Nginx in progress... ( #583 )
2016-02-01 19:05:14 +00:00
Xavier Guimard
56f9c128d3
Update manifest
2016-02-01 12:16:12 +00:00
Xavier Guimard
feee76e5bd
PSGI tests in progress... ( #583 )
2016-02-01 12:15:27 +00:00
Xavier Guimard
8aa41789a9
Skeleton for PSGI handler tests
2016-02-01 11:11:31 +00:00
Xavier Guimard
c01a84fadd
Move noAjaxHook in portal redirections
2016-02-01 10:18:37 +00:00
Xavier Guimard
4498c15008
Some bugs in previous commit
2016-02-01 09:59:07 +00:00
Xavier Guimard
346111f2e5
Nginx in progress: now handler provides uid in logs ( #583 )
2016-01-31 22:53:23 +00:00
Xavier Guimard
aa34a28bd3
Rearrange Nginx files
2016-01-30 12:26:14 +00:00
Xavier Guimard
4d53c03b42
Nginx...
2016-01-29 11:09:58 +00:00
Xavier Guimard
40366bfed2
Enhance PSGI detection
2016-01-29 11:09:55 +00:00
Xavier Guimard
a61ef89228
Avoid object conflict
2016-01-29 11:09:51 +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
0e51658c6f
Use WWW-Authenticate header in 401 responses
2016-01-28 06:43:43 +00:00
Xavier Guimard
154107fffa
Avoid requiring more than 1 time + object call
2016-01-27 21:33:03 +00:00
Xavier Guimard
450369d9de
Split PSGI app
2016-01-26 06:14:54 +00:00
Xavier Guimard
f2ca23f30c
Handler PSGI server skeleton (for nginx)
2016-01-25 18:03:48 +00:00
Xavier Guimard
2568201eca
Split Handler::PSGI in 2 : classic and router
2016-01-25 18:03:46 +00:00
Xavier Guimard
28d1450760
Chain init() instead of using 'around'
2016-01-25 05:54:55 +00:00
Xavier Guimard
0bcc83c2c2
More logs
2016-01-22 12:32:14 +00:00
Xavier Guimard
5bef7284b3
Update copyright years
2016-01-21 21:15:19 +00:00
Xavier Guimard
ee5b1351e1
Update lmConf (missing required attributes)
2016-01-12 22:04:08 +00:00
Xavier Guimard
773ccfe718
Avoid some warnings
2016-01-12 21:00:09 +00:00
Xavier Guimard
6399846bee
More readable error
2016-01-05 18:27:16 +00:00
Xavier Guimard
f21ab98e8e
Better error management (0 conf)
2016-01-05 12:33:27 +00:00
Xavier Guimard
3868343e12
Avoid die
when no conf is available
2016-01-05 11:06:13 +00:00
Clément Oudot
961e273d43
Fix 'Use of uninitialized value :: in concatenation (.) or string at /root/lemonldap-trunk/lemonldap-ng-handler/blib/lib/Lemonldap/NG/Handler/API.pm line 58' error on Debian Wheezy
2016-01-05 11:04:18 +00:00
Xavier Guimard
e8dac0fe6b
Replace 'splice' by copy ( Closes : #534 )
2016-01-02 09:29:05 +00:00
Xavier Guimard
1409fb8cfd
Update conf during startup
...
Closes : #395
2015-12-27 12:51:49 +00:00
Xavier Guimard
e252b719c2
Typo
2015-12-27 09:16:04 +00:00
Xavier Guimard
0036ad31cb
Manage HTTP errors in FCGI (redirections)
2015-12-27 08:31:41 +00:00
Xavier Guimard
0d42b85e7d
Avoid 'Unescaped left brace in regex is deprecated' warning
2015-12-26 10:49:15 +00:00
Xavier Guimard
b606628e5e
Add coudot in copyrights
2015-12-25 10:46:22 +00:00
Xavier Guimard
920fbebb20
Update POD
2015-12-25 10:46:11 +00:00
Xavier Guimard
f2d55e8e1d
Spelling error
2015-12-22 13:17:46 +00:00
Xavier Guimard
e933d3badb
Preload configuration
2015-12-21 11:16:10 +00:00
Clément Oudot
4a1f957fdd
Set trunk version to 1.9.0
2015-12-18 09:31:36 +00:00
Xavier Guimard
cc38a382e2
Convert to utf8
2015-12-17 22:24:59 +00:00
Xavier Guimard
bfe9869cc1
Overload sendError to add user id
2015-12-10 12:28:07 +00:00
Xavier Guimard
71c26b0d83
Parse user datas only if set
2015-12-02 20:25:02 +00:00
Clément Oudot
df59540d22
make tidy
2015-10-22 08:40:12 +00:00
Clément Oudot
7dd6f9dab4
Apply r3909 to trunk ( #848 )
2015-09-23 07:40:41 +00:00
Clément Oudot
c0e4872250
Fix purgeLocalCache script ( #846 )
2015-09-21 14:02:48 +00:00
Clément Oudot
9f689ed222
Apply session activity patch to trunk ( #845 )
2015-09-21 08:18:46 +00:00
Xavier Guimard
7b830114e4
Add user datas access
2015-07-27 21:15:14 +00:00
Xavier Guimard
9261cf2836
Manager logging in progress
...
Logging works now for protection => 'manager||authenticate'
2015-07-27 19:30:22 +00:00
Xavier Guimard
4645600eda
Trace in progress (cfgAuthor)
2015-07-26 12:18:16 +00:00
Xavier Guimard
aae896a839
Starting cfgAuthor job
2015-07-24 07:23:57 +00:00
François-Xavier Deltombe
9cfb59ad81
Nginx handler: API completed and config files examples added
2015-06-20 22:31:47 +00:00
Xavier Guimard
87fd52a0ab
Update copyrights
2015-06-18 11:00:24 +00:00
Xavier Guimard
63c3aaa9b6
Patch to manage multiple handler types in the same server
2015-06-16 11:08:42 +00:00
Xavier Guimard
562348d4bf
Re-order choice
2015-06-15 17:39:56 +00:00
Xavier Guimard
b8dc61d1f6
Export makes no sense here
2015-06-15 14:19:30 +00:00
Xavier Guimard
b5db36d8e1
Bad usage of $AUTOLOAD
2015-06-15 11:41:44 +00:00
Xavier Guimard
1a7a7b1899
Ability to use more than 1 Handler::API::* module
2015-06-15 11:13:56 +00:00
Xavier Guimard
ecea942f11
Avoid little warning
2015-06-10 20:40:26 +00:00
Xavier Guimard
564ecac9e2
Very strange ModPerl bug
2015-06-10 20:40:18 +00:00
Xavier Guimard
d694323b11
Set version to 2.0.0
2015-05-14 06:45:13 +00:00
Xavier Guimard
2186b2295b
Update MANIFESTs
2015-05-14 06:44:46 +00:00
Xavier Guimard
3e2322fe3a
Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git
2015-05-14 06:44:38 +00:00
Clément Oudot
1c0df34268
Replace version 2.00 by 2.0.0
2015-04-15 14:18:38 +00:00
Xavier Guimard
e84963ac32
Bad $_ use
2015-04-13 20:32:12 +00:00
Xavier Guimard
705c48b6fc
Die on load error
2015-04-13 20:12:13 +00:00
Clément Oudot
3ee120fe2b
Do not update session _lastSeen at each request ( #805 )
2015-04-11 11:27:33 +00:00
Xavier Guimard
375feb9329
Remove port number in hostname
2015-04-07 19:24:17 +00:00
Xavier Guimard
d1136112f1
Authorize access when rule is set to none even if conf is bad
2015-04-05 18:07:49 +00:00
Xavier Guimard
63429e9dff
Use $self->{protection} if defined
...
Else, manager protection is not used: section is set to [handler]
2015-04-05 18:07:47 +00:00
Clément Oudot
798ade94a8
Use remote_ip/client_ip depending on Apache 2 version ( #802 )
2015-03-28 13:40:35 +00:00
Clément Oudot
6f128235af
Set version 2.00 in the trunk
2015-03-11 09:05:04 +00:00
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
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
Xavier Guimard
b239dc286f
Replace Apache2::Connection::remote_ip()
...
Closes : #625
2013-10-15 12:42:09 +00:00
Xavier Guimard
6423852f90
Add Web::ID in dependencies
2013-10-13 13:54:48 +00:00
Xavier Guimard
34966cdc76
Update META.yml
2013-10-05 16:11:40 +00:00
Clément Oudot
8ae9672cf3
Test defaultValuesInit ( #558 )
2013-10-03 10:48:52 +00:00
Clément Oudot
b5c1761bf4
Fix little mistake in vhost alias ( #558 )
2013-10-03 10:48:32 +00:00
Clément Oudot
1935000579
Manage vhost aliases ( #558 )
2013-10-03 09:09:47 +00:00
Clément Oudot
a81fecb46f
Catch STDERR in test file to prevent rule output ( #613 )
2013-09-27 15:09:04 +00:00
Xavier Guimard
eed6318879
Correct bad args order for lmLog
2013-09-12 04:31:14 +00:00
Xavier Guimard
48b1c6af80
Bug LEMONLDAP-613: add regexp name for best debugging
2013-09-12 04:25:36 +00:00
Xavier Guimard
d20489ba9a
Insert applied rule number in logs (debug mode)
2013-09-10 19:44:29 +00:00
Xavier Guimard
53e8d74758
make tidy
2013-07-17 06:32:29 +00:00
Xavier Guimard
30a7d00641
Use unparsed_uri() instead of concatenating uri and args
...
Use unescaped uri in goToPortal to avoid encoding problems
2013-07-17 06:21:01 +00:00
Xavier Guimard
67720c4aa2
Add LWP::Protocol::https in recommended dependencies
...
Closes : #532
2013-07-07 12:03:21 +00:00
Clément Oudot
35530d93f8
Add Unicode::String dependency ( #513 )
2013-06-01 13:48:43 +00:00
Xavier Guimard
abf5cf8ff7
Remove Cache::Memcached from build dependencies
2013-04-24 04:34:24 +00:00
Sandro Cazzaniga
ab662554b7
make tidy
2013-02-17 22:25:26 +00:00
Xavier Guimard
9d834f5d34
Add Sandro Cazzaniga in copyrights
2013-02-07 12:46:54 +00:00
Xavier Guimard
f0edd1a339
Add copyright in README
2013-02-07 06:27:34 +00:00
Xavier Guimard
28762a1b8a
Update and simplify CPAN README
2013-02-07 05:45:53 +00:00
Clément Oudot
6bc1661686
Fix corrupted file from revision 2771 ( #582 )
2013-02-05 12:26:04 +00:00
François-Xavier Deltombe
9243251183
Fix security issue with cookies and CDA ( #556 )
2013-02-04 19:30:26 +00:00
Xavier Guimard
69ca1a1a38
Email change: Thomas Chemineau -> thomas.chemineau@gmail.com
2013-02-01 05:37:38 +00:00
Xavier Guimard
6f68349fce
Update Changes and report trunk copyright changes into 1.2
2013-01-31 06:23:14 +00:00
Xavier Guimard
c132bc3e1d
Update authors, bug-report, copyright and license
2013-01-31 05:33:10 +00:00
François-Xavier Deltombe
8b96f295de
Load HTTP::Headers in LL::NG::Handler::AuthBasic ( #559 )
2013-01-29 19:14:51 +00:00
Xavier Guimard
7782f1c1f2
Update handler dependencies:
...
* Move Cache::Memcached, Digest::HMAC_SHA1, HTTP::Message to recommends (and in BUILD_REQUIRES)
* Move Test::Pod to BUILD_REQUIRES
2013-01-25 20:47:01 +00:00
Clément Oudot
54ca4290bd
Clean LWP dependency ( #581 )
2013-01-25 16:00:11 +00:00
Clément Oudot
ff3d4c5c6c
Clean URI dependency ( #581 )
2013-01-25 15:54:41 +00:00
Clément Oudot
3d8841bb7f
Clean HTTP::Headers, HTTP::Request and HTTP::Message dependency ( #581 )
2013-01-25 15:42:02 +00:00
Clément Oudot
d882e0cf2f
Restore Apache::Session::Generate::MD5 as this is a bugfix of #357 (#LEMONLDAP-581)
2013-01-25 13:56:58 +00:00
Clément Oudot
d516cba682
Clean Apache::Session dependency ( #581 )
2013-01-25 13:48:48 +00:00
Xavier Guimard
465fc207b0
Fix old rename (Conf -> Common)
2013-01-20 16:23:55 +00:00
Xavier Guimard
648e0b6ef1
Remove Apache::Session::Generate::MD5 dependency (provided by Apache::Session)
2013-01-20 16:23:18 +00:00
Clément Oudot
33a2f08a0a
Update Makefile.PL modules to launch all tests on CPAN tester platform ( #565 )
2013-01-11 14:46:05 +00:00
Clément Oudot
6989c75c1e
Force Session ID field before calling DESTROY in SOAP session backend ( #553 )
2013-01-10 14:49:05 +00:00
Clément Oudot
72c2b18f0d
Hide form replay page ( #576 )
2013-01-10 13:02:30 +00:00
Clément Oudot
60774cd9ca
Fix Apache Filter for POST data ( #551 )
2013-01-10 12:32:56 +00:00
Clément Oudot
081adce03b
Fix POST replay with different target URL ( #550 )
2013-01-08 14:42:48 +00:00
François-Xavier Deltombe
ed08dc0cb0
Do not send void HTTP headers to apps ( #573 )
2013-01-04 17:54:32 +00:00
François-Xavier Deltombe
a8382125c7
X-Forwarded-For Header in SOAP request sent by LL::NG::Handler::AuthBasic ( #572 )
2013-01-03 19:56:44 +00:00
Xavier Guimard
e1d67778d4
Change licenCe by licenSe
2012-11-30 12:15:05 +00:00
Clément Oudot
6428424930
Update Handler AuthBasic in 1.2 branch ( #543 )
2012-10-16 14:11:52 +00:00
Clément Oudot
853f61f752
Restore trunk versions of main modules
2012-10-16 12:00:38 +00:00
Xavier Guimard
b8bd611ccb
Same files must not have different version number
2012-10-15 04:12:21 +00:00
Xavier Guimard
dc7b0b8a16
I think that we have to use 1.2.3 as version number since 1.2.2 is already published
2012-10-15 03:58:22 +00:00
Sandro Cazzaniga
fbe10d994d
Fix version as there was a modification
2012-10-14 08:05:31 +00:00
Xavier Guimard
f058fcf0ba
Restore "none" target ( Closes : #545 )
2012-10-13 16:21:47 +00:00
François-Xavier Deltombe
d7054a095b
Manage persistent sessions in LL::NG::Handler::AuthBasic (Lemonldap-543)
2012-10-12 18:35:25 +00:00
Clément Oudot
9ed795fe17
Update Makefile.PL with correct versions, add dependency on SOAP::Lite for Handler ( #539 )
2012-10-01 07:58:53 +00:00
Clément Oudot
b12d691fbc
Add AuthBasic Handler in default installation ( #519 )
2012-09-10 10:34:28 +00:00
Clément Oudot
a99dfd43e8
Fix AuthBasic Handler logging ( #519 )
2012-09-10 09:23:46 +00:00
Clément Oudot
52814914de
Fix typo for secure flag in CDA ( #528 )
2012-09-08 12:30:05 +00:00
Clément Oudot
aad5d0dc42
LEMONLDAP-519:
...
* Change Basic realm name to LemonLDAP::NG
* Use errorCode field of SOAP response
* Correct order of parameters in SOAP call error
* Ask again authentication if it was rejected by SOAP service
2012-09-05 14:00:53 +00:00
François-Xavier Deltombe
c49234885b
Make CDA working with http cookie (Lemonldap-522)
2012-09-05 08:20:11 +00:00
Sandro Cazzaniga
1f983ae96b
Test::Pod is required to make tests on POD files
2012-08-13 13:07:47 +00:00
François-Xavier Deltombe
203b4f5d9c
Remove session cache default namespace from code also in purgeLocalCache
...
+ udpate comments (Lemonldap-499)
2012-08-13 10:53:29 +00:00
François-Xavier Deltombe
165d287862
Update LL::Handler::Simple version + remove default cache namespace (Lemonldap-499)
2012-08-13 10:19:32 +00:00
François-Xavier Deltombe
d455e5fd6b
Repair purgeLocalCache + improve default cache conf (Lemonldap-499)
2012-08-13 10:01:59 +00:00
Xavier Guimard
0d54c80fcc
Make tidy
2012-07-26 02:47:27 +00:00
Sandro Cazzaniga
b9a20c3995
* [LEMONLDAP-491] Don't import all POSIX functions
2012-07-10 13:36:10 +00:00
Sandro Cazzaniga
5264202231
[LEMONLDAP-217] add a captcha feature to the portal
2012-07-04 12:33:03 +00:00
Clément Oudot
96a605b286
Set version 1.3.0 in trunk
2012-06-20 07:54:00 +00:00
Clément Oudot
2ef80774db
Digest::SHA1 is not required to build LemonLDAP::NG Handler
2012-06-18 09:30:50 +00:00
Clément Oudot
17730308ba
Update META.yml after make cpan
2012-06-17 18:27:49 +00:00
Clément Oudot
7242777ec6
Test Digest::HMAC_SHA1 in Zimbra test ( #470 )
2012-06-07 08:58:28 +00:00
Clément Oudot
abbed8d8bf
Fix Zimbra Handler syntax ( #470 )
2012-05-31 20:20:00 +00:00
François-Xavier Deltombe
fa2bf9e125
Change notice log into debug log in LL::NG::Handler::AuthBasic
2012-05-22 08:21:39 +00:00
Clément Oudot
d6bbf7fdca
Translate cookie domain in internal proxy ( #459 )
2012-04-03 13:35:57 +00:00
Clément Oudot
9666a31ad9
First code for a floating menu for a protected application ( #417 )
2012-03-03 22:49:10 +00:00
Clément Oudot
3552b4d70c
Manage maintenance mode in Handler ( #342 )
2012-03-01 11:04:49 +00:00
Clément Oudot
dee414b43f
Create maintenance option ( #342 )
2012-02-29 17:19:11 +00:00
Clément Oudot
979d1abe62
Tidy all the code (make tidy)
2012-02-29 13:19:57 +00:00
Clément Oudot
56581a13fc
Reorganize files - work in progress ( #444 )
2012-02-28 22:52:36 +00:00
Clément Oudot
2e15849978
Reorganize files - work in progress ( #444 )
2012-02-28 22:48:43 +00:00
Clément Oudot
db1b53b05b
Reorganize files - work in progress ( #444 )
2012-02-28 22:48:20 +00:00