[web2py:21263] Re: Sphinx docs post

2009-05-05 Thread Tim Michelsen
Hi! > Note: The build setup may curretly not work correctly due to outstanding > configuration isuues. All config issues have been removed. > This will be adjusted during the course of the week. I just pushed the latest changes to the repository: https://code.launchpad.net/~web2py/web2py/web2py

[web2py:21262] How to auth between Ruby and web2py apps?

2009-05-05 Thread weheh
I'm still green when it comes to web2py auth and I'm faced with integrating a web2py app with a Ruby app, of which I know nothing. Does anyone out there know enough about both to suggest how to have Ruby do user auth but then pass a certificate to web2py auth? I'm not sure I can figure this one ou

[web2py:21261] Re: Open to suggestions

2009-05-05 Thread Ted G
I've used the same technique you describe in order to create a better form layout. In my case I did not have as many fields, but I did have a few text areas, which created a "vertically challenged" form. Same as your approach, I create a form using SQLFORM as per normal and pass it to the view wi

[web2py:21260] Re: Open to suggestions

2009-05-05 Thread JohnMc
desfrenes, Normalize, certainly can. If I follow a logical format at best it might get the count down to 43 fields. I could of course just force the issue a cut the table up as Massimo suggests and match the fields with the views to something more manageable. Ultimately it maybe what I do. icebe

[web2py:21259] Re: Open to suggestions

2009-05-05 Thread Iceberg
John, I just counted one of my app, an order management system. The order table has 45 fields. Here is what I did. I put them on the same page so that all input data are validated together via the comfortable form.accepts(...). The only downside is the default layout of SQLFORM (...) for such a bi

[web2py:21258] Re: File upload not working when form is in jDiv

2009-05-05 Thread mdipierro
Fantastic! Thank you. Massimo On May 5, 6:17 pm, Ted G wrote: > I've modified jDivLoad to incorporate the jQuery form plugin in order > to enable file uploads within forms that are part of a jDiv. I thought > I would post the change below so that whoever is working on jDiv can > incorporate thi

[web2py:21257] Re: Filling form after submitting

2009-05-05 Thread mdipierro
Why do you have multiple fields with the same names? In general this should only be done for checkboxes. Is that the case? Massimo On May 5, 3:40 pm, opedge wrote: > I have multiple input fields with the same name. After submitting form > I have my input fields filled with values like ['','',''

[web2py:21256] Re: File upload not working when form is in jDiv

2009-05-05 Thread Ted G
I've modified jDivLoad to incorporate the jQuery form plugin in order to enable file uploads within forms that are part of a jDiv. I thought I would post the change below so that whoever is working on jDiv can incorporate this functionality in a better way than the hack I've done for my purposes.

[web2py:21255] Filling form after submitting

2009-05-05 Thread opedge
I have multiple input fields with the same name. After submitting form I have my input fields filled with values like ['','','','']. Can web2py keep values for multiple input fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:21254] Re: license of the wiki

2009-05-05 Thread mdipierro
Honestly I do not particularly care. For the code we can do GPL, BSD and Creative Commons. On May 5, 2:15 pm, Tim Michelsen wrote: > > I will make it dual BSD and GP unless you have a better suggestion. I > > do not have a string feeling about this. > > Thanks for the answer. > > I was referring

[web2py:21253] jquery, python frameworks and pyjamas

2009-05-05 Thread Tim Michelsen
Hello, I am keen to get your opinion on this one: using pyjamas with other javascript libraries/frameworks http://groups.google.com/group/pyjamas-dev/browse_thread/thread/639dffd00d6b7c7 Disclaimer: I am more or less illiterate on JavaScript... Regards! --~--~-~--~~~---

[web2py:21252] Re: Table already exists problem [again]

2009-05-05 Thread Yarko Tymciurak
someone looked into this, tried some time back ... emulating the kinds of things that sqlalchamy does; I think he had limited success; not sure I recall what the summary was. On Tue, May 5, 2009 at 2:50 PM, Hans wrote: > > Symlinking the app/database folder would work in environments with up >

