Re: [Catalyst] Problems with Encoding support in Catalyst.

2017-01-10 Thread John Napiorkowski
Hi Bill, is_utf8 probably doesn't do what you think it does: http://stackoverflow.com/questions/14579560/am-i-using-utf8is-utf8-correctly If we are throwing errors here that we'd prefer handled differently, see if you can workup a test case and I will bounce it around. The Binmode problem is

Re: [Catalyst] Multipart/form-data file uploads missing

2016-11-16 Thread John Napiorkowski
Hi, We need more info to help understand this.  Like from what version of Catalyst did you upgrade from and what is the new version?  Also we'd need to see more details about the actual code that is working differently. In general AFAIK file uploads are supposed to be in $c->req->uploads

Re: [Catalyst] Custom Folder Names...?

2016-08-15 Thread John Napiorkowski
So sadly these I think (last I looked) is pretty firmly hardcoded.  You might with some code change that but I'd rather see a patch to make those directorys something loaded from configuration.  That way various helper modules could use that configuration to do the right thing. If interested

Re: [Catalyst] UTF8 and content length

2016-07-22 Thread John Napiorkowski
$c->forward('View::JSON'); Works like a charm Taking this opportunity, thank you for this lovely framework! I'll be happy to provide any additional information if you still consider there is something should be fixed 19.07.2016 19:10, John Napiorkowski пишет:

Re: [Catalyst] UTF8 and content length

2016-07-19 Thread John Napiorkowski
Looks like to a bug to me, although I'm not personally keen on the auto length setting in Catalyst it should be corrected.  I'm happy to get a patch, or at the very least give me a broken test case (checkout  https://github.com/perl-catalyst/catalyst-runtime/blob/master/t/utf_incoming.t  and see

Re: [Catalyst] KISS - Base Subroutines.

2016-07-14 Thread John Napiorkowski
I'd consider a Role or maybe a Util package with 'Exporter' depending on what the shared function is intended to do -jnap On Thursday, July 14, 2016 6:47 PM, "anthony.okusa...@usbank.com" wrote: Put a subroutine in a separate place, where it can beaccessed

Re: [Catalyst] what happened to mod_fastcgi?

2016-04-05 Thread John Napiorkowski
I can't say why this site disappeared, but this project is 'mature' at the least and the technology is probably not seeing updates much.  And a lot of people are doing deployments using the front server as a proxy rather than other a protocol (for example running the server application on a

Re: [Catalyst] New view: ICal?

2016-03-04 Thread John Napiorkowski
If you don't have a lot of view only logic (the view is just a dumb 'take this perl data structure, convert it to a display format using default serialization rules and send it to the response) then a thin view adaptor with Catalyst::Model::Adaptor might be the easiest thing.  If you are using

Re: [Catalyst] soliciting feedback for alternative method attributes syntax

2016-01-12 Thread John Napiorkowski
a ton of trouble for people and just want to experiment with ideas that might make it easier for that group.  Thanks!- Cheers, Alex On 2016-01-08 00:41, John Napiorkowski wrote: Lots of people tell me the hardest thing about catalyst is the method attributes used to describe routes, particularly c

[Catalyst] soliciting feedback for alternative method attributes syntax

2016-01-07 Thread John Napiorkowski
Lots of people tell me the hardest thing about catalyst is the method attributes used to describe routes, particularly chaining.  Here's a sketch for an alternative syntax that encompasses chaining along with more simple routes. jjn1056/Catalyst-ControllerRole-At |   | |   | |   |   |   |   |  

Re: [Catalyst] Plugin attributes and Moose

2015-11-23 Thread John Napiorkowski
To speak to the issue with MooseX::Emulate::Class::Accessor::Fast I don't think this is supposed to mix and match with Moose 'has' style attributes as in your example, see the docs: https://metacpan.org/pod/MooseX::Emulate::Class::Accessor::Fast Basically this is meant to be the fast easy way

Re: [Catalyst] Plugin attributes and Moose

2015-11-23 Thread John Napiorkowski
I'm not sure how to solve your problem, explanation wise, however I might wonder if we can find a way to use a role, either Moose or Moo, instead of a class for your plugin. I find its a more sane implementation. I know a lot of legacy stuff from pre Catamoose doesn't do that but I can't

Re: [Catalyst] ShinyCMS doesn't work with Catalyst 5.90102

2015-11-13 Thread John Napiorkowski
This is a regression caused by a change introduced in 5.90102, which clearly is a release that should have baked longer.  My apologies, I was trying to clean up existing pull requests on github before end of year since I thought people that put in the effort of donating code deserved some sort

Re: [Catalyst] Setting config after setup has been run is not allowed.

