Re: [Catalyst] New view: ICal?

2016-03-03 Thread Ashley Pond V
A View is fine but because there is a format for files and it's natural to show/deliver content with a view. The view is going to be very THIN though. Basically nothing but a wrapper around what iCalendar really is which is data and therefore the Model domain. The view will essentially be Data::IC

Re: [Catalyst] New design

2013-07-23 Thread Ashley Pond V
uters, and LSD, not MVC development for the future. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Re: Chained and exceptions

2013-05-09 Thread Ashley Pond V
Blast from the past: http://grokbase.com/t/sc/catalyst/077e7jhw9g/rfc-catalyst-plugin-errorout On Thu, May 9, 2013 at 1:42 PM, Bill Moseley wrote: > > > On Thu, May 9, 2013 at 9:34 AM, Aristotle Pagaltzis wrote: > >> * Bill Moseley [2013-05-09 15:30]: >> > What's the reasoning that chained a

Re: [Catalyst] Catalyst and Java

2012-10-31 Thread Ashley Pond V
On Wed, Oct 31, 2012 at 8:41 AM, Devin Austin wrote: > On Wed, Oct 31, 2012 at 3:50 AM, Tim Anderson wrote: >> >> I have a handful of java servlets that I would like to 'front-end' with my >> Catalyst application, essentially using Catalyst to provide >> authentication/authorization before passin

Re: [Catalyst] Plugin::Session lazy start

2012-05-23 Thread Ashley Pond V
On Wed, May 23, 2012 at 7:42 AM, Alexander Hartmaier wrote: > Because I've just read perlvar: $REAL_USER_ID or $UID instead of $<. I think this is generally excellent advice but I want to argue against it in this case. UID => sub { $< } is sufficiently semantic *and* edifying. E.g., Oh! That's t

Re: [Catalyst] Plugin::Session lazy start

2012-05-23 Thread Ashley Pond V
On Wed, May 23, 2012 at 1:58 AM, Dag-Erling Smørgrav wrote: > As an alternate solution, is there a way to have it use a different file > name every time it starts? Here's a snippet to do that: conf.yml -- Plugin::Session: storage: /tmp/some-prefix-__UID__.session MyApp.pm --

Re: [Catalyst] Model Instances vs. Model Classes - Round 2

2011-07-20 Thread Ashley Pond V
On Wed, Jul 20, 2011 at 7:00 AM, Alejandro Imass wrote: > On Wed, Jul 20, 2011 at 2:25 AM, Alejandro Imass > wrote: >> On Thu, May 19, 2011 at 7:06 PM, Benjamin Hitz wrote: > [...] >> I tried to make it as practical as possible: >> >> http://wiki.catalystframework.org/wiki/best_practices/models_

Re: [Catalyst] Fatal errors in chained actions

2011-04-08 Thread Ashley Pond V
ing been executed successfully. > > Hi Ronald, > > This point was discussed in 2008 : see > http://lists.scsys.co.uk/pipermail/catalyst/2008-March/017748.html > and the rest of the thread. It was actually discussed a year before that: http://lists.scsys.co.uk/pipermail/catalyst/2007-J

Re: [Catalyst] Unicode::Encoding - utf8 "\xBA" does not map to Unicode

