Re: [Catalyst] Working a Solr Model

2013-09-29 Thread Marcus Ramberg
We have been using SolarBeam - https://github.com/judofyr/solarbeam

It uses Mojo::UserAgent, and will allow parallel requests, even if you use
catalyst. We found this very useful when writing search intensive apps.

Marcus.

On Sunday, September 29, 2013, John Karr wrote:

 I'm commencing a project that is going to use Solr because it will be
 search intensive.

 My research hasn't turned up a lot in terms of discussion and how tos for
 either Solr and Perl or Solr and Catalyst. There are two CPAN modules which
 I've been experimenting with,   WebService::Solr and Apache::Solr.
 WebService::Solr only implements the LWP agent part of working with Solr,
 which still leaves one to extract the actual JSON what LWP gives you, plus
 it has fatal wide-character issues that use utf8::all isn't able to fix,
 and also does not support xml and csv (other formats solr can provide).
 Apache::Solr is much nicer in that it provides something resumbling a dbic
 result set, but I've already encountered a few things that seem like bugs
 and sending the resultsetlike object to the stash in the same way as a dbic
 resultset doesn't seem to work the same way.

 Are other people using Solr based models? if so are you using either of
 the two CPAN modules or something else? Do you have examples and or notes
 you can share?

 __**_
 List: Catalyst@lists.scsys.co.uk
 Listinfo: 
 http://lists.scsys.co.uk/cgi-**bin/mailman/listinfo/catalysthttp://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive: http://www.mail-archive.com/**
 catalyst@lists.scsys.co.uk/http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/



-- 
---
Marcus Ramberg
Chief Yak Shaver
Nordaaker Consulting
+47-93417508
___
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] [Job] Catalyst Developer in Vienna/Austria

2009-10-06 Thread Marcus Ramberg
Hey Guys.
Please stick to english on this mailing list.

With regards
Marcus Ramberg


2009/9/30 Renee Bäcker mailinglis...@renee-baecker.de

 Hallo Martin,

 hast Du nicht Lust, den Aufruf auch an anderer Stelle zu posten?

  * http://perl-nachrichten.de
  * http://perl-community.de

 Ist bei beidem kostenlos und ohne Anmeldung möglich.

 Du könntest es evtl. auch auf der Mailingliste der Wiener Perlmongers
 versuchen.

 Viel Erfolg bei der Suche und bei dem Projekt.

 Viele Grüße,
 Renée

 Martin Bartenberger schrieb:
  Hallo,
 
  Wir suchen einen erfahrenen Catalyst Developer in Wien und Umgebung der
  sich ein paar Tage mit uns zusammensetzt um eine Webseite/CMS zu
  entwickeln.
 
  Wir sind ein nicht-kommerzieller (keine Sorge, du wirst bezahlt!)
  Jugendverein und wollen unsere Musikplattform neu programmieren. Unser
  EDV-Team besitzt zwar Catalyst Kenntnisse, aber wenig praktische
 Erfahrung.
  Deine Aufgabe wäre die Programmierleitung zu übernehmen und gemeinsam
  mit uns die Grundstruktur in wenigen Tagen aufzubauen.
 
  Du ...
... bist vertraut mit Catalyst best practises.
... hast praktische Erfahrung in Entwicklung  Deployment von Catalyst
  Projekten
... bist mit den neuesten Catalyst Entwicklungen vertraut
... hast keine Probleme in gemütlicher Atmosphäre mit uns zu arbeiten
 
  Wir würden uns vorab gern auf einen Kaffee mit Dir treffen um genauere
  Details zu Ablauf und Bezahlung zu besprechen. Wir wissen dass Qualität
  ihren Preis hat und darum bitten wir Dich bei Kontaktaufnahme uns deine
  Gehaltsvorstellung mitzuteilen.
 
  mit freundlichen Grüßen
 
  Martin
 


 --

 Perl-Magazin: http://perl-magazin.de
 Perl-Nachrichten: http://perl-nachrichten.de

 ___
 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/

___
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] [Announce] Catalyst 5.800013

2009-09-17 Thread Marcus Ramberg
Another day, another Catalyst 5.8 maintainance release. This time,
lucky number 13. The main reason for this release is a change in the
guts of  the most recent Class::MOP. Thus, this release depends on the
latest Moose/Class-MOP, see the changelog attached below for details.
There are also some minor documentation/refactoring changes, and
removal of the -short option to catalyst.pl, which generated a
deprecated style Catalyst namespace.

Enjoy!
Marcus Ramberg
Catalyst Release Manager

--
Nobody expects the spanish release monkeys!

5.80013 2009-09-17 11:07:04

   Bug fixes:
 - Preserve immutable_options when temporarily making a class mutable in
   Catalyst::ClassData as this is needed by new Class::MOP.
   This could have potentially caused issues when using the
deprecated runtime
   plugins feature in an application with plugins which define their own new
   method.
 - Require new Moose version and new versions of various dependencies
   to avoid warnings from newest Moose release.

  Documentation:
 - Rework the $c-go documentation to make it more clear.
 - Additional documentation in Catalyst::Upgrading covering more deprecation
   warnings.

  Refactoring / cleanups:
 - Action methods in the application class are deprecated and applications
   using them will now generate a warning at startup.
 - The -short option has been removed from catalyst.pl, stopping new
   applications from being generated using the ::[MVC]:: naming scheme as
   this is deprecated and generates warnings. RT#49771

___
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] [Announce] Catalyst 5.80012 uploaded to CPAN

2009-09-09 Thread Marcus Ramberg
Hi sports fans!

I am happy to report that version 5.80012 of your favorite MVC
framework is making it's way to a CPAN mirror near you. This is
another maintaince release, and fixes some regressions in the test
suite and backwards compability. We also reduce the minimum required
Perl version, to make it easier to use Catalyst on platforms with
older Perl installations.

I've included the full changelog entry below.

With regards
Marcus Ramberg
Catalyst Release Manager
-- Teaching a million monkeys touch typing.

