Re: [web2py] adding minutes in field which has datatype as 'datetime'

2017-05-29 Thread 'Karl Thomas Schmidt' via web2py-users
my_datetime = datetime.datetime.now() my_delta = datetime.timedelta(minutes=3) my_newdatetime = my_datetime + my_delta -- 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

[web2py] no password asked when accessing appadmin directly [was:] recommented way to secure appadmin

2015-09-24 Thread 'Karl Thomas Schmidt' via web2py-users
I confirm, i can access appadmin, if i enter https://my.domain.somewhere/myapp/appadmin without beeing asked for admin password. This happens with all cookies deleted and explictly logout of former sessions too. Can someone confirm this? 2.12.3-stable+timestamp.2015.08.19.00.18.03 (Running on

Re: [web2py] Re: recommented way to secure appadmin

2015-09-15 Thread 'Karl Thomas Schmidt' via web2py-users
That's what i thougt first too. But it doesn' ask. I checked this again right now. Usually i use Firefox. I logged out each open instance. And called appadmin with Konqueror (which asked first, whether it should accept SSL- Cert). I'm pretty sure it does not ask even if i'm not logged in. It ju

[web2py] recommented way to secure appadmin

2015-09-15 Thread 'Karl Thomas Schmidt' via web2py-users
Hi @ all, I set up web2py 2.12.3-stable+timestamp.2015.08.19.00.18.03 with nginx/1.6.2, with uwsgi 2.0.2. With nginx config all http traffic is pemanently routed to https. With this setup appadmin is reachable for everybody. Even without being logged in. What is the recommented way to prev

[web2py] define height and width for embed:http://some.site.com/something on built-in wiki

2015-09-08 Thread 'Karl Thomas Schmidt' via web2py-users
Hi @ all, how do i specify height and width if i want to embed another webpage with the "embed:http://some.url"; statement? tia Kalle -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

Re: [web2py] Re: auth.settings.registration_requires_approval has no effect

2015-08-20 Thread 'Karl Thomas Schmidt' via web2py-users
Thanks, Jaime Sempere, i tried this in all kinds of variations. Still no pending registrations. And still immediately logged in after registering. Some strange things besides: Having done an update of web2py to new 2.12,3 it still shows 2.11.2-stable+timestamp.2015.05.30.16.33.24 and recommends

[web2py] auth.settings.registration_requires_approval has no effect

2015-08-19 Thread 'Karl Thomas Schmidt' via web2py-users
Hi@ all, Having this lines in db.py auth = Auth(db) auth.settings.registration_requires_approval = True auth.settings.login_after_registration = False a new registration immediatly logs in and corresponding db field is still empty. Running 2.11.2-stable+timestamp.2015.05.30.16.33.24 (Running on

[web2py] extending MARKMIN

2015-08-14 Thread 'Karl Thomas Schmidt' via web2py-users
Hi @ all, i want to extend MARKMIN with a function so a ``text to surround with a line box and a different background color'``:myFunc is properly rendered. I can't figure out where and how i should define this function. This should work with build-in wiki. The example in the web2py book chapter

[web2py] :using plugin_ckeditor as default editor for built-in wiki

2015-07-23 Thread 'Karl Thomas Schmidt' via web2py-users
sorry for reposting this, but it seems that google didn't like this post. some days ago i asked this: Hi @ all, is there a easy or preferred way to integrate plugin_ckeditor as the default editor for built-in wiki? I'm sure i'm missing a basic point there. Any hints/links to docs? Kalle -- R

[web2py] using plugin_ckeditor as default editor for built-in wiki

2015-07-20 Thread 'Karl Thomas Schmidt' via web2py-users
Hi @ all, is there a easy or preferred way to integrate plugin_ckeditor as the default editor for built-in wiki? I'm sure i'm missing a basic point there. Any hints/links to docs? Kalle -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2p