2011-03-27 Thread Ashley Pond V
On Sun, Mar 27, 2011 at 12:10 AM, Tomas Doran wrote: > > On 13 Mar 2011, at 14:46, ryan lauterbach wrote: > >> Even if the >> URL is inproperly formed I think Catalyst should handle it gracefully. > > I entirely agree with this. > > At the very least, we should serve a 400 (bad request) page in so

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Ashley Pond V
On Tue, Mar 8, 2011 at 8:44 AM, Ronald J Kimball wrote: > On Tue, Mar 8, 2011 at 11:27 AM, Ashley Pond V wrote: > >> Well, the original message was: >> >>>> How do I call uri_for_action and pass it the '#id' part? It's not an arg >>>>

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Ashley Pond V
On Tue, Mar 8, 2011 at 7:39 AM, Ronald J Kimball wrote: > On Mon, Mar 7, 2011 at 6:20 PM, Ashley Pond V wrote: >> 2011/3/7 Adam Sjøgren : >>> On Mon, 7 Mar 2011 13:01:42 -0800, Ashley wrote: >>> >>>> What Ronald said + the #fragment is not passed along in t

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-07 Thread Ashley Pond V
2011/3/7 Adam Sjøgren : > On Mon, 7 Mar 2011 13:01:42 -0800, Ashley wrote: > >> What Ronald said + the #fragment is not passed along in the available >> ENV with some servers and setups. In these cases it doesn't exist as >> far as the backend is concerned. If you

Re: [Catalyst] How to get uri_for something with a fragment?

2011-03-07 Thread Ashley Pond V
On Mon, Mar 7, 2011 at 12:34 PM, Ronald J Kimball wrote: > On Mon, Mar 7, 2011 at 3:25 PM, John M. Dlugosz > wrote: >>  On 3/7/2011 1:35 PM, Ashley Pond V apv-at-sedition.com |Catalyst/Allow to >> home| wrote: >>> >>> Using the fragment is probably a

Re: [Catalyst] How to get uri_for something with a fragment?

2011-03-07 Thread Ashley Pond V
h will be perfectly >>>> valid >>>> (although no longer a URI object). >>>> >>> I considered that a hack until I knew better, since it won't work if >>> there >>> are query arguments. >> >> Why won't it work i

Re: [Catalyst] Best "form" library?

2011-03-07 Thread Ashley Pond V
pproaches, including FormHandler but a casual read of the docs gives no compelling reason to switch and critiquing FormFu ("FormFu is pretty awful in my opinion") without some kind of comparison/contrast and real examples is not really helpful. -Ashley _

Re: [Catalyst] What text editor to use?

2011-03-03 Thread Ashley Pond V
Let's end this thread; 23 messages is enough and the topic is barely more relevant to Catalyst than "What kind of lunch should I have?" ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable a

Re: [Catalyst] Simple literal Model

2011-02-26 Thread Ashley Pond V
On Fri, Feb 25, 2011 at 9:22 PM, John M. Dlugosz wrote: >  On 2/25/2011 9:30 AM, Ashley Pond V apv-at-sedition.com |Catalyst/Allow to > home| wrote: >> >> What t0m suggested is perfectly fine but if you want to mimic the DBIC >> API with a different engine, this example

Re: [Catalyst] Simple literal Model

2011-02-25 Thread Ashley Pond V
erent engine, this example does that (superficially and as a tutorial only): http://sedition.com/a/2739 Log file model–Apache access log. The reason that example makes sense is because the underlying model/data is similar: searchable, sortable rows. If you're trying to shoehorn in something d

Re: [Catalyst] Making secure session cookies (or, how do we make Explorer stop complaining about nonsecure content on a secure page?)

2011-02-21 Thread Ashley Pond V
On Mon, Feb 21, 2011 at 6:11 AM, will trillich wrote: > That's a neat trick -- hadn't heard of that one before. But the javascript > isn't our "nonsecure-items" problem. Protocol free // isn't a javascript specific technique while we're on it. It simply means use the protocol that's currently in

Re: [Catalyst] Transferring control via root/auto

2010-12-08 Thread Ashley Pond V
gt; Maybe someone has an updated diagram (or can update this one)? I did that diagram a loong time ago (2006?). I'd be glad to amend it and I can see obvious changes it needs but I'd probably need input from core devs to round it out "perfectly." -Ashley ___

Re: [Catalyst] C::E::HTTP::PreFork deployment

2010-11-30 Thread Ashley Pond V
anyone seen my tuits? They were round, once. -ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Which Form Validation Libs?

