[web2py] Re: Using CRYPT()

2018-10-16 Thread Константин Комков
If i got form.vars.password. Can I get salt and hash like variables? Now I do that: aList = str(form.vars.password).split('$') salt=aList[1] hash=aList[2] суббота, 13 октября 2018 г., 0:11:16 UTC+3 пользователь Anthony написал: > > >> if >> form.process(formname='form',onvalidation=check_ag

[web2py] Re: Using CRYPT()

2018-10-16 Thread Константин Комков
e -- 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 subscribed to the Google Groups "web2py-users" group. To unsu

[web2py] Auth question

2018-10-16 Thread Rahul
Hey Everyone, Greetings! I have a question. I went through Auth documentation and understood that we can add extra fields to the Auth tables. However, I still want to be a little more clear to achieve below - I am currently using three fields for a multi-tenant system like workspace, user

[web2py] Re: Auth question

2018-10-16 Thread Jim S
Have you looked at common filters? http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=common+filter#Common-filters -Jim On Tuesday, October 16, 2018 at 7:35:04 AM UTC-5, Rahul wrote: > > Hey Everyone, >Greetings! I have a question. I went through Auth doc

[web2py] Re: broken inframe video on manual web page

2018-10-16 Thread Marcelo Huerta
El domingo, 14 de octubre de 2018, 12:00:30 (UTC-3), Nico Zanferrari escribió: > > Hi, > it seems that there is a missing reference on the online web2py manual at > http://www.web2py.com/init/default/documentation . > There is a missing video >

Re: [web2py] Can I do INSERT INTO statement with DAL syntax ?

2018-10-16 Thread Carlos Costa
I think it is not possible yet. If you don't care about performance, in this case you can do it by code. But if you care, use db.executesql... Em sex, 12 de out de 2018 às 12:44, icodk escreveu: > something like : > > INSERT INTO Customers (CustomerName, City, Country) > SELECT SupplierName, Cit

[web2py] Set password to user programmatically

2018-10-16 Thread isi_jca
Hello everybody: Is possible to write this script: db(db.auth_user.email == ls_user).update(password = db.auth_user.password.validate(ls_password)) ? I want to set a new password for special user. I don't want to use a form. Regards, thanks in advanced. -- Resources: - http://web2py.com - h

[web2py] Re: Set password to user programmatically

2018-10-16 Thread Dave S
On Tuesday, October 16, 2018 at 2:00:03 PM UTC-7, isi_jca wrote: > > Hello everybody: > > Is possible to write this script: > > db(db.auth_user.email == ls_user).update(password = > db.auth_user.password.validate(ls_password)) > > ? > > I want to set a new password for special user. I don't want

Re: [web2py] Can I do INSERT INTO statement with DAL syntax ?

2018-10-16 Thread icodk
Thanks Carlos. I am going to loop through it On Tuesday, October 16, 2018 at 9:43:13 PM UTC+2, Carlos Costa wrote: > > I think it is not possible yet. > If you don't care about performance, in this case you can do it by code. > But if you care, use db.executesql... > > Em sex, 12 de out de 2018 às

Re: [web2py] Re: broken inframe video on manual web page

2018-10-16 Thread Nico Zanferrari
Well, it seems that Vimeo has dropped the hubnut feature on July, see https://vimeo.zendesk.com/hc/en-us/articles/360001359507-Flash-player-deprecation We should find an alternative (maybe the first video on the album?) or remove the frame. Nico Il giorno mar 16 ott 2018 alle ore 21:23 Marcelo Hu