Re: [web2py] Re: How do I prevent going back to previous page after user is logged out?

2020-08-03 Thread Warwick JC
Thanks guys. They both work well. Regards On Mon, Aug 3, 2020, 21:01 Rahul wrote: > Another simple way is -- > To pop out session variables like in code below for all the login session > variables and redirect the user wherer-ever you want them to be. > This way since no valid session exists

Re: [web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-03 Thread AGRogers
Thanks for update. On Sun, 2 Aug 2020, 6:38 am Rob Paire, wrote: > So I stepped through the Web2py AJAX call in the debugger and found that > the hang-up was due to jquery serialize method. That method wants a form > variable name as input. The easiest solution is to wrap the table in a set >

Re: [web2py] WAF2PY 1.0

2020-08-03 Thread AGRogers
Looks cool. Thanks for sharing. On Mon, 3 Aug 2020, 4:25 pm Christian Varas, wrote: > Hello all. > I'm glad to announce WAF2PY 1.0  > > *What is this?* > > WAF2PY is a Web Application Firewall using NGINX and ModSecurity. WAF2PY > provides a nice and easy to use web interface *powered by*

Re: [web2py] Re: WAF2PY 1.0

2020-08-03 Thread Christian Varas
Thank you. I just tested on Debian 10, but it should work for any other OS as long the dependencies are met. The line “apt-get install **dependencies**” I’m the installation file needs to adjusted for a non Debian based system. Cheers. Chris. El El lun, 3 de ago. de 2020 a la(s) 18:28,

[web2py] Re: WAF2PY 1.0

2020-08-03 Thread mostwanted
Complements Chris, this is really impressive work. I see you have tested on debian is it platform specific or will it run on any OS? On Monday, August 3, 2020 at 8:25:23 AM UTC+2, Christian Varas wrote: > > Hello all. > I'm glad to announce WAF2PY 1.0  > > *What is this?* > > WAF2PY is a

Re: [web2py] Re: How do I prevent going back to previous page after user is logged out?

2020-08-03 Thread Rahul
Another simple way is -- To pop out session variables like in code below for all the login session variables and redirect the user wherer-ever you want them to be. This way since no valid session exists the user would be redirected to page where you intend them to be. def sign_out():

[web2py] Re: data-tooltip from stupid.css gens exception when placed as an attribute into web2py html tag functions

2020-08-03 Thread villas
This is a known 'quirk'. You may find the following section of the book helpful... http://www.web2py.com/books/default/chapter/29/05/the-views?search=_data#HTML-helpers -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Form input for date does not start the calendar date picker

2020-08-03 Thread Clemens
Hi, I'm using the datepicker in combination with an SQLFORM. Since the date is not used in any case I'm enhancing the SQLFORM named form as follows but exactly the way you want to do: valid_thru = TR(TD(LABEL(T('Valid thru')), TD(INPUT(_name='valid_thru', _type='date',

[web2py] WAF2PY 1.0

2020-08-03 Thread Christian Varas
Hello all. I'm glad to announce WAF2PY 1.0  *What is this?* WAF2PY is a Web Application Firewall using NGINX and ModSecurity. WAF2PY provides a nice and easy to use web interface *powered by* *WEB2PY* that controls modsecurity and nginx configuration in an easy way, allowing you to configure