2015-09-28 Thread John Napiorkowski
You shouldn't try to change the configuration once setup if finished since at that point everything has been initialized.  if you change stuff there its not going to do anything.  Whats the actual use case you are trying to achieve here. FWIW Calling $c->config for application scoped stuff is ok

Re: [Catalyst] A Catalyst::Plugin::Session Alternative: Web::Starch

2015-07-09 Thread John Napiorkowski
/Install/Fetch.pm11 inc/Module/Install/Makefile.pm22 inc/Module/Install/Metadata.pm33 | | | | View on metacpan.org | Preview by Yahoo | | | |   | Might just need a simple change on the catalyst adaptor.   On Thursday, July 9, 2015 2:29 PM, John Napiorkowski jjn1...@yahoo.com wrote: I

Re: [Catalyst] A Catalyst::Plugin::Session Alternative: Web::Starch

2015-07-09 Thread John Napiorkowski
I would think that this could be used by Plack middleware and Catalyst as core session functionality.  So I don't think in the end its either or. Aran, the main thing I can't figure is how to have a cookie storage... since  that's gotta be aware of the request/response cycle.  I'd adopt this in a

Re: [Catalyst] Regex dispatch type is deprecated

2015-07-08 Thread John Napiorkowski
- From: John Napiorkowski [mailto:jjn1...@yahoo.com] Sent: 07 July 2015 19:51 To: The elegant MVC web framework Subject: Re: [Catalyst] Regex dispatch type is deprecated Dmitry, You can use the Regexp Dispatcher on CPAN, for legacy code. There is no plan to stop supporting it, unless we hit a point

Re: [Catalyst] Regex dispatch type is deprecated

2015-07-07 Thread John Napiorkowski
Dmitry, You can use the Regexp Dispatcher on CPAN, for legacy code. There is no plan to stop supporting it, unless we hit a point where we can't support it when making required fixes to Catalyst. I just wanted to remove it from Catalyst core such as to emphasis its no longer the approved

Re: [Catalyst] Error: You requested a stash, but one does not exist #2

2015-05-20 Thread John Napiorkowski
Hi so my $c = MyApp-new(); when you do that you don't have a context, its an instance of your application. Since Catalyst conflates the two this is a common thing to think :) But you only get a context IF you have a request. So $app-stash isn't going to work. I'd be happy to take a patch

Re: [Catalyst] Error: You requested a stash, but one does not exist #2

2015-05-20 Thread John Napiorkowski
On 20 May 2015, at 21:27, John Napiorkowski jjn1...@yahoo.com wrote: Hi so my $c = MyApp-new(); when you do that you don't have a context, its an instance of your application. Since Catalyst conflates the two this is a common thing to think :) But you only get a context IF you have

Re: [Catalyst] Rackspace Ubuntu 14.04

2015-05-14 Thread John Napiorkowski
didn't save all the terminal output, but here's what I have got from the second attempt. Regards Duncan On Wed, May 13, 2015 at 9:30 PM, John Napiorkowski jjn1...@yahoo.com wrote: I'd love to see a full install attempt.  I was getting tests for Perl down to 5.8.8 before we release so I am

Re: [Catalyst] Rackspace Ubuntu 14.04

2015-05-14 Thread John Napiorkowski
from the second attempt. Regards Duncan On Wed, May 13, 2015 at 9:30 PM, John Napiorkowski jjn1...@yahoo.com wrote: I'd love to see a full install attempt.  I was getting tests for Perl down to 5.8.8 before we release so I am not aware of a hard dependency on Tie::StdHash. However I don't use

Re: [Catalyst] Rackspace Ubuntu 14.04

2015-05-13 Thread John Napiorkowski
I'd love to see a full install attempt.  I was getting tests for Perl down to 5.8.8 before we release so I am not aware of a hard dependency on Tie::StdHash. However I don't use cpanplus, and I write my own makefile.pl, not the one that Catalyst::Devel writes.  Its possible that something is

Re: [Catalyst] Error: You requested a stash, but one does not exist

2015-02-24 Thread John Napiorkowski
Johannes, If you have time to add a note in the Upgrading.POD file, feel free to send a pull request ;) = perl-catalyst/catalyst-runtime On Tuesday, February 24, 2015 5:12 AM, Johannes Kilian jo.kil...@gmx.de wrote: Hello John, On Monday, February 23, 2015, John Napiorkowski jjn1

Re: [Catalyst] Bug in old Advent example of async/websockets code?

2015-02-23 Thread John Napiorkowski
Last I checked it worked however there's no version of this in the catalyst test repo.  If you can help me figure out how to bake a test for this (even if it needs to be an optional developer only test) I'd greatly appreciate it. On Sunday, February 22, 2015 7:09 PM, Toby Corkindale

Re: [Catalyst] Bug in old Advent example of async/websockets code?

