[Catalyst] Job Queue for Catalyst

2013-03-05 Thread linuxsupport
Hi, Anyone has recommendation for using job queue with Catalyst? I have trying to use TheSchwartz and TheSchwartz::Moosified (not at the same time). I am able to insert the job, and worker.pl can execute the job, but I could not find how to get the status of particular job, I get a job id from

Re: [Catalyst] May be asynchronous communication between Catalyst applications

2013-03-05 Thread linuxsupport
'); } On Tue, Mar 5, 2013 at 12:16 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 4 Mar 2013, at 17:14, linuxsupport lin.supp...@gmail.com wrote: Yes, I know that and tried with -f option, but result was same. No other ideas. Some code you haven't shown us doesn't work as you expect - we can't

Re: [Catalyst] May be asynchronous communication between Catalyst applications

2013-03-05 Thread linuxsupport
: Accepting connections at http://*:3000/ On Tue, Mar 5, 2013 at 3:53 PM, linuxsupport lin.supp...@gmail.com wrote: To make things simple, I created following methods using REST action class. Once, I call srv_setup it returns me ok quickly after that If I can srv_status or srv_setup, it goes on wait

Re: [Catalyst] May be asynchronous communication between Catalyst applications

2013-03-04 Thread linuxsupport
Yes, I know that and tried with -f option, but result was same. On Mon, Mar 4, 2013 at 9:35 PM, Larry Leszczynski lar...@emailplus.orgwrote: Hi - On Sun, Mar 3, 2013, at 08:44 PM, linuxsupport wrote: I tried Catalyst::Plugin::RunAfterRequest, when I send request to the app, it returns

Re: [Catalyst] May be asynchronous communication between Catalyst applications

2013-02-23 Thread linuxsupport
. On Feb 22, 2013, at 10:40 PM, linuxsupport lin.supp...@gmail.com wrote: Hi All, I need your help on the following scenario. I have 2 Catalyst apps, say App 1 and App 2 Now, User access the App 1 and request something, App 1 then connect to App 2 for the information but getting

Re: [Catalyst] Problem with Catalyst 5.8 and mod_perl 2

2012-07-29 Thread linuxsupport
wrote: On 29/07/12 15:10, linuxsupport wrote: I have setup mod_geoip in Apache which creates environment variable GEOIP_COUNTRY_CODE I am not able to get this variable in catalyst controller, I have tried getting it form %ENV. Have you specified Passenv? http://httpd.apache.org/docs

Re: [Catalyst] Problem with Catalyst 5.8 and mod_perl 2

2012-07-29 Thread linuxsupport
, 2012 at 11:48 PM, linuxsupport lin.supp...@gmail.com wrote: Yes PassEnv GEOIP_COUNTRY_CODE I dumped the %ENV, and got following [debug] $VAR1 = 'PATH'; $VAR2 = '/sbin:/usr/sbin:/bin:/usr/bin'; $VAR3 = 'MOD_PERL_API_VERSION'; $VAR4 = 2; $VAR5 = 'MOD_PERL'; $VAR6

Re: [Catalyst] Problem with Catalyst 5.8 and mod_perl 2

2012-07-29 Thread linuxsupport
Yes, I am using it in PHP On Sun, Jul 29, 2012 at 9:04 PM, Hailin Hu i...@h2l.name wrote: Are you sure GEOIP_COUNTRY_CODE does exist? On Mon, Jul 30, 2012 at 12:18 AM, linuxsupport lin.supp...@gmail.com wrote: I tried PerlPassEnv GEOIP_COUNTRY_CODE but still not getting it in %ENV

[Catalyst] Using a model class from other class

2011-09-29 Thread linuxsupport
Hi, I have a model called DB where I have 3 classes, User, Group, UserGroup Now, I have created a resultset for Group ie. Myapp::Schema::ResultSet::Group How can I call User class from Myapp::Schema::ResultSet::Group ? For example In Group resultset I am working with some groups and want to

[Catalyst] Group based access control

2011-09-28 Thread linuxsupport
Hi, Is there was to implement ACL based on group? similar to role base access controller where we use check_user_roles. Thanks ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

[Catalyst] Re: Group based access control

2011-09-28 Thread linuxsupport
I am sorry, please read the line as below. Is there a way to implement ACL based on group? similar to role base access controller where we use check_user_roles. On Wed, Sep 28, 2011 at 11:48 AM, linuxsupport lin.supp...@gmail.comwrote: Hi, Is there was to implement ACL based on group

Re: [Catalyst] Re: Group based access control

2011-09-28 Thread linuxsupport
I was looking if there is a read made solution, or someone implemented it On Wed, Sep 28, 2011 at 9:18 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 28 Sep 2011, at 12:34, linuxsupport wrote: I am sorry, please read the line as below. Is there a way to implement ACL based on group

Re: [Catalyst] Re: Group based access control

2011-09-28 Thread linuxsupport
you reviewed the various Catalyst authZ modules on CPAN? It isn't clear what exactly you're looking to accomplish. Cheers, --Trevor linuxsupport wrote: I was looking if there is a read made solution, or someone implemented it On Wed, Sep 28, 2011 at 9:18 PM, Tomas Doran bobtf

[Catalyst] Google OpenID

2011-09-06 Thread linuxsupport
Hi, I am trying to implement OpenID with google login, but no success. Looking for some working examples. Thanks ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] Authentication with REST and Catalyst

