[web2py] Re: PIL under web2py test server

2010-02-08 Thread pistacchio
thanks, running from source solved the problem On Feb 9, 1:41 am, Richard wrote: > on Linux I would try starting the server with "python2.6 web2py.py" > > On Feb 9, 10:25 am, pistacchio wrote: > > > > > i checked it via the web shell. indeed it's a different version.. > > can't i get web2py serv

[web2py] Customize classes or ids on SQLFORM submit button...

2010-02-08 Thread Jason Brower
I can see the customized forms and other what not, but is there a way to set the classes for the submit buttons and other what not. I just want to change the styling, not validations or anything like that. --- Best Regards, Jason Brower -- You received this message because you are subscribed to

[web2py] Needed Validation: A-F or 0 but A-F are unique...

2010-02-08 Thread Jason Brower
Don't know if I can discribe this in type but... I need a validator that can alow only one A B C D E F other wise it should be 0 I haven't figure out how to make IS_IN_SET(["A","B","C","D","E","F"]) unique=True and default=0 all at the same time... Best Regards, Jason Brower -- You received thi

[web2py] Multi user development on web2py

2010-02-08 Thread Thadeus Burgess
What is the recommended way of developing on a team with a web2py application using mercurial. The main issue is that we would like to share the sqlite database and .table files, however whenever any changes are made to these table files, mercurial complains with merge conflicts for every .table f

Re: [web2py] Re: form - redirect - where are the variables?

2010-02-08 Thread Johann Spies
> You have a few problems, fixed below hopefully Thanks Massimo! Regards Johann -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2p

[web2py] Re: function that lists all members of a group

2010-02-08 Thread mr.freeze
I don't think there is one built in but it should be simple. Something like this maybe: def get_members(role): try: group = db(db.auth_group.role==role).select()[0] members = db(db.auth_membership.group_id==group.id).select() return members except: return No

Re: [web2py] Re: this thing runs web2py?

2010-02-08 Thread Thadeus Burgess
They are advertising that the embedded device runs linux and is powerful enough to run a web framework like web2py. Massimo is saying that he is impressed that the device that small can run web2py. -Thadeus On Mon, Feb 8, 2010 at 11:27 PM, Mengu wrote: > nope, it's wordpress. > > On 9 Şubat

[web2py] Re: this thing runs web2py?

2010-02-08 Thread Mengu
nope, it's wordpress. On 9 Şubat, 04:18, mdipierro wrote: > The page says this thing runs web2py. I am impressed. > > http://bec-systems.com/site/587/gumstix-overo-review?utm_source=feedb... -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To p

Re: [web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Mariano Reingart
For the web2py spanish documentation wiki (btw using web2py-wiki) we are working in several features, including wyswyg editing and pdf output, to organize and translate some kind of manual (and other minor updates to make the wiki more user friendly). To convert html to reST, using html2rst.py see

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread mdipierro
In gluon/sqlhtml.py in two places, there is a delay(1000). Does it help if you increase that number to 2000 or 3000 or 5000? On Feb 8, 8:22 pm, villas wrote: > Firefox 3.5.7 (Win): >   Appear to be unchanged since my last report. >   Conclusion: Good. > > IE8 (Win): >   The drop-down opens,  but

Re: [web2py] Re: this thing runs web2py?

2010-02-08 Thread Wes James
the device they are showing can run web2py On Mon, Feb 8, 2010 at 8:16 PM, Richard wrote: > are you sure? The article mentions web2py but the site itself uses a > Wordpress layout. > > > On Feb 9, 1:18 pm, mdipierro wrote: >> The page says this thing runs web2py. I am impressed. >> >> http://bec

[web2py] Re: this thing runs web2py?

2010-02-08 Thread Richard
are you sure? The article mentions web2py but the site itself uses a Wordpress layout. On Feb 9, 1:18 pm, mdipierro wrote: > The page says this thing runs web2py. I am impressed. > > http://bec-systems.com/site/587/gumstix-overo-review?utm_source=feedb... -- You received this message because y

[web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Richard
On Feb 9, 11:58 am, mdipierro wrote: > I am not sure this is something people should vote on. to clarify, I wasn't calling for a vote on what to do with the manual - I acknowledge it is your IP. But ideas and feedback might be helpful. -- You received this message because you are subscribed to

[web2py] Re: cron issue

2010-02-08 Thread John Heenan
Hi AchipA I think most of the work is done already with regard to how to set up the environment and do an exec without Popen. If you take a look at the run function in gluon\shell.py it has the signature below. I don't see why the run function cannot be copied and edited with a small number of ch

[web2py] Re: cron issue

2010-02-08 Thread AchipA
John, I did not mean fight about principles or dismiss your suggestion. I perfectly understand what you need and see that rationale in it. It's just that if I'm doing an overhaul, I'd like to do it right - leaving to the users to 'behave' and not shoot themselves in the foot is something I'd like t

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread villas
Firefox 3.5.7 (Win): Appear to be unchanged since my last report. Conclusion: Good. IE8 (Win): The drop-down opens, but then closes after a second. However, there is now just enough time to click-select an option. The selected option is transferred correctly to the input field. Arrow

[web2py] Re: cron issue

2010-02-08 Thread AchipA
On Feb 8, 8:22 pm, mdipierro wrote: > On Feb 8, 11:43 am, AchipA wrote: > > > 1) ok > > 2) this would be the cron.master file. Sadly, it must be a file as > > otherwise multiprocess setups (like wsgi) would trip over each other. > > ok. but there should be a function to check its status. > to mak