2015-02-23 Thread John Napiorkowski
try the code here: jjn1056/Perl-Catalyst-AsyncExample and let me know if that's busted, it would give me something to go on. |   | |   | |   |   |   |   |   | | jjn1056/Perl-Catalyst-AsyncExamplePerl-Catalyst-AsyncExample - maybe some sort of async with catalyst | | | | View on github.com |

Re: [Catalyst] Error: You requested a stash, but one does not exist

2015-02-23 Thread John Napiorkowski
Johannes, We're going to need a ton more info to help.  The likely reason is that about 9 months ago the stash was moved to the middleware layer, which makes it context bound and you are asking for the stash in application scope.  We need to know stuff like what version you upgraded from and

Re: [Catalyst] Where best to store database connection information?

2015-02-16 Thread John Napiorkowski
People do different things based on there setup.  I tend to use ENV vars and store them on the local server under /etc with a restricted account.  There's no official way to do this (we are not Rails :)). -jnap On Monday, February 16, 2015 8:42 AM, Adam Witney awit...@sgul.ac.uk wrote:

[Catalyst] last chance to test 5.90079_006

2015-01-18 Thread John Napiorkowski
Hey all, I'm planning on making the current development release of Catalyst stable soon. If you are testing or planning to test it shortly and would like me to wait please ask now. peace out, jnap ___ List: Catalyst@lists.scsys.co.uk Listinfo:

[Catalyst] Catalyst 5.90080 on CPAN!

2015-01-18 Thread John Napiorkowski
Hey All! We just cut 5.90080 release to stable. Get it = https://metacpan.org/release/JJNAPIORK/Catalyst-Runtime-5.90080 Info and overview = http://jjnapiorkowski.typepad.com/modern-perl/2015/01/perl-catalyst-590080-released-to-cpan.html Enjoy and shout out if you see trouble! jnap

Re: [Catalyst] Requirement to add for C::A::Serialize::JSON to not give Content-Type application/json is not supported

2014-12-26 Thread John Napiorkowski
For better or worse this distribution expects the user of it to add dependencies for the types they want to handle.  Otherwise we'd end up making people install dependencies for types they might not want.  It would make a good note in the docs somewhere (unless they are already around... I just

[Catalyst] Development release 004 on CPAN

2014-12-26 Thread John Napiorkowski
Hey All, Dev004 is on CPAN, I've blogged details = http://jjnapiorkowski.typepad.com/modern-perl/2014/12/perl-catalyst-590079-development-004-holland-on-cpan.html I know I keep saying this is a dev release to test, but I am going to be really mad and discouraged if after this is live Jan 28

Re: [Catalyst] Catalyst::Request::Upload-filename is not decoded.

2014-12-19 Thread John Napiorkowski
Any chance you can test this on the current dev release on CPAN?  There's a ton of utf8 fixes there.   Catalyst-Runtime-5.90079_003 - The Catalyst Framework Runtime - metacpan.org |   | |   |   |   |   |   | | Catalyst-Runtime-5.90079_003 - The Catalyst Framework Runtime - metacpan.orgThe

Re: [Catalyst] Catalyst::Request::Upload-filename is not decoded.

2014-12-19 Thread John Napiorkowski
actually you might need to checkout and test the holland branch HEAD, there's fixes around that are not on CPAN -jnap On Friday, December 19, 2014 11:15 AM, John Napiorkowski jjn1...@yahoo.com wrote: Any chance you can test this on the current dev release on CPAN?  There's a ton

Re: [Catalyst] Catalyst::Request::Upload-filename is not decoded.

2014-12-19 Thread John Napiorkowski
actually you might need to checkout and test the holland branch HEAD, there's fixes around that are not on CPAN  and it looks like filename is right but baseman is using a regexp that is not unicode friendly.  I'll take a look jnap On Friday, December 19, 2014 11:15 AM, John Napiorkowski

Re: [Catalyst] Catalyst::Request::Upload-filename is not decoded.

2014-12-19 Thread John Napiorkowski
, 2014 11:15 AM, John Napiorkowski jjn1...@yahoo.com wrote: Any chance you can test this on the current dev release on CPAN?  There's a ton of utf8 fixes there.   Catalyst-Runtime-5.90079_003 - The Catalyst Framework Runtime - metacpan.org |   | |   |   |   |   |   | | Catalyst-Runtime

[Catalyst] Call for Mailing List Community Manager

2014-12-19 Thread John Napiorkowski
Hey All, So lately I've not done such a great job of mirroring important announcements like the start of Advent, information about the  current development release (or stable releases, etc.) over to the mailing list. Mostly my time is a bit limited and also I just find that I don't use email as

Re: [Catalyst] Perl equivalent to Java PrimeFaces - Reaction...?

