Re: [web2py] Re: Web3py

2019-04-22 Thread Massimo Di Pierro
my mistake. I added it. 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. On Monday, 22 April 2019 17:14:07 UTC-7, 黄祥 wrote: > > 127.0.0.1 - - [22/Apr/2019 03:08:12] "GET /dashboard HTTP/1.1" 303 0 >>

Re: [web2py] Re: Web3py

2019-04-22 Thread 黄祥
> > 127.0.0.1 - - [22/Apr/2019 03:08:12] "GET /dashboard HTTP/1.1" 303 0 > 127.0.0.1 - - [22/Apr/2019 03:08:12] "GET /_dashboard/static/index.html > HTTP/1.1" 404 459 > 127.0.0.1 - - [22/Apr/2019 03:08:56] "GET /_dashboard/ HTTP/1.1" 404 459 > 127.0.0.1 - - [22/Apr/2019 03:09:31] "GET

Re: [web2py] Re: Web2py binaries

2019-04-22 Thread Nico Zanferrari
Hi, the binary Mac version with python 2.7.16 is easily done, you can grab it here . It's the command version only, because the APP version is problematic - due to the already reported bug with Tk on

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

2019-04-22 Thread Anthony
On Monday, April 22, 2019 at 8:14:10 AM UTC-4, João Matos wrote: > > It is called from the menu (models\menu.py). This is the code: > > ... > if auth.is_logged_in(): > response.menu = [ > (T('Home'), False, URL('default', 'index', user_signature=True)), > (T('Open work

[web2py] Re: auth_user change field order

2019-04-22 Thread lucas
ok, i finally found what was wrong. i didn't realize there were two such settings. i was using the profile_fields and testing it on the register screen. so, i have this now under the db.py model: auth.settings.register_fields = ['prefix_title', 'first_name', 'last_name', 'gender',

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

2019-04-22 Thread João Matos
It is called from the menu (models\menu.py). This is the code: ... if auth.is_logged_in(): response.menu = [ (T('Home'), False, URL('default', 'index', user_signature=True)), (T('Open work orders'), False, URL('open_wo', 'index', user_signature=True)), (T('Tables'),

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

2019-04-22 Thread Anthony
When using signed URLs, how do users get to that function (given that the URL requires a signature)? How do you construct the URL? When using @auth.requires_signature(), does sorting and searching the grid work? Only edit fails? Anthony On Sunday, April 21, 2019 at 12:30:29 PM UTC-4, João

[web2py] SSL on Windows / Python 3.6.5 not working

2019-04-22 Thread clara
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 get socket errors continuously, and pages do not load. This is the trace: -p 443 -c server.crt -k server.key -a

Re: [web2py] Re: Web3py

2019-04-22 Thread 黄祥
> > Traceback (most recent call last): > File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 460, in > import_apps > module = importlib.import_module(app_name) > File > "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/importlib/__init__.py" > , line 127, in

Re: [web2py] Re: Web3py

2019-04-22 Thread Massimo Di Pierro
I will work on auth. I could use some help with _dashboard. The "create app", "upload app" and "pack app" buttons do not work but this logic should work the same as in web2py. Should be easy to backport if somebody can help this week. Massimo On Sunday, 21 April 2019 09:32:27 UTC-7, Kevin