Re: [web2py] JWT with ldap_auth and auth methods

2017-09-27 Thread Francisco García
Hi Dave, I agree with you. Changes in gluon/*.py may be complex. If I implement a solution useful for others, I'll do a pull request. Regards. El martes, 26 de septiembre de 2017, 21:23:42 (UTC+2), Dave S escribió: > > > > On Tuesday, September 26, 2017 at 9:01:44 AM UTC-7, Fran

Re: [web2py] JWT with ldap_auth and auth methods

2017-09-26 Thread Francisco García
heck the password first in web2py then in Active Directory... I > guess by removing the auth ad an authentication method it will only allow > authentication against the ldap/AD instance. > > Richard > > On Mon, Sep 25, 2017 at 12:41 PM, Francisco García Claramonte < > fgcl

[web2py] JWT with ldap_auth and auth methods

2017-09-25 Thread Francisco García Claramonte
Hello all, I am using logging methods: ldap_auth (in 'ad' mode) and auth. My application logins perfectly from web auth form, validate with both methods, depending the order of them. I am using AuthJWT for remote access, from an Android mobile application. It works fine with local database. My

Re: [web2py] Active Directory (ldap) authntication problem

2017-06-27 Thread Francisco García Claramonte
config >> logging_level='error', >>db=db)] >> >> I think your main issue is not having bind username and bind password... >> You need a AD user that can accees the same base dn then the users to >> authenticate... >>

[web2py] Active Directory (ldap) authntication problem

2017-06-26 Thread Francisco García
Hello all, I have the following configuration to validate users with windows Active directory: auth.define_tables(username=False, signature=False) auth.settings.create_user_groups = False

[web2py] Re: Use reserved Keyword 'response'

2017-05-12 Thread Francisco García
True, 'Key': Key, 'data': dataOrder, 'Code': .}}) return (json(res)) return dict(GET=GET) Thanks. Regards Francisco. El viernes, 12 de mayo de 2017, 9:25:44 (UTC+2), Francisco García escribió: > > El jueves, 11 de mayo de 2017, 19:53:29 (UTC+2), Anthony escribió: >&g

[web2py] Re: Use reserved Keyword 'response'

2017-05-12 Thread Francisco García
way I can't return 'response' expression. Thank you for your support. Regards, Francisco > > On Thursday, May 11, 2017 at 12:28:37 PM UTC-4, Francisco García wrote: >> >> Hello all, >> >> In a service Restful I need to return a dict in the form: >> >>

[web2py] Use reserved Keyword 'response'

2017-05-11 Thread Francisco García Claramonte
Hello all, In a service Restful I need to return a dict in the form: {'response' : {'data' : .}} The problem is that I can't use 'response' Keyword this way. I get the error: keyword can't be an expression I would like to know if there is a way to do that. Thank you in advance. Regards,

[web2py] Re: web2py on android

2016-07-25 Thread Francisco García
Hello, Yes, you can write your backend Restful service with Web2py, and connect consumer web applications, android or iOS apps, etc. I use to read ODoo web services, process data with Web2py and publish to customers with a Restfull service. Web2py is perfect for this tasks. It is very fast and

[web2py] Re: IMPORTANT - WEB2PY CONSULTING

2016-02-09 Thread Francisco García
Hi Massimo, I work as a software consultant and developer. I work with Web2py in my projects with customers. I would like to be in the list of companies My website is : www.garciac.es I offer my consulting services in Spain. Thank you. Regards, Francisco. El domingo, 15 de febrero de 2015,

Re: [web2py] Re: GAE deployment problem with gluon.settings

2014-03-31 Thread Francisco García Claramonte
2014 06:56:32 UTC-5, Francisco García wrote: Hello all, I am trying to upload a Web2py application to GAE, as I use to do with other web2py apps (without problems). I find the following error in GAE logs: type 'exceptions.AttributeError': 'module' object has no attribute 'settings

Re: [web2py] Re: GAE deployment problem with gluon.settings

2014-03-14 Thread Francisco García Claramonte
On Thursday, 13 March 2014 06:56:32 UTC-5, Francisco García wrote: Hello all, I am trying to upload a Web2py application to GAE, as I use to do with other web2py apps (without problems). I find the following error in GAE logs: type 'exceptions.AttributeError': 'module' object has

[web2py] GAE deployment problem with gluon.settings

2014-03-13 Thread Francisco García
Hello all, I am trying to upload a Web2py application to GAE, as I use to do with other web2py apps (without problems). I find the following error in GAE logs: type 'exceptions.AttributeError': 'module' object has no attribute 'settings' Traceback (most recent call last): File

[web2py] Re: Custom Style of a textarea.

2013-10-06 Thread Francisco García
{{=form.custom.widget.description}} /div button type=submit class=btn btn-primarySubmit your idea/button /div {{=form.custom.end}} Ykä On Friday, October 4, 2013 8:14:33 PM UTC+3, Francisco García wrote: Hello all, I am loading a form from a database

[web2py] Custom Style of a textarea.

2013-10-04 Thread Francisco García
Hello all, I am loading a form from a database table, with CRUD or SQLFORM (It is the same for me). This form contains text fields and textarea fields between others. Now, I need to change in the views the class of all textareas, from class= text to class=myclass How can I do this from