[web2py:31048] Re: sql designer for web2py HOWTO

2009-09-15 Thread Joe Barnhart
Really? I've only seen the appliances on the web2py page. I didn't see any that linked to another site. Massimo already features a link to a live instance of SQL Designer running at http://designer.bojanka.net/ . I hope there isn't a problem with finding a place for this appliance because I thi

[web2py:31602] Licensing conundrum

2009-09-24 Thread Joe Barnhart
Here is a perfect application for web2py, but it leaves me scratching my head with respect to the license for web2py. I want to use web2py to deliver a webapp that will be used at a sporting event (can't get too specific). The signups for the sporting event will be done online using an applicatio

[web2py:31631] Re: Licensing conundrum

2009-09-24 Thread Joe Barnhart
ip file for everyone and not have to include the sql data in it. Thanks for your response, Massimo. Warm regards, Joe Barnhart On Sep 24, 10:01 am, mdipierro wrote: > Notice that I am not changing the GPL license. > Summary: > > Basically the source code is GPL, not BSD. The official b

[web2py:31715] Re: Increment the value of a field + 1 or how to auto-increment a field value ?

2009-09-26 Thread Joe Barnhart
You need this in addition to the field "id" which is automatically added to every table in web2py, and holds an integer that is auto-incremented? On Sat, Sep 26, 2009 at 12:53 PM, Leandro - ProfessionalIT < lsever...@gmail.com> wrote: > > Hi, > I need create a field in my table that receive the

[web2py:32049] Re: Javascript in one file

2009-10-01 Thread Joe Barnhart
root of MOST evil, anyway. -- Joe B. On Thu, Oct 1, 2009 at 8:02 AM, Pynthon Pynthon wrote: > Thanks, so if I'm going to build something like MySpace in web2py (just as > example) it would be better to put it into one file? And does web2py support > this or would take tha

[web2py:32052] Re: Proposal for plugin system in web2py - RFC

2009-10-01 Thread Joe Barnhart
eve that websites should be able to function even if the user turns Javascript off. -- Joe B. On Thu, Oct 1, 2009 at 12:43 PM, mdipierro wrote: > > I normally used the following terms (although this ca be changed): > > - a plugin is a part of an application that can reused across >

[web2py:32178] Re: web2py + pyjamas desktop = a desktop framework?

2009-10-03 Thread Joe Barnhart
ested in doing some "rich applications" with pyjamas and web2py. Massimo has made it easy to use JSON with web2py, so it oughta make pyjamas an easy extension. -- Joe B. On Oct 2, 8:40 am, don wrote: > Please excuse my ignorance if this is a stupid question ... > > Given th

[web2py:32541] Re: web2py wiki

2009-10-09 Thread Joe Barnhart
tering its WikiName in the URL and then hitting "edit". Remember to edit the main page and add your new page to the list. This wiki sample is unprotected by signon, so it'll probably get defaced quickly and I'll have to take it down. But for awhile y

[web2py:32714] Re: strip whitespace before validating fields

2009-10-12 Thread Joe Barnhart
nslating characters. It's not unicode, tho. -- Joe On Sat, Oct 10, 2009 at 5:36 PM, Iceberg wrote: > > On Oct11, 4:21am, Thadeus Burgess wrote: > > > > > On Oct 10, 7:52 am, devnull wrote: > > > > > Is there an option or a validator that will strip whit

[web2py:32715] Re: Interesting Javascript Project

2009-10-12 Thread Joe Barnhart
Kind of an odd approach. I think Pyjamas is more immediately useful because it lets us code the javascript UI in python. As soon as I get some time I want to experiment with Pyjamas and web2py -- I think the combination will be world-shaking. (Or at least browser-shaking.) -- Joe On Mon, Oct

[web2py:32901] Re: Eclipse, json and reaching breaking point

2009-10-14 Thread Joe Barnhart
I have to admit, I don't find breakpoints all that useful when debugging web2py code. I like the interactive shell you can get by installing ipython and using the --shell=APNAME switch on web2py.py. Sometimes I use print statements to send stuff to the console, too. On Wed, Oct 14, 2009 at 6:45

[web2py:33370] Re: Multilingual version of the Web2py wiki

2009-10-21 Thread Joe Barnhart
unter productive, since only a subset of visitors can read and understand the content -- in their own language. Maybe the need for a multi-lingual wiki needs to be re-thought? (Of course, take this with a grain of salt because it comes from an American, i.e. a mono-linguist.) ;-) -- Joe B. On Tue, Oct 20,

