You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(50) |
Jun
(69) |
Jul
(25) |
Aug
(27) |
Sep
(28) |
Oct
(52) |
Nov
(18) |
Dec
(18) |
2002 |
Jan
(18) |
Feb
(34) |
Mar
(21) |
Apr
(44) |
May
(8) |
Jun
(4) |
Jul
(19) |
Aug
(13) |
Sep
(11) |
Oct
(9) |
Nov
(5) |
Dec
(7) |
2003 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(2) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(8) |
Nov
(2) |
Dec
(9) |
2004 |
Jan
(1) |
Feb
(2) |
Mar
(8) |
Apr
(13) |
May
(16) |
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
(6) |
Nov
(6) |
Dec
(1) |
2005 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Boris Z. <bz...@br...> - 2006-08-07 22:36:35
|
Hi, here is a new version of Apache2::Pagekit with only minor changes. http://eg.2bz.de/Apache2-PageKit-2.14_15.tar.gz 2.14_15 ! Adjust post_max limit to sync with yet another incompatble change in libapreq2. The new default limit is 64_000_000 instead of 100_000_000 the current limit in libapreq2 is 64 * 1024 * 1024 ( Boris Zentner ) - Fix: typo in Apache2::PageKit::View::get_static_gzip should improve speed of sending static gzipped files ( Shimon Rura ) -- Boris |
From: Boris Z. <bz...@2b...> - 2005-08-29 20:40:59
|
Hi, here is a first try to port Apache::PageKit to the new mod_perl2 API. Try it. http://eg.2bz.de/Apache2-PageKit-2.14_14.tar.gz You need perl 5.8, apache2, mod_perl2 and at least libapreq2.06-dev. Good luck. -- Boris |
From: Neateye <nit...@ao...> - 2005-05-08 23:05:21
|
Call out Gouranga be happy!!! Gouranga Gouranga Gouranga .... That which brings the highest happiness!! |
From: Boris Z. <bz...@2b...> - 2005-03-26 19:21:52
|
Hi, I upload Apache::PageKit 1.18 and Apache::PageKit 2.14_14. Both have only a very minor change in the testsuit. No need to update. I just want that new users survive the testsuit ;-) http://eg.2bz.de/Apache-PageKit-1.18.tar.gz http://eg.2bz.de/Apache-PageKit-2.14_14.tar.gz 1.18 - Allow testsuit to catch up with Changes in Apache::Test. POST's can be redirected on the fly. Otherwise the tests 05, 06 and 07 fail. ( Boris Zentner ) -- Boris |
From: Boris Z. <bz...@2b...> - 2005-01-04 02:34:06
|
Hi again, unfortunely I included a small, but important typo in the 1.16 release. So here is a new try. 1.17 - Fix: a new typo in Makefile.PL -+binmode $template_fh, ':encoding($default_input_charset)'; ++binmode $template_fh, ":encoding($default_input_charset)"; ( Boris Zentner ) Sorry -- Boris |
From: Boris Z. <bz...@2b...> - 2005-01-01 22:18:39
|
Hi, No Big deal, just fix some typos. 1.16 ! The param method returns a empty list in list context if the param was not defined. Older PageKits returned undef ( Boris Zentner ) - Fix: add missing : in binmode $fh, ":encoding(...)"; ( Boris Zentner ) - Fix: typo in scripts/pkit_rename_app.pl ( Boris Zentner ) -- Boris |
From: Boris Z. <bz...@2b...> - 2004-12-09 19:34:23
|
Hi, now on http://eg.2bz.de/Apache-PageKit-2.14_11.tar.gz Only minor changes 2.14_11 ! The param method returns a empty list in list context if the param was not defined. Older PageKits returned undef ( Boris Zentner ) - Fix: add missing : in binmode $fh, ":encoding(...)"; ( Boris Zentner ) - Fix: typo in scripts/pkit_rename_app.pl ( Boris Zentner ) -- Boris |
From: R K <lin...@ho...> - 2004-11-03 14:16:11
|
I tried this out in View.pm on line number 782: if ( $record->{has_form} && $view->{disable_fillinform} eq 'no' ) { This seems to disable FillInForm globally by adding disable_fillinform="yes" in global configuration section. Please comment. -RK R K wrote: > Hi Boris, > > Is there a way to disable FillInForm globally?. I am having tough time > taking care of Config.xml and the model code. > > Thanks > -RK > Boris Zentner wrote: > >> |
From: Boris Z. <bz...@2b...> - 2004-11-02 17:47:35
|
Hi Veeresh, it's not a bug, it is a future. I add this sub to the modelcode: sub tst { shift->output( seekrecord => 200 ); } and add a View Default/View/tst.tmpl <html> <body> <form > [% seekrecord %] <input value=[% seekrecord %] name="seekrecord" type="hidden" /> </form> </body> </html> I reordered it a bit, but without changing the effect ( wo testing ). What happened is that: the model data is filled ( you could also write <modelvar seekrecord> instead of [% seekrecord %] this gives you the advantage to switch between TT and H:T on the fly ). Then the fillinform action takes place and overwrite the value=200 part with whatever value you or the form supply. This may happened implicit. For example with http://whatever/tst?seekrecord=abc for example. You can overcome the effect by 1. using $model->fillinform( seekrecord => 'something' ); in addition or as a replacement for $model->output. 2. disable the autofillin action for the page: ie fill_in_form="off" for the page ( Config.xml page section ). 3. let you source as it is, just tell fillin to ignore this field with $model->ignore_fillinform_fields( qw/seekrecord/ ); just choice one of the options that you like most ;-) I have not tested the above, but it should work this way or very close to that. > Am Dienstag, 2. November 2004 14:56 schrieb R K: >> Umm I was wondering, does not Template Toolkit treat templates as >> binary? There is a binmode option as far as I know. >> >> Thanks >> -RK >> >> R K wrote: >>> Hi Boris, >>> I am using the latest PageKit 1.15 with Template Toolkit. I am facing >>> a kind of unique problem here. Consider following (Code: Model) : >>> >>> $model->output(seekrecord => $UserData->{seekrecord}); >>> where $UserData->{seekrecord} = 200; >>> >>> Now consider following: (Template) >>> <input value=[% seekrecord %] [% seekrecord %] >>> name="seekrecord" type="hidden" /> >>> >>> In output I get: (Final Web Page) >>> <input 200 value="100" name="seekrecord" type="hidden" /> >>> >>> Any ideas???? No matter whatever is the value, I always get >>> vale="100" >>> and please check I didnt mention any quotes after value, but they >>> appear in the final output. Any guesses? >>> > [...] > -- > Boris > > -- Boris |
From: Boris Z. <bo...@2b...> - 2004-11-02 16:38:27
|
Thanks! I try to trigger the problem later. Am Dienstag, 2. November 2004 14:56 schrieb R K: > Umm I was wondering, does not Template Toolkit treat templates as > binary? There is a binmode option as far as I know. > > Thanks > -RK > > R K wrote: > > Hi Boris, > > I am using the latest PageKit 1.15 with Template Toolkit. I am facing > > a kind of unique problem here. Consider following (Code: Model) : > > > > $model->output(seekrecord => $UserData->{seekrecord}); > > where $UserData->{seekrecord} = 200; > > > > Now consider following: (Template) > > <input value=[% seekrecord %] [% seekrecord %] > > name="seekrecord" type="hidden" /> > > > > In output I get: (Final Web Page) > > <input 200 value="100" name="seekrecord" type="hidden" /> > > > > Any ideas???? No matter whatever is the value, I always get vale="100" > > and please check I didnt mention any quotes after value, but they > > appear in the final output. Any guesses? > > [...] -- Boris |
From: R K <lin...@ho...> - 2004-11-02 14:07:12
|
Umm I was wondering, does not Template Toolkit treat templates as binary? There is a binmode option as far as I know. Thanks -RK R K wrote: > Hi Boris, > I am using the latest PageKit 1.15 with Template Toolkit. I am facing > a kind of unique problem here. Consider following (Code: Model) : > > $model->output(seekrecord => $UserData->{seekrecord}); > where $UserData->{seekrecord} = 200; > > Now consider following: (Template) > <input value=[% seekrecord %] [% seekrecord %] > name="seekrecord" type="hidden" /> > > In output I get: (Final Web Page) > <input 200 value="100" name="seekrecord" type="hidden" /> > > Any ideas???? No matter whatever is the value, I always get vale="100" > and please check I didnt mention any quotes after value, but they > appear in the final output. Any guesses? > > -RK > Boris Zentner wrote: > >> Hi, >> >> Am Mittwoch, 27. Oktober 2004 08:29 schrieb R K: >> >> >>> Hi Boris, >>> >>> I have tried using A::P 1.15. The installation went smooth. >>> Now while accessing some links I faced following: >>> >>> I kept on getting following errors: >>> Cannot find encoding "$default_input_charset" at >>> /tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm >>> >>> line 464 >>> >>> >> >> >> fixed. Thank you. It is already avail on >> http://eg.2bz.de/Apache-PageKit-1.15.tar.gz >> >> >> >>> and then they disappeared after some time I have no idea how. I tried >>> getting the errors back, but did not succeed. >>> >>> I was wondering if this has already been implemented. >>> >>> Suppose I wish to have pkit pages server from /pagekit. Now in the >>> index.tmpl the links are as href="login1?...". Is it configurable to >>> have href="/pagekit/login1?..." ? >>> >>> I would like to use it as following in httpd.conf : >>> >>> <Location /pagekit> >>> .. >>> .. >>> </Location> >>> >> >> >> thi s is already possible, with the global config option >> >> uri_prefix="pagekit/" >> >> -- >> boris >> >> >> >> > > |
From: R K <lin...@ho...> - 2004-11-02 13:57:13
|
Umm I was wondering, does not Template Toolkit treat templates as binary? There is a binmode option as far as I know. Thanks -RK R K wrote: > Hi Boris, > I am using the latest PageKit 1.15 with Template Toolkit. I am facing > a kind of unique problem here. Consider following (Code: Model) : > > $model->output(seekrecord => $UserData->{seekrecord}); > where $UserData->{seekrecord} = 200; > > Now consider following: (Template) > <input value=[% seekrecord %] [% seekrecord %] > name="seekrecord" type="hidden" /> > > In output I get: (Final Web Page) > <input 200 value="100" name="seekrecord" type="hidden" /> > > Any ideas???? No matter whatever is the value, I always get vale="100" > and please check I didnt mention any quotes after value, but they > appear in the final output. Any guesses? > > -RK > Boris Zentner wrote: > >> Hi, >> >> Am Mittwoch, 27. Oktober 2004 08:29 schrieb R K: >> >> >>> Hi Boris, >>> >>> I have tried using A::P 1.15. The installation went smooth. >>> Now while accessing some links I faced following: >>> >>> I kept on getting following errors: >>> Cannot find encoding "$default_input_charset" at >>> /tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm >>> >>> line 464 >>> >>> >> >> >> fixed. Thank you. It is already avail on >> http://eg.2bz.de/Apache-PageKit-1.15.tar.gz >> >> >> >>> and then they disappeared after some time I have no idea how. I tried >>> getting the errors back, but did not succeed. >>> >>> I was wondering if this has already been implemented. >>> >>> Suppose I wish to have pkit pages server from /pagekit. Now in the >>> index.tmpl the links are as href="login1?...". Is it configurable to >>> have href="/pagekit/login1?..." ? >>> >>> I would like to use it as following in httpd.conf : >>> >>> <Location /pagekit> >>> .. >>> .. >>> </Location> >>> >> >> >> thi s is already possible, with the global config option >> >> uri_prefix="pagekit/" >> >> -- >> boris >> >> >> >> > > |
From: R K <lin...@ho...> - 2004-11-02 13:03:10
|
Hi Boris, I am using the latest PageKit 1.15 with Template Toolkit. I am facing a kind of unique problem here. Consider following (Code: Model) : $model->output(seekrecord => $UserData->{seekrecord}); where $UserData->{seekrecord} = 200; Now consider following: (Template) <input value=[% seekrecord %] [% seekrecord %] name="seekrecord" type="hidden" /> In output I get: (Final Web Page) <input 200 value="100" name="seekrecord" type="hidden" /> Any ideas???? No matter whatever is the value, I always get vale="100" and please check I didnt mention any quotes after value, but they appear in the final output. Any guesses? -RK Boris Zentner wrote: >Hi, > >Am Mittwoch, 27. Oktober 2004 08:29 schrieb R K: > > >>Hi Boris, >> >>I have tried using A::P 1.15. The installation went smooth. >>Now while accessing some links I faced following: >> >> I kept on getting following errors: >> Cannot find encoding "$default_input_charset" at >>/tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm >>line 464 >> >> >> > >fixed. Thank you. It is already avail on >http://eg.2bz.de/Apache-PageKit-1.15.tar.gz > > > >>and then they disappeared after some time I have no idea how. I tried >>getting the errors back, but did not succeed. >> >>I was wondering if this has already been implemented. >> >>Suppose I wish to have pkit pages server from /pagekit. Now in the >>index.tmpl the links are as href="login1?...". Is it configurable to >>have href="/pagekit/login1?..." ? >> >>I would like to use it as following in httpd.conf : >> >><Location /pagekit> >>.. >>.. >></Location> >> >> > >thi s is already possible, with the global config option > > uri_prefix="pagekit/" > >-- >boris > > > > |
From: Boris Z. <bo...@id...> - 2004-10-28 14:49:17
|
Hi, Am Mittwoch, 27. Oktober 2004 08:29 schrieb R K: > Hi Boris, > > I have tried using A::P 1.15. The installation went smooth. > Now while accessing some links I faced following: > > I kept on getting following errors: > Cannot find encoding "$default_input_charset" at > /tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm > line 464 > fixed. Thank you. It is already avail on http://eg.2bz.de/Apache-PageKit-1.15.tar.gz > and then they disappeared after some time I have no idea how. I tried > getting the errors back, but did not succeed. > > I was wondering if this has already been implemented. > > Suppose I wish to have pkit pages server from /pagekit. Now in the > index.tmpl the links are as href="login1?...". Is it configurable to > have href="/pagekit/login1?..." ? > > I would like to use it as following in httpd.conf : > > <Location /pagekit> > .. > .. > </Location> thi s is already possible, with the global config option uri_prefix="pagekit/" -- boris |
From: Boris Z. <bz...@2b...> - 2004-10-28 14:09:52
|
Hi, TT2 at your option also all fixes and changes from the 1.15 release. Currently avail on http://eg.2bz.de/Apache-PageKit-2.14_10.tar.gz 2.14_10 - Add: request_class parameter just for the case, that you like another class or subclass do what Apache::Request do for you. Defaults to Apache::Request::PageKit ( Boris Zentner ) - Fix: conversion error if the tmpl file's encoding is != utf8 and no content_var's are used. affects only perl < 5.8.0 ( Boris Zentner ) - Add: Basic testsuite ( Boris Zentner ) - Remove setup_eg.pl this file is obsolete ( Boris Zentner ) - Fix: Fresh created session cookie headers are wrongly not send for pkit_redirect pages this is fixed now. ( Boris Zentner ) - Add: Experimental support for Template Toolkit. Enabled with template_class = "Template" in your Config.xml ( Boris Zentner) - Fix: with pkit_admin=on and perl 5.8.x the input data is converted to your default_input_charset. ( Boris Zentner, Sean Lee ) - Send Content-Length header for static files. ( Boris Zentner ) - Fix: eg/dbfile needs rw permission even for nobody or nouser if apache is started as root. ( Boris Zentner, Shawn Poulson ) -- Boris |
From: Boris Z. <bz...@2b...> - 2004-10-27 11:26:59
|
Hi, I renewed the file. So everyone who use it already should upgrade to this version. It fixes one encoding error for perl 5.8.x found by Veeresh Khanorkar and some small caching errors in conjunction with tt2. Please test it and provide some feedback. Currently avail on http://eg.2bz.de/Apache-PageKit-1.15.tar.gz Next monday on CPAN. Im very sorry. Please retry. -- Boris |
From: R K <lin...@ho...> - 2004-10-27 06:30:07
|
Hi Boris, I have tried using A::P 1.15. The installation went smooth. Now while accessing some links I faced following: I kept on getting following errors: Cannot find encoding "$default_input_charset" at /tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm line 464 and then they disappeared after some time I have no idea how. I tried getting the errors back, but did not succeed. I was wondering if this has already been implemented. Suppose I wish to have pkit pages server from /pagekit. Now in the index.tmpl the links are as href="login1?...". Is it configurable to have href="/pagekit/login1?..." ? I would like to use it as following in httpd.conf : <Location /pagekit> .. .. </Location> Thanks -RK Boris Zentner wrote: > Hi, > > it has changes a lot, the patch is ~80k so I do not post it to A::P dev. > Please test it and provide some feedback. > > Currently avail on > http://eg.2bz.de/Apache-PageKit-1.15.tar.gz > > Next monday on CPAN. > > 1.15 > - Add: request_class parameter just for the case, that you like > another class or subclass do what Apache::Request do > for you. > Defaults to Apache::Request::PageKit ( Boris Zentner ) > - Fix: conversion error if the tmpl file's encoding is != utf8 > and no > content_var's are used. affects only perl < 5.8.0 > ( Boris Zentner ) > - Add: Basic testsuite ( Boris Zentner ) > - Remove setup_eg.pl this file is obsolete ( Boris Zentner ) > - Fix: Fresh created session cookie headers are wrongly not send > for pkit_redirect pages this is fixed now. ( Boris Zentner ) > - Add: Experimental support for Template Toolkit. Enabled with > template_class = "Template" in your Config.xml > ( Boris Zentner) > - Fix: with pkit_admin=on and perl 5.8.x the input data is > converted to your default_input_charset. > ( Boris Zentner, Sean Lee ) > - Send Content-Length header for static files. ( Boris Zentner ) > - Fix: eg/dbfile needs rw permission even for nobody or nouser > if apache is started as root. > ( Boris Zentner, Shawn Poulson ) > > > Changes | 21 + > MANIFEST | 40 ++- > META.yml | 4 > Makefile.PL | 327 ++++++++++++++++++++++---- > README | 29 +- > docsrc/manual.xml | 2 > docsrc/reference.xml | 14 + > eg/Model/MyPageKit/MyModel.pm | 9 > eg/View/Default/charset_tmpl.tmpl | 17 + > lib/Apache/PageKit.pm | 33 ++ > lib/Apache/PageKit/Content.pm | 5 > lib/Apache/PageKit/Model.pm | 12 > lib/Apache/PageKit/View.pm | 473 > ++++++++++++++++++++++++++++++++++---- > scripts/pkit_rename_app.pl | 69 +++++ > scripts/pkit_setup_db.pl | 153 ++++++++++++ > setup_eg.pl | 60 ---- > t/01_dummy.t | 5 > t/02_language.t | 61 ++++ > t/03_charset.t | 48 +++ > t/04_anon_cookies.t | 34 ++ > t/05_account.t | 65 +++++ > t/06_login.t | 60 ++++ > t/07_restricted.t | 32 ++ > t/08_fresh_cookie_redirect.t | 28 ++ > t/09_charset_tmpl.t | 45 +++ > t/10_pkit_comment.t | 19 + > t/1_dummy.t | 5 > t/TEST.PL | 44 ++- > 28 files changed, 1490 insertions(+), 224 deletions(-) > > -- > Boris > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users > > |
From: Veeresh K. <vee...@ho...> - 2004-10-25 12:45:07
|
Simply Amazing Boris! Cool ! You will have my feedback in couple of days. Thanks a lot again! -Veeresh Boris Zentner wrote: > Hi, > > it has changes a lot, the patch is ~80k so I do not post it to A::P dev. > Please test it and provide some feedback. > > Currently avail on > http://eg.2bz.de/Apache-PageKit-1.15.tar.gz > > Next monday on CPAN. > > 1.15 > - Add: request_class parameter just for the case, that you like > another class or subclass do what Apache::Request do > for you. > Defaults to Apache::Request::PageKit ( Boris Zentner ) > - Fix: conversion error if the tmpl file's encoding is != utf8 > and no > content_var's are used. affects only perl < 5.8.0 > ( Boris Zentner ) > - Add: Basic testsuite ( Boris Zentner ) > - Remove setup_eg.pl this file is obsolete ( Boris Zentner ) > - Fix: Fresh created session cookie headers are wrongly not send > for pkit_redirect pages this is fixed now. ( Boris Zentner ) > - Add: Experimental support for Template Toolkit. Enabled with > template_class = "Template" in your Config.xml > ( Boris Zentner) > - Fix: with pkit_admin=on and perl 5.8.x the input data is > converted to your default_input_charset. > ( Boris Zentner, Sean Lee ) > - Send Content-Length header for static files. ( Boris Zentner ) > - Fix: eg/dbfile needs rw permission even for nobody or nouser > if apache is started as root. > ( Boris Zentner, Shawn Poulson ) > > > Changes | 21 + > MANIFEST | 40 ++- > META.yml | 4 > Makefile.PL | 327 ++++++++++++++++++++++---- > README | 29 +- > docsrc/manual.xml | 2 > docsrc/reference.xml | 14 + > eg/Model/MyPageKit/MyModel.pm | 9 > eg/View/Default/charset_tmpl.tmpl | 17 + > lib/Apache/PageKit.pm | 33 ++ > lib/Apache/PageKit/Content.pm | 5 > lib/Apache/PageKit/Model.pm | 12 > lib/Apache/PageKit/View.pm | 473 > ++++++++++++++++++++++++++++++++++---- > scripts/pkit_rename_app.pl | 69 +++++ > scripts/pkit_setup_db.pl | 153 ++++++++++++ > setup_eg.pl | 60 ---- > t/01_dummy.t | 5 > t/02_language.t | 61 ++++ > t/03_charset.t | 48 +++ > t/04_anon_cookies.t | 34 ++ > t/05_account.t | 65 +++++ > t/06_login.t | 60 ++++ > t/07_restricted.t | 32 ++ > t/08_fresh_cookie_redirect.t | 28 ++ > t/09_charset_tmpl.t | 45 +++ > t/10_pkit_comment.t | 19 + > t/1_dummy.t | 5 > t/TEST.PL | 44 ++- > 28 files changed, 1490 insertions(+), 224 deletions(-) > > -- > Boris > > > |
From: Boris Z. <bz...@2b...> - 2004-10-25 12:19:23
|
Hi, it has changes a lot, the patch is ~80k so I do not post it to A::P dev. Please test it and provide some feedback. Currently avail on http://eg.2bz.de/Apache-PageKit-1.15.tar.gz Next monday on CPAN. 1.15 - Add: request_class parameter just for the case, that you like another class or subclass do what Apache::Request do for you. Defaults to Apache::Request::PageKit ( Boris Zentner ) - Fix: conversion error if the tmpl file's encoding is != utf8 and no content_var's are used. affects only perl < 5.8.0 ( Boris Zentner ) - Add: Basic testsuite ( Boris Zentner ) - Remove setup_eg.pl this file is obsolete ( Boris Zentner ) - Fix: Fresh created session cookie headers are wrongly not send for pkit_redirect pages this is fixed now. ( Boris Zentner ) - Add: Experimental support for Template Toolkit. Enabled with template_class = "Template" in your Config.xml ( Boris Zentner) - Fix: with pkit_admin=on and perl 5.8.x the input data is converted to your default_input_charset. ( Boris Zentner, Sean Lee ) - Send Content-Length header for static files. ( Boris Zentner ) - Fix: eg/dbfile needs rw permission even for nobody or nouser if apache is started as root. ( Boris Zentner, Shawn Poulson ) Changes | 21 + MANIFEST | 40 ++- META.yml | 4 Makefile.PL | 327 ++++++++++++++++++++++---- README | 29 +- docsrc/manual.xml | 2 docsrc/reference.xml | 14 + eg/Model/MyPageKit/MyModel.pm | 9 eg/View/Default/charset_tmpl.tmpl | 17 + lib/Apache/PageKit.pm | 33 ++ lib/Apache/PageKit/Content.pm | 5 lib/Apache/PageKit/Model.pm | 12 lib/Apache/PageKit/View.pm | 473 ++++++++++++++++++++++++++++++++++---- scripts/pkit_rename_app.pl | 69 +++++ scripts/pkit_setup_db.pl | 153 ++++++++++++ setup_eg.pl | 60 ---- t/01_dummy.t | 5 t/02_language.t | 61 ++++ t/03_charset.t | 48 +++ t/04_anon_cookies.t | 34 ++ t/05_account.t | 65 +++++ t/06_login.t | 60 ++++ t/07_restricted.t | 32 ++ t/08_fresh_cookie_redirect.t | 28 ++ t/09_charset_tmpl.t | 45 +++ t/10_pkit_comment.t | 19 + t/1_dummy.t | 5 t/TEST.PL | 44 ++- 28 files changed, 1490 insertions(+), 224 deletions(-) -- Boris |
From: Boris Z. <bz...@2b...> - 2004-09-12 11:40:42
|
Hi, I just upload Apache-PageKit-2.14_09-tt to http://eg.2bz.de/Apache-PageKit-2.14_09-tt.tar.gz. It works with the new mod_perl 1.9916 and libapreq2-2.04_03-dev. Also I add a downloadpage with very inclomplete discription of all recent versions at http://eg.2bz.de/download I wish a little more feedback on the Template-Toolkit extension - or does nobody use it currently? -- Boris |
From: Boris Z. <bo...@2b...> - 2004-08-08 22:39:23
|
Hi, here it is, A:P with Template support. To enable the Template engine, add only template_class = "Template" to the global part of your Config.xml. I tested only very lightly and there may some errors in. If you find some bugs, please share them. One difference with Template vs HTML::Template is that H:T is caseinsensitive, while Template is casesensitive. So $model->output( test => 'test' ); <model_var TEST> results as 'test' for H:T but is nothing for Template. On my first and only speed test Template was 30% faster for the short customize page, Im very interested what results you have. http://eg.2bz.de/Apache-PageKit-2.14_07-tt.tar.gz Currect changes: - Add support for Template Toolkit ( Boris Zentner ) - Fix: with pkit_admin=on and perl 5.8.x the input data is converted to your default_input_charset. ( Boris Zentner, Sean Lee ) - Fix: eg/dbfile needs rw permission even for nobody or nouser if apache is started as root. ( Boris Zentner, Shawn Poulson ) -- Boris |
From: Alex D. <al...@dr...> - 2004-08-08 08:01:01
|
Hey, I'm getting a weird problem. To reproduce it, I've set up a small = template: <PKIT_COMPONENT NAME=3D"/top"> <PKIT_MESSAGE> <p> <form method=3D"post" action=3D"upload_done" = enctype=3D"application/x-www-form-urlencoded">=20 <input type=3D"file" name=3D"photo">=20 <input type=3D"hidden" name=3D"pkit_done" = value=3D"http://<PKIT_HOSTNAME>"> <input type=3D"image" img src=3D"static/submit.png" = width=3D"67" height=3D"20" border=3D"0" name=3D"submit" = value=3D"Submit"> </form> =20 <PKIT_COMPONENT NAME=3D"/bottom"> In MyModel.pm, I have the following subroutine (just to check the number = of uploaded files): sub upload_done { my $model =3D shift; my @filenames; =20 foreach my $upload ( $model->apr->upload ) { my $fh =3D $upload->name; push @filenames, $fh; } =20 my $pkit_done =3D $model->input('pkit_done'); $model->pkit_gettext_message("file: ".$#filenames); $model->pkit_redirect("upload"); =20 } The problem is the result is always -1 (and if I try to access any = $upload object, it's undefined). Thank you for any help! |
From: Boris Z. <bz...@2b...> - 2004-07-28 21:13:50
|
Hi, I try to add some basic tests so that users may find errors more quick. The tests work clean for Apache-PageKit-2.14_06. If the tests are more wildly tested, I put them also on cvs and include them in A::P-1.15. If you miss a test, or a test fail for you, I'm more than happy to help. To test the creation of a new account, I add a new user charlie_???????? so if you are lazy ( like me too ) and copy the database do not forget to delete that user. The 00000000 part can change. I get a secure database back do delete FROM pkit_user WHERE email = 'charlie@brown.xy'; here is my output from make test /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/boris/w/A-P-tests/t/TEST -clean --documentroot '/home/boris/w/A-P-tests/eg' APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=12345 APACHE_TEST_USER= APACHE_TEST_APXS= \ /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/boris/w/A-P-tests/t/TEST -bugreport -verbose=0 --documentroot '/home/boris/w/A-P-tests/eg' /opt/apache2/bin/httpd -d /home/boris/w/A-P-tests/t -f /home/boris/w/A-P-tests/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.0.49 (prefork MPM) waiting 60 seconds for server to start: .... waiting 60 seconds for server to start: ok (waited 3 secs) server localhost:12345 started t/01_dummy...........ok t/02_language........ok t/03_charset.........ok t/04_anon_cookies....ok t/05_account.........ok t/06_login...........ok t/07_restricted......ok All tests successful. Files=7, Tests=55, 27 wallclock secs ( 7.77 cusr + 0.55 csys = 8.32 CPU) [warning] server localhost:12345 shutdown -- Boris |
From: Boris Z. <bz...@2b...> - 2004-07-23 11:56:36
|
Hi, the following patch converts the data that you like to edit to unicode before it shows up in the textarea requester. - Fix: with pkit_admin=on and perl 5.8.x the input data is converted to your default_input_charset. ( Boris Zentner, Sean Lee ) -- Boris |
From: Boris Z. <bz...@2b...> - 2004-07-15 10:21:20
|
Hi, I add svn support to the pkit_rename_app.pl script. I use svn partly and svn is angry if I relocate a directory without notice. If you use svn, add the --svn flag when you use the script. For other users nothing changed. svn co http://mysvn/repository/pagekit/trunk newapp cd newapp ./scripts/pkit_rename_app.pl --svn eg MyNewApp -- Boris |