2010-11-30 Thread Ashley Pond V
> HTML::FormHandler Chiming in: FormHandler has been getting the most questions lately, IIRC, but I suspect FormFu is more often used. It has its own excellent mailing list (made excellent by the main dev, Carl Franks, who is very responsive and helpful) so the questions don't tend to end up here.

Re: [Catalyst] "Wrong Content-Length value"

2010-09-08 Thread Ashley Pond V
On Wed, Sep 8, 2010 at 2:30 PM, Bill Moseley wrote: > > On Wed, Sep 8, 2010 at 2:16 PM, Nicholas Wehr > wrote: >> >> so which engine and version are you using? apache? built-in http? fastcgi? > > Apache, but that message is in Catalyst::Engine parent class. > FWIW, this was plaguing me in FastCG

Re: [Catalyst] TheSchwartz - Catalyst::Model::Adaptor

2010-08-07 Thread Ashley Pond V
://sedition.com/a/2742 -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] rich ajax UI component libraries for Catalyst?

2010-07-26 Thread Ashley Pond V
On Mon, Jul 26, 2010 at 10:53 AM, Jason Kohles wrote: > > Unless you are referring to the old licensing scheme (which went away some > time ago) then discouraging ExtJS use because of it's license is absurd, as > the license is GPL.  They do have a commercial license available as an > option, b

Re: [Catalyst] rich ajax UI component libraries for Catalyst?

2010-07-26 Thread Ashley Pond V
a big company but would certainly hurt a small web contract. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Catalyst::Authentication::Credentials::OpenID, extensions and Config::General

2010-07-08 Thread Ashley Pond V
better example, I'll gladly add it. I'm not familiar with Config::General (the example config is from a patch). -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread Ashley
persistent execution of some kind; modperl, fastcgi, etc; RoR and some PHP stuff having the same need has helped get fastcgi on many budget hosts). Just appending that to the thread for anyone who comes in to read this and gets the impression that an

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread Ashley
Perl developer has to write his own templating language once to learn why it's such a bad," part 2. You'll have to learn a lot either way. The Stone Soup of rolling it yourself is seductive and seems easier but taken as a whole it is most certainly not. -Ashley

Re: [Catalyst] Catalyst getting wrong path from Apache server-side includes

2010-04-15 Thread Ashley
now, just bumping it on the list and hijacking threads because I'm so that way. -Ashley On Apr 15, 2010, at 7:19 PM, J. Shirley wrote: On Thu, Apr 15, 2010 at 7:03 PM, Jason McIntosh wrote: On Thu, Apr 15, 2010 at 9:18 PM, J. Shirley wrote: Did you upgrade anything else (Apache?) o

[Catalyst] Senior Perl/Linux dev

2010-03-09 Thread Ashley
posting if you're interested and do *not* reply to the list. :) -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/cat

Re: [Catalyst] Catalyst benchmark 5.7 vs 5.8 - new test

2009-09-29 Thread Ashley
Possibly related anecdote. My main personal app went from 5 second start ups to start ups of well over a minute when I went from 5.7 to 5.8. I had a handful of Controller and Model classes in which I had written test code and then removed it all so they looked something like- package MyApp:

Re: [Catalyst] Re: Testing Web 2 cat apps

2009-09-15 Thread Ashley
On Sep 15, 2009, at 9:13 AM, Aristotle Pagaltzis wrote: * David Stevenson [2009-09-14 11:40]: "CSS accessors are recommended for reasonable speed." And they tend to be more robust to page layout changes, compared to XPath. That doesn’t make any sense. Any CSS selector has a directly equivale

Re: [Catalyst] Testing Web 2 cat apps

2009-09-12 Thread Ashley
a to run the browser controller (the Selenium server). There is a sweet IDE plugin for Firefox for writing the tests. Google around for it. There are many examples, docs, and supporting modules. http://search.cpan.org/search?query=selenium&mode=all -Ashley

