[web2py] Re: only static files forbidden on centos 7.4 apache 2.4

2018-02-14 Thread Alex Beskopilny
also, it's very useful sslh https://github.com/yrutschle/sslh works fine with nginx суббота, 10 февраля 2018 г., 17:11:43 UTC+3 пользователь lucas написал: > > hey all, > > setting up a new server on centos 7.4 and apache 2.4. web2py is running > fine for i get the welcome content but none of

[web2py] Re: only static files forbidden on centos 7.4 apache 2.4

2018-02-14 Thread Alex Beskopilny
we use nginx with http2 rebuild nginx with http2 support on centos 7 - export NXT_CC_NAME=gcc # default compiller for nginx OPENSSL="openssl-1.0.2h" # ok with nginx-1.11.13-1

[web2py] Re: web2py_osx.zip seems way out of date ???

2018-02-14 Thread 'jim kaubisch' via web2py-users
Has no-one else had this problem? On Wednesday, February 7, 2018 at 10:47:19 AM UTC-8, jim kaubisch wrote: > > Hi, > > I needed to directed my attention away from my web2py project a few months > ago but am now trying to get back into it. > A wise Step 1 would seem to be to update from 2.14.6

[web2py] Re: wfastcgi on IIS ... no more wfastcgi.py script?

2018-02-14 Thread Pbop
For what it is worth, I have web2py deployed under IIS using the ISAPI recipe and web2py screams in speed. The only requirement is the code has to be thread safe and have not yet run into thread safe problems in how we deploy web2py. If it is, you will get much faster performance over fastcgi.

Re: [web2py] Re: using the auth. infrastructure to manage another user list

2018-02-14 Thread Jim Steil
So, then maybe you just add users and they all get departmental access and then have a button on the site where they can request admin access? Then you can add them to an admin group that would give access to all features. Would that help? Jim On Feb 14, 2018 4:38 PM, "icodk"

[web2py] Re: using the auth. infrastructure to manage another user list

2018-02-14 Thread icodk
That was fast response Thanks. Not sure it is an issue but for the departmental user registration, i want to use different messages, and handling. For example, departmental user should be approved automatically, while main users manually. -- Resources: - http://web2py.com -

[web2py] Re: using the auth. infrastructure to manage another user list

2018-02-14 Thread Jim S
Sounds to me like the authorization system in web2py would work perfectly. Give a set of users access to a subset of the functionality. Have you read through http://web2py.com/books/default/chapter/29/09/access-control? Using auth_group, auth_membership and auth_permission along with the

[web2py] Re: Asobe Flash End of Life in 2020

2018-02-14 Thread Jim S
No dependencies that I'm aware of. -Jim On Wednesday, February 14, 2018 at 4:11:39 PM UTC-6, Bryan Nahrwold wrote: > > I see references to Flash in some of the articles or book references for > Web2py. Does Web2py have a dependence or Adobe Flash? If so, what is the > Roadmap to get off of

[web2py] using the auth. infrastructure to manage another user list

2018-02-14 Thread icodk
I have a "standard" web2py application that uses the built in authentication system with sign in, login/out , forgot/change password etc. In addition, I need to manage "departmental" users that should not have access to the main application but only to a subset of services. Is there a way to

[web2py] Asobe Flash End of Life in 2020

2018-02-14 Thread Bryan Nahrwold
I see references to Flash in some of the articles or book references for Web2py. Does Web2py have a dependence or Adobe Flash? If so, what is the Roadmap to get off of that dependency by 2020? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread LoveWeb2py
Yeah, docker containers have kibana and a couple other similar web services -- 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

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Dave S
On Wednesday, February 14, 2018 at 6:14:25 AM UTC-8, LoveWeb2py wrote: > > We serve web2py through nginx. > > I'm curious how django was able to do it. We have multiple apps running > in docker containers and want web2py to be the portal. That way we can use > auth. > Are the docker

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-14 Thread Dave S
On Tuesday, February 13, 2018 at 1:43:11 PM UTC-8, Ramos wrote: > > but the idea is to get some of the data as it is being calculated in the > controller. > For that I would use a stream. There are a couple of examples that have popped up here on occasion, although I can't at the moment link

