[web2py] downloading to IE over https

2010-01-23 Thread Anthon
I have some problems downloadin a PDF file over https. The setup is mod_wsgi + apache (python 2.6). Downloading via https to Firefox works without a problem as does downloading over HTTP (both IE7 and Firefox). I tried to download a .csv file from the appadmin database administration pages and

[web2py] Problem uploading images

2010-01-23 Thread pistacchio
Hi, in a very simple image uploading form (we2py server) i'm facing the annoying problem of not being able to upload images 80% of the times. I select an image and the page remains in a waiting for localhost state. Other times it simply works (also with the same image). What could it depend on?

[web2py] wysiwyg editor in form does not work with ajax

2010-01-23 Thread selecta
Hi there, I tried to use http://nicedit.com/ and http://ckeditor.com/demo in my project. Both work well when the form is submitted normally but both do not work when the form is submitted via ajax (plug-in). On an ajax submit the form content of the editor is always empty. Can you give me

[web2py] Re: Limiting the Contents of a Select Tag

2010-01-23 Thread mdipierro
assuming 1.74.6 db.challenge.person.requires=IS_IN_DB(db (db.person.created_by==auth.user_id),db.person.id,'%(name)s') On Jan 22, 10:56 pm, johntynan jgty...@gmail.com wrote: I have a class called create_challenge here: http://code.google.com/p/pledgedrivetracker/source/browse/pledgedrive...

[web2py] Re: validation problems

2010-01-23 Thread mdipierro
which web2py version are you using. There was a bug about this once that was fixed. On Jan 23, 1:38 am, hamdy.a.farag hamdy.a.fa...@inbox.com wrote: Hi So you can do IS_INT_IN_RANGE(v1, v2, error_message=T(enter a value between %(min)s and %(max)s)) or any other string containing the min

[web2py] Re: downloading to IE over https

2010-01-23 Thread mdipierro
The only issue I am aware of is in uploading/downloading large files via https uwing the built-in web server. If you use mod_wsgi you by- pass the built-in web server and there should not be any problem. Keep us posted. On Jan 23, 4:22 am, Anthon anthon.van.der.n...@googlemail.com wrote: I have

[web2py] Re: Problem uploading images

2010-01-23 Thread mdipierro
Can you tell us more about your setup? web2py version? Os? Browser? http/hpttps? On Jan 23, 5:00 am, pistacchio pistacc...@gmail.com wrote: Hi, in a very simple image uploading form (we2py server) i'm facing the annoying problem of not being able to upload images 80% of the times. I select an

[web2py] Re: Haiti: Spreadsheet importer needed

2010-01-23 Thread mdipierro
Could you clarify what you need in more detail? Appadmin has a CSV import functionality. It just requires the CSV to have a header like table.field1, table.field2, ... so that web2py can figure out what goes where. Massimo On Jan 23, 1:37 am, Fran francisb...@googlemail.com wrote: This would

[web2py] online docs crippled?

2010-01-23 Thread baloan
Hello, today I noticed that on both IE and Firefox the online Scribd documentation only expands to a fraction of the height of my browser window when selecting Fullscreen. Effectively it renders the online docs unusable for me. Is this intentional? Regards, Andreas -- You received this message

[web2py] Re: online docs crippled?

2010-01-23 Thread mdipierro
No. Do you refer to the scribd docs? On Jan 23, 9:55 am, baloan balo...@googlemail.com wrote: Hello, today I noticed that on both IE and Firefox the online Scribd documentation only expands to a fraction of the height of my browser window when selecting Fullscreen. Effectively it renders the

[web2py] Re: online docs crippled?

2010-01-23 Thread baloan
Yes. The ones on http://www.web2py.com/examples/default/docs. On Jan 23, 5:14 pm, mdipierro mdipie...@cs.depaul.edu wrote: No. Do you refer to the scribd docs? On Jan 23, 9:55 am, baloan balo...@googlemail.com wrote: Hello, today I noticed that on both IE and Firefox the online Scribd

[web2py] Re: online docs crippled?

2010-01-23 Thread baloan
This is how it looks now http://www.baloghs.de/tmp/screenshot1.gif Yesterday the window would occupy all of my firefox and IE screen real estate. Andreas On Jan 23, 5:29 pm, baloan balo...@googlemail.com wrote: Yes. The ones onhttp://www.web2py.com/examples/default/docs. On Jan 23, 5:14 pm,

[web2py] Re: Haiti: Spreadsheet importer needed