2011-03-12 Thread linuxsupport
: On Fri, Mar 11, 2011 at 3:00 PM, Devin Austin devin.aus...@gmail.comwrote: On Fri, Mar 11, 2011 at 12:48 PM, linuxsupport lin.supp...@gmail.comwrote: Hi Everyone, What is the best practice for implementation authentication and authorization when building a REST API application using catalyst

Re: [Catalyst] Authentication with REST and Catalyst

2011-03-12 Thread linuxsupport
Thank you so much, I will try TLS and see how it goes. On Sat, Mar 12, 2011 at 7:44 PM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 da...@cpan.org wrote: If you think of cobbling together your own authentication scheme, don't. You will make mistakes and introduce weaknesses. Use the established ones, in decreasing

[Catalyst] Authentication with REST and Catalyst

2011-03-11 Thread linuxsupport
Hi Everyone, What is the best practice for implementation authentication and authorization when building a REST API application using catalyst? How should authentication be implementation? Any guide or example would be very helpful. Thanks ___ List:

Re: [Catalyst] SOAP WSDL client

2011-03-06 Thread linuxsupport
( or ::Adaptor ) Cheers, Morad Igmir. Le 6 mars 2011 à 08:15, linuxsupport lin.supp...@gmail.com a écrit : Hi, Can any one provide me an example of using SOAP from Catalyst? basically I want to access a web web service. Thanks in advance

[Catalyst] SOAP WSDL client

2011-03-05 Thread linuxsupport
Hi, Can any one provide me an example of using SOAP from Catalyst? basically I want to access a web web service. Thanks in advance. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

[Catalyst] Login issue with IE

2010-12-17 Thread linuxsupport
Hi, I am creating a catalyst application, authentication is implemented using following modules Authentication Authorization::Roles Session Session::Store::FastMmap Session::State::Cookie I am able to login using firefox, but in IE login does not work. Can you anyone guide me on

[Catalyst] Re: Login issue with IE

2010-12-17 Thread linuxsupport
I found the issue it time on my server was not correct. Thanks On Fri, Dec 17, 2010 at 2:51 PM, linuxsupport lin.supp...@gmail.com wrote: Hi, I am creating a catalyst application, authentication is implemented using following modules Authentication Authorization::Roles Session

Re: [Catalyst] Retrieve all users belong to a category and all its sub categories

2010-12-17 Thread linuxsupport
OK, I switched to Tree::NestedSet. Can someone give me real example, its not working for me. Thanks On Fri, Dec 17, 2010 at 8:22 PM, will trillich will.trill...@serensoft.comwrote: /lurk Ooh, I didn't know about either of those. Very, very sweet! And one for nested-sets and another for

Re: [Catalyst] Retrieve all users belong to a category and all its sub categories

2010-12-16 Thread linuxsupport
cat5, there may be sub categories of any of sub category. Thanks On Fri, Dec 10, 2010 at 9:12 AM, Emmanuel Otton ot...@mines-albi.fr wrote: Le 09/12/2010 09:37, linuxsupport a écrit : I have 3 tables, users, user_cat, and cat, table structure and relationship are setup as follows. User.pm

[Catalyst] Retrieve all users belong to a category and all its sub categories

2010-12-09 Thread linuxsupport
I have 3 tables, users, user_cat, and cat, table structure and relationship are setup as follows. User.pm __PACKAGE__-add_columns( id, { data_type = integer, is_nullable = 0 }, username, { data_type = text, is_nullable = 1 }, password, { data_type = text, is_nullable = 1 },

Re: [Catalyst] One controller from other

2010-12-05 Thread linuxsupport
OK, may be you got it wrong or I am really doing bad. There is a model called DB, now if I use below code in controller User $c-model('DB::User')-all; Is it not correct? On Sun, Dec 5, 2010 at 12:51 PM, David Schmidt davew...@gmx.at wrote: On Sun, Dec 5, 2010 at 6:32 AM, linuxsupport

[Catalyst] One controller from other

2010-12-04 Thread linuxsupport
Hi, How can I access one controller from other? I have 2 controllers called Myapp::Controller::User and Myapp::Controller::Admin In Myapp::Controller::User I have following method. sub user_list :Path Args:(0) { some function to display all the users. } Myapp::Controller::Admin has

[Catalyst] Custom 404 Error Page

2010-12-04 Thread linuxsupport
Hi, I want to implement custom error page for 404. I want to show a particular page when user sends a request to non-existence page instead of displaying Page not found (default). Many thanks ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] One controller from other

2010-12-04 Thread linuxsupport
:00 PM, linuxsupport lin.supp...@gmail.com wrote: Hi, How can I access one controller from other? I have 2 controllers called Myapp::Controller::User and Myapp::Controller::Admin In Myapp::Controller::User I have following method. sub user_list :Path Args:(0) { some function

[Catalyst] DBIx::Class many_to_many relationship

2010-11-30 Thread linuxsupport
Hi, I am new to Catalyst and DBIx::Class, trying to use many_to_many relationship. I have 3 tables, users, user_groups, and group, table structure and relationship are setup as follows. User.pm __PACKAGE__-add_columns( id, { data_type = integer, is_nullable = 0 }, username, { data_type

Re: [Catalyst] DBIx::Class many_to_many relationship

2010-11-30 Thread linuxsupport
Thanks Emmanuel, worked as I wanted to, much appreciated. On Tue, Nov 30, 2010 at 10:25 PM, Emmanuel OTTON ot...@mines-albi.frwrote: Le 30 nov. 2010 à 17:02, linuxsupport a écrit : Hi, I am new to Catalyst and DBIx::Class, trying to use many_to_many relationship. I have 3 tables, users