ANNOUNCE: Krang v2.100

2007-02-19 Thread Sam Tregar
Krang v2.100 is now available (the source release is up now and binary builds should be up soon). Notable changes in this release: * Numerous bugs were fixed in Krang's most intensive QA cycle in years. * Krang now includes methods to integrate with dynamic front-end applica

ANNOUNCE: HTML::Template v2.9

2007-01-30 Thread Sam Tregar
CHANGES - New Feature: the force_untaint option makes sure you do not pass tainted values to param(). [Sven Neuhaus] - New Feature: Added ESCAPE="none" as a synonym for ESCAPE="0". Fixed both to work with default_escape. [EMAIL PROTECTED] - Bug Fix: DEFAULT didn't work with UR

[ANNOUNCE] Krang v2.008 Released

2006-12-20 Thread Sam Tregar
Krang v2.008 is now available (the source release is up now and binary builds should be up soon). Notable changes in this release: * Improved password security. Password policy is now configurable and extensible by addons. [Michael Peters] * Added several new configuration option

[ANNOUNCE] Krang v2.007

2006-09-14 Thread Sam Tregar
Krang v2.007 is now available (the source release is up now and binary builds should be up soon). Notable changes in this release and in v2.006, which never received a proper announcement: * Improvements to the list-data management system, command-line tools and associated element classes.

ANNOUNCE: Krang v2.005 Released

2006-06-02 Thread Sam Tregar
Krang v2.005 is now available. Notable changes in this release and in v2.004, which never received a proper announcement: * Added enforcement of permissions at the application and run-mode level rather than just at the UI level. [Michael Peters] * Fixed Xinha link-munging so that you ca

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
On Wed, 15 Feb 2006, Geoffrey Young wrote: in short, because anything other than 200 is considered an error. so REDIRECT (302) forces apache to use the err_headers_out table instead of the headers_out table. why does Location work in headers_out, then, you ask? well, it's an exception to the

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
On Wed, 15 Feb 2006, Michael Peters wrote: Now, we all know that second line has to be err_header_out not header_out, or Apache will silently ignore the Set-Cookie directive. I knew it as soon as I saw it, although I couldn't explain why and thus didn't trust my intuition. I looked through the

Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
Hello all. Check out this bug: my $r = Apache->request; $r->header_out(Set-Cookie => '...cookie here...' ); $r->header_out(Location => '...url here...'); return REDIRECT; Now, we all know that second line has to be err_header_out not header_out, or Apache will silently ign

ANNOUNCE: HTML::Template::JIT v0.05

2005-12-22 Thread Sam Tregar
. NOTE This module is not feature-complete. Be sure to read the CAVEATS section in the documentation before using! AVAILABILITY The module is available on CPAN. You can get it using CPAN.pm or go to: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/ CONTACT INFO This module was written by Sam

ANNOUNCE: HTML::Template v2.8

2005-12-21 Thread Sam Tregar
http://html-template.sourceforge.net The module is also available on CPAN. You can get it using CPAN.pm or go to: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/ CONTACT INFO This module was written by Sam Tregar ([EMAIL PROTECTED]). You can join the HTML::Template maili

Re: HTML::Template::Compiled

2005-08-30 Thread Sam Tregar
On Tue, 30 Aug 2005, Jonathan Vanasco wrote: > are there any worries for security overflows / memory leaks, having compiled > that stuff into c or xs (its one of those, right?) under mod_perl Sure, it's worth worrying about. Anything written in C can potentially have a buffer-overflow bug or a m

Re: HTML::Template::Compiled

2005-08-30 Thread Sam Tregar
On Tue, 30 Aug 2005, jonathan vanasco wrote: > 2- even the slowest templating option - petal - was a fraction of > the speed of my business logic and db connectivity This is an important point, and it's the main reason I've never actually used HTML::Template::JIT. My ego demanded that I create t

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-21 Thread Sam Tregar
On Sun, 21 Aug 2005, Philip M. Gollucci wrote: > I wasn't doing it for speed, more of consitency's sake with > perl.apache.org docs and other modules like Apache::DBI, Apache::DB > (+friends), and etc. I have however changed it to a user var ($MP2) > per you request. Cool, thanks. One question

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-21 Thread Sam Tregar
On Sun, 21 Aug 2005, Philip M. Gollucci wrote: > Hi all, > > Nuff said! Very cool! One comment: don't bother with 'use constant' here. The tiny amount of time saved by using a constant will be overwhelmed by the time used loading constant.pm and calling import(). > P.S. > I believe its a si

[JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-06 Thread Sam Tregar
NEW YORK CITY AREA ONLY Plus Three is looking for an experienced Perl programmer to join our team. You will join a large-scale, high-visibility project with the potential to positively affect the future of the Democratic party during the next election cycle. We're looking for someone who enjoys p

Re: Newline and tab escaping in Apache's error_log

2005-06-03 Thread Sam Tregar
On Fri, 3 Jun 2005, Michael Peters wrote: > It's a fairly recent change to apache since some characters could cause > problems for some text viewers thus creating a security hole (if your > text reader isnt smart enough). > > You can turn it off by building apache like so: > > CFLAGS="-DAP_UNSAF

Newline and tab escaping in Apache's error_log

2005-06-03 Thread Sam Tregar
Hello all. Does anyone know why Apache (v1.3.33) is escaping newlines and tabs in my error logs? I'm seeing stuff like: [Thu Jun 2 18:54:18 2005] [error] Error executing run mode 'process': Unable to find message named 'city_missing' in messages.conf. at /home/sam/projectx/lib/Projectx

Re: Debugging memory allocation

2005-05-09 Thread Sam Tregar
On Mon, 9 May 2005, Igor Chudov wrote: > I would like to at least have a log that lists pid, > page requested, parameters, starting memory and memory > after the request was processed. O rsome other ideas > like that. Any thoughts? Check out GTop.pm. You should be able to write a LogHandler whic

Re: Graphics / Pie Charts

2005-05-06 Thread Sam Tregar
On Fri, 6 May 2005, David Hofmann wrote: > Someone recommend that I use GDGraph-1.43. Looking at it there > hasn't been an update since 2003. So before I go play with it I > figure I ask here if anyone has done and graph stuff, and if there a > better module to use under mod perl. I asked a simil

Re: [Slightly OT] Standardizing image uploads/making thumbnails

2005-03-05 Thread Sam Tregar
On Sat, 5 Mar 2005, jonathan vanasco wrote: > What have people here found good to use (a2/mp2)? > As far as CPAN mods/interfaces go > GD seems to be faster , but it looks awful > ImageMagick looks better, more stress on the server > Imager looks simple, but even more stress Kr

Re: Has anyone successfully used Devel::Profiler::Apache under modperl?

2005-02-18 Thread Sam Tregar
On Fri, 18 Feb 2005, Geoffrey Young wrote: > sam is the real expert here, so I would follow his advice more than mine :) That said, most of the new code in CVS is Geoff's. So don't blame me if it roasts your cat. ;) -sam

Re: Has anyone successfully used Devel::Profiler::Apache under modperl?

2005-02-18 Thread Sam Tregar
On Fri, 18 Feb 2005, Richard Chen wrote: >Most importantly, after the server process is shutdown and dprofpp > is applied to the tmon.out file, it always complains about garbled profile. > The -F option for dprofpp does not help. So basically I cannot use any data > inside the tmon.ou

Re: Segfault with Apache::Request->param method

2004-12-03 Thread Sam Tregar
On Thu, 2 Dec 2004, Chris Brown wrote: > Right now I'm running Apache 1.3.31 with mod_perl 1.29. Perl is 5.8.3 on > Fedora FC1 Well, I don't know anything about your specific problem but judging by the lack of responses neither does anyone else. So here's what I'd do: - Download the latest Pe

Re: mod_perlservice? Heck Yeah!

2004-11-26 Thread Sam Tregar
On Fri, 26 Nov 2004 [EMAIL PROTECTED] wrote: > XML-RPC is a standalone system (except for the Java-Apache extension). If > you need to run your webservices system on port 80, for firewalling issues > for instance, you can't also run Apache. That's not ideal. With > mod_perlservice, you can host RP

Re: mod_perlservice? what the heck?

2004-11-24 Thread Sam Tregar
On Wed, 24 Nov 2004, Perrin Harkins wrote: > Did everyone see this on perl.com today? > > http://www.perl.com/pub/a/2004/11/18/mod_perlservice.html > > I just skimmed it quickly, but I can't understand why this is not just a > simple mod_perl module, or even what it solves that XML-RPC didn't.

Re: Protecting against Cookie copying

2004-11-08 Thread Sam Tregar
On Mon, 8 Nov 2004, Martin Moss wrote: > I'm looking into ways of uniquely identifying a > computer. Intel tried to implement this a while back with a unique ID in the CPU. The public was not ammused. If you do find a way, please tell us so we can find a workaround. > What I wish to do is prev

ANNOUNCE: Krang v1.021

