[web2py] SOAP & WSDL

2018-01-17 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi all. Excuse for some off topic. I need to up a SOAP service so i think to use web2py. I have wsdl file. I use wsdl2interface for convert wsdl into Python clasesThis is my wsdl file: http://oap/ser - Pastebin.com | | | | || | | | | |

Re: [web2py] Call a javascript function from SQLFORM.smartgrid

2017-03-24 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear Nico. Thank you for you answer. I use a sqlform.smart grid for show records from database, i want to do a call Restful for show especific record clicked using ajax My problem is i not know how i implement onclick function on sqlform.smart grid Regards On Friday, March 24, 2017 6:20 AM,

[web2py] Call a javascript function from SQLFORM.smartgrid

2017-03-18 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. How a i can call a javascript function from a link of sqlform.grid My controller:   d=datetime.datetime.strptime(request.vars.desde, "%d/%m/%Y %H:%M:%S") \    if request.vars.desde else datetime.datetime.strptime(datetime.datetime.strftime(datetime.datetime.now(),'%Y-%m-%d 00:00:00'),

Re: [web2py] Web2py and WebRTC?

2016-08-10 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear Massimo.I did tested opentok great tip!!! Regards On Saturday, August 6, 2016 4:43 AM, Massimo Di Pierro wrote: I would use opentok On Tuesday, 2 August 2016 19:46:07 UTC-5, Ron Chatterjee wrote: This may help. Its a django app. Someone needs to take

Re: [web2py] Web2py and WebRTC?

2016-08-04 Thread 'Fernando Villarroel' via web2py-users
Thank you Antonio Enviado desde mi iPhone > El 04-08-2016, a las 4:51, António Ramos <ramstei...@gmail.com> escribió: > > https://www.youtube.com/watch?v=MUWy-NSrvNQ > > 2016-08-03 19:26 GMT+01:00 'Fernando Villarroel' via web2py-users > <web2py@googlegroups.co

Re: [web2py] Web2py and WebRTC?

2016-08-03 Thread 'Fernando Villarroel' via web2py-users
Dear. I think the deploy coments use a server like Asterisk or FreeSWITCH. So the deploy from Django surely use some library JavaScript for comunícate browsers like sip.js or another with websocket server (Asterisk or FreeSWITCH ). Regarding about webrtc i deploy a server webrtc using

Re: [web2py] Open a form popup only some user registered

2016-06-21 Thread 'Fernando Villarroel' via web2py-users
at 12:21 AM, 'FERNANDO VILLARROEL' via web2py-users >> <web2py@googlegroups.com> wrote: >> Dear All. >> >> I hope you could me explain how i can do the follow idea: >> >> If a have a user registered like username in my web2py site. >>

[web2py] Open a form popup only some user registered

2016-06-20 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I hope you could me explain how i can do the follow idea: If a have a user registered like username in my  web2py site. I have another application like asterisk (IP PBX) so when asterisk received a inbound a call for user i need that the browser of user (only browser of

Re: [web2py] sqlform.smartgrid from custom datefield from sqlform.factory

2015-05-26 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. I need you help, any idea how i can solve my problem. Regards On Monday, May 25, 2015 11:03 PM, 'FERNANDO VILLARROEL' via web2py-users web2py@googlegroups.com wrote: Dear All I have problem when i click on pagination of sqlform.smartgrid because my custom date field change

[web2py] sqlform.smartgrid from custom datefield from sqlform.factory

2015-05-25 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All I have problem when i click on pagination of sqlform.smartgrid because my custom date field change to today and i lost data def index():    d=datetime.datetime.strptime(request.vars.desde, %d/%m/%Y %H:%M:%S) \            if request.vars.desde else

[web2py] Heroku deploy

2015-03-03 Thread 'Fernando Villarroel' via web2py-users
web2py@googlegroups.com Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Dear All. I have my app in my home folder ~/web2py/application/foo I do not understand how i can deploy on Heroku Anyone can explain how i can do I am trying to follow the book guide but i do not understand. I am

Re: [web2py] web2py and sublime test

2015-01-04 Thread 'Fernando Villarroel' via web2py-users
+1 Enviado desde mi iPhone El 03-01-2015, a las 23:32, Massimo Di Pierro massimo.dipie...@gmail.com escribió: I came across this: https://github.com/cassiobotaro/my_environment Useful! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: happy holidays everybody

2014-12-24 Thread 'FERNANDO VILLARROEL' via web2py-users
pyDAL +10 I wish you merry christmas and happy new year Massimo and everybody of this community. Fernando On Wednesday, December 24, 2014 12:48 PM, DJ sebastianjaya...@gmail.com wrote: Congrats Massimo and happy holidays! On Wednesday, December 24, 2014 8:48:18 AM UTC-5, Massimo

[web2py] Backend and FrontEnd dev

2014-12-17 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. Some customer need a application like a Desktop application (visual basic, wxPython, etc.) and reports. I think to use web2py, but i need to do rich windows (widgets or RIA). I am searching how i can do so i found qooxdoo.For reports i think to use Reportlab. My web development

Re: [web2py] Re: Audio wav file

2014-11-06 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. The follow script it works; audio src={{=URL(a=request.application, c='static', f='2014-11-04-19-20-19_994491803_448908901.wav')}} controls=controls type=audio/wav Your browser does not support the audio element. /audio And this works in Firefox but not in Chrome, why?. I am use latest

[web2py] Audio wav file

2014-11-05 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear all. I need to play a sound file (.wav) I am trying like this: controler: def play(): filename='2014-11-04-19-20-19_994491803_448908901.wav' ff=XML('''source src={{URL('static',args='%s')}} type=audio/wav''' % filename) return dict(ff=ff) view: play.html

[web2py] Features as Modules

2014-11-03 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I need to add new features to my application like a modules; something like purchases module, sales module, etc. The idea is that each new module installed enable the respective option menu. My idea is to create folders within the folder modules such as sales folder; inside are the

[web2py] Login password changed

2014-09-14 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. For some reason i do not know, the login password on my web2py site changed. Is possible that someone is attack my website?, how i can prevent or solve this issue? For reseted the password i must updated auth_user like: update auth_user set password=md('foo'); What do you think?

[web2py] Re: SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi. The database definition ; db.define_table('cdr', Field('caller_id_name',length=30), Field('caller_id_number',length=30), Field('destination_number',length=30), Field('context',length=20), Field('start_stamp', datetime), Field('answer_stamp',

Re: [web2py] Re: SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear, i changed datetime with 'datetime' and now it's works Thank You On Thursday, September 4, 2014 8:15 AM, Niphlod niph...@gmail.com wrote: tat's probabl why replace datetime with 'datetime' (notice the '') On Thursday, September 4, 2014 1:37:51 PM UTC+2, visuallinux wrote: Hi.

[web2py] Geraldo Report

2014-09-04 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. Does anyone use Geraldo Report? I am trying to use i follow the how to about web2py and Geraldo http://www.geraldoreports.org/docs/tutorial-2.html But i received a empty pdf. My code: controllers/callscltes_pdf.py def callcltes_pdf(): from reports import ReportPurchase

[web2py] SQLFORM.smartgrid 'module' object has no attribute 'split'

2014-09-03 Thread 'FERNANDO VILLARROEL' via web2py-users
Hi All. I am trying to use SQLFORM.smartgrid: query=(db.cdr.accountcode==form.vars.nombre[0]) grid=SQLFORM.smartgrid(db.cdr,constraints=dict(cdr=query),details=False,create=False,editable=False,deletable=False,csv=False) But i received the follow exception: type 'exceptions.AttributeError'

[web2py] Web2py Geraldo Reports

2014-09-01 Thread 'FERNANDO VILLARROEL' via web2py-users
Dear All. I am try to use Geraldo Reports with web2py and i am following this howto: http://www.geraldoreports.org/docs/tutorial-web2py.html But i received a error with this import from reports import ReportPurchase Traceback (most recent call last): File stdin, line 1, in module