Re: [Catalyst] Testing OpenID Logins + more

2009-09-02 Thread Ashley
this is a widespread practice but I've been doing it for a long time now and really like it. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] Testing OpenID Logins + more

2009-09-02 Thread Ashley
t unit test it. Running live or in a staging server, I'd use a known OpenID account to do a Selenium/WWW::Mech style test. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] New Apress book on Safari Books Online

2009-07-30 Thread Ashley
and I expected to make a mint. Bad luck on all accounts. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site:

Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-28 Thread Ashley
On Jul 27, 2009, at 7:16 AM, Octavian Râsnita wrote: From: "Ashley" > Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) Hi, Thank you for it. In the first model (Random quote

[Catalyst] Re: 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-25 Thread Ashley
25 PM, Ashley wrote: Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) with the last model entry, "#10: Fixing your legacy code by not fixing it," http://sedition.com/a/2743 To make

[Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-25 Thread Ashley
ntial installing without complaints/ failures. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] OpenID authentication and LWPx-ParanoidAgent

2009-07-17 Thread Ashley
llable without failures. -Ashley On Jul 17, 2009, at 1:33 PM, Zbigniew Lukasiak wrote: Hi there, It seems that http://matrix.cpantesters.org/?dist=LWPx-ParanoidAgent +1.05 fails on every front (and if you check the history it wasn't much better in previous releases). So what you guys u

[Catalyst] 10 Catalyst Models in 10 Days

2009-07-12 Thread Ashley
I'm doing a series of short-ish articles called "10 Catalyst Models in 10 Days." It will be too light for a good slice of the list but might be fun for some and potentially quite beneficial for newcomers. They're not as polished, thorough, or proofed as I'd like--in fact, only 7 of the 10 a

Re: [Catalyst] OpenID and SREG

2009-07-04 Thread Ashley
ut in. All the authentication plugins fail silently except mine but OpenID is a drag to debug so I felt like it was necessary. I've meant to get with t0m and the list to discuss a better failure mechanism. I'll probably just make it noisy in the log and stop the erro

Re: [Catalyst] OpenID and SREG

2009-07-03 Thread Ashley
running in spite of the bad doc. There was also an issue with Config::General being a PITA regarding the data structure so you might want to start with a pure Perl config and if it runs, then put it into your favored config file format. -Ashley __PACKAGE__->config->{Plugin::Authe

Re: [Catalyst] Scalable Catalyst

2009-04-29 Thread Ashley
off the shelf AMD 64Bit HW and 12Gb RAM, with a Catalyst app of about 20MB RSS. Hey, Alejandro! You should really write up the way you did it for the wiki or an article somewhere. Please! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Re: OT: JS no longer sucks, (was Catalyst - any good AJAX tutes?)

2009-03-08 Thread Ashley
35 PM, Aristotle Pagaltzis wrote: * Ashley [2009-03-08 19:15]: Well... the lack of regular array operations like push Are we talking about the same language? https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/ Global_Objects/Array/push the disparate and incompatible implementatio

Re: [Catalyst] Re: OT: JS no longer sucks, (was Catalyst - any good AJAX tutes?)

2009-03-08 Thread Ashley
On Mar 8, 2009, at 8:18 AM, Aristotle Pagaltzis wrote: * Ashley [2009-03-07 22:20]: I used to feel the same about JS. The language itself has improved Objection: Well... the lack of regular array operations like push, the disparate and incompatible implementations of regular expressions

[Catalyst] OT: JS no longer sucks, (was Catalyst - any good AJAX tutes?)

2009-03-07 Thread Ashley
On Mar 7, 2009, at 12:55 AM, kakim...@tpg.com.au wrote: Basically, I am a web developer who hates JS and want to do minimal with it. Whatever I could get away with coding in perl, i would do it cause i know the language better and that it's more reliable. Js is dirty (or well, the newer incar

Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-06 Thread Ashley
le="margin: 0em;"> type="text/javascript"> //<![CDATA[ jQuery(function($) { // your jQuery code goes here! }); //]]> Once you have this running, hit the docs. They'll make more sense after you follow through this simplistic example. Have fun! -Ashley _

[Catalyst] PathPart("") v PathPart compared with Path("") v Path

2009-02-28 Thread Ashley
or someone Googling for why their Chained stuff won't work made the same error in assumptions I just did. :) Thanks! -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable a

Re: [Catalyst] Requirements for Catalyst

2009-02-22 Thread Ashley
st-centric host tonight but I don't know if I'm allowed to talk about it or if it'll debut any time soon so I'll just offer that teaser and head for the pillow. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lis

Re: [Catalyst] Requirements for Catalyst

2009-02-21 Thread Ashley
getting pretty off topic but I'm hovering on a VPS buy so I'd like to hear more about why these two and what you'd say to someone like me whose Perl is drastically better than my admin chops. Put your referral code(s) if you've got them in your re

Re: [Catalyst] Requirements for Catalyst

2009-02-21 Thread Ashley
t it's fine for regular personal sites; and I would never run any business from a shared host anyway, it's not really a Cat issue on that front. I serve something like 5-15K pages a day from Cat on DreamHost under fastcgi. -Ashley _

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-15 Thread Ashley
s over entire salaried departments, dropping permanent employees in favor of permatemps, etc. Good managers at this level are the sorts who are either on this list right now or have a dev or two on it for them. So I say. :) -Ashley ___

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-15 Thread Ashley
sort of "authority" as a formal list from a group but I make my choices of what to at least try first based on reviews somewhat often. See also: http://www.perlfoundation.org/perl5/index.cgi? recommended_cpan_modules -Ashley ___ List: Cataly