2014-12-07 Thread John Napiorkowski
I believe that the Reaction project founder felt the project did not meet its initial goals a number of years ago and switched to other projects.  I think there's some people doing life support on it that have it on in house apps but I don't think this a project that is moving forward.  Its got

Re: [Catalyst] Catalyst Advent Calendar 2014

2014-12-05 Thread John Napiorkowski
good ideas to do if you need help - take any old articles from older advents that are good but need a modern refresher- talk about how you use Catalyst on your job- take some POD docs from  the core distribution and expand on it- take some docs form a module you use (like a plugin) and expand on

Re: [Catalyst] Help on Catalyst::Plugin::RunAfterRequest

2014-10-07 Thread John Napiorkowski
Although that plugin might have some convenience value for development, I can't see using it for real work. If you need to process long running tasks your best best is a job queue. You can setup one or use one of many available infrastructure as a service systems. (see Iron.io. etc) jnap

[Catalyst] New Development Branch Holland for Perl Catalyst now open

2014-09-15 Thread John Napiorkowski
Hey all!, One more real Catalyst release this year? Wanna help? Here's the blog post http://jjnapiorkowski.typepad.com/modern-perl/2014/09/new-perl-catalyst-development-branch-holland-now-open.html Thanks! jnap ___ List: Catalyst@lists.scsys.co.uk

[Catalyst] Announcing 5.90070 release to CPAN

2014-08-12 Thread John Napiorkowski
Hi everyone! Yesterday I cut the 5.90070 version of catalyst and send it along to CPAN.   Since it seems to be stable after 24 hours I am officially announcing that it is ready for you to download and start using. I've also blogged about some of the changes: Catalyst 5.90070 has Landed! -

[Catalyst] New Catalyst Releases

2014-06-09 Thread John Napiorkowski
Howdy! There's been a few updates to Catalyst on CPAN recently, and I've blogged about it here:  Catalyst Development and Stable Releases: Current Summary - Modern Perl Catalyst Development and Stable Releases: Current Sum... Howdy Catalyst Lovers! Here's a quick update on things that have

[Catalyst] Catalyst release and new documentation project

2014-05-29 Thread John Napiorkowski
Hi Catalyst Developers! You might have noticed a new dev release of Catalyst is on CPAN:  Catalyst-Runtime-5.90069_001 - The Catalyst Framework Runtime - metacpan.org Catalyst-Runtime-5.90069_001 - The Catalyst Framework Runtime - metacpan.org The Catalyst Framework Runtime View on

Re: [Catalyst] HTTP headers returned from GET vs HEAD

2014-05-01 Thread John Napiorkowski
Content Length auto detection was moved from Catalyst core to middleware in a recent build of Catalyst.  Its likely that the view you are using isn't bothering to set the length and the middleware is failing to provide it properly since the Head middleware has already removed it. Since the

Re: [Catalyst] HTTP headers returned from GET vs HEAD

2014-05-01 Thread John Napiorkowski
and to help prevent regressions. jnap On Thursday, May 1, 2014 6:01 PM, John Napiorkowski jjn1...@yahoo.com wrote: Content Length auto detection was moved from Catalyst core to middleware in a recent build of Catalyst.  Its likely that the view you are using isn't bothering to set the length

[Catalyst] Announcing Quest list for the next Catalyst development cycle, Ancona

2014-03-27 Thread John Napiorkowski
Hey all, I blogged about the quest list for the next release of Catalyst.  As usual feedback is desired. http://jjnapiorkowski.typepad.com/modern-perl/2014/03/new-catalyst-development-branch-ancona-ready-for-commiters.html#.UzQfstzmM-Y John___ List:

Re: [Catalyst] 回复: Catalyst and unicode: broken or I'm dumb?