[web2py] Re: Intersection of rows

2018-02-14 Thread Dave S
On Tuesday, February 13, 2018 at 7:37:22 AM UTC-8, Anthony wrote: > > On Tuesday, February 13, 2018 at 4:09:02 AM UTC-5, Dave S wrote: >> >> That's yielding 0 rows from the run table (for my chosen args).. It >> looks to me like it is requiring the segment row to match both arguments. >> If

[web2py] Re: download rows

2018-02-14 Thread Dave S
On Wednesday, February 14, 2018 at 3:00:15 AM UTC-8, Andrea Fae' wrote: > > I'm explaining better. > I want to create a view with a button like "download" or something like it > to generate a csv file from a select/query -> rows from database and after > appears a dialog to select in which

[web2py] Re: web2py manual entry for 3.3 An image blog does not work

2018-02-14 Thread Anthony
On Wednesday, February 14, 2018 at 3:04:54 PM UTC-5, Bryan Nahrwold wrote: > > However, it does not work unless I include the linne you said to omit: > > db = DAL("sqlite://storage.sqlite") > If you are starting with the scaffolding app, it should already include: configuration =

[web2py] Re: only static files forbidden on centos 7.4 apache 2.4

2018-02-14 Thread Dave S
On Saturday, February 10, 2018 at 8:29:00 PM UTC-8, lucas wrote: > > better use nginx to serve web2py, found a lot of problem when using apache > with web2py > > is it really much much better? in what ways? why would I change? Lucas > First off, Massimo and the other leads recommend it

[web2py] Re: web2py manual entry for 3.3 An image blog does not work

2018-02-14 Thread Bryan Nahrwold
However, it does not work unless I include the linne you said to omit: db = DAL("sqlite://storage.sqlite") On Wednesday, 14 February 2018 13:00:14 UTC-7, Bryan Nahrwold wrote: > > Thanks, Anthony. That works. > > On Wednesday, 14 February 2018 08:47:57 UTC-7, Anthony wrote: >> >> Good catch. The

[web2py] Re: web2py manual entry for 3.3 An image blog does not work

2018-02-14 Thread Bryan Nahrwold
Thanks, Anthony. That works. On Wednesday, 14 February 2018 08:47:57 UTC-7, Anthony wrote: > > Good catch. The problem is the new default version of db.py creates a > "configuration" object, which is subsequently referenced in the menu.py > model file. > > Anyway, there is no need to completely

Re: [web2py] PYTHON 3

2018-02-14 Thread Anthony
On Wednesday, February 14, 2018 at 11:13:35 AM UTC-5, Ramos wrote: > > But appadmin.py is not my code... > Sorry, didn't notice that was in appadmin.py. But the same principle applies -- appadmin.py is a controller within your app, so when you upgrade the framework, you must also upgrade

[web2py] Re: wfastcgi on IIS ... no more wfastcgi.py script?

2018-02-14 Thread Marcelo Huerta
El viernes, 18 de diciembre de 2015, 5:01:02 (UTC-3), Massimo Di Pierro escribió: > > Could you put this in the book? Thanks Tim. > > > I think that in spite of your request this has not yet been updated in the book. I still see a mention of a script called "wfasctgi.py" (sic), and nothing

Re: [web2py] PYTHON 3

2018-02-14 Thread António Ramos
But appadmin.py is not my code... i got another error after fixing appadmin.py exception error. [image: Imagem inline 1] 2018-02-14 15:52 GMT+00:00 Anthony : > If you are running an app under Python 3, then the app code itself must be > valid Python 3 code. Under Python 3,

Re: [web2py] PYTHON 3