[web2py:33897] Re: bug in Rows.last()

2009-10-28 Thread Joe Barnhart
I love the functionality, but doesn't calling the function "where" conjure up the SQL WHERE clause? I might think it was doing something with SELECT...WHERE in the underlying DB. -- Joe B. On Oct 27, 10:11 pm, "mr.freeze" wrote: > Works! Would you be interested in

[web2py:33928] Re: bug in Rows.last()

2009-10-28 Thread Joe Barnhart
lect' is done after the db call, including first > () and last(). > > On Oct 28, 2:51 am, Joe Barnhart wrote: > > I love the functionality, but doesn't calling the function "where" > > conjure up the SQL WHERE clause? I might think it was doing something > >

[web2py:34293] Re: virtual fields

2009-10-31 Thread Joe Barnhart
I admit I'm not "up" on virtual fields. I didn't notice them when they were added. I'm wondering if they carry the extra info that fields have, such as a default widget to display the field? (Obviously if the fields are computed there are no validators.) On Sat, Oct 31, 2009 at 1:31 PM, mdipie

[web2py:34551] Re: PyCon 2010

2009-11-03 Thread Joe Barnhart
New promotion... web2py -- the framework so powerful *they don't want you to know about it! * On Tue, Nov 3, 2009 at 8:23 PM, mdipierro wrote: > > Dear friends, > > I am sorry to inform you that both the talks I proposed to PyCon 2010 > about web2py have been rejected. > This is the third year al

[web2py:35299] Re: crazy crazy idea

2009-11-13 Thread Joe Barnhart
any snow fell). The rooms were cheap, the transportation was still an issue, but it was a fun conference. Just some things to think about... -- Joe B. On Fri, Nov 13, 2009 at 9:24 AM, mdipierro wrote: > > I really love to ski but for various reasons I never get to do it. So > I thoug

[web2py:36511] Re: web2py users growth

2009-12-04 Thread Joe Barnhart
Always the contrarian, I have a completely different view on comments... Comments are the things programmers write intending to make the code clearer, but they wind up being WRONG most of the time. Why? Because the code changes and the comments don't. Many studies support this. Comments that a

Re: [web2py] Re: Anybody going to PyCon?

2010-01-15 Thread Joe Barnhart
Exactly. I have not planned to attend PyCon because it has limited coverage of topics and none of the topics covered hit my "hot" button. When you expand the diversity of coverage, you hit more hot buttons in more people and attendance goes up. They might as well re-label this DjangoCon. On Fri

[web2py:12582] Re: web2py book in PDF at $12.50

2008-11-27 Thread Joe Barnhart
I have the printed book but I travel a lot and find PDFs are useful, so I just bought the book in PDF form as well. It would be very cool if someone could spend a little while and make an index for the PDF version and trim the printers marks from the pages. Not that I'm complaining ;-) but it ju

[web2py:12855] Re: membership growth

2008-12-03 Thread Joe Barnhart
You don't "advertise" web2py. You "advocate" it. Advertising is done by companies to sell products -- and is generally paid for in some manner. Advocacy is done to bring attention to causes or movements. Web2py is more of a movement than a product, in my opinion. (OK, by some standards, maybe

[web2py:12912] Re: upload a folder

2008-12-04 Thread Joe Barnhart
But Python has a ZIP module and you could unzip the file in Python. That's probably the easiest way to transfer a structured set of files. On Dec 3, 11:36 pm, mdipierro <[EMAIL PROTECTED]> wrote: > HTTP does not allow that unless your client (flash, js, etc.) uploads > each individual file (http:

[web2py:13544] Re: new web2py wiki

2008-12-14 Thread Joe Barnhart
Maybe it's just me --- but I found the discussion of ReST very confusing since I relate it to Representational State Transfer, not ReStructured Text. I really puzzled over this discussion until I figured it out. Do you suppose, moving forward, that the Python community should pick a different a

[web2py:13545] Re: t3 on launchpad, t2 will die

2008-12-14 Thread Joe Barnhart
In keeping with the web2py theme, a couple which come to mind are: app2py webapp2py On Dec 10, 4:13 pm, mdipierro wrote: > This is not the final word. I think we need a better name. T3 is not > easily identifiable. > > Suggestions? --~--~-~--~~~---~--~~ You r

[web2py:15391] Google groups lost its place?