2004-07-21 Thread Sam Tregar
Krang v1.021 is now available. Notable changes in this release: - Krang Data Set (KDS) files may now include any number of Media objects. The previous limit was 32,000. - The new DBHost option allows MySQL to run on a separate machine. - Category templates can be turned off per story

ANNOUNCE: Krang BricLoader v1.11 Released

2004-07-09 Thread Sam Tregar
The first Krang add-on, Krang-BricLoader v1.11, is now available. With this add-on Krang can load data from Bricolage. If you've been looking for a way to go from Bricolage to Krang without losing data then your search is over! Download this, and someday many more, add-ons from the Krang add-on r

ANNOUNCE: Krang v1.020 Released

2004-06-28 Thread Sam Tregar
Krang v1.020 is now available. Notable changes in this release: - Added support for Fedora Core 2. - Upgraded to HTML::Template v2.7, fixing a bug in the handling of cached templates. - More bugs are now fixed. Detailed change-log here: http://krang.sf.net/docs/changelog.html Krang

ANNOUNCE: HTML::Template 2.7

2004-06-24 Thread Sam Tregar
Download it at: http://html-template.sourceforge.net The module is also available on CPAN. You can get it using CPAN.pm or go to: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/ CONTACT INFO This module was written by Sam Tregar ([EMAIL PROTECTED]). You can join the

RE: newbie confused, documentation seems contradictory and/or inc omplete.

2004-06-24 Thread Sam Tregar
On Thu, 24 Jun 2004 [EMAIL PROTECTED] wrote: > I also get the feeling that module development seems to have more > activity around 2 in other areas. I'm sure you're right. There's a lot of work to be re-done! How much fun is it to work on Apache 1.3 where everything important already works? >

Re: newbie confused, documentation seems contradictory and/or incomplete.

2004-06-24 Thread Sam Tregar
On Wed, 23 Jun 2004, Steven Scotten wrote: > Am I clear here that you're suggesting that I scrap the idea of working > with Apache2 and just go back to 1.3? Yes. > I'm concerned that six (or eighteen) months down the line if I have > questions they'll be answered by "you should be running the mo

Re: newbie confused, documentation seems contradictory and/or incomplete.

2004-06-17 Thread Sam Tregar
On Wed, 16 Jun 2004, Steven Scotten wrote: > My problem is that I'm trying to pick up mod_perl2 without ever having > used mod_perl before. I agree. I think you should back up a step and get comfortable with mod_perl 1. Unless you're doing this just for the thrill of learning something new and

ANNOUNCE: Krang v1.019 Released

2004-06-07 Thread Sam Tregar
Krang v1.019 is now available. Notable changes in this release: - Upgrades can now be re-run even if they failed part-way through previously. Several bugs are now fixed which should make failure less likely than before. - Krang::DataSet, and as a result krang_import, is now much fas

ANNOUNCE: Krang v1.018 Released

2004-05-10 Thread Sam Tregar
Krang v1.018 is now available. Notable changes in this release: - Krang will keep working if you to delete the 'admin' user. A new hidden 'system' account is now used by automated tasks. - The permissions system is now applied throughout the UI. - The publish_check() method is workin

ANNOUNCE: Krang v1.017 Released

2004-04-30 Thread Sam Tregar
Krang v1.017 is now available. Notable changes in this release: - A major performance speedup for previewing and publishing is now in place. Links to stories and media which are unchanged since their last publish will no longer trigger publishing. - The category chooser now respects

ANN: Krang v1.016 Released

2004-04-20 Thread Sam Tregar
Krang v1.016 in now available. Changes in this release: - Added support for FreeBSD 4.9 and Debian Linux. - Fixed bugs. Detailed change-log here: http://krang.sf.net/docs/changelog.html Krang is an Open Source web-publisher / content-management system designed for large-scale magazine-styl

ANN: Krang v1.015 Released

2004-04-08 Thread Sam Tregar
Krang v1.015 in now available. Changes in this release: - Added support for Gentoo Linux, Fedora Core and FreeBSD. - Upgraded Apache and mod_perl to their latest releases. - Fixed numerous bugs and portability problems. - Improved documentation. Detailed change-log here: http://krang.

ANN: Krang v1.014 Released

2004-04-02 Thread Sam Tregar
Krang v1.014, the first public release, is now available. Krang is an Open Source web-publisher / content-management system designed for large-scale magazine-style websites. It is a 100% Perl application using Apache/mod_perl and MySQL, as well as numerous CPAN modules. Krang provides a powerful