[web2py] Re: How do API keys work for authentication?

2017-02-22 Thread Dave S
On Wednesday, February 22, 2017 at 5:57:09 PM UTC-8, Michael Gheith wrote: > > Let's pretend I want to create a service like Stripe. I know that if you > make a call to a web service, you provided information (your api key) in > the request header. Is this what JWT is used for? What's the work

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2017-02-22 Thread Dave S
I'm also looking at EFF's certbot (because I have contact with someone who uses that), which leads to the question ... is the "webroot" of Rocket the web2py directory? /dps On Wednesday, February 22, 2017 at 5:21:02 PM UTC-8, Dave S wrote: > > > > On Wednesday, February 1, 2017 at 7:26:48 AM

[web2py] Getting 405 error on rest request in web2py

2017-02-22 Thread wdtnh
I'm getting the following error when I'm trying to submit a REST request from the browser to web2py. This application is running locally and the request is not originating from another domain. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' he

[web2py] How do API keys work for authentication?

2017-02-22 Thread 'Michael Gheith' via web2py-users
Let's pretend I want to create a service like Stripe. I know that if you make a call to a web service, you provided information (your api key) in the request header. Is this what JWT is used for? What's the workflow? Are there any examples out there? Does web2py support this type of authen

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2017-02-22 Thread Dave S
On Wednesday, February 1, 2017 at 7:26:48 AM UTC-8, Anthony wrote: > > On Tuesday, January 31, 2017 at 9:31:24 AM UTC-5, Carlos Correia wrote: >> >> How did you do it? I'm facing the same problem... >> > > You should probably handle this directly with the web server configuration > rather than i

[web2py] Re: Delete a row from one table when two tables are joined

2017-02-22 Thread Dave S
On Wednesday, February 22, 2017 at 4:03:00 PM UTC-8, Mat Miles wrote: > > I need to create a join to limit the rows to be deleted. Is it possible to > delete a row from one table when a query joins two tables? > Not sure about the full answer, but a partial answer would be to use the join in a S

[web2py] Delete a row from one table when two tables are joined

2017-02-22 Thread Mat Miles
I need to create a join to limit the rows to be deleted. Is it possible to delete a row from one table when a query joins two tables? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issu

[web2py] web2py ldap integration. ldap bind

2017-02-22 Thread Cory
Hi, does anyone know how to make login credentials case sensitive when using LDAP authentication? simple_bind_s(username, password) ignores case sensitivity for both username and password. thanks! -Cory -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://

[web2py] Emberjs web2py

2017-02-22 Thread PK
If i wanna use emberjs build dist folder with web2py how should i start. -- 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 received this message because

Re: [web2py] Re: javascript prompt and modal dialog

2017-02-22 Thread António Ramos
i like this one https://limonte.github.io/sweetalert2/ and im using it with web2py 2017-02-22 13:44 GMT+00:00 Marlysson Silva : > Explain more your problem? > > You are using just javascript or want integrate with web2py? > > > Em sábado, 18 de fevereiro de 2017 16:11:30 UTC-3, Andrea Fae' escrev

[web2py] Re: javascript prompt and modal dialog

2017-02-22 Thread Marlysson Silva
Explain more your problem? You are using just javascript or want integrate with web2py? Em sábado, 18 de fevereiro de 2017 16:11:30 UTC-3, Andrea Fae' escreveu: > > Hello. > From Javascript I need to ask some different values and promt is good only > for 1 text box. > > I know that I have to use

[web2py] Re: Multiple files upload

2017-02-22 Thread Marlysson Silva
1 - You could to use the SQLFORM without io perform , here: http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-without-database-IO You can use the .validate() method in form to stop normal way processing in form , and do what you want .. Or Using dbio parameter as False

[web2py] Re: Hide css of my application

2017-02-22 Thread Marlysson Silva
Web2py have this scripts: To min static files https://github.com/web2py/web2py/tree/master/gluon/contrib/minify And this to zip in a single file: https://github.com/web2py/web2py/blob/master/scripts/zip_static_files.py Em domingo, 5 de fevereiro de 2017 14:35:29 UTC-3, Alessio Varalta escreveu:

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-22 Thread 'John Philip' via web2py-users
Thanks Dave, unfortunately I still haven't managed it. regards, John On Tuesday, February 14, 2017 at 8:11:34 PM UTC+1, Dave S wrote: > > > > On Tuesday, February 14, 2017 at 2:55:30 AM UTC-8, John Philip wrote: >> >> Hi Ramon, >> >> since you've had experience using vuejs in web2py I thought I'