[web2py:21251] Job web2py developer

2009-05-05 Thread dbb
Hello Eeverybody: Need a ( two) developer (s) who can develop an application using web2py: I am trying to develop a specification for a web2py development. The job is developing a web2py CMS application to manage education content. - take camera input, video and voice - lecture notes as input

[web2py:21250] Re: Table already exists problem [again]

2009-05-05 Thread Hans
Symlinking the app/database folder would work in environments with up to one application server. Unfortunately also I don't know how to query the database table structure in all web2py supported databases. But, maybe, we have some experts for one or the other supported database on the forum and w

[web2py:21249] Re: YC blog

2009-05-05 Thread Yarko Tymciurak
thanks for clarifying, the pointer... On Tue, May 5, 2009 at 12:09 PM, JohnMc wrote: > > The discussion was a year ago. Should have checked the dates. > > Came up from this -- > http://delicious.com/url/8dff951022f74a71ae29504c18b87c83. > > Sorry about that. > > On May 5, 12:04 pm, JohnMc wrote

[web2py:21248] Re: How to get help (verson 1.01) on web2py

2009-05-05 Thread Yarko Tymciurak
On Tue, May 5, 2009 at 2:11 PM, Tim Michelsen wrote: > > > What do you think? > > > > > > Would this be like gmail labels then - any label, no heirarchical > structure? > I do not use gmail. > > But by nature, tags as in Web2.0 are no hirarchial (statistical ordering > in tag clouds). I thin

[web2py:21247] Re: Open to suggestions

2009-05-05 Thread mdipierro
I would suggest breaking the 60 fields over multiple tables (the way you want forms to look like) and link them using references. It will be much easier to handle it long term. Massimo On May 5, 12:02 pm, JohnMc wrote: > Working on another application. One table in the DAL will have about > 60

[web2py:21246] Re: Open to suggestions

2009-05-05 Thread desfrenes
60 fields ! I can't even remember a web app with only half of this. Sure the data is normalized enough ? Maybe you can think of a multiple page form. On 5 mai, 19:02, JohnMc wrote: > Working on another application. One table in the DAL will have about > 60 Fields in it. Using one long form would

[web2py:21245] Re: license of the wiki

2009-05-05 Thread Tim Michelsen
> I will make it dual BSD and GP unless you have a better suggestion. I > do not have a string feeling about this. Thanks for the answer. I was referring to the code itself hosted at LP. I stealt a module there but will come back later with the outcome. An idea had yesterday and ... it works. B

[web2py:21244] Re: Table already exists problem [again]

2009-05-05 Thread mdipierro
BTW... I do not think the current system is perfect. Ideally web2py should query the database for the current table stucture instead of using local .table files. .table files exist because - I do not know an alternative - because it is faster to look this up locally than query the database Massi

[web2py:21243] Re: Table already exists problem [again]

2009-05-05 Thread mdipierro
I agree and it does not have to me. The current system does not limit that. It only limits the fact that one app should do migrations. If more than one app may do migrations just symlink the database folder. Massimo On May 5, 2:09 pm, Hans wrote: > IMO one more thing to consider is that a datab

[web2py:21242] Re: How to get help (verson 1.01) on web2py

2009-05-05 Thread Tim Michelsen
> What do you think? > > > Would this be like gmail labels then - any label, no heirarchical structure? I do not use gmail. But by nature, tags as in Web2.0 are no hirarchial (statistical ordering in tag clouds). > How would you define categories? The administrator of wiki defines the ca

[web2py:21241] Re: Table already exists problem [again]

2009-05-05 Thread Hans
IMO one more thing to consider is that a database is not necessarily exclusively owned by one application. I would even go further and say default should be a database is NOT exclusively owned by one app and also not by one framework. Currently the problem arises if the .table files of one web2py

[web2py:21240] Re: DNS problem... web2py.com down

2009-05-05 Thread mdipierro
should be back. On May 5, 11:29 am, mdipierro wrote: > I had to change the IP address of my server. I am in the process of > updating the DNS. > The server will be unreachable for one hour or so. > > Massimo --~--~-~--~~~---~--~~ You received this message because

