[web2py] Bug in sql.Set ?

2010-02-10 Thread Alexey Nezhdanov
Hi. Sorry, didn't check if that bug still exists in latest version. Here is the problem: in Oracle substracting one datetime column from the other gives the floating number (days). However the web2py considers the result to be another datetime, so this Set produces invalid condition string: (Pdb)

Re: [web2py] Re: set static file caching policy

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 9:21 PM, mdipierro wrote: > You cannot unless you create your own action to server them: Doesn't streamer already do the right thing via last-modified, etc? > > def server(): >import os >response.headers['cache-expiration']='' >return > response.stream(os.pat

[web2py] Re: Typo in cron..

2010-02-10 Thread KMax
Please note: gluon/contrib/cron.py has self.cronmaster = crondance(self.path, 'soft', starup = True) but should be (I guess) self.cronmaster = crondance(self.path, 'soft', startup = True) Thanks On Feb 7, 12:57 am, Thadeus Burgess wrote: > How do these make it into the commit ? >

[web2py] Re: deploy to gae

2010-02-10 Thread Richard
No more 1000 result limit! http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html On Feb 11, 12:25 pm, mdipierro wrote: > 1) Make sure you ALWAYS try every page and search on dev_appserver so > that indices are created else they fail on deployment > 2) It gets more c

[web2py] Re: wsgi and sys.stdout