5.80012 2009-09-09 19:09:09

  Bug fixes:
 - Fix t/optional_http-server.t test.
 - Fix t/optional_http-server-restart.t test.
 - Fix duplicate components being loaded at setup time, each component is
   now loaded at most once + tests.
 - Fix backward compatibility - hash key configured actions are stored in
   is returned to 'actions'.
 - Fix get_action_methods returning duplicate methods when a method is both
   decorated with method attributes and set as an action in config.

  Refactoring / cleanups:
 - Reduce minimum supported perl version from 5.8.6 to 5.8.4 as there are
   many people still running/testing this version with no known issues.

  Tests:
 - Make the optional_http_server.t test an author only test which must be
   run by authors to stop it being broken again.
 - Fix recursion warnings in the test suites.



With regards
Marcus Ramberg

___
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] Integrating Catalyst Applications

2009-09-08 Thread Marcus Ramberg
On Mon, Sep 7, 2009 at 3:33 PM, Ovidpubliustemp-catal...@yahoo.com wrote:
 Is there any particular guidance available for integrating multiple Catalyst 
 applications?  Let's say I want to incorporate a Wiki into my site and I 
 think Angerwhale fits the bill (ignoring the test failures for a moment) and 
 I'd want it to run under (wiki/ being the root and keeping the URL structure 
 under this the same):

Also ignoring the fact that Angerwhale is a blog? :) MojoMojo is a
Catalyst based wiki.

With regards
Marcus Ramberg

___
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: no make install on catalyst apps

2009-08-03 Thread Marcus Ramberg
On Wed, Jul 29, 2009 at 2:28 AM, Tomas Doranbobtf...@bobtfish.net wrote:

 On 28 Jul 2009, at 14:14, Marcus Ramberg wrote:

 I see catalyst apps being complete CPAN packages as a real advantage.
 Taking away the make install option seems very limiting

 +1

 I would very much support moving to a 'real' sharedir for templates / config
 etc, rather than the current hacks (given appropriate back compat) however.

+1 on that as well

With regards
Marcus Ramberg

___
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: no make install on catalyst apps

2009-07-28 Thread Marcus Ramberg
I see catalyst apps being complete CPAN packages as a real advantage.
Taking away the make install option seems very limiting, and
destructive for no good purpose at all. For instance, my previous
employer uses this functionality to build debian packages of all of
their apps.

With regards
Marcus Ramberg



On Tue, Jul 28, 2009 at 9:46 AM, Devin Austindevin.aus...@gmail.com wrote:
 Hi gang,

 There's been some discord as to whether or not Catalyst applications
 should/should not have the option of make install.

 Personally, I'm not really partial either way.  Especially with the advent
 of tools like Dist::Zilla that allow you to keep track of the modules you
 need and build a distribution to release.

 Either way, I think it's time we come to a consensus.  Multiple times there
 have been emails like this asking about it, so let's squash it once and for
 all and get an answer.

 -dhoss

 --
 Devin Austin
 http://www.codedright.net
 http://www.dreamhost.com/r.cgi?326568/hosting.html - Host with DreamHost!

 ___
 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/



___
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] New Apress book shipping now from Amazon.com

2009-07-10 Thread Marcus Ramberg
Also, it's a great book, so get your copy now :)

With regards
Marcus Ramberg



On Fri, Jul 10, 2009 at 12:17 AM, Chrishutchinson.ch...@gmail.com wrote:
 The ebook is already available from APress. Got my copy last night.

 - Chris

 ___
 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/


___
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: new helper api

2009-06-07 Thread Marcus Ramberg
2009/6/5 Francesc Romà i Frigolé francesc.roma+catal...@gmail.com:
 1) It should be possible to create an application with catalyst version X
 and then run the catalyst helper again on catalyst version  X  (assuming it
 doesn't use any feature of the newer version). Right now if an application
 has been created with Catalyst 5.8, running it with 5.7 is not just a matter
 of changing the line use Catalyst::Runtime 5.80;

This would mean that we could never use new features from newer
Runtime distributions in newer skeletons. That seems like a
restriction that would be counter-productive to me. If you want to
develop to target older Runtimes than the current one, I suggest using
matching -Devel helpers.

Marcus

___
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] [Announce] MojoMojo 0.999028

2009-04-23 Thread Marcus Ramberg
I'm happy to say that MojoMojo 0.999028 (The Almost1.0 release) will be
coming to a CPAN mirror near you soon.  This is the result of contributions
from a large number of people, and adds several new features, including a
full cleanup of the template set, polish, russian, catalan and spanish
translations, a new theme (Catalyst homepage) and a cpan module formatter as
well as docbook and file-include formatters. We also have jquery
improvements including maximize support, sticky javascript-based
vertical/horizontal split, dropdowns for syntax highlighters and recaptcha
support for anti-spam.

One important change is that we have replaced the \n= based syntax for
formatter extensions with {{ ... }} based formatters. We've also made
several of the formatters optional to make mojomojo easier to install for
people who don't need all the formatters.

Marcus

0.999028 2009-04-23 11:58:00
- Use oneshot timer instead of only_every to trigger preview update.
- Make .profile smarter and link to it from .recent.
- Clean up extra // in .recent URL's.
- New formatter: {{cpan Some::Module}} auto-hyperlinks (dandv)
- Use package scope for $kate syntax highlight object to reduce
memory leak (mateu)
- Use jquery cookie to make split edit state sticky
- Added maximization of the edit page (linio)
- Instant edit window split mode toggle (horiz./vert.) preserves
content (linio)
- Drop-downs for syntax highlighters, plugins and formatters (linio)
- Set default theme directory when theme preference is NULL
- Add inline view
- reCAPTCHA support (linio)
- localize: help message, admin home page, anonymous name and login
('anonymous coward')
- Fixed displaying multiple user roles
- Now FormFu label_loc can be localized by MojoMojo I18N
- MojoMojo habla español (guikubivan)
- Add polish translation (linio)
- Improved wikilinks (UTF-8, parentheses, anchors) and added tests
- Fixes for paragraphs in toolbar (linio)
- Add Catalan language support
- limit width of preview area in split edit.
- expand_wikiword() only replaces underscores with spaces now.
- match display name of page title, breadcrumb final node, and
search results.
- Make search results byline for last edit author.
- Limit preview width so long pre lines don't squash edit area.
- Fix security check for attachments
- Add Catalyst theme
- Add tabs to Syntax help popup (batman)
- Improved Syntax help: does not cover textarea and features
tabbed navigation (batman)
- Improved templates: removed js, inline css and most templates use
wrapper (batman)
- Changed font-size: Removed ever px-based font-size, and set
default to 11pt (batman)
- Improved w3c validation (batman)