[web2py:21239] Re: YC blog

2009-05-05 Thread JohnMc
The discussion was a year ago. Should have checked the dates. Came up from this -- http://delicious.com/url/8dff951022f74a71ae29504c18b87c83. Sorry about that. On May 5, 12:04 pm, JohnMc wrote: > Hmm. I'll have to check the dates, It came up on one of my RSS feeds > yesterday. > > On May 5, 12

[web2py:21238] Re: YC blog

2009-05-05 Thread JohnMc
Hmm. I'll have to check the dates, It came up on one of my RSS feeds yesterday. On May 5, 12:01 pm, mdipierro wrote: > which one? I did not have any discussion on yc yesterday. > > On May 5, 11:03 am, JohnMc wrote: > > > Massimo, > > > Saw the discussion on the YC blog last night about web2py.

[web2py:21237] Open to suggestions

2009-05-05 Thread JohnMc
Working on another application. One table in the DAL will have about 60 Fields in it. Using one long form would work but gets rather bland. I would prefer to visually cut it up. I could either capture the data in multiple screens for input or use a tabbed interface to capture the data. I am leanin

[web2py:21236] Re: YC blog

2009-05-05 Thread mdipierro
which one? I did not have any discussion on yc yesterday. On May 5, 11:03 am, JohnMc wrote: > Massimo, > > Saw the discussion on the YC blog last night about web2py. Kudos on > the spirited defense. Too bad some of the discussion was more personal > than factual. --~--~-~--~~

[web2py:21235] DNS problem... web2py.com down

2009-05-05 Thread mdipierro
I had to change the IP address of my server. I am in the process of updating the DNS. The server will be unreachable for one hour or so. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework"

[web2py:21234] Re: crud problems log events

2009-05-05 Thread mdipierro
It may be a bug. I will look into it and fix it tonight. On May 5, 10:21 am, NewBeen wrote: > Greetings I'm trying to log the events when a create a table with crud > but i always get the same error > > my code is > > in the model > > crud.settings.logger=auth > > in the controller i try already

[web2py:21233] Re: Table already exists problem [again]