2010-01-23 Thread Fran
On Jan 23, 1:37 am, Fran francisb...@googlemail.com wrote: This would be really valuable as we currently have teams of volunteers doing labouring away doing manual data entry which is slow for us tedious for them! http://trac.sahanapy.org/wiki/SpreadsheetImporter On Jan 23, 3:51 pm,

Re: [web2py] wysiwyg editor in form does not work with ajax

2010-01-23 Thread Thadeus Burgess
Have you ever thought of just using markdown/WIKI syntax and using a markdown editor such as WMD or others like it ? -Thadeus On Sat, Jan 23, 2010 at 6:54 AM, selecta gr...@delarue-berlin.de wrote: Hi there, I tried to use http://nicedit.com/ and http://ckeditor.com/demo in my project.

[web2py] Haiti: Proxy required - Django port? CGI port?

2010-01-23 Thread Fran
Hullo again :) We really need a Proxy developing for use with advanced GIS layers (MGRS data - being able to download high resolution PDFs suitable for ground operations) I have example CGI code example Django code. I really need a Web2Py controller :) I can do the integration once the basic

Re: [web2py] Re: Haiti: Spreadsheet importer needed

2010-01-23 Thread Thadeus Burgess
I took a look but I still don't quite understand what you are importing into web2py On Sat, Jan 23, 2010 at 10:55 AM, Fran francisb...@googlemail.com wrote: nisational Contacts it'll be worse since there are many Persons per Office per Organisation, so can't simply do seque -- You

Re: [web2py] downloading to IE over https

2010-01-23 Thread Jeff Bauer
Anton, In my recollection of past IE issues with downloading dynamic pdfs, I finally gave up and wrote the pdf out to a file, then redirected. This was with very old IE 5.0 browsers, though, and I'd have thought this issue was behind us. Anyway, it may be a short-term fix for your situation,

[web2py] Re: update a form field after validation

2010-01-23 Thread leone
Sorry. How can I force a value in a field of SQLFORM.factory after its validation? Thanks leone On 22 Gen, 20:03, mdipierro mdipie...@cs.depaul.edu wrote: I still do not understand. I want to know what you try to accomplish, not how you do it. On Jan 22, 12:38 pm, leone handja...@gmail.com

[web2py] Re: Haiti: Proxy required - Django port? CGI port?

2010-01-23 Thread Fran
On Jan 23, 8:55 pm, mdipierro mdipie...@cs.depaul.edu wrote: It is a bit clunky to configure because you have to use routes. You can have multiple controllers to proxy different servers. Similarly to the original Django code it does not carry forward headers from the request. This means range

[web2py] urlify

2010-01-23 Thread Jonathan Lundell
urlify needs a comment to say explicitly what its intention is. That's partly because it suppresses quite a few characters that are normally legal in URLs, which is confusing. Also, def urlify(s, max_length=80): s = s.lower() # string normalization, eg è = e, ñ = n s =

[web2py] Re: One submit for multiple forms. Is it possible?

2010-01-23 Thread ionel
@massimo I have a jQuery solution that show the errors on validation with one submit and multiple forms. Anyway, I have one problem: for a second POST, despite the modified data to post to the server, the second response is identical to the first response. I don't know if this is a jQuery or a

Re: [web2py] Re: Newbie Question: Intellisense for Web2Py?

2010-01-23 Thread Thadeus Burgess
Not sure what you did wrong with netbeans. I just installed netbeans 6.8 php version, installed python plugin, and then created a new project, added web2py/gluon, and added applications/blogitizer. Waited some time for netbeans to index my python 2.6.4 and my project files. On top of my

Re: [web2py] 1.74.7 is OUT

2010-01-23 Thread Jason Brower
In email... On Sat, 2010-01-23 at 14:03 -0800, mdipierro wrote: New features: 1) request_password_reset and password reset verification 2) python web2py.py -S app -M -R script.py -A arg1 arg2 arg3 3) support for T(%(a)s) % dict(a=hello) What does this one mean? Does this mean I can

[web2py] How to retrieve password

2010-01-23 Thread Dutch opera
Hi, I want to use ajax to retrieve a password. Soif I use ajax to send the user email name to the ajax function. 1) How to I set set the code I need to return the password? I am not looking for other ways to accomplish this task. Here is my code def ajax_retrieve_password():

[web2py] Re: Problem uploading images

2010-01-23 Thread pistacchio
Hi, no Https here. I don't have Firefox at heand, but I've tried with Google Chrome for Mac and the problem doesn't show up. I don't have a IS_IMAGE() validator. On 23 Gen, 19:54, Yannick ytchatch...@gmail.com wrote: Do you have Https set up on your dev ? it is the same behavior on Firefox ?