[web2py:21610] Re: New to launchpad

2009-05-10 Thread Yarko Tymciurak
On Mon, May 11, 2009 at 12:35 AM, mdipierro wrote: > > I am not an expert either. > > - install bazaar (bzr) > - type > > bzr branch > http://launchpad.net/~mdipierro/web2py/devel I think this will work - in any case, to the source, see other's

[web2py:21609] web2py 1.62rc2 (RFC) (VIDEO)

2009-05-10 Thread mdipierro
Hi everybody I posted web2py 1.62rc2 http://www.web2py.com/examples/static/1.62rc2/web2py_src.zip http://www.web2py.com/examples/static/1.62rc2/web2py_win.zip http://www.web2py.com/examples/static/1.62rc2/web2py_osx.zip There are many new features including much better internationalization, w2p

[web2py:21608] Re: svn help

2009-05-10 Thread mdipierro
Thanks. I think the problem is fixed and everything that is bzr should also be in svn. Massimo On May 10, 12:38 am, mdipierro wrote: > That is true. I will do what Alvaro suggested. > > On May 10, 12:35 am, lesh wrote: > > > I may be mistaken, but it appears you may have manually deleted the >

[web2py:21607] Re: New to launchpad

2009-05-10 Thread mdipierro
I am not an expert either. - install bazaar (bzr) - type bzr branch http://launchpad.net/~mdipierro/web2py/devel Massimo On May 10, 7:52 pm, Steve Shepherd wrote: > @Massimo > > I realise you are moving to mecurial but... > I am interested in tryin out new 1.62 CLI feature... > I am also w

[web2py:21606] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread mdipierro
No because this would work for year but there is no way to make it work month() and day() or time differences. GAE just does not support the operations. There are reports that even soting by date/datetime does not work well. On May 10, 8:08 pm, Steve Shepherd wrote: > @Massimo > > Couldn't the G

[web2py:21605] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread Steve Shepherd
Sorry I didn't spot your T3 reference. I guess you spotted that on class init the style is loaded. I am sure you could change it with an editor but it would require a server restart. On Mon, May 11, 2009 at 3:33 PM, dlypka wrote: > > Oh, now I see that in db.py it reads styles.css into the dat

