Yes. Please check trunk.
On Jan 1, 11:23 pm, Bruno Rocha wrote:
> 2011/1/2 mdipierro
>
> > its is a known problem that the automatic upgrade button does not work
> > on windows
>
> Is there a way to detect that is running on Windows to disable the upgrade
> buttom?
>
> --
>
> Bruno Rochahttp://a
On Jan 1, 2011, at 9:23 PM, Bruno Rocha wrote:
> 2011/1/2 mdipierro
> its is a known problem that the automatic upgrade button does not work
> on windows
>
> Is there a way to detect that is running on Windows to disable the upgrade
> buttom?
>
platform.system()
http://docs.python.org/library
2011/1/2 mdipierro
> its is a known problem that the automatic upgrade button does not work
> on windows
Is there a way to detect that is running on Windows to disable the upgrade
buttom?
--
Bruno Rocha
http://about.me/rochacbruno/bio
its is a known problem that the automatic upgrade button does not work
on windows
On Jan 1, 10:06 pm, weheh wrote:
> I tried the automatic upgrade button & got this error message:
>
> unable to upgrade because "[Errno 13] Permission denied: 'C:\\web2py/
> _ctypes.pyd'"
I tried the automatic upgrade button & got this error message:
unable to upgrade because "[Errno 13] Permission denied: 'C:\\web2py/
_ctypes.pyd'"
BTW Here is an updated version of the plugin:
https://bitbucket.org/rochacbruno/powertable/downloads
I fixed some bugs, included a test version of server side JSON parsing,
search works globally and by column, and there is a new jQueriUI theme
called Aristo.
If I did not sleep this night I'll upd
>
> Hello,
>
> In-line editing is listed as a feature of powertable. Would it be
> possible for you to include a working example of this in your demo?
>
Yes, I am working to finish some features and the most important (server
side processing)
In my plan is a tutorial, documentations and a video.
On Jan 1, 2011, at 5:46 PM, villas wrote:
>
> The 'default_controller' variable in routes.py doesn't seem to be
> available in the rest of the app.
> From where may I access that information?
> Or, do I have to set that variable again in as an app setting
> somewhere (not very DRY!).
I'm not sure
Hello,
In-line editing is listed as a feature of powertable. Would it be
possible for you to include a working example of this in your demo?
Thanks, - Tom
On Dec 29 2010, 9:49 pm, Bruno Rocha wrote:
> Here is a complete list of working powerTable
> options:https://bitbucket.org/rochacbruno/po
Hi Jonathan
The 'default_controller' variable in routes.py doesn't seem to be
available in the rest of the app.
>From where may I access that information?
Or, do I have to set that variable again in as an app setting
somewhere (not very DRY!).
-David
thank you :D
great start for a new year
> Congratulations to the winners!
+1
On Jan 1, 11:52 am, mdipierro wrote:
> Congratulations to the winners!
Massimo, the more I think about this the more I get concerned.
Security is a great strength of web2py. The form validation and
various security features of file upload are among web2py's strengths.
>From the looks of it, anybody using components and file upload will
have to do all the file uploadin
I'm trying to pack all my app but the resulting w2p file is empty: 0
length. Version 1.89.5
@Arun: thanks for the lnk. I'll study it.
@Massimo: this is a disappointment. Everything else seems to run so
smoothly with components, it's a bit user-hostile that multipart forms
shouldn't work out of the box.
On Jan 1, 11:44 am, mdipierro wrote:
> This is not a web2py bug. It is simply that Aj
On Jan 1, 2011, at 11:33 AM, Arun K.Rajeevan wrote:
> I'm doing following code now, and is working.
> as you can see, no checking on arguments.
>
> Please show me how to do (or what to check) any checks on arguments.
>
> #--
I'm doing following code now, and is working.
as you can see, no checking on arguments.
Please show me how to do (or what to check) any checks on arguments.
#--
def user():
import gluon
request.args = gluon.s
2011/1/1 mdipierro
> Congratulations to the winners!
Thanks! and I thank everyone who voted and helped test the plugin.
--
Bruno Rocha
http://about.me/rochacbruno/bio
On Saturday, January 1, 2011 1:36:06 PM UTC-5, Jonathan Lundell wrote:
>
> On Jan 1, 2011, at 10:12 AM, Arun K.Rajeevan wrote:
>
> See my earlier message on this subject.
>
> It works just fine. Thank you.
I ain't that good on regex, so I'd like to know what '([\w@ -][=.]?)+$'
this implies.
I u
Sorry, I can't find that post. can you give a link to that post, please?
On Jan 1, 2011, at 10:33 AM, Arun K.Rajeevan wrote:
> apart from setting,
> routes_apps_raw=['init']
>
> I've these changes to routs.py
>
> routes_in = ( (r'.*:/favicon.ico', r'/init/static/favicon.ico'),
>(r'.*:/robots.txt', r'/init/static/robots.txt'),
> (r'
On Jan 1, 2011, at 10:12 AM, Arun K.Rajeevan wrote:
> I set, routes_apps_raw=['init']
>
> and modified controllers to use request.raw_args
> Now my controllers are working fine.
>
> But it caused two new problems :related to download and login
>
> 1) def download():
>return response.down
apart from setting,
routes_apps_raw=['init']
I've these changes to routs.py
routes_in = ( (r'.*:/favicon.ico', r'/init/static/favicon.ico'),
(r'.*:/robots.txt', r'/init/static/robots.txt'),
(r'.*(php|PHP|asp|ASP|jsp|JSP)', r'/jammer/default/index'),
)
rout
On Jan 1, 2011, at 10:05 AM, Arun K.Rajeevan wrote:
> I did just this and seems working
>
> args = request.raw_args
> args = args.split('/')
>
> But now problem is with download function.
> It works by taking filename from request.args
> now, it should take value from request.raw_args
>
> My do
Thank you for your notes and to the point quotes. :)
I set, routes_apps_raw=['init']
and modified controllers to use request.raw_args
Now my controllers are working fine.
But it caused two new problems :related to download and login
*1)* def download():
return response.download(request,db)
since above will not work when routes_apps_
This is unsafe and may open the door to directory traversal attacks.
download decurity relies on url regex validation and you are by-
passing it.
On Jan 1, 12:05 pm, "Arun K.Rajeevan" wrote:
> I did just this and seems working
>
> args = request.raw_args
> args = args.split('/')
>
> But now probl
On Jan 1, 2011, at 9:23 AM, Arun K.Rajeevan wrote:
> Ok, I'm gonna experiment with raw_args.
> I was wondering what's this #routes_apps_raw=['myapp'] thing before (I was
> customizing routes)
Don't forget to remove the #.
>
> When I use this functionality, am I correct in assuming that, I've t
I did just this and seems working
args = request.raw_args
args = args.split('/')
But now problem is with download function.
It works by taking filename from request.args
now, it should take value from request.raw_args
My download function is following:
def download():
return response.downl
I'am opening another post because I've found a whole lot of new problems
On Jan 1, 2011, at 9:25 AM, Arun K.Rajeevan wrote:
> When will it be available for us to experiment.
>
> regex is always a bit difficult to maintain.
I hope to get a beta patch to Massimo in a few days. By "beta" I mean that it's
not fully tested, and the API might not be final. But all the fu
I did just this and seems working
args = request.raw_args
args = args.split('/')
But now problem is with download function.
It works by taking filename from request.args
now, it should take value from request.raw_args
My download function is following:
def download():4
return response.down
he manual suggests running a background process using:
"python web2py.py -S app -M -N -R applications/app/private/
myscript.py -A a b c".
How does one initiate this from within a web2py controller? And is it
possible to initiate a process within the same web2py instance -
otherwise wouldn't it
When will it be available for us to experiment.
regex is always a bit difficult to maintain.
Ok, I'm gonna experiment with raw_args.
I was wondering what's this *#routes_apps_raw=['myapp'] *thing before (I
was customizing routes)
When I use this functionality, am I correct in assuming that, I've to do
encoding and decoding both?
I can decode request.raw_args.
But where did I encode?
I
Ok. In that case, what's the work around that you suggest?
Well, I suggest framework to provide a mechanism to override parts of it
(of course, at user's on risk)
Here web2py does encoding and decoding, but for a situation like I'm in,
it's nice to provide a mechanism to turn of encoding/decodi
yes of course.
The content of the email is set in models/db.py
auth.messages.verify_email = 'Click on the link
http://'+request.env.http_host+URL(r=request,c='default',f='user',args=['verify_email'])+'/%(key)s
to verify your email'
If you relocate the 'user' action you have to change the content of
the email.
Hi Leone
I was just trying to do the same thing! I failed.
Like you, I went from one problem to the next and the urls never
seemed to work 100% correctly for all cases. In the end I gave up in
frustration and relocated 'user' function back into 'default' :(
-D
On Dec 31 2010, 7:48 am, leone
On Jan 1, 2011, at 7:05 AM, Arun K.Rajeevan wrote:
> I don't see the resultant url encoding apostrophe.
> Also, space is getting replaced by underscore!
>
> How can I determine whether that's actually an underscore?
>
> I see this tutorial and I'm not wrong in saying that apostrophes must be
>
Congratulations to the winners!
On Jan 1, 8:50 am, NetAdmin wrote:
> The votes are in for the Web2py Application Exhibition Version 2.0
> and the winners are...
>
> 1st Place $100 -- PowerTable Plugin by Bruno Rocha
> 2nd Place $50 -- pyMantis Data-management System by Falko Krause
>
> For mo
#2 in trunk, please check
On Jan 1, 7:47 am, Anthony wrote:
> +1 for alternative #2.
>
> On Saturday, January 1, 2011 4:41:41 AM UTC-5, mweissen wrote:
> > Hi,
>
> > the label "Remember me (for 30 days)" and the checkbox look not very nice,
> > because both are in the same column and there is no
This is not a web2py bug. It is simply that Ajax post does not support
multipart forms, i.e. file uploads.
There are workarounds using JS libraries.
On Jan 1, 5:21 am, "Arun K.Rajeevan" wrote:
> Last day I found a slice talking about this problem.
>
> http://www.web2pyslices.com/main/slices/take
On Jan 1, 2011, at 12:38 AM, Arun K.Rajeevan wrote:
> My application has a search form: it self submit to whatever page it is in
> and redirects to search function.
> I took vars from search form (like, term = request.args(0)) and redirect as
> redirect (c='..', f='..', args=[v])
>
> Now, in res
On Jan 1, 2011, at 2:30 AM, Martin Weissenboeck wrote:
>
>
> 2010/12/31 Jonathan Lundell
> On Dec 31, 2010, at 11:20 AM, Martin Weissenboeck wrote:
>> No, I did not not want to translate these sentences manually.
>> The error_message=T(..) does not work, because there are some if-statements
>>
Hi All,
If you have created, maintain, or are aware of a website powered by web2py
that is not already on the powered-by list at
http://www.web2py.com/poweredby, please either (a) add the site to the list,
or (b) email me privately or post a link here, and I will add it. Note, if
you add the
There's a short discussion here
http://web2py.com/book/default/chapter/04#Dispatching
Which seems to suggest what you are seeing. Perhaps there's an ENV variable
that can provide the un-manipulated args?
Thanks Danes and Bruno...
That's what I needed
On Dec 31 2010, 5:28 pm, Bruno Rocha wrote:
> If I understood well you need to do:
>
> person = db.define_table('another_name',Field(...),Field(...),migrate=False)
>
> so you have 'person' object.
>
> person.insert(name='blablabla')
>
> rows
I especially like the language support which will enable consistent
bookmarking of urls.
This all seems very good - thanks!
-D
On Dec 31 2010, 10:36 pm, Jonathan Lundell wrote:
> I've been working on a new URL routing facility that provides fairly powerful
> rewriting with very simple configurat
Are you sung the URL() helper function? It should take care of all of the
encoding. What does your code look like?
I don't see the resultant url encoding apostrophe.
Also, space is getting replaced by underscore!
How can I determine whether that's actually an underscore?
I see this tutorial and I'm not wrong in saying that apostrophes must be
encoded, right?
http://www.permadi.com/tutorial/urlEncoding/
Or
The votes are in for the Web2py Application Exhibition Version 2.0
and the winners are...
1st Place $100 -- PowerTable Plugin by Bruno Rocha
2nd Place $50 -- pyMantis Data-management System by Falko Krause
For more information and to see other entries,
go to http://w2pexhibition.appspot.com
Hello,
is it possible to share fields and create a form with multiple submit
buttons.
Example:
Description: (same for both forms)
Product: (specific for form one)
Hours: (specific for form two)
Submit product
Submit hours
Depening on which button you press different tables should be used.
+1 for alternative #2.
On Saturday, January 1, 2011 4:41:41 AM UTC-5, mweissen wrote:
> Hi,
>
> the label "Remember me (for 30 days)" and the checkbox look not very nice,
> because both are in the same column and there is no space betwenn the
> checkbox and the label:
>
> Login
>
> Usernam
nice - this should be added to trunk.
2010/12/31 Jonathan Lundell
> On Dec 31, 2010, at 11:20 AM, Martin Weissenboeck wrote:
>
> No, I did not not want to translate these sentences *manually*.
> The error_message=T(..) does not work, because there are some if-statements
> inside the class IS_INT_IN_RANGE (and in some other classes).
I have done some more testing and confirmed that this looks like a
legit problem. When I direct the browser to load myapp/mycontroller/
index.load and pick a file to upload from the upload file form, it
gets uploaded and submitted properly to myapp. However, when the
submission occurs when running
Happy New Year to everybody.
I vote for alternative two.
Kenneth
Hi,
the label "Remember me (for 30 days)" and the checkbox look not very
nice, because both are in the same column and there is no space
betwenn the checkbox and the label:
Login
Username:
Password:
thanks, I used the site-packages approach.
On Sat, Jan 1, 2011 at 6:04 PM, Jonathan Lundell wrote:
> On Dec 31, 2010, at 9:24 PM, Plumo wrote:
>
> My app uses Google's gdata client library:
> http://code.google.com/p/gdata-python-client/
>
> modules/
> gdata/
> atom/
> test.py
>
> test.py
My application has a search form: it self submit to whatever page it is in
and redirects to search function.
I took vars from search form (like, term = request.args(0)) and redirect as
redirect (c='..', f='..', args=[v])
Now, in result of search form I get underscores(_) if search term include a
Happy new year
61 matches
Mail list logo