[web2py] Re: SSL on Windows / Python 3.6.5 not working

2019-04-23 Thread João Matos
Try disabling the antivirus. segunda-feira, 22 de Abril de 2019 às 11:33:40 UTC+1, clara escreveu: > > Hello, > > I am trying to run Web2py 2.18.5 on Windows 10. I am using Python 3.6.5 > > python web2py.py -a passw -k server.key -c server.crt -p 443 -i 0.0.0.0 > > Upon loading a web2py page, I

Re: [web2py] Re: AWS Lambda Serverless and Zappa

2019-04-23 Thread App Jar
Hey David, sorry for the delay. I rarely check this email. I'd be happy to talk with you about some of this issues I ran into via phone or email. Let me know, m...@appjar.biz. On Fri, Mar 22, 2019 at 5:29 AM David Orme wrote: > Hi, > > Just wanted to ask about that recipe. I'm using web2py

[web2py] Re: Unable to edit grid record if I add @auth.requires_signature() to action. Is this normal?

2019-04-23 Thread João Matos
Thanks for the workaround Anthony. I believe it should be the other way around. Grid should have the option hash_vars=True. I'm using these security measures: HTTPS and requires_login -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Re: SSL on Windows / Python 3.6.5 not working

2019-04-23 Thread Clara Ferrando
Hello Joao, Thanks for your reply. I tried it, disabled Windows defender but I am still getting the same error... It does not happen with Python 2.7 though. Maybe Python 3 socket module could be causing the issue? I am open to all suggestions. Thanks, Clara On Tue, Apr 23, 2019, 5:52 AM João

[web2py] Re: Unable to edit grid record if I add @auth.requires_signature() to action. Is this normal?

2019-04-23 Thread Massimo Di Pierro
No. requires_signature does not require login and serves a very different purpose. It is designed to delegate authentication. If a user has permission to access page A and the user is redirected to page B, A can sign B to tell B the user can be trusted. On Tuesday, 23 April 2019 00:49:37

Re: [web2py] Re: SSL on Windows / Python 3.6.5 not working

2019-04-23 Thread João Matos
Yes, I think so. Try disabling the Windows Firewall. In my case, when I disable my antivirus (which includes a firewall) the error goes away. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Don't allow textarea to contain html tags

2019-04-23 Thread 'Annet' via web2py-users
My application has a contact form which is inserted into a database. I am using Google's CAPTCHA, however, sometimes a contact form is being submitted with a malicious link. To prevent this from happening I wonder wether it is possible to validate the textarea and only submit the form when it

[web2py] Re: Don't allow textarea to contain html tags

2019-04-23 Thread Paul Ellis
you could use XML(input_text, sanitize=True) as part of your form processing. http://www.web2py.com/books/default/chapter/29/05/the-views#XML if form.process().accepted: form.vars.text_input = XML(form.vars.text_input, sanitze=True) -- Resources: - http://web2py.com -

Re: [web2py] Re: Web3py

2019-04-23 Thread 黄祥
> > the web2py admin is different. The web3py one is much more spartan. But > the functions that need to be ported to zip/unzip apps are indentical. > not sure got the meaning of spartan tested last commit, all errors above gone (_dashboard and _scaffold) just a note for default

[web2py] Re: Smartgrid link very slow.

2019-04-23 Thread dgmanns
I discovered why my smartgrid (and grids) were very slow. = I had neglected to set searchable=False, sortable=False. With those options disabled (I need neither), performance is very good. It is the searchable option that is very costly. It would probably be good to highlight this in the

[web2py] Re: Web3py

2019-04-23 Thread Scott Hunter
I followed these directions as best I could: * There is no file named web3py.py. There is a file web3py-start; that seemed to work * No matter what URL I provide, I get a big red screen saying "404 Not Found" On Thursday, April 11, 2019 at 1:31:29 PM UTC-4, En Ware wrote: > > I git installed

Re: [web2py] Re: Web3py

2019-04-23 Thread Dave S
On Tuesday, April 23, 2019 at 8:44:26 AM UTC-7, 黄祥 wrote: > > the web2py admin is different. The web3py one is much more spartan. But >> the functions that need to be ported to zip/unzip apps are indentical. >> > > not sure got the meaning of spartan > "spartan", "spare", and "barebones" all

Re: [web2py] Re: Web3py

2019-04-23 Thread Dave S
On Saturday, April 20, 2019 at 5:25:01 PM UTC-7, Massimo Di Pierro wrote: > > I have been looking more into veutify. I have some reservations. > I think a good CSS framework (for web3py) should be JS agnostic, even if > the examples use vue.js. > I think effects should be done in CSS only, not

Re: [web2py] Re: Web3py

2019-04-23 Thread Massimo Di Pierro
stupid was an experiment. the _dashboard is based on some variation of it. I do not think it good enough for what people expect from a css framework today. The collection of pure css effects in there has some value but that's all. On Tuesday, 23 April 2019 21:34:41 UTC-7, Dave S wrote: > > > >

[web2py] Re: Web3py

2019-04-23 Thread 黄祥
yeah you right, pls follow this step instead (for latest commit) git clone https://github.com/web2py/web3py cd web3py pip install -U -r requirements.txt python web3py-start applications/ for url return 404, perhaps you can check on the applications folder, in the webapp name, you could learn

[web2py] managing web2py logs under uwsgi

2019-04-23 Thread Dave S
I run web2py under nginx and uwsgi. The latter runs in master mode (rather than emperor mode), and I think it is what drives my question: *How do I control the size of the web2py log files?* I have seen the files grow without bound (until I did a manual log rotate), but currently the

[web2py] Re: Web3py

2019-04-23 Thread Dave S
On Tuesday, April 23, 2019 at 6:37:00 PM UTC-7, 黄祥 wrote: > > yeah you right, pls follow this step instead (for latest commit) > git clone https://github.com/web2py/web3py > cd web3py > pip install -U -r requirements.txt > python web3py-start applications/ > > You may not need that last

[web2py] Re: Web3py

2019-04-23 Thread Massimo Di Pierro
updated instructions are here: https://github.com/web2py/web3py Notice they may change. Also notice you need python3. Won't work with python 2. On Tuesday, 23 April 2019 16:52:47 UTC-7, Scott Hunter wrote: > > I followed these directions as best I could: > > * There is no file named