With regards
Marcus Ramberg
___
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 wiki buggered? was:Re: [Catalyst] C::Engine::HTTP taking very long

2009-04-22 Thread Marcus Ramberg
On Tue, Apr 21, 2009 at 11:33 PM, Ian Wells i...@cack.org.uk wrote:

  Can you put something on the wiki as well please?

 Happily, but the validation link I get by email doesn't work...


Can you be a bit more verbose?With regards
Marcus Ramberg
___
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] [PATCH] Catalyst::DispatchType::Chained (5.7101, 5.80001)

2009-04-20 Thread Marcus Ramberg
On Mon, Apr 20, 2009 at 9:23 PM, Oleg Kostyuk cub.ua...@gmail.com wrote:

 2009/4/20 Matt S Trout dbix-cl...@trout.me.uk:
  On Mon, Apr 20, 2009 at 05:16:55AM +0300, Oleg Kostyuk wrote:
  PS: probably, it's needed to check all other places, that use
 Text::SimpleTable
 
  That'd be well worth doing. Please send us a patch if you find any more
 when
  you check them :)

 Sure, why not :)

 New patch attached. We need one more dependency to get this working,
 Text::SimpleTable::AutoWidth.

 Feel free to patch my patch :) by changing fixed_width to max_width
 and vice versa, if you think that that will looks better. Tables that
 created with max_width will be not wider than needed, and tables
 that created with fixed_width will be always all terminal wide.

 Any feedback welcome.


I don't think that was what Matt asked for. Anyways,

1) Why can't your changes be a patch to Text::SimpleTable?
2) Text::SimpleTable::AutoWidth uses Moose and Text::SimpleTable without
declaring so in the Makefile.PL

Marcus
___
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] [Announce] 5.8000_07 - The final dev release? Please test and give us feedback.

2009-04-13 Thread Marcus Ramberg
Thanks to the great work of developers like Florian Ragwitz and Tomas Doran
we're ready for another developer release. With this release, we believe
that all the blockers for a 5.80 release of Catalyst based on Moose are
solved. Please help us by testing it out and reporting back, or forever hold
your peace ;-) If no unforseen issues turn up, we expect to have an actual
user release by the end of this week. The release is on it's way to CPAN as
we speak. If you can't wait, there's a tarball available at

 http://dev.thefeed.no/stuff/Catalyst-Runtime-5.8000_07.tar.gz

The changes from the previous dev release is attached below:

- Add the Catalyst::Dispatcher-dispatch_type method (ash)
- Throw an exception rather than loading an app if an action
  tries to chain to itself (t0m)
  - Tests for this
- Change the $c-visit and $c-go methods to optionally take
  CaptureArgs, making them useful to call ActionChains with (t0m)
  - Tests for this (radek)
- Fix _invoke_as_component method to find the proper action instance
  for dispatchable actions so that -visit or -going to
ActionChains
  with qw/Class::Name method_name/ works correctly (t0m)
  - Tests for this (radek)
- Added Catalyst::Test::ctx_request to be able to inspect
  the context object after a request is made (Jos Boumans)
- debug() POD rewrite (jhannah)
- Change the warning when you have conflicting components to
  present a list (t0m)
- Move NEXT use and testing deprecated features out to its own
  test application so that the main TestApp isn't polluted with
  spurious warnings (t0m)
- Add a warning for the old ::[MVC]:: style naming scheme (t0m)
  - Test for this (t0m)
- Kill Class::C3::Adopt::NEXT warnings for the Catalyst:: namespace
  in production versions (t0m)
- Tidy up Catalyst::ClassData to ensure that all components get
  the correct metaclass (t0m)
- Make MyApp.pm restartable by unsetting setup_finished in
  the restarter process (t0m)
- Non-naive implementation of making mutable on restart using
  B::Hooks::OP::Check::StashChange if installed (t0m)
  - Tests for this (t0m)
- Naive implementation of making all components mutable in the
  forked restart watcher process so native Moose apps using
  immutable restart correctly. (t0m)
  - Tests for this (t0m)
- Bump Moose dependency to 0.70 so that we avoid nasty surprises
  with is_class_loaded and perl 5.80 when you Moosify MyApp.pm (t0m)
- Clarify that request arguments aren't unescaped automatically
  (Simon Bertrang) (Closes RT#41153)
- Don't require C3 for the MRO test (rafl)
- Bump MX::Emulate::CAF prereq to support list assignment (rafl)
- Remove useless column in chained action debug table. (rafl)
- namespace::clean related cleanups (rafl)
- Import related cleanups and consistency fixes (rafl)
- Fix test suite TestApp /dump/env action (t0m)
- Add $res-code as alias for $res-status (hdp)
- Make Catalyst::ClassData compatible with the latest
Class::MOP::Class
  changes. Also depend on the latest Class::MOP. (rafl)
- Add $c-uri_for_action method. (hdp)
- Don't stringify the meta method. Use its name instead. (rafl)
- Use MooseX::MethodAttributes::Inheritable to contain action
  attributes. This means that attributes are now represented in the
MOP,
  allowing method modifiers on actions to work as expected. (rafl)
- Provide a reasonable API in Catalyst::Controller for working with
  and registering actions, allowing a controller sub-class to
replace
  subroutine attributes for action declerations with an alternate
  syntax. (rafl/hdp)
- Instantiate correct sub-class of Moose::Meta::Class for non-Moose
  components where Catalyst forces the creation of a metaclass
instance.
  This is more correct, and avoids metaclass incompatibility in
complex
  cases (t0m)
  - Tests for this (t0m)
- Use of deprecated Catalyst::Base now warns. (t0m)

With regards
Marcus Ramberg
___
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: New to Catalyst questions

2009-02-20 Thread Marcus Ramberg
On Fri, Feb 20, 2009 at 11:32 AM, Rodrigo rodrigol...@gmail.com wrote:

 On Fri, Feb 20, 2009 at 8:21 AM, Dan Dascalescu 
 ddascalescu+catal...@gmail.com ddascalescu%2bcatal...@gmail.com wrote:


 Rodrigo,
 MojoMojo now supports custom styles. A different theme can be seen at
 http://nordaaker.no/wiki/. We think the typography needs improvement,
 and a Mediawiki-like theme would be very good to have.


 I know. I brute-forced the main catalystframework.org css into a MojoMojo
 theme to see how it would look. I'm not a web-designer, so don't expect
 wonders... You can see it here:

 http://rodrigolive.googlepages.com/catmojo.jpg

 Is the Catalyst Wiki code in the svn repository or backed-up somewhere? I
 think it would be good to have a development version (with the current
 content snapshot) so I can work on a makeover.


Looks nice.

MojoMojo is hosted in git. You can check it out from
http://github.com/marcusramberg/mojomojo/tree/master. There is a sql
snapshot with the user passwords stripped out at
http://dev.thefeed.no/stuff/wiki_dump.sql.gz . We are quite interested in
getting a catalyst theme for mojomojo.


With regards
Marcus Ramberg
___
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] MojoMojo now has it's own mailing list.

