Re: [web2py] Re: Get email on ticket creation

2012-04-16 Thread Richard Vézina
Massimo also write a ticket management app here : http://code.google.com/p/web2py-issuetracker/ Or here : https://github.com/mdipierro/web2py-appliances/tree/master/IssueTracker Don't know if there is one more up to date. But you suppose to be able to configure it so the app collect ticket

[web2py] Re: Get email on ticket creation

2012-04-14 Thread Anthony
One option might be to have routes_onerror ( http://web2py.com/books/default/chapter/29/4#Routes-on-error) route to a dynamic error handler, which could then send an email (in addition to presenting a friendly error message). Another option might be to set up a background task to watch for new

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Bruce Wade
I have been finding most of the book samples don't have enough information to actually implement what the second talks about. For example where/how do I implement routes_onerror routes_onerror = dict(application='error', controller='default', function='index')

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread howesc
CAVEAT: i'm using routes.py NOT router.py.not sure if that changes the syntax the following is what i have to direct all errors to a user friendly page: routes_onerror = [ ('appname/*', '/appname/home/missing.html'), ] and in controller home.py i have a function missing(). :) On

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Bruce Wade
Yeah I have mine in routes.py also I will try your suggestion and report back, thanks. On Sat, Apr 14, 2012 at 4:33 PM, howesc how...@umich.edu wrote: CAVEAT: i'm using routes.py NOT router.py.not sure if that changes the syntax the following is what i have to direct all errors to a

[web2py] Re: Get email on ticket creation

2012-04-14 Thread Rowdy
On 15/04/12 6:19 AM, Bruce Wade wrote: Hi, Is there an easy to way to have an email sent to me whenever a ticket is generated? -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.fittraineronline.com - Fitness Personal Trainers Online

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Bruce Wade
Thanks I didn't even notice that script. On Sat, Apr 14, 2012 at 4:37 PM, Rowdy ro...@netspace.net.au wrote: On 15/04/12 6:19 AM, Bruce Wade wrote: Hi, Is there an easy to way to have an email sent to me whenever a ticket is generated? -- -- Regards, Bruce Wade

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Jonathan Lundell
On Apr 14, 2012, at 4:33 PM, howesc wrote: CAVEAT: i'm using routes.py NOT router.py.not sure if that changes the syntax the following is what i have to direct all errors to a user friendly page: routes_onerror = [ ('appname/*', '/appname/home/missing.html'), ] and in

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Anthony
I have been finding most of the book samples don't have enough information to actually implement what the second talks about. For example where/how do I implement routes_onerror routes_onerror = dict(application='error', controller='default', function='index') Did you read this section

Re: [web2py] Re: Get email on ticket creation

2012-04-14 Thread Anthony
On Saturday, April 14, 2012 7:33:19 PM UTC-4, howesc wrote: CAVEAT: i'm using routes.py NOT router.py.not sure if that changes the syntax There's no such thing as router.py -- routes always go in routes.py (whether using the parameter-based or pattern-based systems). Unfortunately,