2009-01-24 Thread Joe Barnhart
The last couple of times I have visited the mailing list "forum", Google's software seems to have lost my "place" with respect to the messages I have read. It says, for instance, "8 new messages" at signon, but then shows me "4 new of 4", "8 new of 8", "30 new of 30", etc. for every message threa

[web2py:15444] Re: ? re migrating an sqlite database

2009-01-25 Thread Joe Barnhart
Ah, this explains the error I got when I originally defined a boolean column with "not null" and later deleted it. I found I could no longer insert records into the table because the "dropped" column had no value and thus was always trying to insert a NULL. I recovered by dropping the whole data

[web2py:16356] Datepicker.js does not permit null values?

2009-02-15 Thread Joe Barnhart
I have an optional date in a table. Trouble is, the datepicker.js widget demands the date field be filled in, even though the database is set to allow nulls on the column. I don't want to ditch the datepicker, but I'm not sure how to permit null values if the datepicker is active. Any ideas? -

[web2py:16362] Really irritating loss of code

2009-02-15 Thread Joe Barnhart
This keeps happening to me I'll be working on a controller, taking my time and getting it just right. When I hit the save button, I discover my session has timed out and I LOSE THE ENTIRE SET OF CHANGES. There is no way to recover from this and it is annoying as h*ll. I would recommend we

[web2py:16395] Re: Datepicker.js does not permit null values?

2009-02-16 Thread Joe Barnhart
That's perfect! I knew I was missing something fundamental. Thanks. -- Joe B. On Feb 16, 7:24 am, DenesL wrote: > Do you have >    db.table.opt_date.requires=IS_NULL_OR(IS_DATE()) > ? > > That works fine with calendar.js fromwww.dynarch.c

[web2py:16481] How to preset fields with crud.create()?

2009-02-17 Thread Joe Barnhart
I'm trying to use the new Crud features in 1.56 (coming from T2) but I'm having difficulty porting my application. I need to create entries in a table that refer to the logged-in user. Before, I just preset the id field to the id of the current user, but I don't see a way to do that with crud.cr

[web2py:16490] web2py is just clean fun

2009-02-18 Thread Joe Barnhart
I've been working on my first "real" project in web2py this past week. I've been programming for well over 20 years, but I've never done a website before. I can't remember when I've had more fun on a programming task. More than a few times I've seen the clock hit 4AM and I hate to go to bed bec

[web2py:16491] Re: Really irritating loss of code

2009-02-18 Thread Joe Barnhart
Some interesting ideas are coming as a result from my temper tantrum. I adjusted my settings per Massimo's suggestion, but I like the direction this has taken. It would be nice to come up with a better alternative than "session expired, you lose!" --~--~-~--~~~---~--~

[web2py:16517] Re: Really irritating loss of code

2009-02-18 Thread Joe Barnhart
changes didn't even work, so there you go.) -- Joe B. On Feb 18, 9:29 am, annet wrote: > I read the posts above, I had the same problem, but discovered that > after logging back in I could use the back button of my browser to > return to the page I wanted to save, and save it. I kn

[web2py:16541] Sessions beginning with - - 1 - xxxx

2009-02-18 Thread Joe Barnhart
I've noticed a bunch of weird session files left behind in my directory -- especially after using my SSH tunnel to admin the site. I suspect the "localhost" address of 127.0.0.1 is being botched by the session handler into creating these un-removable files. Has anyone else noticed them, or are th

[web2py:16570] Re: Sessions beginning with - - 1 - xxxx

2009-02-19 Thread Joe Barnhart
Here is an example straight from my sessions dir: --1-baab0c5b-3534-4f1e-8981-0784668d18ff On Feb 18, 6:19 pm, mdipierro wrote: > What is the exact name of one of these files? > > massimo > > On Feb 18, 6:23 pm, Joe  Barnhart wrote: > > > I've noticed a bunc

[web2py:16571] Re: Sessions beginning with - - 1 - xxxx

2009-02-19 Thread Joe Barnhart
of these files? > > massimo > > On Feb 18, 6:23 pm, Joe  Barnhart wrote: > > > I've noticed a bunch of weird session files left behind in my > > directory -- especially after using my SSH tunnel to admin the site. > > I suspect the "localhost" addre

[web2py:16591] Tools-based email authentication is case sensitive