[web2py] this thing runs web2py?

2010-02-08 Thread mdipierro
The page says this thing runs web2py. I am impressed. http://bec-systems.com/site/587/gumstix-overo-review?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+bec-systems+%28The+Embedded+Perspective%29 -- You received this message because you are subscribed to the Google Groups "web2py-u

[web2py] Re: cron issue

2010-02-08 Thread John Heenan
Since AchipA is working on other changes to cron.py and cron.py is his, I think I should wait to see if AchipA includes additons with Massimo's preferred format below before being so bold as to submit a patch myself. John Heenan On Feb 9, 10:54 am, mdipierro wrote: > I have no objection to addin

[web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread mdipierro
Perhaps the wiki should be in latex. ;-) On Feb 8, 7:43 pm, Jonathan Lundell wrote: > On Feb 8, 2010, at 5:33 PM, mdipierro wrote: > > > I just tried pandoc (latex->rst>latex) and I end up with something > > that does not look at all like the original. > > It's the Second Law of Thermodynamics. L

Re: [web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 5:33 PM, mdipierro wrote: > I just tried pandoc (latex->rst>latex) and I end up with something > that does not look at all like the original. It's the Second Law of Thermodynamics. Latex and rst (or html) are not equivalent, and conversions in either direction are lossy (unles

[web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread mdipierro
I just tried pandoc (latex->rst>latex) and I end up with something that does not look at all like the original. On Feb 8, 7:22 pm, Jonathan Lundell wrote: > On Feb 8, 2010, at 4:58 PM, mdipierro wrote: > > > If people know of a good tool to convert latex to wiki format and vice > > versa, I co

Re: [web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 4:58 PM, mdipierro wrote: > If people know of a good tool to convert latex to wiki format and vice > versa, I could use that. http://hutchinson.belmont.ma.us/tth/ looks like the best bet for latex to html; you could probably get from there to wiki. Back again? I could be wrong

[web2py] Re: powered by drupal?

2010-02-08 Thread Mengu
It's not that hard to build a blogging software on top of something you build you know. :) On Feb 9, 1:36 am, Jonathan Lundell wrote: > On Feb 8, 2010, at 3:13 PM, Mengu wrote: > > > Actually, I saw that this guy wrote Erlyweb framework for the Erlang > > language and was using wordpress on his b

[web2py] Re: PDF manual soon available online in HTML (maybe)

2010-02-08 Thread mdipierro
I am not sure this is something people should vote on. Let me resolve some of the issues on my side first. This should not be stopping anybody from writing howtos, examples and tutorials. this is complementary and putting everything together is a secondary step. If people know of a good tool to co

[web2py] Re: cron issue

2010-02-08 Thread mdipierro
I have no objection to adding this feature. I do not like the !*" prefix. I think we can do: @hourly root file -> exec file in Popen @hourly root file.py -> exec file in Popen with python @hourly root *file.py -> exec file in Popen with python -S -M -R @hourly root **file.py -> exec file in Pop

[web2py] Re: PIL under web2py test server

2010-02-08 Thread Richard
on Linux I would try starting the server with "python2.6 web2py.py" On Feb 9, 10:25 am, pistacchio wrote: > i checked it via the web shell. indeed it's a different version.. > can't i get web2py server to run on system's python instance? > > On 8 Feb, 22:26, Thadeus Burgess wrote: > > > Probabl

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread mdipierro
please try once more. On Feb 8, 2:04 pm, villas wrote: > Running my manual test-suite :) > > Firefox 3.5.7 (Win): >   Single Click OK. >   Multi-select fixed. >   Up and Down arrow keys also work. >   Suggestion:  when dropped-down,  it would be nice if key > completed the selection and closed t

[web2py] PDF manual soon available online in HTML (maybe)

2010-02-08 Thread Richard
In case you missed it Massimo is considering making the manual available online in HTML: On Feb 9, 3:33 am, mdipierro wrote: > I am considering posting most of the book on line in HTML. This may be > possible with a disclaimer about "do not reproduce in print". The main > issue is that the book i

[web2py] Re: cron issue

2010-02-08 Thread John Heenan
Hi I stated "My point is can we have an option to:" Maybe I should code up a patch for cron.py and submit it for examination. Cron.py is impressive, I am not criticising it or attacking its approach. The option I am requesting are ADDITIONS to cron.py that are TRIVIAL to code in as additions to

[web2py] Re: powered by drupal?

2010-02-08 Thread mdipierro
Let me clarify my point of view. Anybody here can create any documentation in any system they like and if it gets to decent quality I just link it. If I have to put any effort into it I would like a system that can automatically read my latex, generate new one, be editable as a wiki, introspect co

[web2py] Re: PIL under web2py test server

2010-02-08 Thread mdipierro
Make sure you run web2py from source. If you use the binary version it comes with its own python. On Feb 8, 5:25 pm, pistacchio wrote: > i checked it via the web shell. indeed it's a different version.. > can't i get web2py server to run on system's python instance? > > On 8 Feb, 22:26, Thadeus B

[web2py] Re: for your info

2010-02-08 Thread Richard
On Feb 9, 3:33 am, mdipierro wrote: > I am considering posting most of the book on line in HTML. This may be > possible with a disclaimer about "do not reproduce in print". The main > issue is that the book is in latex and not easy to convert. this is fantastic news!! On Feb 9, 4:01 am, mdipier

Re: [web2py] Re: powered by drupal?

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 3:28 PM, Brian M wrote: > Insisting on having to use web2py for the documentation is silly. > Sorry, but there are a bunch of wikis out there that are better/more > complete than the one in web2py. Yeah we can try to built the perfect > wiki in web2py but waiting to do the commu

Re: [web2py] Re: powered by drupal?

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 3:13 PM, Mengu wrote: > Actually, I saw that this guy wrote Erlyweb framework for the Erlang > language and was using wordpress on his blog. Isn't this weird? Not really. I don't think that there's blogging software written in Erlang (or Python, for that matter) that compares

[web2py] Re: powered by drupal?

2010-02-08 Thread Brian M
Insisting on having to use web2py for the documentation is silly. Sorry, but there are a bunch of wikis out there that are better/more complete than the one in web2py. Yeah we can try to built the perfect wiki in web2py but waiting to do the community documentation until that happens is a waste. W

[web2py] Re: PIL under web2py test server

2010-02-08 Thread pistacchio
i checked it via the web shell. indeed it's a different version.. can't i get web2py server to run on system's python instance? On 8 Feb, 22:26, Thadeus Burgess wrote: > Probably will get a better reply from a Mac user. > > To verify the python version > > >>> import sys > >>> print sys.version >

[web2py] Re: powered by drupal?

2010-02-08 Thread Mengu
Actually, I saw that this guy wrote Erlyweb framework for the Erlang language and was using wordpress on his blog. Isn't this weird? On Feb 9, 12:12 am, mikech wrote: > Seriously? > > On Feb 8, 1:47 pm, "ma...@rockiger.com" > wrote: > > > > > From the web2py marketing department: > > > Using any

[web2py] Re: How to create patch for welcome app?

2010-02-08 Thread mdipierro
Accepted and in trunk! Thank you. On Feb 8, 3:41 pm, Alex wrote: > I've changed models/menu.py of welcome application > This is original code: > ... > response.menu_edit=[ >   [T('Edit'), False, URL('admin', 'default', 'design/%s' % > request.application), >    [ >             [T('Controller'), F

[web2py] Re: powered by drupal?

2010-02-08 Thread mdipierro
+1 On Feb 8, 3:47 pm, "ma...@rockiger.com" wrote: > From the web2py marketing department: > > Using anything different than web2py is a no go. > Practice what you preach. Otherwise you are not credible > > On Feb 5, 5:21 am, Anand Vaidya wrote: > > > On Feb 5, 10:44 am, mdipierro wrote: > > > >

[web2py] Re: Sahana project: how to make JOINs in web2py while keeping current re-usable field pointers?

2010-02-08 Thread mdipierro
can you show the model? On Feb 8, 3:24 pm, sunneach wrote: > There are two tables: > > or_organisation (id, name, sector_id, ...) > and > or_sector(id, name, ...) > > And the sector_id is pointing to or_sector.id through the "reusable" > field concept. > > It is all fine when I pull the or_organi

[web2py] Re: Submenus and IE6

2010-02-08 Thread mdipierro
uploading to trunk in welcome layout.html thanks. On Feb 8, 2:57 pm, Bob_in_Comox wrote: > Boring, useless time-waster of a subject, but I do have a significant > number if IE6 users on my site who cannot view my submenus. > > I used the base.css, layout, and response.menu system that came with >

[web2py] Re: form - redirect - where are the variables?

2010-02-08 Thread mdipierro
You have a few problems, fixed below hopefully def index(): form = FORM(TABLE(TR('Field:','', SELECT( OPTION('title', _value = 1), OPTION('affiliation', _value = 2), OPTION('country'

[web2py] Re: form - redirect - where are the variables?

2010-02-08 Thread Mengu
Massimo, Is there any method that we can check if the instance is valid instead of checking with the form instance? On Feb 8, 10:56 pm, Johann Spies wrote: > I want to use a form to build a query for a search function and do not > understand the communication between the different functions.  I

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-08 Thread DenesL
On Feb 4, 4:26 pm, DenesL wrote: > You need to lookup each character that is not in the x00-xFF range in > a table: that should have read: is not in the x00-x7F range Anyway, I gave this some thought and it all depends on how you type in the characters. For example in Windows, to get "LATIN SMALL

[web2py] Re: powered by drupal?

2010-02-08 Thread mikech
Seriously? On Feb 8, 1:47 pm, "ma...@rockiger.com" wrote: > From the web2py marketing department: > > Using anything different than web2py is a no go. > Practice what you preach. Otherwise you are not credible > > On Feb 5, 5:21 am, Anand Vaidya wrote: > > > > > On Feb 5, 10:44 am, mdipierro wr

[web2py] Re: Soaplib problem.

2010-02-08 Thread Matt
Thanks for both or your replies will take a look at suds. Matt On Feb 8, 7:01 pm, mdipierro wrote: > It may work. Seems to use only basic libraries. > > On Feb 7, 11:34 pm, "mr.freeze" wrote: > > > I've heard good things about SUDS:https://fedorahosted.org/suds/ > > > I've never used it and I d

[web2py] Re: powered by drupal?

2010-02-08 Thread ma...@rockiger.com
>From the web2py marketing department: Using anything different than web2py is a no go. Practice what you preach. Otherwise you are not credible On Feb 5, 5:21 am, Anand Vaidya wrote: > On Feb 5, 10:44 am, mdipierro wrote: > > > Do you want me to endorse a web2py wiki make with Drupal? > > > Ma

[web2py] How to create patch for welcome app?

2010-02-08 Thread Alex
I've changed models/menu.py of welcome application This is original code: ... response.menu_edit=[ [T('Edit'), False, URL('admin', 'default', 'design/%s' % request.application), [ [T('Controller'), False, URL('admin', 'default', 'edit/%s/controllers/default.py' \

Re: [web2py] Re: PIL under web2py test server

2010-02-08 Thread Thadeus Burgess
Probably will get a better reply from a Mac user. To verify the python version >>> import sys >>> print sys.version Make sure web2py is running on the same version that you installed PIL. -Thadeus On Mon, Feb 8, 2010 at 3:13 PM, pistacchio wrote: > oh... how to check and set? > > On 8 Feb

[web2py] Sahana project: how to make JOINs in web2py while keeping current re-usable field pointers?

2010-02-08 Thread sunneach
There are two tables: or_organisation (id, name, sector_id, ...) and or_sector(id, name, ...) And the sector_id is pointing to or_sector.id through the "reusable" field concept. It is all fine when I pull the or_organisation records and then use method represent to fill in the or_sector.name to

[web2py] Re: PIL under web2py test server

2010-02-08 Thread pistacchio
oh... how to check and set? On 8 Feb, 22:09, Thadeus Burgess wrote: > is web2py running on python 2.6.1 or the built-in python 2.4? ? > -Thadeus > > > > On Mon, Feb 8, 2010 at 3:02 PM, pistacchio wrote: > > Hi to all, > > I'm running python 2.6.1 on MacOSX Snow Leopard. I installed PIL (the > >

Re: [web2py] PIL under web2py test server

2010-02-08 Thread Thadeus Burgess
is web2py running on python 2.6.1 or the built-in python 2.4? ? -Thadeus On Mon, Feb 8, 2010 at 3:02 PM, pistacchio wrote: > Hi to all, > I'm running python 2.6.1 on MacOSX Snow Leopard. I installed PIL (the > image manipulation library) with easy_install. > > If I run python in terminal, imp

[web2py] PIL under web2py test server

2010-02-08 Thread pistacchio
Hi to all, I'm running python 2.6.1 on MacOSX Snow Leopard. I installed PIL (the image manipulation library) with easy_install. If I run python in terminal, import Image is accepted. When trying import Image in a controller of web2py (its own test server), it tells me that there's no library calle

[web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-08 Thread snfctech
Initial Phase 1 requirements. Phase 2 may include on-line public access and a few other features. 1. The system will provide a means to create; edit; track; and print product orders. 2. Look up customer by: 1) Contact Info.; 2) Owner Number; 3) Non-owner Number; 4) Past Purchases Is customer on

[web2py] Submenus and IE6

2010-02-08 Thread Bob_in_Comox
Boring, useless time-waster of a subject, but I do have a significant number if IE6 users on my site who cannot view my submenus. I used the base.css, layout, and response.menu system that came with the welcome application. The base.css is not easy to follow, at least for me, but I did notice that

[web2py] form - redirect - where are the variables?

2010-02-08 Thread Johann Spies
I want to use a form to build a query for a search function and do not understand the communication between the different functions. I have: def index(): form = FORM(TABLE(TR('Field:','', SELECT( OPTION('title', _field = 1),

[web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-08 Thread mdipierro
If you can post some specs of what you need perhaps we can help. Massimo On Feb 8, 1:22 pm, snfctech wrote: > I need to build an order-entry and tracking system for a Food Co-op. > I was excited about using Python/web2py, but I'm struggling with the > fact that existing e-commerce systems seem t

[web2py] Re: Customizing Auth

2010-02-08 Thread mdipierro
It is combinations of two things: 1) a bug (just fixed in trunk) 2) the example is missing something (I fixed it). Should be: auth.settings.table_user = db.define_table('auth_user', Field('first_name', length=512,default=''), Field('last_name', length=512,default=''), Field('email', le

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread villas
Running my manual test-suite :) Firefox 3.5.7 (Win): Single Click OK. Multi-select fixed. Up and Down arrow keys also work. Suggestion: when dropped-down, it would be nice if key completed the selection and closed the drop-down, instead of submitting form. Good to go! IE8 (Win): No

Re: [web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-08 Thread Thadeus Burgess
Django is a beast. You can always use the existing web2py app as a basis, and create one of your own but copying over functionality as needed ? Nothing will ever suit the food co-op purposes 100% unless it is a system hand written by you. -Thadeus On Mon, Feb 8, 2010 at 1:40 PM, snfctech w

Re: [web2py] Re: Customizing Auth

2010-02-08 Thread Alexandre Andrade
I used the sample code of http://www.web2py.com/examples/default/tools#authentication: --- auth=Auth(globals(),db) # authentication/authorization auth.settings.hmac_key='sha512:e2976f55-309d-40fc-b69d-59fc032a6438' auth.messages.access_denied = 'Insu

[web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-08 Thread snfctech
I admit that I didn't spend more than a half hour on it - but it broke on some dependencies when I tried to install. I was dazzled by the complexity of the install/configuration requirements - but maybe that's just because I don't know Django. On Feb 8, 11:25 am, Thadeus Burgess wrote: > It may

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread mdipierro
I posted a modified version. Can you check it it makes any difference? On Feb 8, 12:48 pm, villas wrote: > > Can you give it one more try? > > Here are my results with latest sqlhtml.py > > Firefox 3.5.7: Works better, but not 100%. >   The drop-down appears.   OK >   Single click selection.  NO

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread mdipierro
Instead of clicking can you use the up, down, right arrows? DO they work? On Feb 8, 12:48 pm, villas wrote: > > Can you give it one more try? > > Here are my results with latest sqlhtml.py > > Firefox 3.5.7: Works better, but not 100%. >   The drop-down appears.   OK >   Single click selection.  

[web2py] Re: Customizing Auth

2010-02-08 Thread mdipierro
I am going to need your help here. from tools.py user = self.db(table_user.email == form.vars.email).select().first() d = {passfield: user[passfield].validate(password)[0], 'registration_key': ''} according to your error it says user[passf

Re: [web2py] web2py vs. customizing existing e-commerce app

2010-02-08 Thread Thadeus Burgess
It may just be me, but I never could get satchmo to work. -Thadeus On Mon, Feb 8, 2010 at 1:22 PM, snfctech wrote: > I need to build an order-entry and tracking system for a Food Co-op. > I was excited about using Python/web2py, but I'm struggling with the > fact that existing e-commerce sys

[web2py] Re: cron issue

2010-02-08 Thread mdipierro
On Feb 8, 11:43 am, AchipA wrote: > 1) ok > 2) this would be the cron.master file. Sadly, it must be a file as > otherwise multiprocess setups (like wsgi) would trip over each other. ok. but there should be a function to check its status. to make sure... what I mean is a way to check not if it

[web2py] web2py vs. customizing existing e-commerce app

2010-02-08 Thread snfctech
I need to build an order-entry and tracking system for a Food Co-op. I was excited about using Python/web2py, but I'm struggling with the fact that existing e-commerce systems seem to have about 70% of the functionality I need. I don't need stuff like shipping addresses, postal prices and online f

Re: [web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread Thadeus Burgess
can we get an uncompressed version of the javascripts? -Thadeus On Mon, Feb 8, 2010 at 12:48 PM, villas wrote: >> Can you give it one more try? > > Here are my results with latest sqlhtml.py > > Firefox 3.5.7: Works better, but not 100%. >  The drop-down appears.   OK >  Single click selecti

Re: [web2py] Re: for your info

2010-02-08 Thread Thadeus Burgess
I will document code that I contribute (such as sql reserved keywords check). I just need somebody to tell me where to put it. -Thadeus On Mon, Feb 8, 2010 at 12:11 PM, Jonathan Lundell wrote: > On Feb 8, 2010, at 9:54 AM, Thadeus Burgess wrote: > >> the problem with pdf is it is not searcha

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread villas
> Can you give it one more try? Here are my results with latest sqlhtml.py Firefox 3.5.7: Works better, but not 100%. The drop-down appears. OK Single click selection. NO Double click selection. OK Drop-down closes after selection. OK Note: You can still select more than one option

Re: [web2py] Re: for your info

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 9:54 AM, Thadeus Burgess wrote: > the problem with pdf is it is not searchable. > > Take a look at http://www.cubicweb.org/doc/en/index.html > > That is nice, its in a tutorial style format, but it is a wiki so it > supports contextual searching via google. > > Its not all th

Re: [web2py] Re: Customizing Auth

2010-02-08 Thread Alexandre Andrade
Now, using the other example, get the error: Traceback (most recent call last): File "gluon/restricted.py", line 173, in restricted exec ccode in environment File "/home/web2py/applications/convenios/controllers/default.py"

Re: [web2py] Re: for your info

2010-02-08 Thread Thadeus Burgess
Also, the ones who complain about the documentation, are not knowledgeable enough in web2py to write documentation. The ones who are knowledgeable enough in web2py are too busy (either with web2py or real world) to write documentation. I cannot stress enough the fact that any and all contributors

Re: [web2py] Re: for your info

2010-02-08 Thread Thadeus Burgess
the problem with pdf is it is not searchable. Take a look at http://www.cubicweb.org/doc/en/index.html That is nice, its in a tutorial style format, but it is a wiki so it supports contextual searching via google. Its not all that special just a basic wiki where the pages are linked together in

[web2py] Re: for your info

2010-02-08 Thread pihentagy
Better, look at http://www.djangobook.com/en/2.0 I like especially the side notes... The author would review each comment and decide what to do, so IMHO no need for an automatic hypothetic html2latex tool... On Feb 8, 6:16 pm, pistacchio wrote: > my two cents: > decide where to host this new do

[web2py] Re: cron issue

2010-02-08 Thread AchipA
1) ok 2) this would be the cron.master file. Sadly, it must be a file as otherwise multiprocess setups (like wsgi) would trip over each other. 3) I'm thinking of deprecating posttasks in favor of being able to daisy-chain controllers. So you would not have posttasks, but you could specify a control

[web2py] Re: powered by drupal?

2010-02-08 Thread Pynthon
I suggest using DokuWiki. It is an awesome wiki, I admit it is PHP but it is still very handy for this kinda of information. On 5 feb, 05:34, "Zoom.Quiet" wrote: > On Fri, Feb 5, 2010 at 12:21, Anand Vaidya wrote: > > On Feb 5, 10:44 am, mdipierro wrote: > >> Do you want me to endorse a web2py

Re: [web2py] Re: Customizing Auth

2010-02-08 Thread Alexandre Andrade
ok. thanks 2010/2/8 mdipierro > Please use the example in here: > http://www.web2py.com/examples/default/tools#authentication > > you probably have a too short password length, should be 512. > > On Feb 8, 8:16 am, Alexandre Andrade wrote: > > I customize auth using the reference of page 245 (2

[web2py] Re: validators, min and max

2010-02-08 Thread mdipierro
yes. better On Feb 8, 11:04 am, Jonathan Lundell wrote: > On Feb 8, 2010, at 8:34 AM, mdipierro wrote: > > > send me a patch! > > I'd suggest otherwise--in particular interpreting None as "no limit" in the > min or max direction. > > Interpreting (4) as (0,4) saves the developer two characters o

[web2py] Re: for your info

2010-02-08 Thread pistacchio
my two cents: decide where to host this new documentation (http://wiki.web2py.com/ may be the most obvious bet). set up a page of links that reproduces the tree structure of the pdf summary. then one by one, anyone can copy / past text from the pdf to the new pages and format it. this is the most

Re: [web2py] Re: for your info

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 8:43 AM, DenesL wrote: > On Feb 8, 11:33 am, mdipierro wrote: >> I am considering posting most of the book on line in HTML. This may be > +1000! >> possible with a disclaimer about "do not reproduce in print". The main >> issue is that the book is in latex and not easy to conve

Re: [web2py] Re: validators, min and max

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 8:34 AM, mdipierro wrote: > send me a patch! I'd suggest otherwise--in particular interpreting None as "no limit" in the min or max direction. Interpreting (4) as (0,4) saves the developer two characters of typing. But interpreting (4, None) or (None, 4) as no limit extends

[web2py] Re: for your info

2010-02-08 Thread mdipierro
Lookin into that but I am not sure they work as good as they should. Moreover they are not reversible so changes in the wiki would not easily propagate into the latex book (which I consider the master documentation). On Feb 8, 10:43 am, DenesL wrote: > On Feb 8, 11:33 am, mdipierro wrote:> I am

[web2py] Re: validators, min and max

2010-02-08 Thread mdipierro
I am for it. On Feb 8, 10:41 am, Jonathan Lundell wrote: > On Feb 8, 2010, at 8:13 AM, DenesL wrote: > > > Having had the need recently, I would like to see: > > IS_INT_IN_RANGE(1) # any integer>0 (up to sys.maxint) > > IS_INT_IN_RANGE(max=10) # any integer less than 10 > > and similarly for IS_F

[web2py] Re: for your info

2010-02-08 Thread DenesL
On Feb 8, 11:33 am, mdipierro wrote: > I am considering posting most of the book on line in HTML. This may be +1000! > possible with a disclaimer about "do not reproduce in print". The main > issue is that the book is in latex and not easy to convert. No latex to HTML conversion tools?. -- You

Re: [web2py] Re: validators, min and max

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 8:13 AM, DenesL wrote: > Having had the need recently, I would like to see: > IS_INT_IN_RANGE(1) # any integer>0 (up to sys.maxint) > IS_INT_IN_RANGE(max=10) # any integer less than 10 > and similarly for IS_FLOAT_IN_RANGE(). > Suggestion: interpret None as no limit. So your t

[web2py] Re: validators, min and max

2010-02-08 Thread pihentagy
On Feb 8, 5:13 pm, DenesL wrote: > On Feb 8, 4:15 am, "KONTRA, Gergely" wrote:> Hi! > > IS_FLOAT_IN_RANGE(0,10) will accept 10, and will accept 0. > > Since there is no equivalent in Python this one works as one would > normally expect. Errr, so, INTs works as python ranges, and contrary, floats

[web2py] Re: validators, min and max

2010-02-08 Thread mdipierro
send me a patch! On Feb 8, 10:24 am, "KONTRA, Gergely" wrote: > >> And does it makes sense to make all min and max values optional, so > >> you can have: enter an integer, which is larger than 2 (witout upper > >> limit)? > > Having had the need recently, I would like to see: > > IS_INT_IN_RANGE(

[web2py] Re: for your info

2010-02-08 Thread mdipierro
I am considering posting most of the book on line in HTML. This may be possible with a disclaimer about "do not reproduce in print". The main issue is that the book is in latex and not easy to convert. On Feb 8, 10:18 am, Jonathan Lundell wrote: > On Feb 8, 2010, at 2:46 AM, Beerc wrote: > > > I

[web2py] Re: wrong decisions and backward compatibility

2010-02-08 Thread mdipierro
Mind that all validators are filters in one way or another. The representation of the input data is not alwasy tha same as the representation of the data that goes in db. date is an example. On Feb 8, 10:10 am, Jonathan Lundell wrote: > On Feb 8, 2010, at 12:59 AM, KONTRA, Gergely wrote: > > > Hi

[web2py] Re: validators, min and max

2010-02-08 Thread DenesL
LOL, you got me there... Can we make an exception? ... just kidding. On Feb 8, 11:24 am, "KONTRA, Gergely" wrote: > >> And does it makes sense to make all min and max values optional, so > >> you can have: enter an integer, which is larger than 2 (witout upper > >> limit)? > > Having had the need

[web2py] Re: calling form through ajax fails even using formname=None

2010-02-08 Thread mdipierro
It sets the action attribute of the object. On Feb 8, 10:09 am, "hamdy.a.farag" wrote: > ًWell, Thanks alot it worked just fine :) > > I changeed request.args(0) to request.vars.gov_id which I'm using > > I've a question though, what does > form['_action']=URL(r=request,f='governorate',vars=requ

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-08 Thread mdipierro
You know I would take a patch On Feb 8, 9:49 am, DenesL wrote: > On Feb 8, 5:02 am, kralin wrote:> well, a > primary key is always a good thing in a table, but > > not everybody seems to use it, particularly in many to many tables. > > > while this is not in the web2py specifications( by not re

Re: [web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread Jason Brower
I will try it when it's in a release, I want to test the ÖÄÅ features as I can't get it to work in my setup. Best Regards, Jason On Sun, 2010-02-07 at 14:26 -0800, mdipierro wrote: > > On Feb 7, 3:12 pm, "mr.freeze" wrote: > > Nice! I like this but I think it needs a few more tweaks. Can you > >

[web2py] Re: AutocompleteWidget: experimental, magic, RFC

2010-02-08 Thread mdipierro
Can you give it one more try? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, vis

Re: [web2py] Re: validators, min and max

2010-02-08 Thread KONTRA, Gergely
>> And does it makes sense to make all min and max values optional, so >> you can have: enter an integer, which is larger than 2 (witout upper >> limit)? > Having had the need recently, I would like to see: > IS_INT_IN_RANGE(1) # any integer>0 (up to sys.maxint) > IS_INT_IN_RANGE(max=10) # any inte

Re: [web2py] Re: for your info

2010-02-08 Thread Jonathan Lundell
On Feb 8, 2010, at 2:46 AM, Beerc wrote: > I ***LOVE*** the tight integration of web2py components. > > I ***LOVE*** the compactness of web2py. These are by far the two biggest reasons I started using web2py, mainly over Django and its kin. Now that I have a little more experience, I'd add thi

[web2py] Re: validators, min and max

2010-02-08 Thread DenesL
On Feb 8, 4:15 am, "KONTRA, Gergely" wrote: > Hi! > > I found another inconsistency in validators: > > IS_INT_IN_RANGE: > > IS_INT_IN_RANGE(0,10) does not accepts 10. That is by design so that it works as the Python range built-in function. range(0,10) = [0,1,2,3,4,5,6,7,8,9] > > Yes, this is in t

  1   2   >