[web2py] parse_get_post_vars change

2010-12-17 Thread NuclearDragon
So, I am in the process of upgrading Web2py from version 1.67 to 1.89.5. Ouch. One of the things I encountered is that request.vars will now include a list of duplicate values, rather than a single value (not a list) as it previously did. For example, our url includes a _next variable. So does the

[web2py] Requires login decorator error

2010-12-16 Thread NuclearDragon
I was getting an error when attempting to go to a page that requires you be logged in, if I was not logged in. Traceback: Traceback (most recent call last): File "/xxx/app/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/xxx/app/applications/init/controllers/x

[web2py] How do I submit a patch or addition to Web2Py?

2010-11-23 Thread NuclearDragon
I have a small change I implemented in the requires_login decorator of Auth, that I wanted to submit for folks to check out, and potentially be added to Web2Py. How do I go about creating a patch? What format should it be in? Do I just commit to trunk? Thanks!

[web2py:35633] Re: Image Uploading

2009-11-19 Thread NuclearDragon
Thanks for the replies everyone! We are renaming the files with our own naming scheme, so they are unique, but not random. We don't provide a download function for our users, so I'm not worried about the download aspect. Thanks especially to Richard for this!: " form = SQLFORM(db.image) if form.

[web2py:35491] Image Uploading

2009-11-17 Thread NuclearDragon
How can I specify my own filename and upload location for images? I can't find in the code where it is doing the upload/save/rename processes. I have a vague idea that it uses shutil somehow, but I just can't see where it is being used, or how to interrupt and redirect the process. Thanks! --~-