[web2py] What role does gluon play in all of this?

2018-10-22 Thread Nico de Groot
Gluon *is* Web2py. More specific, in the Web2py system its a directory which contains the core system. Its called by the Web2py start script and is imported in every application. You can read the Web2py book for the details. ‘Gluon’ is the original name of the web2y system, could not be used due

[web2py] Re: Deployment to Openshift dependency

2018-10-22 Thread 黄祥
perhaps you can show the step you've taken, so that we know where's the problem best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Support JWT and basic auth for the same API function

2018-10-22 Thread Akash B
Is it possible to support JWT and basic auth on the same API function? It seems like JWT token verification is taking preference and returns even though AuthJWT documentation says token is optional. Some sample code below: *Controller jwt.py:* myjwt = AuthJWT(auth, secret_key = "sometestkey1234

[web2py] Web2py oracle migration

2018-10-22 Thread Michael Buchler
Hi guys, I want to use oracle (11g) with web2py and changed the DAL to the following: db = DAL(configuration.get('oracle://USERNAME:PASSWORD@localhost/SCHEMA_NAME'), pool_size=configuration.get('db.pool_size'), migrate_enabled=configuration.get('db.migrate'),

[web2py] ORA-04098

2018-10-22 Thread Michael Buchler
Hi, I managed to get cx_Oracle linked up to my web2py instance, so the previous issue I posted is now resolved. However, I keep getting this error whenever I try to create an account with default/users: ORA-04098: trigger 'MADRN_MAIN.AUTH_USER_TRIGGER' is invalid and failed re-validation I'

[web2py] Running my web2py app from the commandline

2018-10-22 Thread jajkelle
Hello! When I say "python web2py.py" it starts up the server so how do I start up my own application that uses web2py do I need to always have my application in the web2py applications folder? should I put the gluon folder in my applications folder? when I created my "simple" application from t

[web2py] Cant access my admin password

2018-10-22 Thread ronald Baruelo
Hi my admin interface in my localhost disabled because of wrong password attempt can anybody help me with this thanks alot -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Re

[web2py] Deployment to Openshift dependency

2018-10-22 Thread Michael Buchler
Hi fellow coders I'm having a lot of trouble deploying my app to openshift. Every time I try, it asks for distutils. I've tried to install it, but pip can't find it anywhere. Would appreciate any help. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://githu

[web2py] What role does gluon play in all of this?

2018-10-22 Thread Jade Keller
It seems to appear pretty much everywhere, but it is not installed by default in the "simple" application package. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Iss

[web2py] Multiples requieres in SQLFORM

2018-10-22 Thread Chris V.
Hello list, I need to have 2 requires in the same field, one requires must be a select multiple, but also it can be a different value of initial select multiple, this because in the view the select multiple values are changed with javascript . It is possible to make something like the followin

Re: [web2py] Re: web2py and jenkins

2018-10-22 Thread Milton Medina
Thanks for your reply! El sáb., 20 oct. 2018 a las 17:58, 黄祥 () escribió: > pls see this thread: > > https://groups.google.com/forum/#!searchin/web2py/jenkins|sort:date/web2py/WZHxzPsI1_c/0fUscGqwAwAJ > > perhaps you can tell what you want to achieve in more speciific, btw it's > oot in this web2

[web2py] Re: Multitenant static generator blog

2018-10-22 Thread Anthony
On Monday, October 22, 2018 at 9:28:33 AM UTC-4, Jaime Sempere wrote: > > Thx a lot for the tip, Anthony. > > And how could I map the folder to the customer's custom domain? Using an > ALIAS register? > Do you mean an A record? Anyway, use whatever DNS setup gets your domains routed to your serv

Re: [web2py] My SQLFORM() is not saving anything after putting my APP online

2018-10-22 Thread Anthony
On Friday, October 19, 2018 at 9:38:04 AM UTC-4, sandeep patel wrote: > > Try this > def index(): > form=SQLFORM(db.vehicleLogging) > if form.process().accepted: > response.flash = T("Record Made") > elif form.errors: > response.flash = T('Error') > return locals() >

[web2py] Re: Multitenant static generator blog

2018-10-22 Thread Jaime Sempere
Thx a lot for the tip, Anthony. And how could I map the folder to the customer's custom domain? Using an ALIAS register? El lunes, 22 de octubre de 2018, 15:23:20 (UTC+2), Anthony escribió: > > If you are serving static sites, you do not want to use web2py to serve > the files but should inste

[web2py] Re: Multitenant static generator blog

2018-10-22 Thread Anthony
If you are serving static sites, you do not want to use web2py to serve the files but should instead configure the front end web server (e.g., Nginx) to serve the files directly. In that case, though, there is no particular reason the files need to go inside the /static folder of a web2py app --

[web2py] Re: How to get members of groups to view only what their group members post

2018-10-22 Thread Anthony
See https://stackoverflow.com/a/52929692/440323. On Saturday, October 20, 2018 at 3:30:07 PM UTC-4, mostwanted wrote: > > I can get registered users to view only what they post and not what others > post, below is the simple code i used. What i want now is how to get only > members of groups to

[web2py] Re: How to get members of groups to view only what their group members post

2018-10-22 Thread mostwanted
Yes i am using group memberships in my Auth tables On Monday, October 22, 2018 at 8:58:06 AM UTC+2, Dave S wrote: > > > > On Saturday, October 20, 2018 at 12:30:07 PM UTC-7, mostwanted wrote: >> >> I can get registered users to view only what they post and not what >> others post, below is the si

[web2py] Re: just for the records: API rest with basic auth

2018-10-22 Thread Dave S
On Sunday, October 21, 2018 at 6:24:57 AM UTC-7, Jaime Sempere wrote: > > I guess you are right, it shouldn't be a raise, but it works. I dont know > how exactly should I return a 200 using this api rest approach, any > comment/advice is welcome. > > Thanks > > I think an ordinary return should