2014-03-27 Thread John Napiorkowski
Hi, The mailing list is not particularly active, you might wish to hang out on IRC (irc.perl.org#catalyst). John On Monday, March 24, 2014 8:37 AM, 疾驰者 78778...@qq.com wrote: Hello everyone:     For thirty days no mail? Why?           Thai

Re: [Catalyst] utf8 on c-res-write or c-res-print

2014-02-21 Thread John Napiorkowski
On Friday, February 21, 2014 7:25 AM, Sergey Dmitriev sergey.program...@gmail.com wrote: Thank you, it works! by using Encode::encode(UTF-8, 'my text' ). And just for reference, if anyone will use it, HTTP headers should be set BEFORE calling write_fh. e.g.     $c-res-header(

Re: [Catalyst] ProjectTaskToDo: open source project management system

2014-02-16 Thread John Napiorkowski
Bill, Looks great, mind if I mention it on my blog? John On Saturday, February 15, 2014 3:30 PM, bill hauck wbha...@yahoo.com wrote: Hi. So I've finally gotten enough time to put out a version of my project management system, ProjectTaskToDo. I've put the code out on GitHub at 

[Catalyst] Announcing Perl Catalyst 5.90060 is on CPAN

2014-02-10 Thread John Napiorkowski
Hey All, Here's my blog post:  http://jjnapiorkowski.typepad.com/modern-perl/2014/02/perl-catalyst-runner-version-590060-now-on-cpan.htm And the full, consolidated Changelog: https://metacpan.org/changes/distribution/Catalyst-Runtime Thanks! Jnap

Re: [Catalyst] Announcing Perl Catalyst 5.90060 is on CPAN

2014-02-10 Thread John Napiorkowski
Thanks for the correction!  I might be trying to do too many things at once today! -jnap On Monday, February 10, 2014 2:17 PM, Lance A. Brown la...@bearcircle.net wrote: I had to put an 'l' on the end of that blog post URL. --[Lance] On 2014-02-10 1:32 pm, John Napiorkowski wrote: Hey

[Catalyst] Perl Catalyst Dev 5 Runner on CPAN

2014-02-06 Thread John Napiorkowski
Hey Ya All, I've cut development release 6 and sent it on the way to CPAN.  If this release turns out to be as stable as the dev 5 release, it will become the next stable version of Catalyst.  Items that remain on the Runner quest list are either small or things that might not be great to

Re: [Catalyst] Random thoughts on helper class generation

2014-01-30 Thread John Napiorkowski
- From: Octavian Rasnita [mailto:octavian.rasn...@ssifbroker.ro] Sent: 27 January 2014 09:25 To: The elegant MVC web framework Subject: Re: [Catalyst] Random thoughts on helper class generation From: neil.lunn n...@mylunn.id.au On 27/01/2014 1:27 PM, John Napiorkowski wrote: Neil, I know

[Catalyst] New Development Release of the Next stable version of Catalyst on CPAN!

2014-01-28 Thread John Napiorkowski
Hi All! I'm please to announce Development 5 of Perl Catalyst Runner.  This replaces dev4, which had some issues with incorrect minimum versions of some new dependencies and as a result was broadly un-installable.  Consolidated changes from the last development release: 5.90059_005 -

Re: [Catalyst] Random thoughts on helper class generation

2014-01-27 Thread John Napiorkowski
On Monday, January 27, 2014 3:25 AM, Octavian Rasnita octavian.rasn...@ssifbroker.ro wrote: From: neil.lunn n...@mylunn.id.au On 27/01/2014 1:27 PM, John Napiorkowski wrote: Neil, I know the problem we have here, but honestly I think the solution is going to be more about having less

Re: [Catalyst] Random thoughts on helper class generation

2014-01-26 Thread John Napiorkowski
Neil, I know the problem we have here, but honestly I think the solution is going to be more about having less stuff in Catalyst.pm rather than more... Ideally the application class would be a simple object rather than something that did a lot of setup and configuration stuff, something more

[Catalyst] New Development Release on CPAN

2013-12-27 Thread John Napiorkowski
Hi All, Yesterday I released the third development version of Catalyst 'Runner' on the heels of the second release just a few days ago.  This was needed because the second release had some debugging code left in it accidentally and was causing installation and testing fails for people that

[Catalyst] New Development Release on CPAN

2013-12-27 Thread John Napiorkowski
Hi All, Yesterday I released the third development version of Catalyst 'Runner' on the heels of the second release just a few days ago.  This was needed because the second release had some debugging code left in it accidentally and was causing installation and testing fails for people that

Re: [Catalyst] New stable and development versions on CPAN

2013-12-23 Thread John Napiorkowski
On Sunday, December 22, 2013 10:58 PM, neil.lunn n...@mylunn.id.au wrote: On 23/12/2013 3:40 AM, John Napiorkowski wrote: There's a lot of weirdness in how the ConfigLoader plugin works, and it causes a lot of hair pulling since it is a plugin and gets installed during the 'setup_plugins

Re: [Catalyst] New stable and development versions on CPAN

2013-12-23 Thread John Napiorkowski
On Monday, December 23, 2013 9:19 AM, neil.lunn n...@mylunn.id.au wrote: On 24/12/2013 1:20 AM, John Napiorkowski wrote: --- Thanks Neil, I think a lot of people sometimes forget that the Catalyst object is really in the end just a class.  --jnap I tend to generally agree that a lot

Re: [Catalyst] Plack::Middleware::ContentLength problem

2013-12-22 Thread John Napiorkowski
that are not   going to return a valid file descriptor, as would be requried by   IO::AIO functions. Hopefully the proposed change gets some traction and is accepted. https://github.com/plack/Plack/issues/439 On 22/12/2013 7:47 AM, John Napiorkowski wrote: The current HEAD of the runner branch

[Catalyst] New stable and development versions on CPAN

2013-12-22 Thread John Napiorkowski
Today we released v5.90053, the latest stable Catalyst.  This release fixes a regression caused by the previous release that in some cases would cause trouble installing plugins that need access to the logger. We also clarified how log configuration interacts with the general phases of

Re: [Catalyst] How to understand the relation of TT and dojo and Plack

2013-12-14 Thread John Napiorkowski
Thai, Catalyst, unlike a framework like say Ruby on Rails, sits at the center of a number of other Perl technologies.  You named a few, such as Plack/PSGI, Template Toolkit, etc.  Others might include DBIx::Class for interfacing with a database.  And of course any number of testing tools on

[Catalyst] Perl Catalyst Quest list open for comments

2013-12-10 Thread John Napiorkowski
Hey All, My proposals for the upcoming development cycle have been posted for review:  http://questhub.io/realm/perl/explore/latest/tag/runner More details on my blog:

Re: [Catalyst] Non Blocking File Streaming - write_fh

2013-12-06 Thread John Napiorkowski
Neil, You're the man!  Any change I could get this as a pull request on the github repo (is also the sane place I am asking people to submit articles) https://github.com/perl-catalyst/2013-Advent-Staging That way I am sure to get the code correct. The only thing is that when using eval I

Re: [Catalyst] In ActionRole is NotDoes Available?

2013-12-05 Thread John Napiorkowski
No this functionality not does exist.   The best approach I think is to have more than one base controller or roles if you need that. good luck, jnap On Wednesday, December 4, 2013 11:36 PM, Sheeju Alex sheeju...@gmail.com wrote: Hi All,        I have applied some Action Roles to all the

Re: [Catalyst] Advent 2013 launched !!!

2013-12-03 Thread John Napiorkowski
IN THE LIFE OF A WINDOWS GUY! which again isn't on the advent site. http://www.catalystframework.org/calendar/feed/2013 Carl On 2 December 2013 04:23, John Napiorkowski jjn1...@yahoo.com wrote: Hey all: I am pleased to announce that perl catalyst advent 2013 has launched! http

Re: [Catalyst] Advent 2013 launched !!!

2013-12-02 Thread John Napiorkowski
, 2013 at 5:53 AM, Dmitry L. dim0...@gmail.com wrote: Cool! Just small thing: on the Articles List page all articles have title Title lol: Articles Day 01: Title Day 02: Title On 2 December 2013 08:23, John Napiorkowski jjn1...@yahoo.com wrote: Hey all: I am pleased to announce that perl

Re: [Catalyst] Advent 2013 launched !!!

2013-12-02 Thread John Napiorkowski
. Respect for preparing the first 15 articles! On Mon, Dec 2, 2013 at 2:16 PM, John Napiorkowski jjn1...@yahoo.com wrote: Dimitar, Thanks I was pressed for time a bit last night.  Was this a pod change or something else?   Johnn On Monday, December 2, 2013 2:22 AM, Dimitar Petrov mita

[Catalyst] Advent 2013 launched !!!

2013-12-01 Thread John Napiorkowski
Hey all: I am pleased to announce that perl catalyst advent 2013 has launched! http://www.catalystframework.org/calendar/2013 So far there are 15 articles in the queue and I have commits for a few more days but there is still opportunity for someone else to step up. So get writing ( and

Re: [Catalyst] Setting file handle as the response body generates warnings.

2013-11-30 Thread John Napiorkowski
On Wednesday, November 27, 2013 8:03 AM, neil.lunn n...@mylunn.id.au wrote: On 27/11/2013 4:28 AM, John Napiorkowski wrote: Awesome, send me a pull request :) https://github.com/perl-catalyst/catalyst-runtime John. The pull is there along with another doc patch I noticed when playing

[Catalyst] Reminder: Perl Catalyst Advent 2013 starts Monday

2013-11-30 Thread John Napiorkowski
Hello Catalyst Developers! Just a reminder that our Advent Articles start publishing this monday.  We have some contribution but not nearly enough to cover the month.   Nows the time! Get writing! Johnn ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Setting file handle as the response body generates warnings.

2013-11-26 Thread John Napiorkowski
Awesome, send me a pull request :) https://github.com/perl-catalyst/catalyst-runtime On Tuesday, November 26, 2013 1:24 AM, neil.lunn n...@mylunn.id.au wrote: On 26/11/2013 12:54 PM, John Napiorkowski wrote: We should probably document what it means by $c-response-body can accept a file