Re: [Catalyst] RFC: The paradox of choice in web development

2009-02-15 Thread Ashley
e have a great kit, a great community, and the more obvious and accessible it is, the more we ensure continued success. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-09 Thread Ashley
ative feedback about CHI or someone volunteers some code for this, I'll try to bat it out. http://search.cpan.org/~jswartz/CHI-0.091/ http://search.cpan.org/~jswartz/CHI-0.091/lib/CHI.pm http://search.cpan.org/~fayland/Catalyst-Plugin-CHI-0.03/lib/ Catalyst/Plugin/CHI.pm

Re: [Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-09 Thread Ashley
gh. On Feb 9, 2009, at 6:02 PM, Ashley wrote: Has anyone written Catalyst::Plugin::Session::Store::CHI for personal use yet? I haven't use CHI but it strikes me as vastly superior to the regular cache interfaces (having code refs for errors and checks on things that are still within the

Re: [Catalyst] New Catalyst Book?

2009-02-05 Thread Ashley
g posted -- it'll be a chapter every couple days for a month or two. I've got a lot done lately so I'm optimistic it'll start going up pretty soon. As it'll be a living doc, I'll roll critiques, corrections, or good comments into it. -Ashley _

Re: [Catalyst] Newbie Question about Database

2009-01-19 Thread Ashley
ad_default_file=__path_to (etc/.mysql.cnf)__ - ~ - ~ - RaiseError: 1 PrintError: 0 AutoCommit: 1 ChopBlanks: 1 -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/cata

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Ashley
On Dec 24, 2008, at 2:07 PM, Tomas Doran wrote: On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Ashley
On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don&#

Re: [Catalyst] installing catalyst on mac os

2008-12-23 Thread Ashley
without any problems (there are lots of Cat dependencies to follow) straight from the CPAN shell. You'll need more pieces for any given app but you'll see the requirements in the samples or the test server error output. -Ashley ___ Lis

[Catalyst] How to run self-tests from within the application

2008-12-19 Thread Ashley
app..ok All tests successful. Files=1, Tests=2, 23 wallclock secs ( 0.02 usr 0.01 sys + 3.78 cusr 0.57 csys = 4.38 CPU) Result: PASS Why is it hanging? Is there a pipe or something I could add to the command? What are the environmental caveats if I can get this to run under the test se

Re: [Catalyst] create search engine friendly uri from string

2008-12-15 Thread Ashley
at that should be in the doc you end up with if not possible in the code. URIs are supposed to be unique to a resource. Titles of articles and pages are not (necessarily). The end user/dev will have to check for duplicates against the data and append a -II or -2,

[Catalyst] Emulate a "tar pit" for OpenID tests

2008-12-08 Thread Ashley
of content; it's a lie. $c->response->headers->header("Content-length" => 1_024 * 1_000); sleep 1 && $c->response->write("sucker\n") while 1; # Send content forever, slowly. } So, my question for y'all is: How does t

[Catalyst] Catalyst::Authentication::Credential::OpenID update; 2.0 + SREG

2008-12-02 Thread Ashley
when it's present/configured. I am not using this in the wild right now so I'd really appreciate any bug/problem tickets or Pod patches. If there are OpenID extensions other than SREG which anyone is using, please let me know so I can look at them and see if/how they can be supported.

Re: [Catalyst] Re: fcgid

2008-11-14 Thread Ashley
production.) This is late to revisit but I'd *love* to see this as an advent entry (or a vanilla tutorial anywhere). -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchab

