[web2py] Re: How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-27 Thread Luca Guerrieri
Hi people, please do you have any idea on the way i can avoid the register_key verification ? Thank You Il giorno lunedì 4 agosto 2014 10:39:26 UTC+2, Luca Guerrieri ha scritto: > > Goodmornig people, > I've customized registration form and relative view, for integrating the

[web2py] Re: How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-07 Thread Luca Guerrieri
except ldap.LDAPError, error_message:session.flash = T("Error setting password: %s" % error_message)redirect(URL('result')) ## Change the account back to enabledtry: con.modify_s(user_dn, mod_acct)except lda

[web2py] Re: How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-07 Thread Luca Guerrieri
Ops sorry, here the code ... > > > > > > > > > > > > > > > > > > > > > > > > > *Overload of the Auth_user table : ## Auth custom fields > auth.settings.everybody_group_id = 1 > auth.settings.extra_fields['auth_user']= [ Field('username', > type='string', label=T('Username')), Field(

[web2py] Re: How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-07 Thread Luca Guerrieri
*Overload of the Auth_user table : ## Auth custom fields auth.settings.everybody_group_id = 1 auth.settings.extra_fields['auth_user']= [ Field('username', type='string', label=T('Username')), Field('f_role', type='integer', default=2, label=T('Role')), Fiel

[web2py] How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-04 Thread Luca Guerrieri
Goodmornig people, I've customized registration form and relative view, for integrating the registration process with Active Directory (asap I'll post on webslices my results :-) ) But ... I've a problem ... and I'm not able to resolve correctly ... in db.pt I've set ## configure auth policy au

[web2py] Re: SQLFORM.grid and custom edit form

2014-02-21 Thread Luca Guerrieri
mmmh... sorry Anthony but you know i'm new on web2py... can you show me more in deep this your last? thank you lucs -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] Re: SQLFORM.grid and custom edit form

2014-02-21 Thread Luca Guerrieri
mmmh... sorry Anthony but you know i'm new on web2py... can you show me more in deep this your last? thank you lucs -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] Re: SQLFORM.grid and custom edit form

2014-02-21 Thread Luca Guerrieri
mmmh... sorry Anthony but you know i'm new on web2py... can you show me more in deep this your last? thank you lucs -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] Re: SQLFORM.grid and custom edit form

2014-02-21 Thread Luca Guerrieri
ay I can have an edit or whatever i need ... customized ... p.s.: now I'm fighting with a links=links customization ... but this is another question :-)) Il giorno giovedì 20 febbraio 2014 16:35:17 UTC+1, Luca Guerrieri ha scritto: > > Dear all, > after some new things i have un

[web2py] SQLFORM.grid and custom edit form

2014-02-20 Thread Luca Guerrieri
Dear all, after some new things i have understood on web2py I'm not able to find this solution : I've a sqlform.grid which becomes from a 2 tables query ... some customization code form = SQLFORM.grid(query=query, left = db.mylist.on(db.person.id == db.mylist.name ) , field_id = (db.myli

[web2py] Insert on related tables by code

2014-02-16 Thread Luca Guerrieri
Goodmorning, i:m trying to fill a table record by code. All the basic test went good,but now i'm trying to fill a table that has a field wich is a foreign key of another. luca field ('name', db.person) whrn i try to fill i catch an error . . in which way i can compose my instruction for do it? t

[web2py] Re: HTML Parser of uploaded file

2014-02-15 Thread Luca Guerrieri
n > whether you're validating the "filename" argument passed to the retrieve > function). > > Anthony > > On Friday, February 14, 2014 5:21:40 AM UTC-5, Luca Guerrieri wrote: >> >> Goodmorning people, >> I'm teaching myself web2py and I've a l

[web2py] HTML Parser of uploaded file

2014-02-14 Thread Luca Guerrieri
Goodmorning people, I'm teaching myself web2py and I've a little question for understanding how can i do ... I've a form (becomes from a table) with an upload field i would to upload an html file and I would to parse it in the mean time .. or just after the completition of the operation... eg.:

[web2py] Re: Active/Ldap directory and Group restrictions access

2013-09-24 Thread Luca Guerrieri
Thank you Camille, finally I've found a solution and i'v written a little how to on web2pyslices http://www.web2pyslices.com/slice/show/1715/authentication-and-group-control-with-active-directory-ldap Luca Il giorno domenica 15 settembre 2013 20:09:01 UTC+2, Luca Guerrieri ha scrit

[web2py] Active/Ldap directory and Group restrictions access

2013-09-15 Thread Luca Guerrieri
Hi people, i'm developing an application with web2py (very awesome project) and I'm able to bind it with an AD server (also with a Samba as AD) I'm able to restrict the login chain to the ldap users but I'm not able to define then to restrict, e.g.. for a page, the access to a particular group