2009-02-20 Thread Marcus Ramberg
I just thought I'd mention that we've created a separate mailing list for
MojoMojo at
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/mojomojo

Please subscribe if you are interested in using or developing the wiki that
powers dev.catalyst.perl.org.

With regards
Marcus Ramberg
___
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] [Announce] Catalyst-Runtime-5.8000_05

2009-01-29 Thread Marcus Ramberg
Now that you're all done upgrading to 5.7100, it's time to help us out by
testing the next developer release of 5.8000, 5.8000_05, which was uploaded
to CPAN today. I've included the changelog since the previous developer
release at the bottom of the mail.
In case you want to help out with the actual development 5.8, this is our
current TODO:

Known issues:

 - Catalyst-Log-Log4perl Deep recursion on subroutine MockApp::setup
due
   to Adopt::NEXT not remembering which setup methods were already
called
   and which not, like NEXT does. Log::Log4perl needs to be fixed and
the
   problem should be described in Upgrading.pod. (rafl)

 - MX::Emulate::CAF - list assignment (see notes in Upgrading.pod and
   branch in svn)

 - Catalyst::Plugin::Session::State::Cookie - cookie_name is undefined
   unless explicitly configured because setup_session isn't executed.

Documentation:

   - Catalyst/Upgrading.pod needs brushing up

Profiling:

  - vs 5.70 and optimisation as needed.

Marcus Ramberg
Go West, Young Catalyst!

5.8000_05 2008-29-01 00:00
- Text::SimpleTable's go as wide as $ENV{COLUMNS} (jhannah)
  Patch written by Oleg Kostyuk cub.ua...@gmail.com
- Improve docs for visit (mateu)
- Add docs for finalize hook (dhoss)
- Added ru/ua translations to error page
- Improve the clarity and verbosity of the warning when component
  resolution uses regex fallback. (jhannah)
- Handle leading CRLF in HTTP requests sometimes sent by IE6 in
  keep-alive requests. (andyg)
- Fixes for FastCGI with IIS 6.0 (janus)
- Passing request method exported by Catalyst::Test an extra
  parameter used to be ignored, but started breaking if the
parameter
  was not a hash in 5.8000_04. Extra parameter is now ignored if
  it isn't a hashref (t0m)
- Fix request argumentss getting corrupted if you override the
  dispatcher and call an action which detaches (for
  Catalyst::Plugin::Authorization::ACL) (t0m)
- Fix calling use Catalyst::Test 'MyApp' 'foo' which used to work,
  but stopped as the 2nd parameter can be an options hash now (t0m)
- Bump Moose dependency to fix make_immutable bug (t0m)
- Use compile time extends in Catalyst::Controller (t0m)
- Make Catalyst::Request::uploads attribute non-lazy, to fix
  test for Catalyst-Engine-Apache (t0m)
- Bump version of MooseX::Emulate::Class::Accessor::Fast (t0m)
- Stop using MooseX::Adopt::Class::Accessor::Fast by default, to
stop
  breaking other packages which use Class::Accessor::Fast
- Remove unused action_container_class attribute from
  Catalyst::Dispatcher (t0m)
- Replace {_body} instance access with calls to _body accessors
(t0m)
- Add backwards compatibility alias methods for private attributes
on
  Catalyst::Dispatcher which used to be public. Needed by
  Catalyst::Plugin::Server and
 Catalyst::Plugin::Authorization::ACL
  (t0m)
- Fix return value of $c-req-body, which delegates to the body
  method on the requests HTTP::Body instance (t0m)
  - Test for this (t0m)
- Fix calling $c-req-body from inside an overridden prepare_action
  method in a plugin, as used by Catalyst::Plugin::Server (t0m)
  - Test for this (t0m)
- Fix assignment to Catalyst::Dispatcher's preload_dispatch_types
and
  postload_dispatch_types attributes - assigning a list should
later
  return a listref. Fixes Catalyst::Plugin::Server. (t0m)
  - Tests for this (t0m)
- Change streaming test to serve itself rather than 01use.t, making
  test sync for engines easier (t0m)
- Refactor capturing of $app from Catalyst::Controller into
  Catalyst::Component::ApplicationAttribute for easier reuse in
other
  components (Florian Ragwitz)
- Make the test suites YAML dependency optional (Florian Ragwitz)
- Make debug output show class name for the engine and dispatcher
  rather than the stringified ref. (t0m)
- Make MyApp immutable at the end of the scope after the setup
  method is called, fixing issues with plugins which have their
  own new methods by inlining a constructor on MyApp (t0m)
  - Test for this and method modifiers in MyApp (t0m)
- Fix bug causing Catalyst::Request::Upload's basename method
  to return undef (t0m)
  - Test for this (Carl Franks)
- Fix loading of classes which do not define any symbols to not
  die, as it didn't in 5.70 (t0m)
  - Test for this (t0m)
- Bump MooseX::Emulate::Class::Accessor::Fast dependency
  to force new version which fixes a lot of plugins (t0m)
- Make log levels additive, and add documentation and tests
  for the setup_log method

[Catalyst] [Announce] Catalyst::Runtime 5.7099_04. IMPORTANT; PLEASE TEST!

2009-01-12 Thread Marcus Ramberg
Since we're spending some extra time making sure the 5.8 version is
backwards compatible with 5.7, we've decided to do another release in the
5.7 series, version 5.71000.
Since this is a  new point release, it contains new features as well as bug
fixes. Please test it with your apps to make sure everything works, and
report back here. If we don't hear anything about problems by the end of
this week we'll be pushing the release.

To test, you can get the development release here.