Re: [Catalyst] recommendation

2008-11-10 Thread Ashley
editable-lower section of the package. I don't seem to have any sample code handy, sorry. It's come up on the DBIC list before, I think. You might dig around in there if it's not obvious how to proceed. -Ashley ___ List: Catalyst@li

Re: [Catalyst] PDF creation in Catalyst?

2008-10-22 Thread Ashley
ght not give much control) If the stuff isn't dynamic and you really can't wait, it might be faster to create them yourself from the HTML you've got (print to PDF, manipulate in Acrobat or something) and serve them as static files. -Ashley

[Catalyst] Making proxy requests cooperate with uri_for

2008-10-20 Thread Ashley
le ^proxy:.* - [F] I played around with setting the (apparently?) undocumented "using_frontend_proxy" in the App config too but no dice. What am I doing wrong / how can I get uri_for() to behave? Thanks! -Ashley ___ List: Catalyst

Re: [Catalyst] Re: CSRF

2008-10-01 Thread Ashley
Nope. On Sep 30, 2008, at 11:57 PM, Ashley wrote: Might be pretty simple in Cat stuff. The crux of the POST issue seems that the target site's cookies are still safe from the attacking site's POST. ... Form template: [% USE Digest.SHA1 -%] This won't work because the at

Re: [Catalyst] Re: CSRF

2008-10-01 Thread Ashley
On Sep 30, 2008, at 11:13 PM, Aristotle Pagaltzis wrote: * Ashley <[EMAIL PROTECTED]> [2008-09-30 19:30]: If scripting is involved that makes it a XSS attack instead, though. No? No. Yeah, that was unclear. I was talking about our own sites and Cat apps, not the web at large. It was i

Re: [Catalyst] CSRF

2008-09-30 Thread Ashley
On Sep 30, 2008, at 10:08 AM, Moritz Onken wrote: "attackers can use POST" This is possible due to the fact that flash movies can send any request to a server. You can achieve this even with a XMLHTTPRequest. If scripting is involved that makes it a XSS attack instead, though. No

Re: [Catalyst] CSRF

2008-09-30 Thread Ashley
best practices would circumvent (most of?) the exploits. POSTs being required to manipulate data, specifically. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] Help! Need help deploying app to Apache

2008-09-17 Thread Ashley
On Sep 17, 2008, at 12:35 PM, Bruno Antunes wrote: I was not hoping for the situation to resolve itself - frankly, there shouldn't be one since it runs in the test server perfectly. And obviously, the index.tt file is were it is supposed to be as far as making it work with the test server.