Re: [Catalyst] Setting file handle as the response body generates warnings.

2013-11-26 Thread John Napiorkowski
This would make an awesome Advent article.  If you started it I'd be sure to proofread and help out https://github.com/perl-catalyst/2013-Advent-Staging There's a few in there you can crib to help you get started.  Something like what is the problem show the solution example very easy to

Re: [Catalyst] Setting file handle as the response body generates warnings.

2013-11-25 Thread John Napiorkowski
We should probably document what it means by $c-response-body can accept a file handle.  Like plack specifies the interface it must deal with.  Anyone up to that? This FH in body thing is something I've been thinking about a lot lately, in regards to when Catalyst is running under an event

Re: [Catalyst] Setting file handle as the response body generates warnings.

2013-11-19 Thread John Napiorkowski
This works, but Catalyst in finalize_headers issues two warnings: -s on unopened filehandle GEN10 at /home/bill/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Catalyst.pm line 1893. [warn] Serving filehandle without a content-length Are those warning a problem with how Catalyst

Re: [Catalyst] Providing a REST API from behind Apache/FastCGI?

2013-11-14 Thread John Napiorkowski
Sent from my iPhone On Nov 11, 2013, at 9:50 PM, Dan Lowe d...@tangledhelix.com wrote: On Nov 11, 2013, at 3:51 PM, brainbuz brain...@brainbuz.org wrote: Newer versions of apache make some security changes so apache, even though you don't think any access control is being applied on