http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/Catalyst-Runtime-5.7099_04.tar.gz

Below is the changelog since the latest stable release, note that 5.7015's
bugfix already was in the development releases.

5.7099_04 2009-01-12 13:06:00
- Add environment hack for FastCGI under IIS (Simon Bertrang)
  - Test for this and preexisting Lighty hack (Simon Bertrang)
- Change streaming test to serve itself rather than 01use.t, making
test
  sync for engines easier (t0m)
- Workaround change in LWP that broke a cookie test (RT #40037)
- Backport go() from 5.8 branch.
- Fix some Win32 test failures
- Add pt translation of error message (wreis)
- Make :Chained('../action') work (Florian Ragwitz)
- Fix forwarding to action object.
- Handle leading CRLF in HTTP requests sometimes sent by IE6 in
keep-alive requests.

5.7099_03 2008-07-20 10:10:00
- Fix regressions for regexp fallback in model(), view() and
controller()
- Added the supplied argument to the regexp fallback warning for
easier
  debugging
- Ensure ACCEPT_CONTEXT is called for results from component()

5.7099_02 2008-07-16 19:10:00
- Added PathPrefix attribute
- Removed Catalyst::Build; we've long since moved to Module::Install
- Updated Catalyst::Test docs to mention the use of HTTP::Request
  objects (Rafael Kitover)

5.7099_01 2008-06-25 22:36:00
- Refactored component resolution (component(), models(), model(),
et al). We now
  throw warnings for two reasons:
  1) model() or view() was called with no arguments, and two results
are returned
 -- set default_(model|view), current_(model|view) or
current_(model|view)_instance
 instead
  2) you call a component resolution method with a string, and it
resorts to a regexp
 fallback wherein a result is returned -- if you really want to
search, call the
 method with a regex as the argument
- remove 0-length query string components so warnings aren't thrown
(RT #36428)
- Update HTTP::Body dep so that the uploadtmp config value will work
(RT #22540)
- Fix for LocalRegex when used in the Root controller
- Get some of the optional_* tests working from dirs with spaces (RT
#26455)
- Fix Catalyst::Utils::home() when application .pm is in the current
dir (RT #34437)
- Added the ability to remove parameters in req-uri_with() by
passing in
  an undef value (RT #34782)
- Added $c-go, to do an internal redispatch to another action,
while retaining the
  contents of the stash


With regards
Marcus Ramberg
___
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] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-05 Thread Marcus Ramberg
After hours and hours of panic, despair, hair hugging and straight
procrastination, we have finally managed to produce a Catalyst-Runtime
distribution that
a) Has a Moose
b) Performs similarly to the previous stable version, and most importantly
c) Works with the old 5.7 based applications.
d) Has some nice new features (notable since last dev release is virtual
host support for tests)

There are still a few problems to solve before the next stable CPAN release
(Some of the plugins are still failing tests, most notoriously the backwards
compatibility tests of Catalyst-Plugin-Authentication), but Catalyst-Runtime
now works on our apps. That is why we would like for you to try it out, and
tell us what breaks on your apps (If you don't, we will happily ignore your
anguished cries later (Well, probably not, but please test it anyways!)) The
 developer release is currently on it's way to CPAN, and should be available
for your local mirror before long. In case you are interested, I've included
the change log since the last dev release below.

With regards
Marcus Ramberg
Catalyst Release Manager.


5.8000_04  2008-12-05 12:15:00
- Silence Class::C3::Adopt::NEXT warnings in the test suite (rafl)
- Fix loads of 'used once, possible typo' warnings (rafl)
- Additional tests to ensure upload temp files are deleted (andyg)
- Remove use of NEXT from the test suite, except for one case
  which tests if Class::C3::Adopt::NEXT is working (t0m)
- Use a predicate to avoid recursion in cases where the uri
  method is overridden by a plugin, and calls the base method,
  for example Catalyst::Plugin::SmartURI (t0m)
  - Test for this (caelum)
- Compose the MooseX::Emulate::Class::Accessor::Fast role to
  Catalyst::Action, Catalyst::Request, and all other modules which
  inherit from Class::Accessor::Fast in 5.70.
  This fixes:
- Catalyst::Controller::HTML::FormFu (zamolxes)
- Catalyst::Request::REST (t0m)
  - Test for this (t0m)
- Make hostname resolution lazy (Marc Mims)
- Support mocking virtualhosts in test suite (Jason Gottshall)
- Add README (marcus)
- Fix TODO list (t0m)
- Use Class::C3::Adopt::NEXT (rafl)
- Ignore C3 warnings on 5.10 when testing ensure_class_loaded (rafl)
- Add TODO test for chained bug (gbjk)
- Fix list address in documentation (zarquon)
- Fix ACCEPT_CONTEXT on MyApp, called as a class method (marcus)
   - Test for this (marcus)
- Bump MooseX::Emulate::Class::Accessor::Fast version requirement
to
  get more back compatibility (t0m)
- Improve documentation for $req-captures (caelum)
- Fix a bug in Catalyst::Stats, stopping garbage being inserted into
  the stats if a user calls begin = but no end = (jhannah)
   - Test for this (jhannah)
- Trim lines sooner in stats to avoid ugly Text::SimpleTable
wrapping
  (jhannah)
- Change Catalyst::ClassData to tweak the symbol table inline for
  performance after profiling (mst)
- Fix POD typo in finalize_error (jhannah)
- Add tests to ensure that we delete the temp files created by
  HTTP::Body's OctetStream parser (t0m)
___
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] Extra characters inserted into PDF output

2008-12-03 Thread Marcus Ramberg
It's probably Fillinform, which is an evil hack that does a regex on your
body.
With regards
Marcus Ramberg


On Wed, Dec 3, 2008 at 12:59 PM, Dr. Jennifer Nussbaum
[EMAIL PROTECTED]wrote:

 --- On Tue, 12/2/08, Steve Sabljak [EMAIL PROTECTED] wrote:

  From: Steve Sabljak [EMAIL PROTECTED]
  Subject: Re: [Catalyst] Extra characters inserted into PDF output
  To: [EMAIL PROTECTED], The elegant MVC web framework 
 catalyst@lists.scsys.co.uk
  Date: Tuesday, December 2, 2008, 10:55 PM
  On Wed, Dec 3, 2008 at 2:41 PM, Dr. Jennifer Nussbaum
  [EMAIL PROTECTED] wrote:
  
   --- On Tue, 12/2/08, Steve Sabljak
  [EMAIL PROTECTED] wrote:
  
   From: Steve Sabljak [EMAIL PROTECTED]
   Subject: Re: [Catalyst] Extra characters inserted
  into PDF output
   To: The elegant MVC web framework
  catalyst@lists.scsys.co.uk
   Date: Tuesday, December 2, 2008, 6:30 PM
   On Wed, Dec 3, 2008 at 5:25 AM, Dr. Jennifer
  Nussbaum
   [EMAIL PROTECTED] wrote:
--- On Tue, 12/2/08, Robin Berjon
   [EMAIL PROTECTED] wrote:
   
From: Robin Berjon
  [EMAIL PROTECTED]
Subject: Re: [Catalyst] Extra characters
  inserted
   into PDF output
To: [EMAIL PROTECTED], The elegant
  MVC web
   framework catalyst@lists.scsys.co.uk
Date: Tuesday, December 2, 2008, 8:57 AM
On Dec 2, 2008, at 17:02 , Dr. Jennifer
  Nussbaum
   wrote:
 My PDF files are being uploaded and
  saved in
   the
database apparently correctly. Then what
  seems to
   be
happening is that somewhere in the binary
  stream
   of PDF,
there is a (random) sequence of
  !,
   and
somewhere later there is a
  . And
   something
is inserting a -- before the
   .

 My debugging statements show that
  Catalyst is
outputting the correct size of the file,
  which
   suggests that
the insertion is happening elsewhere.
   
The one thing you're not saying is
  under what
   Catalyst
is running when it's producing that.
  Are you
   running
FastCGI? Mod_perl? Stand-alone
  development server?
   
This happens both under the standalone server
  and
   under Apache/mod_perl.
   
If it happens in all of those then the
  bug is
   probably in
your code (though after your debugging
   statements).
   
Ive shown all the code for the view, so you
  can see
   anything that happens after the debugging
   
If the
insertion is indeed happening outside
  that pretty
   much just
leaves the Web server, or perhaps a
  proxy. Wild
   stab in the
dark: do you happen to have SSI turned
  on?
   
Yes, but only on the actual server. My dev
  box running
   the standalone server isnt doing any SSI's.
   
This is baffling.
   
Jen
   
  
   So, if you use (literally)
  
  
  $c-res-output('X!XXX');
  
   does it output
  'X!X--X'?
   (you might want to change the content-type to
  text/plain
   for this test
   if testing with a browser)
  
   I dont know if this was a rhetorical question designed
  to show how stupid i am, or a real question, but the answer
  is yes. Or, rather, if I change my output
  routine to
  
  
  $c-res-output('X!XXX');
  $c-res-content_type('text/plain');
  
   Then what i get in my browser is:
  
   X!--XX--X
  
   Where does this leave me? WHY is this happening?
  
   Jen
  
 
  No, not rhetorical or designed to do anything, just trying
  to narrow
  down where it's happening. Do the extra characters get
  inserted when
  you do this?
 
  require bytes;
 
  my $content = 'X!XXX';
  $c-res-content_type('text/plain');
  $c-res-content_length(bytes::length($content));
  $c-finalize_headers
  $c-write($content);
 
  Does that still insert the unwanted chars?

 Two interesting things. First, *NO*, that does *NOT* display the unwanted
 characters. Wow.

 Second, in response to an off-list suggestion from Tom Doran, i created a
 test app in which the only thing i did was change the index method in
 Controller/Root from the hellow orld  welcome message to

  $c-res-output('X!XXX');
  $c-res-content_type('text/plain');

 And that also does *NOT* display the unwanted characters.

 This suggetsts that its something in my plugins or app that is doing this.
 But i still cant see where. My plugin line is:

 use Catalyst qw/ConfigLoader Authentication Authorization::Roles Session
 Session::Store::DBIC Session::State::Cookie Static::Simple RequireSSL
 FormValidator FillInForm/;

 and my only end processing (someone else asked about this) is:

 sub render : ActionClass('RenderView') { }

 sub end : Private {
  my ( $self, $c ) = @_;
  $c-forward('render');
  if (defined $c-stash-{edit_data} ) {
$c-fillform( $c-stash-{edit_data} );
  } else {
$c-fillform;
  }
 }

 If there is a response body RenderView is supposed to do nothing; and...
 hmm...

 This looks like it's going to call fillform() even if theres a response
 set... Jen codes

 THATS IT!

 I just added return if $c-response-body; after

Re: [Catalyst] OT: Use the CPAN, Luke?

2008-12-01 Thread Marcus Ramberg
On Mon, Dec 1, 2008 at 3:36 AM, J. Shirley [EMAIL PROTECTED] wrote:

 That is the worst ever response to a test failure... just terrible.
 This is a test failure at the core, because a version of a module down
 the chain wasn't tested.

 This is what CPAN Testers, in part, is designed to catch.  Saying
 they can't install a CPAN module is an insult to the CPAN Testers
 effort and all the toolchain authors, too.  There is a reason this
 stuff exists, it is so that CPAN modules are widely accessible.

 Welcome to the perl echo chamber...


Hey, just because Jrockway is a emo who hates popularity doesn't mean we
(the catalyst developers) don't care about installation failures. Matt has
spent a lot of energy to make sure our dependency graph installs cleanly,
for instance. And this issue has in fact already been resolved by the Mouse
people, hasn't it?

Marcus
___
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 install failure due to Mouse.pm on Debian Etch

2008-11-27 Thread Marcus Ramberg
On Thu, Nov 27, 2008 at 1:47 AM, Toby Corkindale 
[EMAIL PROTECTED] wrote:

 Hi guys,
 I'm having trouble getting Catalyst to install (via CPAN) on a fresh Debian
 Etch install.
 The problem is the dependency Mouse (0.11) fails its unit tests there.
 (I'd guess due to the older versions of some core packages).

 I've raised http://rt.cpan.org/Ticket/Display.html?id=41254.

 Catalyst::Action::RenderView (first module which was wanting Mouse) itself
 seems to pass its own unit tests after Mouse is force-installed, though.


Hey toby...

http://search.cpan.org/src/MRAMBERG/Catalyst-Action-RenderView-0.08/Makefile.PL-
I'm pretty sure RenderView does not depend on Mouse.

Marcus
___
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] [Announce] MojoMojo 0.999023