2009-02-19 Thread Joe Barnhart
I dunno if this was intended, but the email address of the user is case-sensitive when the logon is created. One of my users inadvertently had an upper-case letter in his email address when he registered. The verification link worked and told him he was registered, but he could not log on. (He

[web2py:16720] Multicolumn CSS

2009-02-22 Thread Joe Barnhart
I'm having a conceptual problem. Eventually I would like to implement a web site that has more than one column of information. These columns would be in different divisions and controlled by a CSS style sheet. My difficulty comes from this -- how do I support multiple columns with only one cont

[web2py:16814] Re: Tools-based email authentication is case sensitive

2009-02-23 Thread Joe Barnhart
my fix, I think I would rather let people enter addresses in any case but do the login comparison in a case-insenstitive manner. I did not see UPPER() and LOWER() mentioned in the web2py manual as SQL functions available on columns for queries. I'll look up the source code and see if they&#x

[web2py:16827] Re: Tools-based email authentication is case sensitive

2009-02-23 Thread Joe Barnhart
I verified the approach works on my test bed but I did not put it on the public version yet. My concern is this: As soon as I convert everyone's address in the auth_user table to lower case, they will complain that it fails when they enter their email address in mixed case, i.e. "it's broken aga

[web2py:16833] Critical point in web2py

2009-02-24 Thread Joe Barnhart
It seems to me that we have reached a critical point in web2py. The development of web2py has been at such an accelerated pace that the environment has far outpaced its pool of documentation and examples. I am using the latest stable version and loving the new capabilities of "auth" and "crud",

[web2py:16873] Re: Critical point in web2py

2009-02-24 Thread Joe Barnhart
t documenting them) -- blog for Massimo and other key developers (Yarko, etc.) -- timeline/futures -- web2py con announcement and registration ;-) -- Joe B. On Feb 24, 8:55 am, mdipierro wrote: > Excellent points > > On Feb 24, 10:49 am, vihang wrote: > > >  - I had seen

[web2py:16877] Re: Authentication with the new table doesn't work...

2009-02-24 Thread Joe Barnhart
Double-check your email address and see if you used any capital letters. This is exactly the scenario my users get when they register an email addy with upper/lower case characters and then don't enter it exactly the same way during login. The login email address is case- sensitive!!! On Feb 24

[web2py:16895] Limit choices of crud.create() with onvalidate?

2009-02-25 Thread Joe Barnhart
I find i need to limit the available choices seen in a form during a crud.create() operation. My specific case is I want to assign groups to users, but I first want to eliminate all of the automatically- generated group names such as "user_xx". Is there a way I can still use the crud.create() bu

[web2py:16941] Re: Limit choices of crud.create() with onvalidate?

2009-02-25 Thread Joe Barnhart
Good point. I was using the standard auth_groups table and inheriting all of its characteristics. I suppose I could substitute my own "groups" table and (a) turn off the automatic group creation for each user and (b) take over control of the drop-down list and others. -- Joe B. On

[web2py:16954] Re: Critical point in web2py

2009-02-25 Thread Joe Barnhart
do be misled into thinking it will be a quick or simple task. I fear we will be committing ourselves to more "axe sharpening" rather than moving forward on the task of documenting. -- Joe B. On Feb 25, 8:59 pm, Paul Eden wrote: > +1.  With a more intuitive URL I think that woul

[web2py:16993] Re: Critical point in web2py

2009-02-26 Thread Joe Barnhart
sing web2py. We need to make web2py accessible to the masses and that takes documentation. I'm not sure another appliance development is the best way to achieve the goal of getting web2py to the masses. -- Joe B. P.S. Not to blow my horn, but I code for a living and have been developing in Sm

[web2py:17137] Re: Critical point in web2py

