[web2py] great system login

2015-05-21 Thread www.diazluis.com
greetings, one has implemented a system Login using the following code?: https://peterhudec.github.io/authomatic -- 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

Re: [web2py] AppConfig and Storage

2015-04-22 Thread www.diazluis.com
where we can read more about this new option.? You could publish related link? El martes, 7 de abril de 2015, 11:19:17 (UTC-4:30), Niphlod escribió: > > >> Sorry for late intromission. >> >> Is all of this documented in the book? If I got right, this can change >> the programer’s expectation abo

[web2py] instagram login

2015-04-19 Thread www.diazluis.com
greetings, one could publish the adapted code to login on instagram? try to, but I overcame :( I do not have the ability to adapt oauth20_account.py to work with it: from instagram.client import InstagramAPI instagram_api = InstagramAPI(client_id=CLIENT_ID, client_secret=CLIENT_SECRET, redirec

[web2py] GAE login in twitter

2015-03-22 Thread www.diazluis.com
greetings, could post the code to log into twitter, using as a server GAE -- 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 becau

[web2py] Re: SOCKsify all connections from web2py server

2014-10-17 Thread www.diazluis.com
greetings. I am also interested in being able to run directly on the server rocket tor. I wonder if he did it? El martes, 18 de octubre de 2011 18:09:57 UTC-4:30, Arturo Filastò escribió: > > Yes, you are correct I am worried about outbound connections. Like > connecting to SMTP etc. > > Is

[web2py] Re: How to use facebook app properly

2014-09-21 Thread www.diazluis.com
Greetings I use the following code in my app: www.referenciasocial.com ### auth_user_id = (auth.user and auth.user.id) or None Facebook = local_import('facebook') #-- FACEBOOK -- YOUR_CLIENT_ID = 'x' YOUR_CLIENT_SECRET = 'x' USERNAME = None from

[web2py] Re: Web2py Hosting

2014-05-24 Thread www.diazluis.com
http://virpus.com/ El jueves, 22 de mayo de 2014 06:56:13 UTC-4:30, sasogeek escribió: > > I've been looking around for python hosting websites that I can get my > web2py deployed on but none of them is easy to work with. I'd rather prefer > the ease to work on my application than having the h

Re: [web2py] error postgresql with table new :S

2014-02-05 Thread www.diazluis.com
I thought fast and I resolved .. I have almost no knowledge as to postgresql run a backup "dump" of my local development version (works perfect) between the server and psql: delete the table manually, Run all the instructions that appeared in the backup that made mention to the table "denun

[web2py] extend the permissions

2014-01-05 Thread www.diazluis.com
Greetings to all and happy 2014! I'm using oauth facebook. I can extaer basic user data and contact list. but now need to extend the permissions to see the list of groups, upload pictures, post. documentation of facebook, how to extend the permit, is not clear to me. in the way in which I deploy

[web2py] Re: is_upper() no found

2013-06-03 Thread www.diazluis.com
rts > everything to utf8. You can see the source here: > > http://web2py.com/examples/static/epydoc/web2py.gluon.validators-pysrc.html#IS_UPPER.__call__ > > > Ah, I see that web2py is mixing validation with formatting. The two should > really be split into separate doma

[web2py] Re: is bug? sqlform.factory

2013-01-23 Thread www.diazluis.com
thanks for the reply I understood the point of view. only had the doubt. I thought it could be a mistake. but at this point, is, that the matter be referred to the database. --

[web2py] Re: is bug? sqlform.factory

2013-01-22 Thread www.diazluis.com
thank you all for the answers. if I am using sqlite. field size has always been one (1) character. that the form only allows me to store more. My logic told me that if a user entered eg "AAA" the system only stores "A" --

[web2py] is bug? sqlform.factory

2013-01-21 Thread www.diazluis.com
when implemented the following code, I notice that the system does not respect the length of the field in the database. if the user enters a name of more than one (1) character the system stores .. wonder: is this a bug? to the following model: auth_user_id = (auth.user and auth.user.id)

[web2py] Re: I do not use cache, but the system cache throws me errors .. : S

2012-12-10 Thread www.diazluis.com
case without seeing more code. > > Anthony > > On Friday, December 7, 2012 8:31:07 AM UTC-5, www.diazluis.com wrote: >> >> greetings to all. >> Thanks for your time. >> >> lately I've been spending >> have my app cache error >> but

[web2py] I do not use cache, but the system cache throws me errors .. : S

2012-12-07 Thread www.diazluis.com
greetings to all. Thanks for your time. lately I've been spending have my app cache error but I do not use the cache my app using sqlite database, and run on your own server. I use debian 6 web2py v. 2.2.1 the error I have is: 19 plugin_inscripcion_temp.py ValueError: invalid literal for int()

[web2py] Re: error export represet

2012-11-19 Thread www.diazluis.com
mostrar = '---' return mostrar El viernes, 16 de noviembre de 2012 17:45:23 UTC-4:30, Massimo Di Pierro escribió: > > some where you have a Field(...,represent=something) > > and something takes two arguments, not one. Can you show us the model? > > On Frid

[web2py] error export represet

2012-11-16 Thread www.diazluis.com
{{ import cStringIO stream=cStringIO.StringIO() estudiante_arancel_rows.export_to_csv_file(ofile=stream, represent=True) response.headers['Content-Type']='application/vnd.ms-excel' response.headers['Content-Disposition'] = "attachment; filename=%s" % 'data_sga.csv' response.write(stream.getvalue(

Re: [web2py] OperationalError: database is locked

2012-11-14 Thread www.diazluis.com
greetings. I have the same problem. but sometimes I throw a cache miss. and I do not use cache cleared ... I have not configured .. It had implemented db.executesql ('PRAGMA journal_mode = WAL') error: default.py OperationalError: database is locked + details 10_base_config.py O

Re: [web2py] Re: Error facebook login

2012-05-16 Thread www.diazluis.com
gt; > > is not an option? i think that is what facebook needs. > > > > cfh > > > > > > On 5/15/12 13:54 , www.diazluis.com wrote: > >> > >> Thanks for responding > >> > >> no, not possible. > >> would have to be

[web2py] Re: Error facebook login

2012-05-15 Thread www.diazluis.com
Thanks for responding no, not possible. would have to be able to specify a dns PTR type, and I have that option CAS system not work for me, I retornava error "infinite redirect" I had several customers excited about the idea of ​​being able to log into facebook ... pity it does not work .. El

Re: [web2py] How to access facebook graph of logged in user

2012-05-14 Thread www.diazluis.com
greetings I have the same problem could you explain me the configuration that mensionas with an example? note: my hosting is WebFaction my domains are registered in Dattatec El lunes, 13 de junio de 2011 17:37:06 UTC-4:30, sebastian escribió: > > I had similar problems... fixed using dns names ra

Re: [web2py] mistake by not using db.commit ()?

2012-03-23 Thread www.diazluis.com
if home is None: home_id = db.home.insert(user=id_user) home = db.home(user=id_user) else: home_id = home.id I google translator flip the code :S El viernes 23 de marzo de 2012 13:31:13 UTC-4:30, www.diazluis.com escribió: > > sr. antonio has every

Re: [web2py] mistake by not using db.commit ()?

2012-03-23 Thread www.diazluis.com
gt; could end up with only partial (and therefore inconsistent) changes. If you > need more fine-grained, control, though, you can call db.commit() and > db.rollback() as necessary. > > Anthony > > On Friday, March 23, 2012 12:58:22 PM UTC-4, www.diazluis.com wrote: >> >>

Re: [web2py] mistake by not using db.commit ()?

2012-03-23 Thread www.diazluis.com
Greetings sr. Thanks for your time. your explanation makes sense but ... but I find it annoying to have to be running explicitly "db.commit ()" something as simple as what you showed you Waste time having to revise the code to see where failure to use "db.commit ()" and so and keep it from boun