[web2py] Re: GAE Cloud SQL local dev server problem

2012-08-04 Thread Alexei Vinidiktov
On Sat, Aug 4, 2012 at 1:56 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Hello, > > I'm need hep figuring out how to set up a local GAE development server > with MySQL. > > MySQL connection parameters are specified via App Launcher application > settings: --mysql_user=root --mysql

[web2py] Re: Centos 5 script for Nginx with Uwsgi and Web2py

2012-08-04 Thread peter
Thanks for this Alan. I will independently test and feedback, but imagine it will work for me too. Peter On Saturday, 4 August 2012 00:23:21 UTC+1, Alan Etkin wrote: > > Updated the script to: > > - Write port 443 admin password > - Create welcome.w2p package (for solving admin create app feature

Re: [web2py] Re: strange response.flash

2012-08-04 Thread Martin Weissenboeck
Hi Anthony, thank you! (1) Restricted character for args - that is ok! (2) ajax=True: def flash6(): return dict(load=LOAD('default', 'flash6a.load', ajax=True)) def flash6a(): response.flash='hello there* äöü*' return dict() Same result, nothing to see. But def flash6(): retu

[web2py] Copyright with current year in footer - automatic updating - suggestion.

2012-08-04 Thread Rob_McC
Still new to python and web2py - sure enjoying it, I wonder if this is a good idea? Automatic updating year of (c) notice of footer i.e. © 2012 Your Company Name this is updated to the servers clock, automatically changes to 2013, when it is time. *Notes:* 1. I read it is better to use ©

Re: [web2py] Copyright with current year in footer - automatic updating - suggestion.

2012-08-04 Thread Jonathan Lundell
On 4 Aug 2012, at 7:48 AM, Rob_McC wrote: > Still new to python and web2py - sure enjoying it, > > I wonder if this is a good idea? Using © seems like a good idea, just on i18n grounds. Where did you see © preferred? Sounds like advice for really old browsers (using IE4, anyone?). I question

Re: [web2py] Re: strange response.flash

2012-08-04 Thread Anthony
I see. I think the problem is only with response.flash within Ajax components. The message is escaped on the server via urllib2.quote, and then decoded in the browser via decodeURIComponent (see source code

Re: [web2py] Copyright with current year in footer - automatic updating - suggestion.

2012-08-04 Thread Rob_McC
Thanks for insight... *Q: Where did you see © preferred?* >Ref: http://www.copyrightauthority.com/copyright-symbol/ *"However,... always use the number code instead of the symbol code ©"* (after examining the site, maybe not an authority? :) Comment: *>Finally, there's a legal argument

Re: [web2py] Copyright with current year in footer - automatic updating - suggestion.

2012-08-04 Thread Jonathan Lundell
On 4 Aug 2012, at 9:04 AM, Rob_McC wrote: > Thanks for insight... > > Q: Where did you see © preferred? > >Ref: http://www.copyrightauthority.com/copyright-symbol/ > "However,... always use the number code instead of the symbol code > ©" > (after examining the site, maybe not an authori

[web2py] Re: Centos 5 script for Nginx with Uwsgi and Web2py

2012-08-04 Thread peter
Script tested and working. Thanks Alan Peter On Saturday, 4 August 2012 10:50:45 UTC+1, peter wrote: > > Thanks for this Alan. I will independently test and feedback, but imagine > it will work for me too. > Peter > > On Saturday, 4 August 2012 00:23:21 UTC+1, Alan Etkin wrote: >> >> Updated the

Re: [web2py] Copyright with current year in footer - automatic updating - suggestion.

2012-08-04 Thread Alec Taylor
On a slightly unrelated note, can we update the copyright all over web2py.com and the layout.html that is shipped with newer web2py versions to 2012? On Sun, Aug 5, 2012 at 2:17 AM, Jonathan Lundell wrote: > On 4 Aug 2012, at 9:04 AM, Rob_McC wrote: > > Thanks for insight... > > *Q: Where did y

[web2py] Re: Simple Translatable FAQ pages - what approach?

2012-08-04 Thread Alan Etkin
If you want to use crud with the questions you could even store them in a table Then you can do for example. Consider also using markmin for the responses {{for faq in db(db.faq).select():}} {{ =H3(T(faq.question))}} ... {{=DIV(T(faq.answer))}} ... {{pass}} El viernes, 3 de agosto de

Re: [web2py] Re: strange response.flash

2012-08-04 Thread Martin Weissenboeck
I have tried xmlescape(response.flash).replace('\n','') Yes, this solves the problems. Would be nice to have it in trunk. Thank you! 2012/8/4 Anthony > I see. I think the problem is only with response.flash within Ajax > components. The message is escaped on the server via urllib2.quote, and >

[web2py] Re: Centos 5 script for Nginx with Uwsgi and Web2py

2012-08-04 Thread Massimo Di Pierro
I have limited connectivity until tomorrow. If you have something to go in trunk please open an issue so it does not get lost. --

[web2py] Re: New Plugin to add client side validation to your SQLFORM

2012-08-04 Thread Franco
Sorry for the delayed response. Basically overrides SQLFORM default widgets with my own widgets. That's all, sorry if my explanation is shallow, but i don't know how to explain me in english. The sourcecode is quite simple maybe another example could help? El martes, 24 de julio de 2012 15:44:55

[web2py] Re: Simple Translatable FAQ pages - what approach?

2012-08-04 Thread Rob_McC
Alan: . Thanks very much. . I didn't know that was an option. . I tried it and it works perfectly. . I added this to my *db.py* file, field 'arrange' is to order the questions - I just enter an integer to sort. db.define_table('faq',Field('question','string'),Field('answer','string'), Field('

[web2py] Re: Simple Translatable FAQ pages - what approach?

2012-08-04 Thread pbreit
For 12 questions to keep it very simple, I'd just write them in straight HTML. --

Re: [web2py] Re: strange response.flash

2012-08-04 Thread Anthony
On Saturday, August 4, 2012 7:00:18 PM UTC-4, dbdeveloper wrote: > > I do not understand what the problem with decodeURIComponent()? > When I tried trunk, I think there was a problem with the encoding of my controller file (ANSI instead of UTF-8) -- in that case, I guess urllib2.quote didn't yi