2010-02-10 Thread Graham Dumpleton
What is the actual problem you are trying to solve on GAE? Graham On Feb 11, 4:20 pm, mdipierro wrote: > I agree. I was proposing an idea more than an implementation. The > methods are not that many anyway and most of them do nothing (like > read()) > > >>> import sys > >>> dir(sys.stdout) > > [

[web2py] Re: set static file caching policy

2010-02-10 Thread mdipierro
You cannot unless you create your own action to server them: def server(): import os response.headers['cache-expiration']='' return response.stream(os.path.join(request.folder,'static','/'.join(request.args On Feb 10, 11:00 pm, Richard wrote: > how can I set the cache expirat

[web2py] Re: wsgi and sys.stdout

2010-02-10 Thread mdipierro
I agree. I was proposing an idea more than an implementation. The methods are not that many anyway and most of them do nothing (like read()) >>> import sys >>> dir(sys.stdout) ['__class__', '__delattr__', '__doc__', '__enter__', '__exit__', '__getattribute__', '__hash__', '__init__', '__iter__', '

[web2py] Re: Form added using ajax doesnt insert into database

2010-02-10 Thread anuj
With form = SQLFORM(...) the form added on the page has the flashing messages 'enter a value' for each field. And upon entering the values and submitting, still doesnt add to database. On Feb 11, 6:12 am, mdipierro wrote: > Do not use this: > >     form = crud.create(db.myTable, >          

[web2py] set static file caching policy

2010-02-10 Thread Richard
how can I set the cache expiration time for my static files? In my case they are not going to change so I want to set in far in the future. -- 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.

[web2py] Re: wsgi and sys.stdout

2010-02-10 Thread Graham Dumpleton
On Feb 11, 12:58 pm, mdipierro wrote: > One of my collaborators pointed me to this. > > http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output... > > What about this solution that would also address the issue on GAE? > > class Logger: >     def write(self,data): >          logging

[web2py] Re: How much memory does web2py need on Unix

2010-02-10 Thread raven
Here are the details of memory usage when web2py is NOT running top - 21:58:38 up 11:57, 2 users, load average: 0.00, 0.00, 0.00 Tasks: 10 total, 1 running, 9 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 65536k tota

[web2py] Re: Adding session support to fetch()

2010-02-10 Thread Fran
On Feb 10, 8:20 pm, mdipierro wrote: > I'll take a patch to fetch I need help to develop it 1st ;) Sending the session cookie from the browser session & putting it into the new server-initiated session doesn't seem like it should be too hard but just isn't working for me :/ F -- You received

[web2py] wsgi and sys.stdout

2010-02-10 Thread mdipierro
One of my collaborators pointed me to this. http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html What about this solution that would also address the issue on GAE? class Logger: def write(self,data): logging.info(data) sys.stdout = Logger() -- You received th

Re: [web2py] Re: Default create_user_groups

2010-02-10 Thread Alexandre Andrade
If is like unix, the name of user group could be more usefull. Unix creates a group www-data to user www-data web2py creates a group user_1, user_2, that makes dificulty to associate with the user, even in a GUI maybe the default group name - role, could be a combination of first_name and last_n

[web2py] Bug in webfolder plugin

2010-02-10 Thread Alexandre Andrade
When I try to delete a folder/file, it creates repeats the last action. (Usually creating a second file/folder) How solves it? -- Atenciosamente -- = Alexandre Andrade Hipercenter.com -- You received this message because you are subscribed to the Google Groups "web

[web2py] Re: Default create_user_groups

2010-02-10 Thread mdipierro
Yes you have one group for every user but it make it easy to add more access control structure later. If you do not have those groups membership becauses a nightmare. Unix does the same. On Feb 10, 7:27 pm, Alexandre Andrade wrote: > Massimo, > > I don't know why you put > > auth.settings.creat

[web2py] Re: Duplicate session keys / uuids

2010-02-10 Thread mdipierro
The issue here is that replacing uuid4 with uiid no longer generates collisions in the case discussed above but it may be possible to guess keys and steal a session, although it is unlikely the attacker can get enough info to do so. Perhaps we should just hmac uuid1 with uuid4 and user our own fun

Re: [web2py] Re: Duplicate session keys / uuids

2010-02-10 Thread Alexandre Andrade
A 'non-error' aproach is better than a 'probablily non-error' one. 2010/2/10 mdipierro > I think you found the problem and yes it should be considered a defect > in web2py: > > > http://stackoverflow.com/questions/1785503/when-should-i-use-uuid-uuid1-vs-uuid-uuid4-in-python > > We should replac

[web2py] Re: 2 cents - web2py a little more portable

2010-02-10 Thread mdipierro
Ok it can be done. On Feb 10, 7:04 pm, Alexandre Andrade wrote: > Web2py is almost portable, but when changing the server two lines have to be > manually adapted: > > auth.messages.verify_email = \ >   'Click on the linkhttp://.../user/verify_email/%(key)sto verify your > email' > auth.messages.r

[web2py] Default create_user_groups

2010-02-10 Thread Alexandre Andrade
Massimo, I don't know why you put auth.settings.create_user_groups = True as default. I think is not the most used way of Access Control, because creates so many groups and make it dificult to manage. But if you think it cannot be changed, because backward compatibility (maybe few people reall

[web2py] markdown

2010-02-10 Thread mdipierro
I changed markdown in trunk This_test_here will no longer produce Thistesthere but this _other_ test will produce this other test. This is no longer conform to specs but it is what I as a user expect. -- You received this message because you are subscribed to the Google Groups "web2py-users" gr

[web2py] Re: deploy to gae

2010-02-10 Thread mdipierro
1) Make sure you ALWAYS try every page and search on dev_appserver so that indices are created else they fail on deployment 2) It gets more complex with time since GAE "remembers" previous indices even if your app does not use them. After a while you may have to do some cleanup. On Feb 10, 6:34 

[web2py] Re: Error in plugin install

2010-02-10 Thread mdipierro
will look into this asap. On Feb 10, 7:18 pm, Alexandre Andrade wrote: > maybe it extract to a tmp folder? > > 2010/2/10 Jonathan Lundell > > > > > On Feb 10, 2010, at 5:07 PM, Alexandre Andrade wrote: > > > thanks, > > > but I used the 'brute force' method: > > > changed the .w2p to tgz, unpack

[web2py] Re: Adding session support to fetch()

2010-02-10 Thread mdipierro
I'll take a patch to fetch On Feb 10, 6:08 pm, Fran wrote: > On Feb 10, 6:30 pm, Richard wrote: > > > I posted an example for using cookies within standard Python and GAE > > here:http://groups.google.com/group/web2py/browse_thread/thread/519fca71f7... > > The relevant part is: > > import urllib

[web2py] Re: upgrading a deployed app

2010-02-10 Thread mdipierro
I would just add a checkbox to the upload form and use the value to conditionally mkdir On Feb 10, 5:05 pm, Jonathan Lundell wrote: > On Feb 9, 2010, at 11:32 PM, mdipierro wrote: > > > I had not understood. This is not about upgrading web2py but about > > upgrading an app. The fact is it is not

[web2py] Re: Duplicate session keys / uuids

2010-02-10 Thread mdipierro
I think you found the problem and yes it should be considered a defect in web2py: http://stackoverflow.com/questions/1785503/when-should-i-use-uuid-uuid1-vs-uuid-uuid4-in-python We should replace all uuid4 with uuid1 else the PRNGs will generate collisions because they ARE NOT independent on clon

Re: [web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
maybe it extract to a tmp folder? 2010/2/10 Jonathan Lundell > On Feb 10, 2010, at 5:07 PM, Alexandre Andrade wrote: > > thanks, > > but I used the 'brute force' method: > > changed the .w2p to tgz, unpacked and copy the folders/files to my app. > > But anyway, I think is a bug of web2py. > > >

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 5:07 PM, Alexandre Andrade wrote: > thanks, > > but I used the 'brute force' method: > > changed the .w2p to tgz, unpacked and copy the folders/files to my app. > > But anyway, I think is a bug of web2py. At least one bug. There's still the question of why it got to the u

[web2py] Re: How much memory does web2py need on Unix

2010-02-10 Thread mdipierro
Are you sure. Usually VPS includes the OS. On Feb 10, 2:23 pm, raven wrote: > Thank you for your answer. > > 1.  The memory needed by the OS does not count, because I am using a > virtual private server. > > 2.  I am using web2py 'out of the box' with its own server, not > apache. > > On Feb 10,

[web2py] Re: Form added using ajax doesnt insert into database

2010-02-10 Thread mdipierro
Do not use this: form = crud.create(db.myTable, next = URL(r=request, args=request.args), message = 'record created') use this instead: form = SQLFORM(db.myTable) if form.accepts(request.post_vars,formname=None): session.flash='record c

[web2py] Re: Deleting a db table row

2010-02-10 Thread mdipierro
db(db.bid.id.belongs(db()._select(db.bid.id,orderby=db.bid.id,limitby=(1,2))).delete() does not work on GAE on GAE you would do something like id = db()._select(orderby=db.bid.created_on,limitby=(1,2)).first().id db(db.bid.id==id).delete() On Feb 10, 10:59 am, Auden RovelleQuartz wrote: > I

Re: [web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
thanks, but I used the 'brute force' method: changed the .w2p to tgz, unpacked and copy the folders/files to my app. But anyway, I think is a bug of web2py. 2010/2/10 Jonathan Lundell > On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > > I'm trying to install the plugin webfolder ( >

[web2py] 2 cents - web2py a little more portable

2010-02-10 Thread Alexandre Andrade
Web2py is almost portable, but when changing the server two lines have to be manually adapted: auth.messages.verify_email = \ 'Click on the link http://.../user/verify_email/%(key)s to verify your email' auth.messages.reset_password = \ 'Click on the link http://.../user/reset_password/%(key)s

[web2py] Re: How much memory does web2py need on Unix

2010-02-10 Thread raven
Thank you for your answer. 1. The memory needed by the OS does not count, because I am using a virtual private server. 2. I am using web2py 'out of the box' with its own server, not apache. On Feb 10, 2:36 pm, Thadeus Burgess wrote: > For one, you have two requirements, an Ubuntu requirement,

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

2010-02-10 Thread snfctech
Thanks for the helpful reply and the link to your site, John. I'll take that as a vote for rolling-your-own. On Feb 10, 4:25 pm, John Heenan wrote: > A common complaint with all e-commerce systems is that they are > difficult to customise for everyone except the authors. I wanted to > use a Pyth

[web2py] Re: [Off-Topic] markdown is useful for me?

2010-02-10 Thread Richard
did you mean CKEditor? http://ckeditor.com/demo (FCKEditor was the old name) > Maybe a wysiwyg editor that generates markdown is the best of both worlds? Have a look what StackOverflow uses - wymeditor The original version is here: http://files.wymeditor.org/wymeditor/trunk/src/examples/01-basi

[web2py] Re: deploy to gae

2010-02-10 Thread Richard
I also had that feeling! - it just works! On Feb 11, 10:18 am, Thadeus Burgess wrote: > I just deployed my first app to GAE... something like this should not > be this easy > > -Thadeus -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To p

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

2010-02-10 Thread John Heenan
A common complaint with all e-commerce systems is that they are difficult to customise for everyone except the authors. I wanted to use a Python based based system for the long term productivity benefits. I looked at Satchmo. Satchmo is impressive and does work but I found myself stressed out as he

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 4:12 PM, Jonathan Lundell wrote: > On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > >> I'm trying to install the plugin webfolder >> (http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) > > Try changing gluon/admin.py line 314 to os.unlink(upnam

Re: [web2py] Error in plugin install

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 4:00 PM, Alexandre Andrade wrote: > I'm trying to install the plugin webfolder > (http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) Try changing gluon/admin.py line 314 to os.unlink(upname) (instead of upfile). Also, Massimo, the docstring says:

[web2py] Re: Adding session support to fetch()

2010-02-10 Thread Fran
On Feb 10, 6:30 pm, Richard wrote: > I posted an example for using cookies within standard Python and GAE > here:http://groups.google.com/group/web2py/browse_thread/thread/519fca71f7... > The relevant part is: > import urllib > import urllib2 > urllib2.install_opener(urllib2.build_opener(urllib2.H

[web2py] Error in plugin install

2010-02-10 Thread Alexandre Andrade
I'm trying to install the plugin webfolder ( http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p) and get this error: Traceback (most recent call last): File "gluon/restricted.py", line 173, in restricted exec ccode in environment File "/home/www-data/web2py/applic

[web2py] Re: Adding session support to fetch()

2010-02-10 Thread Richard
hi Fran, I posted an example for using cookies within standard Python and GAE here: http://groups.google.com/group/web2py/browse_thread/thread/519fca71f781aef5 The relevant part is: __ import urllib import urllib2 urllib2.install_o

[web2py] deploy to gae

2010-02-10 Thread Thadeus Burgess
I just deployed my first app to GAE... something like this should not be this easy -Thadeus -- 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 e

Re: [web2py] Re: upgrading a deployed app

2010-02-10 Thread Jonathan Lundell
On Feb 9, 2010, at 11:32 PM, mdipierro wrote: > I had not understood. This is not about upgrading web2py but about > upgrading an app. The fact is it is not safe to unpack an up if one > with the same name exists. How do you know it is the same? Right now > it simply does not allow that, it wants

[web2py] Re: Multi user development on web2py

2010-02-10 Thread howesc
Thadeus, I can't say what Mike is doing, but what i tend to do with the database (software setups very similar if not identical to those mentioned) is that i have 2 bits: - a script that will populate a database with dummy data if it is empty. I use this for bringing up new machines and getting

[web2py] Re: Duplicate session keys / uuids

2010-02-10 Thread Dmitri Zagidulin
More details. The session bleed issue is happening because of a code change (not a random environment leak). We've replicated it twice -- applied the 2 code changes (described below), immediately get complaints about session bleed, roll back the changes, everything's fine. The problem is, I can't

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

2010-02-10 Thread Fran
On Feb 8, 5:29 pm, mdipierro wrote: > can you show the model? http://trac.sahanapy.org/browser/models/05_or.py F > 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

[web2py] Adding session support to fetch()

2010-02-10 Thread Fran
I want to add support for sessions to fetch() from tools.py. This is so that I can call protected KML feeds from inside the Sahana Map Viewing Client. I think that what I need to do to achieve this is to forward the session cookie from request to the urllib2() call (yes, it seems that urllib() is i

Re: [web2py] How much memory does web2py need on Unix

2010-02-10 Thread Alexandre Andrade
I run a web2py with apache2, wsgi and postgresql. I have 384MB, but it usually uses 106-120MB, at minimum. I install php, and mysql, and it goes to 180MB. 2010/2/10 raven > web2py is working very well for me on my MSWINDOWS desktop. > > I am ready to deploy my first application on a virtual

Re: [web2py] How much memory does web2py need on Unix

2010-02-10 Thread Thadeus Burgess
For one, you have two requirements, an Ubuntu requirement, which far exceeds 64K. I'm not sure an OS can even run on 64K now days. I run web2py + ubuntu + apache_mod_wsgi on several servers, and each instance web2py is only using roughly 15MB. The system uses around 90MB (this is including ubuntu,

[web2py] Form added using ajax doesnt insert into database

2010-02-10 Thread anuj
Hi, I am using OpenLayers( http://openlayers.org ) with web2py. I want to open a form on a map event. In the controller, I have a function def getForm(): lon = request.args[0] lat = request.args[1] db.myTable.longitude.default = lon db.myTable.latitude.default = lat form = crud

[web2py] How much memory does web2py need on Unix

2010-02-10 Thread raven
web2py is working very well for me on my MSWINDOWS desktop. I am ready to deploy my first application on a virtual private server running Ubuntu with 64K of guaranteed RAM I loaded the web2py source and typed python2.5 web2py.py and immediatly ran out of memory. How much memory do I need to pu

Re: [web2py] Deleting a db table row

2010-02-10 Thread Thadeus Burgess
A Rows object is just an array with database specific operations added. So you can go rows = db(db.table.id > 0).select() rows[n].delete_record() if you know what (n) is. first() syntax has been added since the manual was published. However, it is just a shortcut to the following, but returns No

Re: [web2py] Re: DB query help

2010-02-10 Thread Thadeus Burgess
rows = db(db.post.id > 0).select() for row in rows: comments = db(db.comment.post_id == row.id).select() -Thadeus On Wed, Feb 10, 2010 at 11:58 AM, minh wrote: > Thanks for the help. How would you implement a workaround for that 2nd > JOIN case to work on GAE? > > On Feb 9, 11:35 pm, mdi

[web2py] Re: DB query help

2010-02-10 Thread minh
Thanks for the help. How would you implement a workaround for that 2nd JOIN case to work on GAE? On Feb 9, 11:35 pm, mdipierro wrote: > Yes this: > > comments = db(db.post_comment.post_id==request.args(0)).select() > for c in comments: >     print c.comment_by.username,c.comment > > works on GAE

Re: [web2py] Deleting a db table row

2010-02-10 Thread Thadeus Burgess
This does delete the row from the actual database table acts on the database row.delete_record() row.update_reocrd() works on the recordset. row.delete() row.update() This is because delete() and update() are python builtin dict functions, that is why it uses this naming scheme. -Thadeus O

Re: [web2py] Deleting a db table row

2010-02-10 Thread Thadeus Burgess
rows = db(db.bid.id > 0).select(limitby=(1, 2), orderby=db.bid.id) rows.first().delete_record() Test that out a bit see if it does what you want. -Thadeus On Wed, Feb 10, 2010 at 10:59 AM, Auden RovelleQuartz wrote: > I hope this is a simple question: > > Specifically (syntax-wise) how doe

[web2py] Deleting a db table row

2010-02-10 Thread Auden RovelleQuartz
I hope this is a simple question: Specifically (syntax-wise) how does one delete a specific table row, but INDEPENDENT of the ".id" field? for example, lets say that I have the following rows in a database table: bid.id bid.bid_id 1 LJWI 2 LJWJ 3 LJWK 4 LJWL I know that

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

2010-02-10 Thread Thadeus Burgess
I just wanted to clear something up, I don't mean any disrespect to django users. I am referring to the time when web2py vs django comparison was editable, there were many django users who would edit it and deface it. And we also know about those same django users trying to get web2py flagged is

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

2010-02-10 Thread snfctech
No one with similar experiences where you had to decide on customizing and existing app vs building your own from scratch? I got some feedback from the Django group that my requirements may be unique enough that customizing Satchmo may not be my best option. Still, when I started prototyping with

Re: [web2py] jquery wizard controll

2010-02-10 Thread Thadeus Burgess
For forms you might also want to take a look at http://plugins.jquery.com/project/formwizard Just include the file like any other javascript file and start using it. You can include it in your layout.html if you need it on every page, or just the views/controller/action.html file if you just need

Re: [web2py] Re: Customizing User Registration Form

2010-02-10 Thread Thadeus Burgess
alternatively if you want just one submit, and one form... You can use the formtowizard jquery plugin. it turns each fieldset into a wizard page. http://plugins.jquery.com/project/formwizard -Thadeus On Tue, Feb 9, 2010 at 10:11 PM, mdipierro wrote: > > you can use db.auth_used.field.writa

Re: [web2py] Re: powered by drupal?

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 12:07 AM, Anand Vaidya wrote: > Is moin with RST or markdown fine with you? It seems to work fine and looks > great with a theme such as Moniker theme ... > > If there are about 10 people on this list willing to try out moin or Drupal, > we can form a group and start work..

Re: [web2py] Re: upgrading a deployed app

2010-02-10 Thread Jonathan Lundell
On Feb 9, 2010, at 11:32 PM, mdipierro wrote: > I had not understood. This is not about upgrading web2py but about > upgrading an app. The fact is it is not safe to unpack an up if one > with the same name exists. How do you know it is the same? Right now > it simply does not allow that, it wants

[web2py] Re: Duplicate session keys / uuids

2010-02-10 Thread Dmitri Zagidulin
Sure. So, this is the query that was run when session bleed was first encountered: select unique_key, count(unique_key) from sessions.web2py_session_init group by unique_key having count(unique_key) > 1; It yielded: '0d7c9e95-ca8c-4c05-8e5f-69d058ea6510', 2 '29e390f6-f901-4312-bc5c-f42c5c4e53e7', 2

[web2py] Re: How to deploy my first app

2010-02-10 Thread mdipierro
It depends. For development if you use the built in web server you need to start it twice for http and https. This is in general a security measure. You do not want the same process to listen to two sockets else if something happens (like a memory leak) you may get locked out. In deployment you sh

[web2py] How to deploy my first app

2010-02-10 Thread Al
Hi, Now that I get my secure channel (using self-signed certificate) working, I can remotely login from another computer to access the admin interface thru https. To deploy this app for general users for http access, do I have to run another instance of web2py on another port - say port 80? Also h

Re: [web2py] [Off-Topic] markdown is useful for me?

2010-02-10 Thread tiago almeida
Markdown is just a markup language that *tries* to be as unintrusive in the text as possible. I don't know CFKeditor but I suppose its a wysiwyg editor and for an end user that is the best (imho). The only advantage of using markdown is that, since its marked up text, you can copy/paste to other ma

[web2py] [Off-Topic] markdown is useful for me?

2010-02-10 Thread Leandro - ProfessionalIT
Friends, I'm developing my blog with the powerfull web2py. This blog is running in GAE and to create/edit my posts I use the CFKeditor. This give me rich content in my post, because for me, CKFeditor is a great tool. it also allows you to have a 'module manager' quite easy for the end user to cr

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

2010-02-10 Thread DenesL
IS_EMPTY_OR is an alias for IS_NULL_OR, and they are validators so you would do db.table.field.requires=IS_EMPTY_OR(...) BR, Denes. On Feb 10, 4:59 am, Jason Brower wrote: > That doesn't seem to work. I don't think there is a function called > IS_EMPTY_OR in web2py. > BR, > Jason > > On Tue, 2

[web2py] Re: powered by drupal?

2010-02-10 Thread vfclists
I don't think it is a smart idea to build a documentation website with Drupal. Drupal doesn't do very well in that respect. Drupal's own book module has more than its fair share of issues and complaints, and is one of the reasons why there are so many complaints about Drupal documentation. You CAN

Re: [web2py] Re: powered by drupal?

2010-02-10 Thread tiago almeida
+1. I don't understand the *not-invented-here* sindrome. Sure it would be cool if the wiki was web2py powered, but just now I've tried to reset my wiki.web2py password and nothing happened (no email sent). Trying to re-register complains about the email already in use (of course). Had to create ano

[web2py] Re: powered by drupal?

2010-02-10 Thread pistacchio
On Feb 9, 12:28 am, Brian M wrote: > Credibility wise I should think that having what's preceived as "poor" > documentation is worse than having good documentation that just > happens to not be powered by the framework being documented. +1 Some days ago web2py popped up on reddit where frequent

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

2010-02-10 Thread Jason Brower
That doesn't seem to work. I don't think there is a function called IS_EMPTY_OR in web2py. BR, Jason On Tue, 2010-02-09 at 02:39 -0800, selecta wrote: > IS_EMPTY_OR(IS_IN_SET(["A","B","C","D","E","F"])) > > On Feb 9, 11:36 am, selecta wrote: > > IS_EMTPY_OR(IS_IN_SET(["A","B","C","D","E","F"]))

[web2py] jquery wizard controll

2010-02-10 Thread Pippo64
Hi dear's I found this nice jquery plugin http://fivelist.summerhost.info/products.php?product=swiz but I do not find a right solution to include in a view. I' would like use it to split a big form an a multiple data entry. Tanks in advantage Ciao Pierpaolo -- You received this message because

[web2py] Re: powered by drupal?

2010-02-10 Thread Anand Vaidya
+1 Exactly what I wanted to say all along... On Feb 9, 7:28 am, 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 > wik

Re: [web2py] Re: powered by drupal?

2010-02-10 Thread Anand Vaidya
Hi List members, Each user will have different experiences , expertise and expectations. So ultimately we need to agree upon something, ideally, the solution should reduce Massimo's workload wrt documentation. I think members on this list expect Massimo to officially bless one or two solutions. .

Re: [web2py] Re: powered by drupal?

2010-02-10 Thread Anand Vaidya
The pylons people are using an app called Kai, never heard of it. Pretty neat, I'd say. http://groups.google.com/group/pylons-discuss/browse_thread/thread/8dfd8008c6c0638c regards Anand On Wed, Feb 10, 2010 at