[web2py] Re: In appadmin clicking on the "file" trying to load it in the browser..

2010-10-10 Thread mdipierro
Is this an app you started some time ago? Could you try move controllers/appadmin.py and views/appadmin.html from the latest welcome into your app and see if the problem persists? On Oct 10, 12:01 am, Jason Brower wrote: > Sure... clicking this link give me this... > It would be nice if it was a

[web2py] Re: please help us test new web site

2010-10-10 Thread Adi
Amazing work Massimo, Bruno and Martin! On Oct 10, 11:10 am, Albert Abril wrote: > I suggested Bruno and Martin another concept of logo. > Here's my draft design (attached). > > > > On Sun, Oct 10, 2010 at 6:54 AM, guruyaya wrote: > > I happen to like to new logo. It looks like very slick. The

[web2py] Re: please help us test new web site

2010-10-10 Thread mdipierro
We cannot start another logo contest... we have tried it before and we did not get much further. Bruno has created more than a logo. He has created a visual identity and completely rewritten the examples app. This was on the todo list for more than one year and nobody else did it. He did. A major

[web2py] Re: Any possible problems if I do this? Any possible improvement?

2010-10-10 Thread mdipierro
adding the three attempt limit is a good idea. On Oct 9, 10:56 pm, Magnitus wrote: > Well, technically, you can't access the admin unless: > > 1) You have local access > > and/or > > 2) You are using TLS > > So if you site isn't using TLS, the admin is disabled and you are safe > (even if your ge

Re: [web2py] Re: In appadmin clicking on the "file" trying to load it in the browser..

2010-10-10 Thread Jason Brower
Oops, yeah. We should have a check for that. It would be nice to have the option upgrade the appadmin as well, I totally forgot about it. Best regards, Jason Brower On 10/10/2010 10:01 AM, mdipierro wrote: Is this an app you started some time ago? Could you try move controllers/appadmin.py and

Re: [web2py] Re: Any possible problems if I do this? Any possible improvement?

2010-10-10 Thread Michele Comitini
When you meet him why don't you give him a TSL private key+signed cert on a USB key? Then you will allow access only if cert is properly signed. the private key can be protected by a secret. It is easier to do than it seems at first :-) mic 2010/10/10 mdipierro : > adding the three attempt limit

[web2py] Only 1 {{extend ...}} allowed in a view ?

2010-10-10 Thread Stef Mientki
hello, I'm trying to make a visible view of the layout components (html, css etc). Is it correct that in each view, it's allowed to have at most 1 {{extend ...}} ? thanks, Stef Mientki

[web2py] Re: book, chapter 07

2010-10-10 Thread cjrh
On Oct 9, 11:35 am, andrej burja wrote: > hi > > in the section about crud [snip] Fixed, thanks.

[web2py] Re: please help us test new web site

2010-10-10 Thread johntynan
Great work with the new web2py site! I like how well the top and right hand navigation is used and I was glad to discover some resources about web2py that I didn't realize were available. I have one question. Do you think the twitter link should direct people to the twitter search for web2py, as

[web2py] Re: error when registering on local GAE

2010-10-10 Thread Chuck Paulson
I am using web2py version 1.86.2 on Windows Vista and the error happened with both Internet Explorer and Google Chrome. Registration works fine when running web2py without GAE. However with local GAE I get the error given above. For some reason the line table_user[form.vars.id] = dict(registratio

[web2py] Re: Only 1 {{extend ...}} allowed in a view ?

2010-10-10 Thread mdipierro
Think of the layout hierarchy for each page as a tree. You can enter into any node of the tree. You can include down and extend up. Beacause each node has a single parent, each html file can only have on extend. On Oct 10, 5:04 am, Stef Mientki wrote: >  hello, > > I'm trying to make a visible vi

[web2py] result of LOAD do not accept global css/javascript

2010-10-10 Thread Tomas Pelka
Hello, need to affect result of LOAD by javascript and css. Tying to implement something like http://www.mattkruse.com/javascript/mktree/documentation.html. In view: {{if len(res)==0 and q_size==0:}} {{=nothing}} {{else:}} {{=LOAD('sniffer','getResults',ajax=True)}} {{pass}} getResults fro

[web2py] Re: result of LOAD do not accept global css/javascript

2010-10-10 Thread mdipierro
When you load content via ajax, the content should not contain an .. tag nor a ... tag. the style info are inherited by the parent page. Perhaps you want an iframe instead? On Oct 10, 10:19 am, Tomas Pelka wrote: > Hello, > > need to affect result of LOAD by javascript and css. Tying to implement

[web2py] Re: error when registering on local GAE

2010-10-10 Thread mdipierro
I this this bug is fixed in trunk. Can you try trunk? Massimo On Oct 10, 8:18 am, Chuck Paulson wrote: > I am using web2py version 1.86.2 on Windows Vista and the error > happened with both Internet Explorer and Google Chrome. > > Registration works fine when running web2py without GAE. However

Re: [web2py] Re: result of LOAD do not accept global css/javascript

2010-10-10 Thread Tomas Pelka
Hmm, well if the style is inherited from parent it should work instead. On 10/10/2010 05:56 PM, mdipierro wrote: When you load content via ajax, the content should not contain an .. tag nor a... tag. the style info are inherited by the parent page. Perhaps you want an iframe instead? On Oct

Re: [web2py] Re: nginx with bultin uwsgi module

2010-10-10 Thread Michele Alzetta
I'm not sure I understand what the advantage of wsgi would be, in any case if somebody finds it useful here is the part of my nginx.conf with which I run web2py with https access on a remote server; if somebody could post instructions on running web2py through wsgi on nginx I would like to test the

[web2py] Init script for Web2Py

2010-10-10 Thread Michele Alzetta
Hello, I wonder if someone has created a "normal" initscript for Web2Py. For the moment I manage with the following hack, but it is not elegant and I would prefer something that integrates better with the rest of the system. My hack: start.sh ( in web2py directory ): -

Re: [web2py] Re: nginx with bultin uwsgi module

2010-10-10 Thread Roberto De Ioris
> I'm not sure I understand what the advantage of wsgi would be, in any case > if somebody finds it useful here is the part of my nginx.conf with which I > run web2py with https access on a remote server; if somebody could post > instructions on running web2py through wsgi on nginx I would like to

Re: [web2py] Init script for Web2Py

2010-10-10 Thread Jonathan Lundell
On Oct 10, 2010, at 9:45 AM, Michele Alzetta wrote: > Hello, I wonder if someone has created a "normal" initscript for Web2Py. > > For the moment I manage with the following hack, but it is not elegant and I > would prefer something that integrates better with the rest of the system. You might w

Re: [web2py] Re: Only 1 {{extend ...}} allowed in a view ?

2010-10-10 Thread Stef Mientki
thanks Massimo, for the confirmation, cheers Stef On 10-10-2010 16:17, mdipierro wrote: > Think of the layout hierarchy for each page as a tree. You can enter > into any node of the tree. You can include down and extend up. > Beacause each node has a single parent, each html file can only have >

Re: [web2py] Re: please help us test new web site

2010-10-10 Thread Thadeus Burgess
I think the "w" is redundant in the logo. It just looks funny. What if the logo was just the user icon in the middle? -- Thadeus On Sun, Oct 10, 2010 at 8:04 AM, johntynan wrote: > Great work with the new web2py site!  I like how well the top and > right hand navigation is used and I was gl

Re: [web2py] Init script for Web2Py

2010-10-10 Thread Jonathan Lundell
On Oct 10, 2010, at 10:10 AM, Jonathan Lundell wrote: > I think that init scripts tend to be rather system-specific. There's a Red > Hat script in the scripts directory, and maybe some others. Speaking of the scripts directory, it looks to me like a cleanup is in order. Some of the scripts could

Re: [web2py] Re: please help us test new web site

2010-10-10 Thread rochacbruno
I did not understand your suggestion, what user icon? Are you saying to remove "web2py" leaving just the WP or removing the big W leaving just the P? I am working on new ideas for the logo, small changes. Enviado via iPhone Em 10/10/2010, às 14:21, Thadeus Burgess escreveu: > I think the "w"

Re: [web2py] Re: please help us test new web site

2010-10-10 Thread Thadeus Burgess
The circle-dagger in the middle of the logo. Remove the W and make it just an i. IE: A user icon, the circle representing a head and the dagger representing the user body. Remove the \ and / from the logo. -- Thadeus On Sun, Oct 10, 2010 at 1:24 PM, rochacbruno wrote: > I did not understand

[web2py] Re: please help us test new web site

2010-10-10 Thread weheh
Hi Bruno, good work all around. Thoughts about the logo: I like the way the logo worked in the past, where the icon part of the logo separates from the web2py part of the logo and works stand alone. I like your attempt to combine the W and the P. If you overlap the P on top of the right-most up-sla

[web2py] Re: please help us test new web site

2010-10-10 Thread mdipierro
I did not do anything. The other people mentioned did. On Oct 10, 2:07 am, Adi wrote: > Amazing work Massimo, Bruno and Martin! > > On Oct 10, 11:10 am, Albert Abril wrote: > > > I suggested Bruno and Martin another concept of logo. > > Here's my draft design (attached). > > > On Sun, Oct 10, 20

Re: [web2py] Re: please help us test new web site

2010-10-10 Thread Jonathan Lundell
On Oct 10, 2010, at 12:14 PM, weheh wrote: > > Hi Bruno, good work all around. Thoughts about the logo: I like the > way the logo worked in the past, where the icon part of the logo > separates from the web2py part of the logo and works stand alone. I > like your attempt to combine the W and the P

[web2py] Re: error when registering on local GAE

2010-10-10 Thread Chuck Paulson
I am trying the trun. It works fine for my app under web2py. However for the local GAE I get an error as soon as the browser goes to http// 127.0.0.1:8080. It may be some configuration issue, I just don't know. Here's the error traceback. Traceback (most recent call last): File "C:\webdev\google

[web2py] Re: please help us test new web site

2010-10-10 Thread weheh
Sorry ... sharing settings weren't set properly. https://docs.google.com/leaf?id=0BzPqKovYWlw-YTI5M2Q5NTAtMDk0MS00ZjgwLWFhZGItZTNmYmM3MzdiMjlh&hl=en On Oct 10, 3:29 pm, Jonathan Lundell wrote: > On Oct 10, 2010, at 12:14 PM, weheh wrote: > > > > > Hi Bruno, good work all around. Thoughts about t

[web2py] Re: please help us test new web site

2010-10-10 Thread Anthony
For what it's worth, I don't think we need a snake in the logo. At least, it can be difficult to get it right -- snake logos can easily end up looking either too fierce/scary or too childish/cartoonish. Most other Python frameworks and libraries don't have snake logos (not to mention that the langu

[web2py] Re: please help us test new web site

2010-10-10 Thread mdipierro
This was discussed long ago... Snakes are a nice reference to the Python community but are not appealing outside the community. They are not exactly perceived as friendly animals. On Oct 10, 3:19 pm, Anthony wrote: > For what it's worth, I don't think we need a snake in the logo. At > least, it

Re: [web2py] Re: please help us test new web site

2010-10-10 Thread Albert Abril
In case of a new logo. What are the guidelines you want to accomplish? On Sun, Oct 10, 2010 at 10:55 PM, mdipierro wrote: > This was discussed long ago... Snakes are a nice reference to the > Python community but are not appealing outside the community. They are > not exactly perceived as friend

[web2py] Re: please help us test new web site

2010-10-10 Thread ma...@rockiger.com
Totally digg the new website, looks good and more importan seems to be much better organized. Regarding the logo: use the old one - web2py has working hard to establish some kind of brand, why destroy that? Take care

[web2py] Re: please help us test new web site

2010-10-10 Thread Rowdy
mdipierro wrote: New web2py layout: http://web2py.com Thanks Bruno and Martin New demo_admin: http://web2py.com/demo_admin Massimo Looks good, clean, professional, consistent. Some comments: 1. The black icons for the links on the lower right (User Groups, Twitter ...) stand o

[web2py] Re: please help us test new web site

2010-10-10 Thread mdipierro
I was working on it live. Sorry. Fixed now. On Oct 10, 4:22 pm, Rowdy wrote: > mdipierro wrote: > > New web2py layout: > > >    http://web2py.com > > > Thanks Bruno and Martin > > > New demo_admin: > > >    http://web2py.com/demo_admin > > > Massimo > > Looks good, clean, professional, consistent

[web2py] Re: Init script for Web2Py

2010-10-10 Thread berubejd
I have created an updated script for Fedora/CentOS/RedHat and done testing on the OSs which I have available to me. (Not very exhaustive, however.) The script has both been forwarded to Massimo and posted on web2pyslices at: http://web2pyslices.com/main/slices/take_slice/98 I have used it a

[web2py] Re: Init script for Web2Py

2010-10-10 Thread mdipierro
posted in trunk as setup-web2py-fedora.sh thanks Massimo On Oct 10, 4:29 pm, berubejd wrote: > I have created an updated script for Fedora/CentOS/RedHat and done > testing on the OSs which I have available to me.  (Not very > exhaustive, however.)  The script has both been forwarded to Massimo >

Re: [web2py] Re: Init script for Web2Py

2010-10-10 Thread Jonathan Lundell
On Oct 10, 2010, at 2:29 PM, berubejd wrote: > > I have created an updated script for Fedora/CentOS/RedHat and done > testing on the OSs which I have available to me. (Not very > exhaustive, however.) The script has both been forwarded to Massimo > and posted on web2pyslices at: > > http://we

[web2py] plugin_wiki

2010-10-10 Thread christina
I just installed the plugin_wiki, but when I go to the "Pages" tab, I cannot really get anything to work. Following along with the book tutorial, I tried to make "home" page, but when I submit, I get a page that says "This page does not exist yet. Create this page". Clicking "Create this page" sen

[web2py] Re: plugin_wiki

2010-10-10 Thread mdipierro
Please email me personally your app. Something is missing in your app but I cannot tell what. massimo On Oct 10, 5:35 pm, christina wrote: > I just installed the plugin_wiki, but when I go to the "Pages" tab, I > cannot really get anything to work. Following along with the book > tutorial, I tri

[web2py] DateTime Widget

2010-10-10 Thread villas
For a Datetime field... On creating a record I wish to use a default date (say today) and choose only the time (selected from half hour intervals), e.g. 10:30, 14:00, 19:30 etc. On editing a record, I would maintain the date but simply allow the time to be edited. Can anyone make a suggesti

[web2py] Re: plugin_wiki

2010-10-10 Thread christina
Hi Massimo. Thanks for the quick reply. I fixed the problem! It started working when I added a "roles" field in my auth_group table. Christina On Oct 10, 5:59 pm, mdipierro wrote: > Please email me personally your app. Something is missing in your app > but I cannot tell what. > > massimo > >

[web2py] Re: plugin_wiki

2010-10-10 Thread mdipierro
Thanks for letting us know. Massimo On Oct 10, 7:02 pm, christina wrote: > Hi Massimo. > > Thanks for the quick reply. I fixed the problem! It started working > when I added a "roles" field in my auth_group table. > > Christina > > On Oct 10, 5:59 pm, mdipierro wrote: > > > Please email me pers

[web2py] Powered by web2py

2010-10-10 Thread Bruno Rocha
A student of one of my classes of web2py training in Brazil, research the web and made a list of websites powered by web2py. he separates in categories: Populars, Great Ones, Good ones and which keeps scaffold layout. I found good designed websites in that list. http://www.elizabethscanvas.org/

[web2py] Re: Powered by web2py

2010-10-10 Thread mdipierro
They are indeed well done. I did not know. How do you know ru.ly the last one is powered by web2py? It does not say. On Oct 10, 7:50 pm, Bruno Rocha wrote: > A student of one of my classes of web2py training in Brazil, research the > web and made a list of websites powered by web2py. > > he sep

[web2py] Re: Powered by web2py

2010-10-10 Thread mdipierro
can you post the entire list? Massimo On Oct 10, 7:50 pm, Bruno Rocha wrote: > A student of one of my classes of web2py training in Brazil, research the > web and made a list of websites powered by web2py. > > he separates in categories: Populars, Great Ones, Good ones and which keeps > scaffold

[web2py] How to edit the display of a database table

2010-10-10 Thread primitive
Hello all, I am wondering how to get a database table to display properly within my web2py app. Currently my tables are too wide and end up going off the side of the content area for the page. Is there a way I can limit the width of a table, or otherwise fix this issue? Thank you.

[web2py] Re: How to edit the display of a database table

2010-10-10 Thread mdipierro
Given rows=db(...).select() You have options like {{=SQLTABLE(rows,headers='fieldname:capitalize',fields=[..])}} and fields is a list of 'tablename.fieldname' If you download plugin wiki you can do {{=plugin_wiki.jqgrid(tablename)}} On Oct 10, 7:57 pm, primitive wrote: > Hello all, > > I am w

Re: [web2py] Re: Powered by web2py

2010-10-10 Thread Bruno Rocha
2010/10/10 mdipierro > They are indeed well done. I did not know. How do you know ru.ly the > last one is powered by web2py? It does not say. > > I did not, Rene did, > look at slide 69 http://www.slideshare.net/robinb123/gentle-app-engine-intro

[web2py] Form returns None for field after AJAX update

2010-10-10 Thread weheh
# model ... db.define_table('u',Field('name')) db.define_table('v',Field('name')) db.define_table('mytable',Field('x',u.id,requires=IS_IN_DB(db,'u.id')),Field('y',v.id,requires=IS_IN_DB(db,'v.id'))) # controller ... form=SQLFORM.factory(db.mytable) # ajax to update v when u is selected form.

[web2py] Did anybody notice oracle bought Sun?

2010-10-10 Thread mdipierro
This all happened in less than 2 months: http://blogs.computerworld.com/16741/oracle_dumps_opensolaris http://www.techeye.net/business/creator-of-zfs-to-leave-oracle http://openquery.com/blog/ken-jacobs-leaves-oracle http://www.theregister.co.uk/2010/10/07/mysql_veteran_leaves_sunoracle/ http://ww

[web2py] Re: Powered by web2py

2010-10-10 Thread mdipierro
Robin is one of the main authors of the port of DAL to GAE. On Oct 10, 9:25 pm, Bruno Rocha wrote: > 2010/10/10 mdipierro > > > They are indeed well done. I did not know. How do you know ru.ly the > > last one is powered by web2py? It does not say. > > > I did not, Rene did, > >  look at slide 6

[web2py] Re: Form returns None for field after AJAX update

2010-10-10 Thread mdipierro
too any ... to tell for sure. It could be a browser issue or perhaps the select name is missing. Can I check this online. It should be easy to figure it out with firebug. massimo On Oct 10, 9:25 pm, weheh wrote: > # model > ... > db.define_table('u',Field('name')) > db.define_table('v',Field('na

[web2py] Re: Form returns None for field after AJAX update

2010-10-10 Thread weheh
Thanks Massimo. Unfortunately, this is not online, yet. I have some more info, now. First, I seem to have fixed the problem with None being returned. Now, the correct value is being returned. However, the type is string and the field into which it is being stuffed is integer, since it is an id. I t

[web2py] Re: Powered by web2py

2010-10-10 Thread mdipierro
I think we have enough links that the web2py main index page could contain a slideshow of images of web2py powered sites On Oct 10, 7:50 pm, Bruno Rocha wrote: > A student of one of my classes of web2py training in Brazil, research the > web and made a list of websites powered by web2py. > > he s

[web2py] Re: Did anybody notice oracle bought Sun?

2010-10-10 Thread weheh
Yes, this happened awhile ago. I was planning on moving all my work over to PostgreSQL already, but the merger just made it even more compelling. On Oct 10, 10:38 pm, mdipierro wrote: > This all happened in less than 2 months: > > http://blogs.computerworld.com/16741/oracle_dumps_opensolarishttp:

[web2py] Re: How to edit the display of a database table

2010-10-10 Thread weheh
Have you tried controlling the table widths with css? On Oct 10, 8:57 pm, primitive wrote: > Hello all, > > I am wondering how to get a database table to display properly within > my web2py app. Currently my tables are too wide and end up going off > the side of the content area for the page. Is

Re: [web2py] Did anybody notice oracle bought Sun?

2010-10-10 Thread Jason Brower
This is what h0pens when closed buys open i guess. Guess this makes my databased options a bit easier. Does it even mantion you can use it for free? Br jason - Original message - > This all happened in less than 2 months: > > http://blogs.computerworld.com/16741/oracle_dumps_opensolaris

[web2py] Re: please help us test new web site

2010-10-10 Thread Richard
I like the Django and Symfony logos: http://upload.wikimedia.org/wikipedia/commons/7/75/Django_logo.svg http://upload.wikimedia.org/wikipedia/commons/b/bc/Symfony.gif Straightforward. Richard On Oct 11, 8:24 am, mdipierro wrote: > I was working on it live. Sorry. Fixed now. > > On Oct 10, 4:22

[web2py] Re: please help us test new web site

2010-10-10 Thread Richard
forgot to include my point - so how about remove the WP thing and just keep the stylish "web2py" text. On Oct 11, 2:16 pm, Richard wrote: > I like the Django and Symfony > logos:http://upload.wikimedia.org/wikipedia/commons/7/75/Django_logo.svghttp://upload.wikimedia.org/wikipedia/commons/b/bc/

[web2py] Slow streaming of several images

2010-10-10 Thread VP
I want to display several images (some type of gallery) at once. These images are quite small. Sometimes, it is very slow to load the page. This happens when I just open up the application or refresh the page (sometime) (using Ctr-R). I am unsure this is because: 1. I'm running in "prototype"

Re: [web2py] Re: Powered by web2py

2010-10-10 Thread Bruno Rocha
Can be done with this Jquery plugin - http://fredhq.com/projects/roundabout/ and thumbs with http://www.pageglimpse.com/ 2010/10/10 mdipierro > I think we have enough links that the web2py main index page could > contain a slideshow of images of web2py powered sites > > On Oct 10, 7:50 pm, Bruno

[web2py] Re: Init script for Web2Py

2010-10-10 Thread berubejd
I understand your concern. While updating it, I had given some thought to whether or not I should embed specific versions into the script. I opted to include them directly in the file so that, getting started, you would be using a "tested" set of support applications if the OS you were running re

[web2py] Re: Form returns str for field after AJAX update [open]

2010-10-10 Thread weheh
I have identified the problem. When I load the form from the controller and press submit without changing anything, the SELECT list value is interpreted as an integer. However, when I update the SELECT list from AJAX and then press submit, the selected SELECT list item is interpreted as a string.

[web2py] just downloaded latest nightly build

2010-10-10 Thread mart
It is kicking again At least for me, there is drastic performance improvements (locally, is where it was suffering). before the update, I was seriously thinking of running to the mac store and have them do something (dunno what, but something)! Things were unbearably slow, thought I may have ha

[web2py] Re: just downloaded latest nightly build

2010-10-10 Thread mdipierro
I have no idea what you are talking about. The nightly build is actually 1.86.3 which was recalled because had a problem saving in windows from admin. Other than that it should be same as 1.86.2. Massimo On Oct 11, 12:13 am, mart wrote: > It is kicking again At least for me, there is drastic

[web2py] Re: just downloaded latest nightly build

2010-10-10 Thread mdipierro
... on a second thought. there was try.. finally that makes sure session files are closed. Perhaps that was a problem for you. What os did you use? which Python interpreter? Massimo On Oct 11, 12:13 am, mart wrote: > It is kicking again At least for me, there is drastic performance > improve

[web2py] Re: please help us test new web site

2010-10-10 Thread lannick
What about a contest for a new logo ? Nice work Massimo. Regards, Lannick