2018-02-14 Thread Anthony
If you are running an app under Python 3, then the app code itself must be valid Python 3 code. Under Python 3, your code should be: except Exception as e: If you are seeing errors in your app code, there's a good chance the problem is that your old Python 2 code is no longer valid in Python

[web2py] Re: web2py manual entry for 3.3 An image blog does not work

2018-02-14 Thread Anthony
Good catch. The problem is the new default version of db.py creates a "configuration" object, which is subsequently referenced in the menu.py model file. Anyway, there is no need to completely replace the contents of db.py -- just add the content shown, except you don't need the db = DAL(...)

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Anthony
> > Also have a look at > http://web2py.com/books/default/chapter/29/09/access-control#Using-web2py-to-authorize-non-web2py-apps > . > Here's an example of how the above would be achieved with Nginx:

Re: [web2py] PYTHON 3

2018-02-14 Thread António Ramos
got an error with python 3.6 Any help? [image: Imagem inline 1] 2018-02-12 20:59 GMT+00:00 LoveWeb2py : > With that said, Thank you for all of your hard work and to all the > contributors for making such a wonderful framework. :) > > > On Monday, February 12, 2018 at

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Anthony
On Wednesday, February 14, 2018 at 9:51:29 AM UTC-5, Anthony wrote: > > On Wednesday, February 14, 2018 at 9:14:25 AM UTC-5, LoveWeb2py wrote: >> >> We serve web2py through nginx. >> >> I'm curious how django was able to do it. We have multiple apps running >> in docker containers and want

[web2py] web2py manual entry for 3.3 An image blog does not work

2018-02-14 Thread Bryan Nahrwold
I have downloaded Web2Py version 2.16.1-stable+timestamp.2017.11.14.05.54.25 I am working my way through the manual in section *3.3 An image blog*. The manual specifies to create the images project and replace *ALL* content in db.py with: db = DAL("sqlite://storage.sqlite")

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-14 Thread Anthony
On Tuesday, February 13, 2018 at 4:43:11 PM UTC-5, Ramos wrote: > > but the idea is to get some of the data as it is being calculated in the > controller. > One option would be to use the web2py scheduler to run the calculations as a background task. As results are generated, they could

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Anthony
On Wednesday, February 14, 2018 at 9:14:25 AM UTC-5, LoveWeb2py wrote: > > We serve web2py through nginx. > > I'm curious how django was able to do it. We have multiple apps running > in docker containers and want web2py to be the portal. That way we can use > auth. > Got it. Another option

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Manuele Pesenti
Hi Anthony and LoveWeb2py, I used this controller exactly to let authenticated and authorized users access to a third part application not exposed to the web, I shared in order to collect opinions from experts, any suggest appreciated. Cheers     Manuele On 14/02/2018 13:37, Anthony

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread LoveWeb2py
We serve web2py through nginx. I'm curious how django was able to do it. We have multiple apps running in docker containers and want web2py to be the portal. That way we can use auth. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Use web2py as a reverse proxy

2018-02-14 Thread Anthony
On Tuesday, February 13, 2018 at 10:15:13 PM UTC-5, LoveWeb2py wrote: > > Where did you use this or how did you use your version of the proxy > Manuele? Thank you for sharing! > > Anthony - we want web2py to be the only interface to docker containers. > Is there some web2py specific operations

[web2py] Re: download rows

2018-02-14 Thread Andrea Fae'
I'm explaining better. I want to create a view with a button like "download" or something like it to generate a csv file from a select/query -> rows from database and after appears a dialog to select in which folder download the file Thank you Il giorno mercoledì 14 febbraio 2018 11:37:17

[web2py] download rows

2018-02-14 Thread Andrea Fae'
Hello, I need to create a page to download rows from a dataset to a file. Is there any automatic possibility (embedded download function is related?) without creating a function and relative view? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] menu separator line

2018-02-14 Thread Andrea Fae'
How to insert a separator line between 2 menu items? Thank you -- 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 you are