2009-02-27 Thread Joe Barnhart
r the more structured, more formal Sphinx documentation. -- Joe B. On Feb 27, 8:56 pm, mdipierro wrote: > Pedro, > > the current web2py wiki has > -a page tree > -a public link to revision history and diffs (*) > > -recent changes page and rss will be added soon. > > (*

[web2py:17494] Re: Critical point in web2py

2009-03-04 Thread Joe Barnhart
oaded. I believe only way this can happen is if we set up a professional wiki w/o Massimo's blessing. -- Joe B. P.S. I'll bet we can get Massimo to bless our new wiki site "built without his blessing." Is that a meta-blessing? On Mar 3, 9:22 am, Pedro wrote: > Catchin

[web2py:17495] Re: db insert override default id

2009-03-04 Thread Joe Barnhart
What is the use case for controlling the id like this? Does the id in question exist already or are you trying to fill in "empty" ids? If it exists already, why don't you update the existing entry? If the id does not exist already, then why is it important to control the value? On Mar 4, 9:41

[web2py:17515] Re: auth_user question -- how to link to current logged in user?

2009-03-04 Thread Joe Barnhart
Notice the subtle distinction in the messages here. auth.user.id -- this is the global variable 'auth' which has a variable named 'user' which in turn has a named variable called 'id'. This variable is valid only after a user is logged on and it refers to the id of the current user. If no one

[web2py:17615] Using 'count' as a field

2009-03-06 Thread Joe Barnhart
able: {{=row._extra[count]}} Only this does not work. After some experimentation I found it needed to be a little more specific: {{=row._extra['COUNT(myvar.id)']}} I thought this should be documented somewhere, and the forum seems to be

[web2py:17628] Re: db insert override default id

2009-03-07 Thread Joe Barnhart
tore a database at all unless the ids can be set explicitly. At least this is one use case. -- Joe B. On Mar 5, 9:49 pm, mdipierro wrote: > Why would anybody do such a thing? This can break the integrity of the > database. > > Massimo --~--~-~--~~~---

[web2py:17629] Re: Using 'count' as a field

2009-03-07 Thread Joe Barnhart
Oops. Found the problem. I needed to pass "count" to the html view where it was actually being used. Once I did that it worked as expected. -- Joe B. On Mar 6, 3:56 pm, mdipierro wrote: > This two > > {{=row._extra[db.mytable.id.count()]}} > {{=row._extra['COUNT(

[web2py:17722] Sqlite disaster

2009-03-09 Thread Joe Barnhart
Well, my site went down hard tonight. It is based on a lot of linked tables and tonight I started getting the dreaded "database is locked" error. This error occurs only on operations that might require several seconds of DB time. I suspect lengthening a timeout value somewhere would alleviate i

[web2py:17723] Re: Sqlite disaster

2009-03-09 Thread Joe Barnhart
I managed to get the site limping along again by deleting some indexes I created on the tables that map many-to-many relationships. Why these indexes should dramatically slow Sqlite down I do not know... On Mar 9, 1:40 am, Joe Barnhart wrote: > Well, my site went down hard tonight.  It

[web2py:17760] Re: Sqlite disaster

2009-03-09 Thread Joe Barnhart
I think this is a good idea. Can I use web2py's csv export/import to change databases under the covers? I'm intrigued by the idea of exporting the whole database, creating a new one (with better referential integrity, etc.) and restoring it. I think I'll give it a try as soon as the usage dies

[web2py:17918] web2py book errata anywhere?

2009-03-12 Thread Joe Barnhart
I'm looking for a listing of errata for the web2py book but I don't see one. I looked in all the usual suspect areas -- AlterEgo, here, the website, etc. My issue is the section on using form_factory to generate a form for uploading a file that I do not want to store in the database directly, bu

[web2py:17958] How to upload a file into web2py?

2009-03-12 Thread Joe Barnhart
I have a problem. I want to upload a file into my web2py site which does NOT go into a database, but rather will be processed (it is a CSV file). The proposed solution is to use form_factory to create the form as though a database exists (using SQLField objects). When I create the form with onl

[web2py:17960] Re: How to upload a file into web2py?

2009-03-12 Thread Joe Barnhart
Actually, I need to process the CSV file before it can be inserted into the database. I was hoping to upload it to disk (or even memory as the files are small), do the processing, and commit the changes to db. On Mar 12, 5:07 pm, Yarko Tymciurak wrote: > On Thu, Mar 12, 2009 at 6:48 PM,

[web2py:17962] Re: How to upload a file into web2py?

2009-03-12 Thread Joe Barnhart
tience and responses. On Mar 12, 5:23 pm, Wes James wrote: > On Thu, Mar 12, 2009 at 6:20 PM, Joe Barnhart wrote: > > > Actually, I need to process the CSV file before it can be inserted > > into the database.  I was hoping to upload it to disk (or even memory > > as the

[web2py:17978] Re: How to upload a file into web2py?

2009-03-13 Thread Joe Barnhart
> > and the file name from > >   request.vars.my_field_name.filename > > hope this helps. > > On Mar 12, 7:55 pm, Joe  Barnhart wrote: > > > Let me preface this by explaining that I am a noob at creating > > websites.  This is probably so simple that anyone who&#

[web2py:17990] Re: How to upload a file into web2py?

2009-03-13 Thread Joe Barnhart
the site (high school swim coaches) are ecstatic to have it. Regards, -- Joe B. On Mar 13, 7:26 am, mdipierro wrote: > I tried this: > > def import_csv(): >     from gluon.sqlhtml import form_factory >     form=form_factory(SQLField('import_csv','upload')

[web2py:17998] Re: How to download csv file?

2009-03-13 Thread Joe Barnhart
I wrote something similar to what you want. It outputs the file directly instead of creating an intermediate file. In my case I'm selecting a set of fields in a big "join" but you can get the idea. The "hash" function is just to create a signature so I can tell if some of the fields were changed

[web2py:18001] Re: Qusestion about the book?

2009-03-13 Thread Joe Barnhart
y who created it). -- Joe B. On Mar 13, 2:24 pm, Mike Axelrod wrote: > I noticed there is a book about web2py available ob Amazon (Web2Py > Manual).   The description on Amazon claims it is 256 pages long.  But > the one review up there says it is only 68 pages long.  What gives? > &g

[web2py:18140] Re: Marketing suggestion

2009-03-16 Thread Joe Barnhart
em. The tagline is usually one of the last ideas to be developed. -- Joe B. P.S. I used to do some product marketing for one of the Hewlett- Packard instrument divisions. Not that we were all that good at marketing -- the inside joke was that HP would have described sushi as "cold dead fish you

[web2py:18402] Re: Feature Request: DECIMAL or NUMERIC type for database fields

2009-03-20 Thread Joe Barnhart
. (Massimo -- Maybe a validator can help here?) -- Joe B. On Mar 20, 12:03 pm, Paco wrote: > I've been trying web2py for a couple of days and I believe is just > great. I'm so excited that I'm planning to build my own accounting and > invoicing application, which is, in the other

[web2py:18592] Re: Question about compile and performance

2009-03-25 Thread Joe Barnhart
Looks like this is the core compiler: http://pypi.python.org/pypi/chameleon.core/1.0b24 The other files are personalities on top of the Chameleon core itself. Interesting. -- Joe B. On Mar 25, 6:58 am, mdipierro wrote: > I will look into t

[web2py:18593] Re: Qusestion about the book?

2009-03-25 Thread Joe Barnhart
+1 On Mar 25, 5:08 am, Jonathan B wrote: > Hence, it may be a good idea to consider releasing the Wiki > under the Creative Commons Attribution license, that way the Wiki > contents can be reused commercially and can be sold in a non-share- > alike way. Of course, the current authors would have

[web2py:18596] Re: Question about compile and performance

2009-03-25 Thread Joe Barnhart
Another interesting blog post about Chameleon: http://philikon.wordpress.com/2008/10/22/chameleon-byte-compiler-for-zpt-and-genshi/ On Mar 25, 6:58 am, mdipierro wrote: > I will look into this --~--~-~--~~~---~--~~ You received this message because you are subsc

[web2py:19060] Re: important about ajax forms

2009-04-04 Thread Joe Barnhart
://scg.unibe.ch/archive/papers/Duca04eSeaside.pdf As a postscript -- I'm not sure Python supports continuations in its native form. It is one of the features added in Stackless Python, however. It would be interesting to see Stackless with its tasklets put to use in a Pythonic one-upmanship o

[web2py:19118] Re: important about ajax forms

2009-04-04 Thread Joe Barnhart
ll. You can have several different regions of your page work independently of each other, like separate applications or parts of a single application. It is a facinating environment and it kicks RoR to heck and back. In fact, the ONLY weird or hard-to-accept thing about it is that it's based on

[web2py:20210] Re: Compliments

2009-04-21 Thread Joe Barnhart
there were a single clearinghouse for information on web2py. I think it is the only thing that keeps w2p from taking over the world! -- Joe B. On Apr 21, 10:13 am, mdipierro wrote: > I expect we'll pass 1000 registered users within the next 2 weeks. > > If you like web2py tell your

[web2py:20327] Overriding default field validators

2009-04-22 Thread Joe Barnhart
I have a special application that holds the results of swimming matches. I store all times as floating-point "seconds" internally, but I want to permit users to enter times as either a formatted string (mm:ss.hh) or an integer (mmsshh). I created my own custom validator which can take either inp

[web2py:20335] Re: Overriding default field validators

2009-04-23 Thread Joe Barnhart
In the meantime, I am using a manually-created FORM to get by. -- Joe B. On Apr 22, 10:49 pm, Álvaro Justen [Turicas] wrote: > -- >  Álvaro Justen >  Peta5 - Telecomunicações e Software Livre >  21 3021-6001 / 9898-0141 >  http://www.peta5.com.br/ --~--~-~--~~

[web2py:20337] Re: Integrated Development Environment with web2py

2009-04-23 Thread Joe Barnhart
rested in your brand of coffee, since you seem to have so much energy! -- Joe B. On Apr 22, 10:51 pm, Speedbird wrote: > Folks, > > Just wanted to share with the community a real jewel, many of you knew > this but I actually started using it "heavily" during the past couple

[web2py:20826] Re: redirect referer url

2009-04-29 Thread Joe Barnhart
o lots of things in software but many of them would not be a good direction. This may be one... -- Joe B. On Apr 29, 9:23 am, mdipierro wrote: > no because web2py does not know what the full url is from the > prospective of the client. For example there may be one of multiple > proxies in be

[web2py:20828] Re: temporary file management

2009-04-29 Thread Joe Barnhart
The #1 item (upload a file) can be handled by using the "form factory" to create a form with an upload field, even with no matching database table. This is covered in Massimo's book on page 177. -- Joe B. On Apr 29, 1:26 am, Timmie wrote: > Hello, > how does web2py h

[web2py:20880] Re: rpx

2009-04-30 Thread Joe Barnhart
I dunno. I don't like dependencies on companies who aren't forthcoming about costs and such. Here's a quote from their FAQ: How much does it cost? When initial development and ongoing operation are factored into an ROI calculation, you will find that RPX Plus and RPX Professional are very inex

[web2py:20913] Re: TABLE question

2009-04-30 Thread Joe Barnhart
Check out the Python "zip" function. It has been a lifesaver to me when aggregating data like this. On Apr 30, 9:33 pm, weheh wrote: > From doc: > table=[['a','b'],['c','d']] > print TABLE(*[TR(*rows) for rows in table]) > > I want to change the color of the cells in the table according to > so

[web2py:20944] Re: how to get help on web2py

2009-05-01 Thread Joe Barnhart
I guess the "wiki" project didn't make the cut for sources of documentation. Maybe we should get a real wiki and try again instead of trying to build our own. The notion of developing a web2py wiki seems to keep throwing a roadblock into getting the community involved in documentation. On May 1

[web2py:20995] Re: how to get help on web2py

2009-05-02 Thread Joe Barnhart
when we rely on the efforts of one person to write, debug, enhance, support, and document the entire project. -- Joe B. On May 2, 10:28 am, dlypka wrote: > Hopefully enough developers will join the effort to keep up with the > scatter. --~--~-~--~~~---~--~---

[web2py:21032] Re: how to get help on web2py

2009-05-03 Thread Joe Barnhart
Yarko -- I can't say about others, but for me the key missing features in the wiki are: * Wiki-style links and organization * Easy navigable URLs * More compact and usable layout All wikis I have used in the past use embedded WikiStyleTags to create links to other pages on the wiki, or even cre

[web2py:21131] Admin interface and compiled code limitation

2009-05-04 Thread Joe Barnhart
I have been uploading my site in "compiled" form to take advantage of every effeciency, but I just noticed a significant drawback that I did not expect. The admin interface no longer permits access to the database administration page if the site is compiled. I don't completely understand why I c

[web2py:21192] Re: Admin interface and compiled code limitation

2009-05-04 Thread Joe Barnhart
d the database admin interface just because the code is immutable. -- Joe B. On May 4, 7:25 am, mdipierro wrote: > This cannot be allowed because it would confuse people. In fact people > would edit their files but would not see the app behavior chance > because they are using the compil

[web2py:21265] Best way to handle rich website?

2009-05-06 Thread Joe Barnhart
I've been pondering the best way to create sites with rich pages that contain lots of "applets" or "tasklets". It seems limiting to have the entire page tied to a single Python function. Maintaining the site could be problematic if everything funnels through one "controller" function. Then I wo

[web2py:22161] Re: how to create index on a database table

2009-05-19 Thread Joe Barnhart
slower. I removed the indexes with the following and all was well again: db.executesql('DROP INDEX IF EXISTS me_indx_1;') -- Joe B. P.S. "me_indx" was "meet event index" not the first part of "me myself and I". On May 19, 7:57 am, TheDude wrote: > H

[web2py:22603] Re: DECIMAL or NUMERIC type for database fields

2009-05-25 Thread Joe Barnhart
retrieves objects based on their metadata. Replacing the web2py DAL with my own is beyond my meager ability at this point, but if the DAL itself had a clear interface with web2py I might be able to tackle it. Warm regards, Joe Barnhart On May 24, 6:01 pm, Yarko Tymciurak wrote: > *sigh* yes

[web2py:22953] Re: mediawiki markup in web2py wiki?

2009-05-30 Thread Joe Barnhart
rrent ones, and a novice can't tell the difference. Web2py needs documentation worse than ANYTHING ELSE at this point. (In my humble opinion, of course.) -- Joe B. On May 29, 12:27 pm, mdipierro wrote: > I am looking fro somebody to be a mainter of the wiki app and even > f

[web2py:22973] Re: mediawiki markup in web2py wiki?

2009-05-31 Thread Joe Barnhart
nnot tell how many have left in frustration and now use other platforms. Warm regards, Joe Barnhart --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send

[web2py:22982] Re: mediawiki markup in web2py wiki?

2009-05-31 Thread Joe Barnhart
ire because we don't have enough contributors to make the new wiki project happen. So what do we do? I don't think complaining that there aren't enough contributors is the right approach. Warm regards, Joe Barnhart On May 31, 12:57 pm, Yarko Tymciurak wrote: > Comments: >

[web2py:22989] Re: mediawiki markup in web2py wiki?

2009-05-31 Thread Joe Barnhart
ately needs an answer from you. That is not a sign of a successful project with a wide and growing base. Hopeful regards, Joe Barnhart On May 31, 4:59 pm, mdipierro wrote: > Thanks Evgeny for taking care of this. I hope other people with take > other sample apps and will volunteer to

[web2py:23013] Re: mediawiki markup in web2py wiki?

2009-05-31 Thread Joe Barnhart
Please don't feel like you have started an argument -- and especially don't think that you have done anything wrong or stepped on anyone's toes. We are all trying to achieve success with web2py and you are stepping up to do something. I applaud your efforts. Warm regards, Joe B

[web2py:23014] Re: mediawiki markup in web2py wiki?

2009-05-31 Thread Joe Barnhart
Massimo -- Remind me again... Who writes the documents in the Sphinx system? Isn't is it designed for a small group of documentation writers? It's not like a wiki where anyone can contribute, right? Does that really break the bottleneck? -- Joe B. On May 31, 9:09 pm, mdipie

[web2py] many to many inline form

2010-11-12 Thread Joe Wakefield
So I'm trying to migrate an old rails app that broke a while back, and I came across a rather difficult situation. I boiled the problem down to this simplified mockup: http://yfrog.com/ghbeanjarsp The real app has nothing to do with jelly beans, but this is the issue at hand. Basically there are t

[web2py] Re: many to many inline form

2010-11-17 Thread Joe Wakefield
, 11:27 am, mdipierro wrote: > We do not have a widget for that but it is time to make one. It is not > difficult. > If I have time I will do this over the week-end. Other users may have > already something working. > > On Nov 12, 10:17 am, Joe Wakefield wrote: > > > So I'

[web2py] Customize the Appearance of the menu

2010-11-17 Thread Joe J
doing this? Any help is much appreciated. Thanks, Joe In the controller, I have code as follows: response.menu=[['civilized',True,URL('default','index')], ['test',False,URL('default','index')]] In my Vi

[web2py] Selecting subsets of objects in a controller.

2010-11-20 Thread Joe J
type_id) except return HttpRedirect(...) Any help is much appreciated. Thank you for reading at this. Joe

[web2py] Re: Selecting subsets of objects in a controller.

2010-11-20 Thread Joe J
Thank you very much for your advice. Yes, my models do relate to each other like that. This solution seems to be what I was looking for. Thanks again, Joe On Nov 20, 8:30 pm, mdipierro wrote: > Depends on the model. I will assume > > db.define_table('org',Field('n

[web2py] Limit Related Field Dropdown List

2010-11-21 Thread Joe J
y the ones owned by a given owner. db.pet.pet_type.requires = IS_IN_DB(db, 'pet_type.id', '% (type_name)s') Any help is much appreciated. Joe

<    1   2   3   4   5   6   7   8   9   >