Re: [Catalyst] Help! Need help deploying app to Apache

2008-09-17 Thread Ashley
ke you either don't have an "index.tt" or you have the INCLUDE_PATH set badly in your TT stuff. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Re: [SOT] cat webmail app?

2008-08-08 Thread Ashley
On Aug 8, 2008, at 3:06 PM, Aristotle Pagaltzis wrote: * Jose Luis Martinez <[EMAIL PROTECTED]> [2008-08-08 16:50]: http://icanhascheezburger.files.wordpress.com/2008/08/funny- pictures-sometimes-the-mail-gets-you.jpg I’m not sure that caption is how we want users to think of a Catalyst mail

Re: [Catalyst] Re: Catalyst site design drafts feedback thread

2008-06-17 Thread Ashley
rez down for easier reading or a Cinema display. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] IMPORTANT: To all Catalyst::Whatever Authors, please read and ACT

2008-05-10 Thread Ashley
On May 10, 2008, at 7:18 PM, Kieren Diment wrote: On 11 May 2008, at 10:56, Ashley wrote: Two or more config examples is nice and kind to users and I think it's a great best practice to include it (maybe someone would attach a simple script to dump several formats? If I have time

Re: [Catalyst] IMPORTANT: To all Catalyst::Whatever Authors, please read and ACT

2008-05-10 Thread Ashley
On May 10, 2008, at 6:44 PM, Matt S Trout wrote: On Sat, May 10, 2008 at 05:56:41PM -0700, Ashley wrote: Arguing that users who cargo-cult their configs from POD deserve coddling and MODULE AUTHORS MUST ACT TO AVERT THIS DISASTER is silly. There are several requests A DAY on #catalyst that

Re: [Catalyst] IMPORTANT: To all Catalyst::Whatever Authors, please read and ACT

2008-05-10 Thread Ashley
D deserve coddling and MODULE AUTHORS MUST ACT TO AVERT THIS DISASTER is silly. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] RFC: Catalyst::Controller::REST::DBIC

2008-05-05 Thread Ashley
d shy away from any implementation where a user (or an agent) could just pound away at a POST-point and fill up the DB with useless, abandoned records. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listi

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-04 Thread Ashley
There was a recent SoPW on PerlMonks about this. Seems HTTP::Message is doing the right thing. http://perlmonks.org/?node_id=683833 -Ashley On May 4, 2008, at 2:21 PM, Daniel McBrearty wrote: OK, I walked through the code and found out roughly what is going on. Hard to say where the real

Re: [Catalyst] Multi-language and REST

2008-04-25 Thread Ashley
On Apr 25, 2008, at 10:28 AM, Christopher H. Laco wrote: If changing Accept-Language is too much, (or people want to view a language other than their native), then look at language= in the query params first..if it's empty...honor Accept-Language... rather than forcing // at the front of all

Re: [Catalyst] Re: Multi-language and REST

2008-04-25 Thread Ashley
On Apr 25, 2008, at 9:03 AM, Ian Docherty wrote: I use Chained exclusively and don’t use the Perl package namespace as a mapping to the URI namespace at all, only for logically grouping related functionality. Usually the two still correspond to some extent of course, but I don’t feel any nee

Re: [Catalyst] Multi-language and REST

2008-04-25 Thread Ashley
On Apr 25, 2008, at 8:55 AM, Ian Docherty wrote: Dave Rolsky wrote: On Fri, 25 Apr 2008, Ian Docherty wrote: http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z12 Yes, I have done this previously, it is elegant, but not RESTful and does not make it easy for users to change their settings

Re: [Catalyst] Why does $c->stats require -Debug flag?

2008-04-24 Thread Ashley
y friends and doing it enough will lead to abandonment or getting one's code forked away. I haven't used the stats stuff though it looks interesting, but I personally would immediately drop any package that went through an undocumented, unannounced interface change defended as personal style. Us

Re: [Catalyst] Dispatching based on path and host/domain