2008-11-24 Thread Marcus Ramberg
I've just uploaded the latest version of MojoMojo to CPAN. For those not in
the know, MojoMojo is the wiki powering dev.catalyst.perl.org. Some exciting
new features in the latest releases, including using SWFUpload for
Attachment uploading (Supprting multiple files, and progress bars), a TOC
generator and a full permissions editor, letting you control MojoMojo's
powerful permissions system directly from the GUI interface.

There has also been some modernization of the code-base; the javascript has
been rewritten using jquery, and all the Form handling is now implemented
using HTML::FormFu. Besides that, several bug fixes has gone into the
releases.

The full change-log since my last announcement is included below.

Marcus -- Building an army of winged monkeys with typewriters.

0.999023  2008-11-23 10:35:00
- Added  GUI Permissions editor (nilsonsjf)
- Finished porting MojoMojo to HTML::FormFu
- Added TOC plugin using HTML::GenToc + anchor names that are
  XHTML compliant and human/SEO-friendly (dandv)
- Fixed formatting of profile.
- Fix recent list to not display implicit links.
- Fix bind issue in .list
- Set noindex for most pages

0.999022  2008-11-14 17:28:00
- Fix validation check (sachinjsk)
- Fix javascript toolbar
- Fix various Pg specific issues
- Change to use flash uploader.
- Update search not to cache objects
- Fix unicode issue with preview
- rewrite javascript to use jquery, remove inline js.
- Fix indexer to use correct content version

With regards
Marcus Ramberg
___
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] [Announce] MojoMojo 0.999021 has been released to CPAN

2008-10-31 Thread Marcus Ramberg

Hi gang.

Just a quick notice to inform you that a new version of the Catalyst/ 
DBIC based wiki MojoMojo has been released to CPAN. A major focus for  
this release has been to make MojoMojo easier to install and maintain,  
and to that effect, I'm happy to mention that we're finally rid of  
Plucene. There's also some check to warn you of permissions trouble at  
startup, as well as a new fluid layout for smaller displays, and a  
number of bug fixes.


I've included the entire change list below. If you're interested in  
MojoMojo, I suggest stopping by #mojomojo on irc.perl.org.

--
Be well
Marcus Ramberg
Nordaaker Ltd (http://nordaaker.com)  Open web app craftsmen


0.999021  2008-11-01 01:47:00
- Move search to KinoSearch
- Make startup checks for permissions.
- Remove BindLex
- Fix lingering 'query' search name which should be 'q'
- add Edit Pages link to navbar
- Some spawn db fixes
- Fix session config, removed colonos (plu)
- liquid layout for less than 1024px wide view


___
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] [Announce] Catalyst-Runtime-5.7015

2008-10-15 Thread Marcus Ramberg

Hi.

Just a quick notice to tell you that we have released a minor  
maintenance release of the main Catalyst distribution to fix a test  
failure that occurs due to a change in the latest LWP release. Here is  
the change log:


5.7015  2008-10-15 22:57:00
 - Workaround change in LWP that broke a cookie test (RT  
#40037)


Besides that, we are working hard to bring you the next major release  
of Catalyst, version 5.8. The release is currently feature complete,  
and we are now working to make it leaner and faster before release. A  
development snapshot, 5.8000_02 was recently uploaded to CPAN, and can  
be found at http://search.cpan.org/~mramberg/Catalyst- 
Runtime-5.8000_02/ . Please feel free to test it with your apps and  
report back any issues to the development team.


Be well
Marcus Ramberg
Release Manager

--
Nordaaker Ltd 


___
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] Troubleshooting FastCGI error

2008-08-28 Thread Marcus Ramberg


On 13. aug.. 2008, at 13.40, Dermot wrote:


Thanx Carl and Sorry Matthias, I didn't follow you exactly because

su apache
This account is currently not available

and

su -m apache
bash: /root/.bashrc: Permission denied

So I have chown apache:apache MyApp directory and it works.

Is it okay to leave the top level directory and the datafile owned by
the httpd user? I would have thought all the other code should be
read-only for other that user.


SQLite requires write access on the directory the data file is in as  
well as the data file to be able to provide locking. leaving the app  
writeable by the httpd user isn't really recommended. I suggest moving  
your sqlite database to a db directory or something similar.


Marcus

___
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] [Announce] Catalyst-Runtime 5.7099_01 - Developer Release

2008-06-25 Thread Marcus Ramberg

Hi folks.

We're getting close to getting a new release of Catalyst out the door,  
and since this version contains new features as well as bugfixes, It  
will be 5.7100. I've just uploaded a developer release to cpan, which  
will be released as the final version in one week, unless you find  
something we need to fix, or someone hands us a completed patch for  
the action_uri method ;)


Here's the changelog:

- Refactored component resolution (component(), models(),  
model(), et al). We now

  throw warnings for two reasons:
  1) model() or view() was called with no arguments, and two  
results are returned
 -- set default_(model|view), current_(model|view) or  
current_(model|view)_instance

 instead
  2) you call a component resolution method with a string,  
and it resorts to a regexp
 fallback wherein a result is returned -- if you really  
want to search, call the

 method with a regex as the argument
- remove 0-length query string components so warnings aren't  
thrown (RT #36428)
- Update HTTP::Body dep so that the uploadtmp config value  
will work (RT #22540)

- Fix for LocalRegex when used in the Root controller
- Get some of the optional_* tests working from dirs with  
spaces (RT #26455)
- Fix Catalyst::Utils::home() when application .pm is in the  
current dir (RT #34437)
- Added the ability to remove parameters in req-uri_with()  
by passing in

  an undef value (RT #34782)

The feature to note here is 'go', which works like an internal  
redispatch to another action, while retaining the stash intact. Being  
able to do this means that in practice you don't ever need to set the  
template name in stash, but can depend on using go when you want to  
render the template of the other action, rather than the one you  
dispatched to.


Have fun, take care, remember to brush your teeth!

Marcus
Catalyst Release Manager.

___
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] ANNOUNCE: Catalyst::Devel 1.07 and Catalyst::Manual5.7012 released to CPAN

2008-06-03 Thread Marcus Ramberg

On 3. juni. 2008, at 21.03, Octavian Rasnita wrote:


From: Bill Moseley [EMAIL PROTECTED]

Yes, whitespace issues in YAML can be frustrating.  Can you give an
example of a case where POD and YAML were causing new users  
confusion?


YAML is hard to understand for a blind developer because if he  
arrows up or down the  text, he hears the current line spoken, but  
he doesn't know how many spaces  is that line indented.
YAML is useful only visually, but not all  the programmers can see,  
so from this point of view, other configuration modules are better.


Does that mean it's impossible to code python if you are blind?

Marcus

___
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] So, what do we want in the -next- book?

2008-05-04 Thread Marcus Ramberg

On 4. mai. 2008, at 15.39, Matt S Trout wrote:

Then again, I originally learned Catalyst by reading the source;  
took me
about 8 hours. The only thing that confused me was the dispatcher,  
which is

why I rewrote most of it later when I became a contrib :)


And now it confuses the rest of us instead ;-)

Marcus


___
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] So, what do we want in the -next- book?

