Re: [web2py] Re: how to customize user registration form

2018-09-18 Thread taufit b riping
thank you all for the tips On Sun, Sep 16, 2018 at 5:47 AM 黄祥 wrote: > detail explaination and example about customizing auth is on the book > > http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth > > best regards, > stifan > > -- > Resources: > - http://web2py.com > -

[web2py] Re: How many apps can a web2py instance handle?

2018-09-18 Thread Carlos A. Armenta Castro
For my own I have my Apps separately within a Docker container and I grant access to the apps using Nginx as a reverse proxy. I have migrated all my Web2Py Apps to Docker containers because the portability, libraries isolation, monitoring porpouse and efficiency. Now I can migrate my apps to an

[web2py] Re: How many apps can a web2py instance handle?

2018-09-18 Thread Leonel Câmara
That looks great Lisandro. I would say there's nothing wrong with your architecture. You're making it work and there are some advantages too. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web

[web2py] Re: How many apps can a web2py instance handle?

2018-09-18 Thread Lisandro
Hi Leonel, thank you for your time. I supposed that would be the answer, but still I wanted to hear your opinion because of your experience. Yes, it would definitely be better to install the app only once. In fact, we have some plans to do that in the future. But it won't be possible for now, b

[web2py] Login form and facebook oauth

2018-09-18 Thread Christian Varas
Hello, I have an app with a facebook login (oauth),I took the example from the documentation and works fine. But I need to enable the login form included in web2py. Does anybody know how to make this 2 login methods works ? or if someone have an example about this? Any help would be very apprecia

[web2py] Re: How many apps can a web2py instance handle?

2018-09-18 Thread Leonel Câmara
No there's no limit. Although, wouldn't it be better to make a multi-tenant app using common filters instead of replicating the app each time? This seems like a nightmare when you want to update the app you're replicating across all the installations. -- Resources: - http://web2py.com - http

Re: [web2py] web2py AWS cognito authentication

2018-09-18 Thread kryton4567
Hi, yes the pool has been created successfully in AWS. When I use test units to test the code on the class the authentication works correctly and AWS responds with a Token. On Tuesday, September 18, 2018 at 3:50:26 PM UTC+1, CDA wrote: > > Have you created a User Pool in Cognito to store the

Re: [web2py] web2py AWS cognito authentication

2018-09-18 Thread Chinh Dang
Have you created a User Pool in Cognito to store the user profile? If you have configured it correctly, you should get a token when your app call Cognito to authenticate the credentials. If you get None response, there could be a configuration issue. On Tue, Sep 18, 2018 at 9:09 AM wrote: > I am

[web2py] web2py AWS cognito authentication

2018-09-18 Thread kryton4567
I am changing the login authentication to be handled by AWS Cognito and require some clarification around the approach as cannot get it to work correctly 1. I have created a class cog_login that has been assigned to the auth.settings.login_methods = [cog_login] 1. One of the fu

[web2py] How many apps can a web2py instance handle?

2018-09-18 Thread Lisandro
I would like to hear from the experts if there is a theoretical limit on the amount of installed apps that a single web2py instance can handle. This is not a question about improving performance or scaling: there is a lot of advices in the book regarding that (lazy tables, reduce models, caching

Re: [web2py] insecure string pickle version 2.17.1

2018-09-18 Thread Marco Mansilla
No es un problema nuevo, https://groups.google.com/forum/m/#!topic/web2py/P-dU23VOO3o La solucion propuesta de Mirek Zvolský. 1 hacer un respaldo y eliminar database/*.table 2 en db=DAL(...) agregar db=DAL(..., fake_migrate=True), ya sea db.py o definir la variable en private/appconfig 3 actu