2008-04-22 Thread Ashley
re trying to escape. I've been doing, I think, the same thing "status," "golive" and "takedown." I'd love to see it generalized if it can be. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://l

Re: [Catalyst] Catalyst and PayPal

2008-04-21 Thread Ashley
I get any tuits, I'll try to add some POD at least and tests if I can. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@li

Re: [Catalyst] Re: CGI::Dump()

2008-04-18 Thread Ashley
I know. Grabbed it from CGI.pm without checking. It also returns the, I believe, illegal when there are no params. :) If I ever do anything with it, I promise to fix it. On Apr 18, 2008, at 7:38 PM, Aristotle Pagaltzis wrote: * Ashley <[EMAIL PROTECTED]> [2008-04-18 21:30]:

Re: [Catalyst] CGI::Dump()

2008-04-18 Thread Ashley
On Apr 18, 2008, at 12:09 PM, Matt S Trout wrote: On Wed, Apr 16, 2008 at 06:59:14PM -0700, Ashley wrote: Is there an established way to emulate this in Cat? CGI::Dump() I like it for dev work and simple one-off forms that are human processed. [% USE Dumper; Dumper.Dump(c.req.params

Re: [Catalyst] Sending email safely with Catalyst

2008-04-18 Thread Ashley
m an App wasn't possible with the FastCGI engine. Did something change or did I misread an old thread? I hope so. I'd love to be able to fork in it. Any doc/recipe out there? -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: htt

[Catalyst] CGI::Dump()

2008-04-16 Thread Ashley
Is there an established way to emulate this in Cat? CGI::Dump() I like it for dev work and simple one-off forms that are human processed. I might port it (to a posted snippet at least) if not. -Ashley ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
On Apr 11, 2008, at 1:33 PM, Christopher H. Laco wrote: /tag/name/ /tag/id/ The greatness of future possibilities is expanded to much happiness. Chained/sub instance() make all the code behind either option JustWork. claco (I just like writing it) ++. This is mostly how I do it and for a

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
On Apr 11, 2008, at 1:10 PM, Stephen Sykes wrote: Ashley wrote: On Apr 11, 2008, at 11:55 AM, Stephen Sykes wrote: Chisel - What is so odd in passing the tag id to the controller for the "by_tag" feature? I think this is the issue: "Other users also tagged this 27." Th

Re: [Catalyst] CatalystSites.org

2008-04-11 Thread Ashley
On Apr 11, 2008, at 11:55 AM, Stephen Sykes wrote: Chisel - What is so odd in passing the tag id to the controller for the "by_tag" feature? I think this is the issue: "Other users also tagged this 27." The tag is the human readable part of the record. :) _

Re: [Catalyst] Re: New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-08 Thread Ashley
On Apr 8, 2008, at 2:11 PM, Aristotle Pagaltzis wrote: * Ashley <[EMAIL PROTECTED]> [2008-04-08 05:15]: "roles" for providers? I didn’t think of that. That sounds *very* cool. I wonder if this might possibly cause problems. One thing I’m not comfortable with, for a reason

Re: [Catalyst] Re: New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-07 Thread Ashley
On Apr 7, 2008, at 8:04 PM, Ashley wrote: elsif $c->user_exists and $c->user->"generic_OpenID" Looking at this again, I think something like auto_role: "openid" could be go in the realm to add "openid" to a user's roles upon OpenID authenti

Re: [Catalyst] Re: New credential -- Catalyst::Authentication::Credential::OpenID

2008-04-07 Thread Ashley
On Apr 7, 2008, at 5:22 PM, Aristotle Pagaltzis wrote: Hi Ashley, * Ashley <[EMAIL PROTECTED]> [2008-04-07 20:10]: http://search.cpan.org/dist/Catalyst-Authentication-Credential- OpenID/ is there any way to tell which OpenID provider was used for a particular credential? F.ex. a c

  1   2   >