[web2py] Re: How to change another user's session vars?

2016-09-27 Thread Alex Glaros
thanks Dave, I think somthing like that is the best way. -- 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

[web2py] Re: How to change another user's session vars?

2016-09-27 Thread Dave S
On Tuesday, September 27, 2016 at 2:24:46 PM UTC-7, Alex Glaros wrote: > > In a social network, I keep who_has_blocked_me in session vars so that > their people searches don't display people that have blocked me. > > However if the blocked person is logged on at same time that blocker > person

[web2py] Re: How to change another user's session vars?

2016-09-27 Thread Alex Glaros
it would be acceptable to force logout blocked user so they have to login again. I guess would have to make an exception for my session ;-) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] How to change another user's session vars?

2016-09-27 Thread Alex Glaros
In a social network, I keep who_has_blocked_me in session vars so that their people searches don't display people that have blocked me. However if the blocked person is logged on at same time that blocker person blocks them, the blocked person's session vars will not be current. Is there a way

Re: [web2py] Re: i wont to add a lambda link to inactivate the row (is_active=False)

2016-09-27 Thread Yoel Baez
I want to add a button on a SQLFORM.grid to inactivate the row 2016-09-27 17:07 GMT-04:00 Dave S : > > > On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote: >> >> i wont to add a lambda link to inactivate the row (is_active=False) >> >> Can someone help me

[web2py] Re: i wont to add a lambda link to inactivate the row (is_active=False)

2016-09-27 Thread Dave S
On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote: > > i wont to add a lambda link to inactivate the row (is_active=False) > > Can someone help me please? > What are you trying to do? Is this link to appear in a form (like an edit link in SQLFORM)? Is it to be a standalone

[web2py] i wont to add a lambda link to inactivate the row (is_active=False)

2016-09-27 Thread Yoel Baez
i wont to add a lambda link to inactivate the row (is_active=False) Can someone help me please? -- 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

[web2py] Re: AppConfig and % interpolation

2016-09-27 Thread Niphlod
yep, ATM I'd go for rawconfigparser but someone asked for interpolation so we have two distinct "paths" . Just need to rule out one ^_^ On Tuesday, September 27, 2016 at 6:56:10 PM UTC+2, Ivan wrote: > > escaping % with % solves the problem > however I think it would be better to not force

[web2py] Re: AppConfig and % interpolation

2016-09-27 Thread Ivan
escaping % with % solves the problem however I think it would be better to not force the user to escape each % in a .ini file the exception comes from the ConfigParser python module (more precisely SafeConfigParser) used in AppConfig maybe a better solution is to use RawConfigParser that

[web2py] Re: AppConfig and % interpolation

2016-09-27 Thread Niphlod
hum. did you try excaping the % with % , which means basically having %% instead of % ? On Tuesday, September 27, 2016 at 4:15:45 PM UTC+2, Ivan wrote: > > I don't want to interpolate. > I have an option with a % inside and the AppConfig raises an exception. > -- Resources: - http://web2py.com

[web2py] Re: AppConfig and % interpolation

2016-09-27 Thread Ivan
I don't want to interpolate. I have an option with a % inside and the AppConfig raises an exception. -- 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

[web2py] Re: AppConfig and % interpolation

2016-09-27 Thread Niphlod
and it's correct that it does, as it can work with json with doesn't have any interpolation facilities. if you want to interpolate, for the moment, use your app's code. On Tuesday, September 27, 2016 at 3:43:24 PM UTC+2, Ivan wrote: > > If the .ini file contains an option with a % (eg a

[web2py] Re: Search on list:reference tables with SQLFORM.Grid

2016-09-27 Thread Anthony
Are you talking about searching a list:reference field? If so, that wouldn't be very useful, as the end user would have to know the record IDs of the desired records. Instead, presumably you would want the ability to search based on the record representation of each reference (or some other

[web2py] AppConfig and % interpolation

2016-09-27 Thread Ivan
If the .ini file contains an option with a % (eg a password), the AppConfig class raise an InterpolationSyntaxError exception. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: flot charts are not getting displayed

2016-09-27 Thread brooks lee
Got it! Had to update the jquery version.It's working now.Thanks Anthony. On Mon, Sep 26, 2016 at 4:43 PM, Anthony wrote: > On Monday, September 26, 2016 at 1:53:38 AM UTC-4, @brooks wrote: >> >> Thanks Anthony.I corrected the two things you pointed out and then >> checked

[web2py] Search on list:reference tables with SQLFORM.Grid

2016-09-27 Thread St. Pirsch
I am coming back to this topic for a second time since I couldn’t get an answer last time and it would facilitate things a lot for me: The SQLFORM.Grid has a very sophisticated filter system to make queries over selected tables easy. It seems, however, that it is actually not possible to

[web2py] Re: How to update multiple records

2016-09-27 Thread 'Annet' via web2py-users
Hi Anthony, Thanks for your reply. Problem solved. Best regards, Annet -- 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