[Catalyst] Its Time for Advent 2013!

2013-11-14 Thread John Napiorkowski
Hey All, I've opened a repo on github to get you started with Perl Catalyst advent 2013 https://github.com/perl-catalyst/2013-Advent-Staging/ More details on my blog :  http://jjnapiorkowski.typepad.com/modern-perl/2013/11/perl-catalyst-request-for-advent-season-articles.html Get writing!

Re: [Catalyst] $c-write() buffering?

2013-11-08 Thread John Napiorkowski
currently have :-) On Nov 1, 2013, at 11:42 AM, John Napiorkowski jjn1...@yahoo.com wrote: I was reviewing code last night for release of Catalyst Hamburg dev5 and saw that $c-res-write is just calling the writer under the hood.  So as long as your headers are ready to finalize, that should

[Catalyst] New Point release of Perl Catalyst, 5.90051 on CPAN

2013-11-08 Thread John Napiorkowski
Hey All, Yesterday we release a point increase to the recent stable Catalyst to solve a regression this release caused in Catalyst::Action::REST If you use CAR, this update is required. If anyone runs into additional regressions, please shout on on the mailing list, IRC or feel free to add a

[Catalyst] Catalyst Hamburg is the new stable, Version 5.90050 on CPAN!

2013-11-05 Thread John Napiorkowski
Hello Catalyst Users and Hackers! Today we mark the end of the Hamburg development cycle, which was kicked off back in June.  This release is a bit longer in development than the past few, but as I expected, things got a bit slow over the summer (I'm Northern hemisphere located) and since we

Re: [Catalyst] Re: Have exceeded the maximum number of attempts (1000) to open temp file/dir

2013-11-04 Thread John Napiorkowski
Wow, that does seem odd.  I wonder if there's some evil sharing going on between mod_perl processes or something... On Monday, November 4, 2013 8:26 AM, Bill Moseley mose...@hank.org wrote: On Fri, Oct 25, 2013 at 6:51 AM, Bill Moseley mose...@hank.org wrote: [ERROR] Caught exception

Re: [Catalyst] Re: Response traits.

2013-11-01 Thread John Napiorkowski
wrote: On Thu, Oct 31, 2013 at 2:34 PM, John Napiorkowski jjn1...@yahoo.com wrote: I'm currently recommending people take advantage of native PSGI support in the newer Catalyst and use Middleware for when you need to munge and or alter the response (if its being done globally

Re: [Catalyst] Mocking PSGI layers in Test WWW Mechanize Catalyst

2013-11-01 Thread John Napiorkowski
November 2013 08:35, John Napiorkowski jjn1...@yahoo.com wrote: Not sure what you mean, is there an example in another framework you can point to? johnn On Thursday, October 31, 2013 12:55 AM, Toby Corkindale t...@dryft.net wrote: Hi, I wondered if there's any prior art around on inserting

Re: [Catalyst] $c-write() buffering?

2013-11-01 Thread John Napiorkowski
 that is taking a lot of time.  --jnap On Thursday, October 31, 2013 4:34 PM, John Napiorkowski jjn1...@yahoo.com wrote: Recent releases of Catalyst makes it possible to stream write, although you need to be careful when using a blocking web server (long stream will of course block

Re: [Catalyst] $c-write() buffering?

2013-10-31 Thread John Napiorkowski
to the underlying server, so streaming and all that is straightforward. Johnn On , John Napiorkowski jjn1...@yahoo.com wrote: Recent releases of Catalyst makes it possible to stream write, although you need to be careful when using a blocking web server (long stream will of course block

Re: [Catalyst] $c-write() buffering?

2013-10-31 Thread John Napiorkowski
Recent releases of Catalyst makes it possible to stream write, although you need to be careful when using a blocking web server (long stream will of course block the available listener). Older versions of Catalyst had similar ability with the write method, I never used it, and would be happen

Re: [Catalyst] Re: Response traits.

2013-10-31 Thread John Napiorkowski
I'm currently recommending people take advantage of native PSGI support in the newer Catalyst and use Middleware for when you need to munge and or alter the response (if its being done globally).  The interface is more straightforward. johnn On Thursday, October 31, 2013 11:33 AM, Bill

Re: [Catalyst] Mocking PSGI layers in Test WWW Mechanize Catalyst

2013-10-31 Thread John Napiorkowski
Not sure what you mean, is there an example in another framework you can point to? johnn On Thursday, October 31, 2013 12:55 AM, Toby Corkindale t...@dryft.net wrote: Hi, I wondered if there's any prior art around on inserting (mocked) PSGI layers into Test::WWW::Mechanize:Catalyst?

Re: [Catalyst] Have exceeded the maximum number of attempts (1000) to open temp file/dir

2013-10-31 Thread John Napiorkowski
Bill, I see over here (latest release) https://metacpan.org/source/JJNAPIORK/Catalyst-Runtime-5.90049_005/lib/Catalyst/Request.pm#L260 am calling -cleanup(1) when we create the HTTP::Body.  is that not enough to cleanup tmp files ? regarding the tmp file thing, wow I have no idea, but I hope

[Catalyst] Development 5 Release of Catalyst 'Hamburg' on CPAN

2013-10-31 Thread John Napiorkowski
Hey All, Catalyst 5.90049_005 is on CPAN, please check it out! This is the fifth and likely last development release of Catalyst in this current series.  Assuming no serious problems show up on CPAN testers, and nobody shouts out, I will make this as stable sometime in the next few days. In

[Catalyst] One more thing on the state of Async IO on Catalyst Dev5

2013-10-31 Thread John Napiorkowski
One thing that was noted in the changlog is we have added experimental support of IO:Async based event loops, to compliment Anyevent.  The Async examples on github have been updated to include a IOAsync version of the streaming, web socket echo and web socket chat examples. Async IO support in

Re: [Catalyst] Calling controller/action based on parameter

2013-10-21 Thread John Napiorkowski
You could also try to encapsulate the match logic in an action class or role.   --jnap On Saturday, October 19, 2013 1:58 AM, Richard Thomas r...@mac.com wrote: Any suggestions on how to do this?  I'm toying with a large switch statement in the root controller and visiting the appropriate

Re: [Catalyst] Catalyst::Request path method as a setter

2013-10-21 Thread John Napiorkowski
My guess here is that path should be RO and that if you need to write code that messed with the path, that should happen in plack middleware. I'll ask around IRC to try and find out why this was allowed in the first place.  My guess it that we wanted to allow people to change the path for doing

[Catalyst] Forth Development Release of Catalyst 'Hamburg' now on CPAN

2013-10-21 Thread John Napiorkowski
This release of Catalyst tries to build more on our PSGI underpinnings.  Here's the changelog  - JSON Data handler looks for both JSON::MaybeXS and JSON, and uses whichever is first (prefering to find JSON::MaybeXS).  This should improve compatibility as you likely already have one

[Catalyst] Latest blog post on the status of Perl Catalyst 'Hamburg' and the next release

2013-09-20 Thread John Napiorkowski
Hey All, I had a bit of time over lunch to finish up a blog about the status of Catalyst development: http://jjnapiorkowski.typepad.com/modern-perl/2013/09/perl-catalyst-hamburg-status-and-the-future.html So take a look if you are into volunteering or just want to stay up to date! Also, we

Re: [Catalyst] REST and versioning

2013-09-18 Thread John Napiorkowski
On Tue, Sep 17, 2013 at 10:12 AM, John Napiorkowski jjn1...@yahoo.com wrote: People seem to get religious over how to version their API.  I doubt I'd want to take sides on this but here's how I think we could do both side (URL version and content type versioning  Ya, I'm swayed

Re: [Catalyst] REST and versioning

2013-09-17 Thread John Napiorkowski
Bill, Great questions and thoughts, I've inlined comment below.  Sorry for the odd formatting, yahoo email just seems to get worse and worse... From: Bill Moseley mose...@hank.org To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Tuesday,

Re: [Catalyst] Catalyst starter template

2013-09-04 Thread John Napiorkowski
From: David Schmidt davew...@gmx.at To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Tuesday, September 3, 2013 2:48 AM Subject: Re: [Catalyst] Catalyst starter template Quite late but when I read your email again i had to think of this

  1   2   3   >