2009-05-05 Thread mdipierro
Yes or perhaps a repair.py script. Massimo On May 5, 10:24 am, Yarko Tymciurak wrote: > On Tue, May 5, 2009 at 9:25 AM, mdipierro wrote: > > > > > The only problems I can see would arise if: > > - You delete databases/*.table but the database is still there > > (updates do not cause this)

[web2py:21232] Re: YC blog

2009-05-05 Thread Yarko Tymciurak
what blog are you talking about? (I searched yc blog web2py - and only came up w/ ~year-old things) On Tue, May 5, 2009 at 11:03 AM, JohnMc wrote: > > Massimo, > > Saw the discussion on the YC blog last night about web2py. Kudos on > the spirited defense. Too bad some of the discussion was more

[web2py:21231] YC blog

2009-05-05 Thread JohnMc
Massimo, Saw the discussion on the YC blog last night about web2py. Kudos on the spirited defense. Too bad some of the discussion was more personal than factual. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2p

[web2py:21230] crud problems log events

2009-05-05 Thread NewBeen
Greetings I'm trying to log the events when a create a table with crud but i always get the same error my code is in the model crud.settings.logger=auth in the controller i try already @auth.requires_login() def customcreate(): form = crud.create('databasedp', log='Record %(id)s created'

[web2py:21229] Re: Table already exists problem [again]

2009-05-05 Thread Yarko Tymciurak
On Tue, May 5, 2009 at 9:25 AM, mdipierro wrote: > The only problems I can see would arise if: > - You delete databases/*.table but the database is still there > (updates do not cause this). Bad luck. One should not delete files, or > at least make a backup. Maybe at some point we can add

[web2py:21228] Re: How to get help (verson 1.01) on web2py

2009-05-05 Thread Yarko Tymciurak
On Tue, May 5, 2009 at 4:37 AM, Timmie wrote: > > > http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/models/db.py > change the following: > . > into: > db.define_table('page', > > db.Field('category','string'), # one page can only be in one > category (lik

[web2py:21227] Re: license of the wiki

2009-05-05 Thread mdipierro
I see you refer to the content of the wiki, not the code of the wiki. Creative Commons is ok with me. Massimo On May 5, 9:35 am, Kuba Kucharski wrote: > +1. > > On May 5, 2009 4:09 PM, "Anand Vaidya" wrote: > > Since wiki is not code (mostly) and is text, please consider adopting > Creative Co

[web2py:21226] Re: license of the wiki

2009-05-05 Thread Kuba Kucharski
+1. On May 5, 2009 4:09 PM, "Anand Vaidya" wrote: Since wiki is not code (mostly) and is text, please consider adopting Creative Commons License. Nice interactive tool: http://creativecommons.org/license/ My suggestion: You could choose CC 3.0, Attribution Required, Commercial Use allowed, Mus

[web2py:21225] Re: Table already exists problem [again]

2009-05-05 Thread mdipierro
I am not sure what you mean by "in a way that it survives framework updates". The only problems I can see would arise if: - You delete databases/*.table but the database is still there (updates do not cause this). Bad luck. One should not delete files, or at least make a backup. - Your databases/

[web2py:21224] Re: license of the wiki

2009-05-05 Thread Anand Vaidya
Since wiki is not code (mostly) and is text, please consider adopting Creative Commons License. Nice interactive tool: http://creativecommons.org/license/ My suggestion: You could choose CC 3.0, Attribution Required, Commercial Use allowed, Must share modifications. Regards Anand On May 5, 8

[web2py:21223] Re: license of the wiki

2009-05-05 Thread mdipierro
I will make it dual BSD and GP unless you have a better suggestion. I do not have a string feeling about this. Massimo On May 5, 4:09 am, Timmie wrote: > Hello Massimo, > what is the license of the wiki? > > Please add it > to:http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/h

[web2py:21222] Re: Table already exists problem [again]

2009-05-05 Thread Hans
Massimo, 'T2 is dead and not longer supported' is definitely a killer argument :-/ If I'm not mistaken then the same problem exist with the auth_ tables. How should the db.define_table ('something',,migrate='something.table') workaround be applied to auth_ tables in a way that it survives fr

[web2py:21221] Re: How to get help (verson 1.01) on web2py

2009-05-05 Thread Timmie
http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/models/db.py change the following: db.define_table('page', db.Field('uuid',length=128,writable=False,default=str(uuid.uuid4 ())), db.Field('title'), db.Field('menu',length=128), db.Field('public','boolean',defau

[web2py:21220] license of the wiki

2009-05-05 Thread Timmie
Hello Massimo, what is the license of the wiki? Please add it to: http://bazaar.launchpad.net/~mdipierro/web2py-wiki/trunk/annotate/head%3A/LICENSE Kind regards, Timmie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[web2py:21219] Re: Plugin system

2009-05-05 Thread dlypka
looking at html.py I see that the FORM class does keep a list of all its child instances in self.components. So that is not a concern. On May 5, 3:18 am, dlypka wrote: > I think the web2py component should have the concept of an Interface > as in COM, Java and C#. > So I propose that the compone

[web2py:21218] Re: File upload not working when form is in jDiv

2009-05-05 Thread Ted G
Sure. jDiv1 = Customer Detail/Form jDiv2 = Invoice List jDiv3 = Invoice Detail/Invoice Form The above jDiv's are partials that are re-used in a number of different views. jDiv2 is not always used in a view where jDiv3 is used for example. One of the views does use all of the above jDivs. In thi

[web2py:21217] Re: Plugin system

2009-05-05 Thread dlypka
I think the web2py component should have the concept of an Interface as in COM, Java and C#. So I propose that the component would have some classes whose names begin with interface_ (or whatever naming convention is web2py-acceptable) and these classes would represent the exposed interfaces. Unli