2008-04-29 Thread Marcus Ramberg

On 29. april. 2008, at 19.02, Peter Corlett wrote:


On Tue, Apr 29, 2008 at 11:34:57AM -0500, Jonathan Rockway wrote:

* On Tue, Apr 29 2008, Peter Corlett wrote:

[...]
Right, and I need to read the entire Linux and libc source code to  
be

able to write a Unix application.

It will help, yes.


It may well help, but it is not necessarily the best approach. The  
source
code to a library is too low-level for a user of the library to  
really get a

grip on how all the pieces fit together and are intended to be used.

Telling people to grub through the source is generally an admission  
that the

doucmentation sucks. Which it does.


We have a bunch of library documentation, manuals and tutorials for  
Catalyst tho

(which we are very happy to accept new contributors to :)

Jonathan suggested reading the source if you wanted to learn Catalyst  
internals, not
as a requirement For application development... I'm not sure why that  
seems so

unreasonable?

With regards,
Marcus Ramberg.

___
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] CatalystSites.org

2008-04-06 Thread Marcus Ramberg

ty chego raspizdelsia po-russki, suka? :D

Marcus

On 2. april. 2008, at 19.17, Oleg Pronin wrote:

ti che raspizdilsya po-nemetski, suka ?

2008/4/2, Ulf Lenski [EMAIL PROTECTED]:


Hallo Ulrich,
ich habe, dein Einverständnis vorausgesetzt, unsere pspf-app mal  
auf der

unten genannten Seite veröffentlicht.
http://drs.dife.de/ könnte dort doch auch gelistet werden?

Wollen wir uns bei Gelegenheit mal wieder treffen?

bis bald - ulf.


Stephen Sykes schrieb:


Hello Friends,

For the past few days I have been putting together a site for  
listings

of websites driven by the Catalyst MVC framework. The site idea was
born out of a discussion on the list here a few weeks ago  
regarding a

lack of any definitive list of sites based on the Catalyst MVC
framework. Well, today I would like to announce the site launch. I
hope everyone finds the site to their liking and can find the time  
to

register and post their Catalyst driven websites.

Note: I am also planning to release the source code for the site via
subversion/trac as soon as I get a couple more admin features
finished. So if anyone is interested in helping with the site code  
we
can do this under version control, a sort of community driven  
project

if you will.

URL: http://www.catalystsites.org

Kind Regards,
Stephen Sykes

___
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/




___
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/




___
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/



___
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] Serving static files without Sessions involved

2008-03-09 Thread Marcus Ramberg
On Sat, Mar 8, 2008 at 2:51 AM, Matt Knesi [EMAIL PROTECTED] wrote:
 With my current configuration, when serving static files (like images
  for my site layout etc.), every request will load session data.
  (an older post at:
  http://www.gossamer-threads.com/lists/catalyst/users/1437 also mentioned
  this)

  Is it possible to AVOID sessions for files from a specific directory?

Hi Matt

For production deployment, the best solution is to avoid catalyst
hitting your static files at all. For Apache for instance, you could
do this with something like the following:

Location /static
SetHandler default-handler
/Location

-- 
With regards
Marcus Ramberg

___
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] How to help with the wiki migration?

2008-01-23 Thread Marcus Ramberg
On Jan 23, 2008 8:47 AM, Kieren Diment [EMAIL PROTECTED] wrote:

 On 23 Jan 2008, at 18:28, Ashley wrote:

  On Jan 22, 2008, at 10:47 PM, Kieren Diment wrote:
 
  2.  How do I get a login for the new wiki at http://catwiki.toeat.com
 
  I had no trouble registering on ther right now. Is that where we
  should be directing attention?
 

 Pretty much.  There's an effort required to port from trac to
 mojomojo.  This also has the advantage that many eyeballs will tell
 us what needs to be merged back into the catalyst dist documentation.

  3.  Once I've got a login, what do you want me to do?  Where is
  the best place for me to get instructions?
 

 I'm hoping jshirley will chip in with answers to number 3.   The only
 tuits I have right now are on making a few posts to the mailing list :-(


 ___
 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/




-- 
With regards
Marcus Ramberg

___
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] How to help with the wiki migration?

2008-01-23 Thread Marcus Ramberg
On Jan 23, 2008 8:47 AM, Kieren Diment [EMAIL PROTECTED] wrote:

 On 23 Jan 2008, at 18:28, Ashley wrote:

  On Jan 22, 2008, at 10:47 PM, Kieren Diment wrote:
 
  2.  How do I get a login for the new wiki at http://catwiki.toeat.com
 
  I had no trouble registering on ther right now. Is that where we
  should be directing attention?
 

 Pretty much.  There's an effort required to port from trac to
 mojomojo.  This also has the advantage that many eyeballs will tell
 us what needs to be merged back into the catalyst dist documentation.

  3.  Once I've got a login, what do you want me to do?  Where is
  the best place for me to get instructions?
 

 I'm hoping jshirley will chip in with answers to number 3.   The only
 tuits I have right now are on making a few posts to the mailing list :-(


I know I'm not Jshirley, but
http://catwiki.toeat.com/meta/tracpagestoport should give  quick idea
on how to start. We're working on a trac2markdown script to make it
quicker to migrate the text as well.  Also, note that registration on
the wiki is open at http://catwiki.toeat.com/.register . You will have
to verify your email address tho.

Take care,
Marcus

-- 
With regards
Marcus Ramberg

___
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/