[web2py:21604] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread dlypka
Oh, now I see that in db.py it reads styles.css into the database: if not db(db.configuration.id>0).count(): db.configuration.insert( settings=open(os.path.join (request.folder,'private','settings.py'),'r').read(), models=open(os.path.join (request.folder,'private','models.py'),'r').re

[web2py:21603] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread dlypka
I do not see sfmenu.css anywhere in my T3 folder structure. And my T3 does not have any plugin_t2 folder. My T3 has a gluon folder, so I assume T2 is now part of gluon. Perhaps the Menu colors are hardcoded in one of the .py files within gluon?? On May 10, 10:31 pm, Steve Shepherd wrote: > If yo

[web2py:21602] Re: Tables (and more) with Google Visualization API (JS)

2009-05-10 Thread JohnMc
Hans, Here is a skeleton. I have one minor issue I will detail at the end. -- View: In Web2py_ajax.html add -- Static: Add -- demo.css jquerydataTables.min.js jpgs from the dataTables package Controller: def list(): # Setup environment import gluon.contrib.simplejson as sj js

[web2py:21601] Re: Tables (and more) with Google Visualization API (JS)

2009-05-10 Thread JohnMc
Hans, Here is a skeleton. I have one minor issue I will detail at the end. -- View: In Web2py_ajax.html add -- Static: Add -- demo.css jquerydataTables.min.js jpgs from the dataTables package Controller: def list(): # Setup environment import gluon.contrib.simplejson as sj js

[web2py:21600] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread Steve Shepherd
If your looking for some guideance on Css. The following files contain css that T2 uses. '/plugin_t2/static/t2/styles/style.css', '/plugin_t2/static/t2/styles/calendar.css', '/plugin_t2/static/t2/styles/sfmenu.css', '/plugin_t2/static/t2/styles/rating.css',

[web2py:21599] Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread dlypka
In T3, I tried changing the colors in all the relevant menu classes in styles.css but to no avail. The dropdown Menus remain green background and white text. The only color I was able to change was the background of the overall Menu panel (which spans 100% of the page) and for that I had to elimi

[web2py:21598] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread Steve Shepherd
@Massimo Couldn't the GAE class be overloaded with another datetime class that does include the code to translate the normal method call i.e. db(db.mydatefield.year()==1999).select() So the added on class includes a new method for year() but runs code that translates the 1999 into the code that y

[web2py:21597] New to launchpad

2009-05-10 Thread Steve Shepherd
@Massimo I realise you are moving to mecurial but... I am interested in tryin out new 1.62 CLI feature... I am also want to start using wingide and they say that you need the source code for web2py to get it working properly. Can you briefly outline where I go to download the 1.62 source? PS I am

[web2py:21596] Re: Permission to all tables

2009-05-10 Thread mdipierro
for table in db.tables: auth.add_permission(group_id,'read',db[table]) On May 10, 4:47 pm, Tito Garrido wrote: > Is there a way to grant ALL permissions to ALL tables at once using auth. > add_permission? > > Thanks! > > Tito > > -- > Linux User #387870 > . > _/_õ|__| > ..º[ .-

[web2py:21594] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread mdipierro
I guess that statement must be rectified. On GAE you can use date and datetime with web2py as you normally do db.define_table('person',SQLField('birthday','date')) form=SQLFORM(db.person) but you cannot build queries that extract parameters from date/ datetime. For example you cannot do db(d

[web2py:21595] Re: Tables (and more) with Google Visualization API (JS)

2009-05-10 Thread mdipierro
I may have to do this for a project of mine. When I do I will post an example. Probably at the end of next week. Massimo On May 10, 1:51 pm, Hans wrote: > I'd love to get dataTable/JEditable included and working on a web2py > app, especially since it should be easy. Unfortunately I dont know ho

[web2py:21593] Re: URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread mdipierro
This /data/tables -> /(?P\w+) will not match because \w does not match /. you can do ('/$c/(?P.*)', '/fubar/$c/$f'), instead and it will. On May 10, 11:30 am, Guido Kollerie wrote: > On 10-mei-2009, at 17:24, mdipierro wrote: > > > No because > > >              ('/$c/$f', '

[web2py:21592] Permission to all tables

2009-05-10 Thread Tito Garrido
Is there a way to grant ALL permissions to ALL tables at once using auth. add_permission? Thanks! Tito -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:___ --~--~-~--~~~---~--~~ You received this message because you a

[web2py:21591] Re: Tables (and more) with Google Visualization API (JS)

2009-05-10 Thread Hans
I'd love to get dataTable/JEditable included and working on a web2py app, especially since it should be easy. Unfortunately I dont know how/ where to start. It would be great if someone of the experts could explain what steps are required! On 9 Mai, 21:03, mdipierro wrote: > I have used dataTabl

[web2py:21590] Re: Newbie debugger issues with IDLE and web2py.py

2009-05-10 Thread Yarko Tymciurak
I like wing too.. You might also search the archives; some people have used winpdb (portable python debugger) with success... As you said, good to get familiar with the tools out there... On Sun, May 10, 2009 at 1:42 PM, Hans < johann.scheibelho...@easytouch-edv.com> wrote: > > Wing really roc

[web2py:21589] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread Alexey Nezhdanov
Hmm. That's interesing. I didn't try actually, just read documentation about that. So it is my misinterpretation. But what does this mean then? ...but on GAE you WILL NOT BE ABLE to: ...manipulate date, time, datetime... (cited from http://www.web2py.com/AlterEgo/default/show/138) May be it wor

[web2py:21588] Re: Newbie debugger issues with IDLE and web2py.py

2009-05-10 Thread Hans
Wing really rocks! And if you are a open source developer you can get a free license. On 9 Mai, 22:32, dlypka wrote: > Yes, I intend to purchase Wing, however I still wish to gain some > experience with the core debuggers. > > On May 9, 2:53 pm, Yarko Tymciurak wrote: > > > You could try an eva

[web2py:21587] Re: psycopg2-2.0.10 install linux ,help me

2009-05-10 Thread Marek Wywiał
On 26 Kwi, 18:16, Michal Jursa wrote: > Please report this to psycopg developers. I think there are mostly only > psycopg users like me here and this has nothing to do with web2py. > > Michal > > wengfei2...@163.com wrote: > > I use python2.5 ,but the problem  exists then > > > [r...@localhost

[web2py:21586] Re: Tables (and more) with Google Visualization API (JS)

2009-05-10 Thread Álvaro Justen [Turicas]
On Fri, May 8, 2009 at 9:46 AM, mdipierro wrote: > http://www.ajaxline.com/10-best-jquery-plugins-for-working-with-tables > > On May 8, 4:08 am, Álvaro Justen [Turicas] > wrote: >> Click on table headers to orderby and in a row to select it >> (client-side):http://google-visualization.appspot.c

[web2py:21585] Re: URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread Guido Kollerie
On 10-mei-2009, at 17:24, mdipierro wrote: > No because > > ('/$c/$f', '/fubar/$c/$f'), > > reads > > ('/(?P\w+)/((?P\w+)', '/fubar/\g/\g'), Pardon my ignorance, but why can't this rewrite rule match with: /default/data/tables? The way I read it: /default ->

[web2py:21584] Re: new scaffolding app?

2009-05-10 Thread mdipierro
If they do not create a view, the [session][request][response] are there. If people want to improve the layout please send me a revised version. It is important that the css and html remain readable. It would be great to add some comments too. I may do that. Massimo On May 10, 2:43 am, Yarko

[web2py:21583] Re: URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread mdipierro
that would be correct but in general the form of routes_in is more complex than the reverse of routes_out. Massimo On May 10, 11:09 am, Álvaro Justen [Turicas] wrote: > On Sun, May 10, 2009 at 12:24 PM, mdipierro wrote: > > No because > > >              ('/$c/$f', '/fubar/$c/$f'), > > > reads

[web2py:21582] Re: URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread Álvaro Justen [Turicas]
On Sun, May 10, 2009 at 12:24 PM, mdipierro wrote: > No because > >              ('/$c/$f', '/fubar/$c/$f'), > > reads > >              ('/(?P\w+)/((?P\w+)', '/fubar/\g/\g'), > > Do not do > >> routes_out = [(x, y) for (y, x) in routes_in] I don't understand this. With this code, routes_out = (

[web2py:21580] Re: Is there a standart way to find out what language are you using?

2009-05-10 Thread mdipierro
T.accepted_language On May 10, 4:08 am, guruyaya wrote: > I'd like to know if there's a function that returns the current > language in use. I cannot read this from the headers, as it could be > that the user language is being forced. The process of analyzing the > language from the accepted lan

[web2py:21581] Re: Is there a standart way to find out what language are you using?

2009-05-10 Thread Álvaro Justen [Turicas]
On Sun, May 10, 2009 at 6:08 AM, guruyaya wrote: > I'd like to know if there's a function that returns the current > language in use. I cannot read this from the headers, as it could be > that the user language is being forced. The process of analyzing the > language from the accepted language is

[web2py:21579] Re: Issue: images don't update when changed.

2009-05-10 Thread mdipierro
Yes there is a solution but let me think about it Massimo On May 10, 6:49 am, Jason Brower wrote: > I have the user change their avatar in the user/register page to edit > there profile.  Two problems I see here, one, I don't have the previous > image, but rumor has it there is a solution.

[web2py:21578] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread mdipierro
I do not understand. GAE has support for date/datetime. On May 10, 9:24 am, Alexey Nezhdanov wrote: > Hello. > I've started using web2py recently for writing a GAE-enabled site. > As you know, BigTable does not have support for date/datetime fields > so I decided just to use 'integer' and store

[web2py:21577] Re: URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread mdipierro
No because ('/$c/$f', '/fubar/$c/$f'), reads ('/(?P\w+)/((?P\w+)', '/fubar/\g/\g'), Do not do > routes_out = [(x, y) for (y, x) in routes_in] On May 10, 8:00 am, Guido Kollerie wrote: > I have come across two issues in web2py 1.61.4 that I think are bugs. > > UR

[web2py:21576] Re: Auth works on local host, doesn't work on remote server

2009-05-10 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 4:15 PM, Álvaro Justen [Turicas] wrote: > On Sun, Apr 26, 2009 at 3:50 PM, Alexei Vinidiktov > wrote: >> Both on the local and remote server the user who's being registered >> gets an email with a broken link like this: >> >> """ >> Click on the link >> http://...verify_e

[web2py:21575] Can I create an 'assotiated' input field?

2009-05-10 Thread Alexey Nezhdanov
Hello. I've started using web2py recently for writing a GAE-enabled site. As you know, BigTable does not have support for date/datetime fields so I decided just to use 'integer' and store time.time() there. But there is a problem with SQLFORM: I do not want user to see the actual seconds since 1.0

[web2py:21574] Re: Can't create views for auth pages..

2009-05-10 Thread Kuba Kucharski
Since user is a function that takes arguments.. :) -- Kuba --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe f

[web2py:21573] Re: Can't create views for auth pages..

2009-05-10 Thread Kuba Kucharski
You should create default/user.html and there something like that: {{extend 'layout.html'}} {{=request.args[0].replace('_',' ').capitalize()}} {{=form}} {{if request.args[0]=='login':}} register lost password {{pass}} -- Kuba --~--~-~--~~~---~--~~ You received

[web2py:21572] Why don't we include the tutorial collection in the web2py package?

2009-05-10 Thread Jason Brower
It would be nice to have links to common tasks or perhaps the cookbook tutorial docs in the web2py package. With nice links to that information. Perhaps something similar? Regards, Jason Brower --~--~-~--~~~---~--~~ You received this message because you are sub

[web2py:21571] Can't create views for auth pages..

2009-05-10 Thread Jason Brower
Auth is working... But I can't create views. I made a file in my controller called default.py that has auth declared and running there. When I try to create a file like default/user/profile.html it doesn't seem to work. Simply ignored. Am I doing something wrong? It would be nice if these instruc

[web2py:21570] URL() does not honor routes.py AND /$c/$f syntax doesn't work

2009-05-10 Thread Guido Kollerie
I have come across two issues in web2py 1.61.4 that I think are bugs. URL() does not honor routes.py == Using web2py 1.61.4: - create new application 'fubar' - in db.py uncomment mail, auth and crud settings except for 'crud.settings.auth=auth' -

[web2py:21569] Re: Too many value to unpack

2009-05-10 Thread Keith
Hi Massimo: That's right, the validators were causing the problem. (I kept experimenting after sending the email, but didn't update to the list because my original email didn't appear until this morning.) The validator, created via the interactive model tool, was passing all the field names from

[web2py:21568] Issue: images don't update when changed.

2009-05-10 Thread Jason Brower
I have the user change their avatar in the user/register page to edit there profile. Two problems I see here, one, I don't have the previous image, but rumor has it there is a solution. And two, when I upload the image the user has to log out and back in for the image to change. Ideas? Regards,

[web2py:21567] Is there a standart way to find out what language are you using?

2009-05-10 Thread guruyaya
I'd like to know if there's a function that returns the current language in use. I cannot read this from the headers, as it could be that the user language is being forced. The process of analyzing the language from the accepted language is problematic, as it can change in the course of time. Well

[web2py:21566] Re: new scaffolding app?

2009-05-10 Thread Yarko Tymciurak
BTW - I like the direction this is going; I would add a DEVELOPMENT variable to wrap the direct edit menu items to, and I'd also (while you're at it) have the request/reqponse things at the bottom... ;-) On Sun, May 10, 2009 at 2:37 AM, Yarko Tymciurak wrote: > There's beauty, and there's funct

[web2py:21565] Re: new scaffolding app?

2009-05-10 Thread Yarko Tymciurak
There's beauty, and there's function; I think the menus are too easy to loose the mouse on, not enough overlap for a "faster" moving pointer... I lost submenu 3 / 10 times, and had to restart. By comparison, Eric Meyer's side menus - with _directly_ to one side (left, right, about, below; I don't

[web2py:21564] Re: new scaffolding app?

2009-05-10 Thread Álvaro Justen [Turicas]
response.subtitle = 'customize me!' would be: response.subtitle = T('customize me!') :-) Text of response.flash is not vertical-centered in Firefox 3.0.6 on GNU/Linux. -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---

[web2py:21563] Re: new scaffolding app?

2009-05-10 Thread Álvaro Justen [Turicas]
On Sun, May 10, 2009 at 4:10 AM, mdipierro wrote: > Is this a better or worse scaffolding app? > > http://www.web2py.com/examples/static/web2py.app.welcome2.tar > > Pros? Cons? Cool. But we need to beautify welcome2's CSS. :-) Some questions: - Do we want a 'stripped' (welcome) or a more featu

[web2py:21562] new scaffolding app?

2009-05-10 Thread mdipierro
Is this a better or worse scaffolding app? http://www.web2py.com/examples/static/web2py.app.welcome2.tar Pros? Cons? Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to