On Wednesday, April 22, 2015 at 6:56:13 AM UTC-7, Anthony wrote:
>
> It is a different story when building a RESTful API. There would be no
>> rendering behavior before form submission, and normally I use state-less
>> HTTP basic auth and then purposely turn off session feature. Unless I force
On Wednesday, April 22, 2015 at 11:56:33 PM UTC-7, Johann Spies wrote:
>
> Apologies for my previous email. I have read the README again and saw I
> had to do a "git submodule update --init --recursive". Now it is working.
>
> Where are the days when I could just do a "hg pull; hg update". :)
>
I could get it to work, however I'm still concerned about something.
This is what I have and it is working:
session.connect(request, response, db=db, masterapp='init')
response.cookies[response.session_id_name]['domain'] = 'website.com'
As I said before, the two apps were renamed, keeping the dat
Anthony, thank you thank you thank you! I made these changes as follows and
it works like a charm.
In default.py
def index():
return locals()
def showtasks():
return dict(grid=SQLFORM.grid(db.task,user_signature=False))
I never considered for a second I would require a controller. I s
Mind that if you store session in the database/redis you could have
problems in pages that use components (es: load). Otherwise, it is a good
starting point.
On Thursday, April 23, 2015 at 6:21:51 PM UTC+2, Derek wrote:
>
> Barring him sharing that information, what general advice can you give
You need a showtasks function in your default.py controller -- do you have
one?
On Thursday, April 23, 2015 at 1:00:50 PM UTC-4, Tom Campbell wrote:
>
> When I run the following no error gets logged but index.html gets the
> message "invalid function (default/showtasks)" rendered in the view.
>
When I run the following no error gets logged but index.html gets the
message "invalid function (default/showtasks)" rendered in the view.
Controller in default.py:
def index():
return dict(grid=SQLFORM.grid(db.task,user_signature=False))
index.html:
{{extend 'layout.html'}}
{{=LOAD('default
I don't know why but I found that it work with curl but not with wget.
Someone knows why?
When I'm going to advice to my customer's partner a method to access to the
system what I have to say?
Thank you
On Thu, Apr 23, 2015 at 5:11 PM, Massimiliano wrote:
> I found that is not cas related, it
Barring him sharing that information, what general advice can you give
regarding this?
For example, should you store sessions in redis and setup squid and nginx
on the hosts? How do you handle the migrations, etc?
On Saturday, April 18, 2015 at 8:26:00 PM UTC-7, Massimo Di Pierro wrote:
>
> F
Dear fellow web2py users,
I understand that the Janrain plugin in web2py makes use of openID for
Google Accounts authorization.
Now at the moment we get a warning from the authorization site that google
doesn't use OpenID anymore and therefore we need to use OpenID Connect.
Is this a change in
I found that is not cas related, it seem that doesn't work neither in a
basic app.
Has something to do with this issue?
https://github.com/web2py/web2py/issues/621
Thank you
Massimiliano
On Thursday, April 23, 2015 at 3:58:33 PM UTC+2, Massimiliano wrote:
>
> Hi,
>
> I've a number of applicat
I read the solutions for this error, could not resolve it. Before, I had
the following code in the access.py deleted and everything worked fine.
if request.is_https:
session.secure()
elif not request.is_local and not DEMO_MODE:
raise HTTP(200, T('Admin is disabled because insecure channel'
Hi,
there is a bug when the IS_MATCH validator is used with is_unicode=True
If the input contains non-ascii characters and is already unicode an
UnicodeEncodeError occurs:
def __call__(self, value):
if self.is_unicode and not isinstance(value,unicode):
match = self.regex.search(str(v
I have two apps running on production: "init" app, and "panel" app.
Both of them are using the same database (symlinked models and databases
folder).
The sessions are stored in the db.
The main app is "init", so I'm connecting to session like this:
session.connect(request, response, db=db, master
Hi,
I've a number of applications that use cas to authenticate.
Now I need to allow an automatic download for an external integration, but
I don't' find a way to make it work.
I other word I need that someone download a csv file via wget o somthing
like that.
I tried:
in db.py:
auth = Auth(db
15 matches
Mail list logo