[web2py] Re: PostgreSQL super slowdowns
Don't know for sure, as I haven't seen it as much recently. Perhaps it goes away with frequent usage, but I don't have any good explanations. On Oct 30, 4:45 am, Thadeus Burgess thade...@thadeusb.com wrote: I guess its a problem with a postgresql setting, or old drivers maybe? -- Thadeus On Sat, Oct 30, 2010 at 12:45 AM, Chris partyonais...@gmail.com wrote: I was just trying the home page...some selects are run on every page but as far as I know that's it. The machine's got plenty of memory and this is a very basic application with probably less than 1MB data total. On Oct 29, 7:59 am, Johann Spies johann.sp...@gmail.com wrote: On 29 October 2010 08:53, Chris partyonais...@gmail.com wrote: Hey, I've noticed some serious slowdowns ever since I switched from SQLite to Postgres. Pages will take MINUTES to load - it's kind of fascinating. I have been using both SQLITE and Postgresql (sometimes with the same content) and did not notice a slowdown. Some of my datasets are quite large (a dump of a present project's database is about 3G) and I don't experience any problem on Postgresql. What exactly were you doing when you noticed this? Inserts? Queries? CSV-downloads? How much data? How much ram available? Regards Johann -- May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord! His divine power has given us everything we need for life and godliness through the full knowledge of the one who called us by his own glory and excellence. 2 Pet. 1:2b,3a
[web2py] Return as unicode instead of str
Some of the data I return from web2py is unicode. By default, the text that is return is converted to str: Table d'h\u00f4te As you can see, the unicode has been escaped. This happens because simplejson.dumps always returns str. To solve this, I had to do this: import gluon.contrib.simplejson as simplejson return unicode(simplejson.dumps(make_result_list(msg_out, rows, success)), 'unicode-escape') Table d'hôte I attempted to put my code into serializers.py (the json() method), but webpy would fail to start up for some reason that I don't have the time to investigate further. This isn't an error, because the behaviour of simplejson.dumps is documented, but it was certainly a gotcha in the sense that it took me a few hours to figure out what was happening.
[web2py] Re: TextWidget maximum
Thank you guys, it worked! Don't you know the similar problem: I store an object serialized with pickle into a text field in database. Everything is fine except when I want to copy serialized object (text) from one web2py instance and paste into another. When python tries to materialize the object it says that object security in broken. Sergey On 29 окт, 00:05, howesc how...@umich.edu wrote: try adding an IS_LENGTH() validator to the field and set the max length high enough. i don't know for sure, but it sounds like there is a default max length for text widgets (unless you already have a validator that is limiting the size) On Oct 28, 7:11 am, SergeyPo ser...@zarealye.com wrote: I need to paste large texts into a db table field using appadmin. Table field is defined as 'text' and in MySQL is mapped to 'longtext'. Longtext capacity is 4GB or so... I need to paste approx. 1 Mb of text into the field. When I do it in web2py appadmin I get an error enter from 0 to 65536 characters. I believe this is produced by a widget? How is it possible to disable this limit?
[web2py] Re: Return as unicode instead of str
On Nov 1, 11:45 am, cjrh caleb.hatti...@gmail.com wrote: Some of the data I return from web2py is unicode. Apologies, I meant to specify: using response.json()
Re: [web2py] Re: web2py 1.88.1 is OUT
I'm going to start an w2p-app, called app by an example or testing app. The idea is to have in one app some code for testing pourpose, that make for example insert,select,delete like the code in the bottom of sql.py. What do you think?. 2010/10/30 rochacbruno rochacbr...@gmail.com At my company we started to use this http://www.reviewboard.org/ Integrated with hg I suggest to start using this integrated with the main web2py repository. Enviado via iPhone Em 30/10/2010, às 21:33, mart msenecal...@gmail.com escreveu: BTW - have you seen Mondrian? - is built on Perforce. http://video.google.com/videoplay?docid=-8502904076440714866# Mart On Oct 30, 7:24 pm, mart msenecal...@gmail.com wrote: Hey, Would it make sense not to pull the apps that get built against #head revision (unless the goal is to test the apps themselves) and preferably just pull the code line it self @ #head revision? (follow up on this in next paragraph) And also, I don't know where things stand wrt bug tracking, but an important consideration are the bug fixes (does this build contain the fix for Bug X?). Typically when bugs get resolved/closed, they get verified on a clean slate, then once validated blessed (or rejected), the fix can be made public. I think the process is pretty close to what Thadeus mentioned, but would add the integration to bug tracking (this data is usually made part of the release notes specifically instead of a description typed in @ commit time). if the desire is automation (smoke tests) that I would store the raw data of the generic app in some dedicated tables, then re-populate the all-encompassing app with current data. By always grabbing latest_row, you keep the previous data for the previous build/release intact and in the correct place (so you don't need to change the test process from release to release, and you have the the build process insert a new set of records @ build time referencing the current build. With this, you also have reproducibility if needed. Last point, and I know I am persistently annoying with this, but mercurial, IMHO, sucks, sucks a lot. Personally I would use nothing less then the best out there, Perforce, specially if considering automated testing (again IMHO, but at least a fairly well supported statement :)). web2py is Open source, Perforce does give additional user licenses to open source projects (I'm sure Massimo would only need to make the request (which is online @ perforce .com btw). I mention that here because, good testing processes should be well integrated to source control. and for the web2py user, offering time for testing, a local instance of the perforce server can be installed, absolutely free of charge (with a max of 2 user licenses per server - more than enough for remote workers who can very easily keep in sync with the main web2py server (I work from home (Quebec, Canada), work for an American based company (HQ in Sunnyvale) - and that is how I do my work, with my local p4D. works like a charm). Anyways, enough of that, just thought I'd find another reason to slide that in ;) regards, Mart :) On Oct 30, 2:58 pm, Luther Goh Lu Feng elf...@yahoo.com wrote: It is reasonable to suggest a universal test app that will assist in the quality assurance of web2py. But I wonder if this will always have 100% test coverage, given that bugs may appear even when writing test cases. This is still a good idea compared to not having a test suite. However, I think I would have a greater sense of security if I am able to test the apps I have written against the nightly/trunk build. On Oct 31, 1:46 am, Thadeus Burgess thade...@thadeusb.com wrote: Where should the list of apps come from? I think this is the biggest question. -- Thadeus On Sat, Oct 30, 2010 at 12:46 PM, Thadeus Burgess thade...@thadeusb.comwrote: Someone writes a script to automate the process. Have a list of apps that we want to be sure are tested and working. The script will download web2py testing, copy the apps to the downloaded version, fire a process fork to start that web2py, use urllib or httplib to navigate to each of the apps pages to verify that things are working. If a response code of 500 is ever received then go get the error ticket and store it somewhere central including which app it came from. -- Thadeus On Sat, Oct 30, 2010 at 9:25 AM, Luther Goh Lu Feng elf...@yahoo.comwrote: On Oct 30, 7:05 am, mdipierro mdipie...@cs.depaul.edu wrote: Normally it goes to the nightly build, perhaps not exactly the latest but something very close. The bug in question has been there for about one week. The problem is that nobody tests the nightly build. Massimo I would love to have a way to test non stable builds easily with my existing apps. How does one do so besides downloading the trunk/ nightly build,
[web2py] GAE orderby multiple fields
Is it possible to order by multiple fields on GAE? I tried this (both title and subtitle are strings): pages = db().select(db.page.ALL,orderby=db.page.title| db.page.subtitle) But apparently the results are ordered by the title field only. Looking into the index.yaml, there is NO composite index for those 2 fields generated. Thank you.
[web2py] Re: TextWidget maximum
Hi Sergey, hard to tell without more details. On Nov 1, 6:10 am, SergeyPo ser...@zarealye.com wrote: Thank you guys, it worked! Don't you know the similar problem: I store an object serialized with pickle into a text field in database. Everything is fine except when I want to copy serialized object (text) from one web2py instance and paste into another. When python tries to materialize the object it says that object security in broken. Sergey On 29 ÏËÔ, 00:05, howesc how...@umich.edu wrote: try adding an IS_LENGTH() validator to the field and set the max length high enough. ši don't know for sure, but it sounds like there is a default max length for text widgets (unless you already have a validator that is limiting the size) On Oct 28, 7:11šam, SergeyPo ser...@zarealye.com wrote: I need to paste large texts into a db table field using appadmin. Table field is defined as 'text' and in MySQL is mapped to 'longtext'. Longtext capacity is 4GB or so... I need to paste approx. 1 Mb of text into the field. When I do it in web2py appadmin I get an error enter from 0 to 65536 characters. I believe this is produced by a widget? How is it possible to disable this limit?
[web2py] rallying developers who are combining Web2py and the Pyjamas compiler
hi all, I've set-up a group on LinkedIn to publicize that developers are combining Web2py with the Pyjamas compiler*. If you are using both, please consider joining Web2Pyjamas at linkedin.com/groups?gid=3634078 This can, I hope, act as a beacon for developers who have found one side of the equation and are looking for the other. * Pyjamas (pyjs.org) compiles Python code into JavaScript and can be easily communicate back and forth to Web2Py server code using jsonrpc. A short example app can get one started: web2py.com/book/default/ chapter/09 If we can prove a large enough groundswell of use we could then consider a Google Groups discussion group. C
Re: [web2py] rallying developers who are combining Web2py and the Pyjamas compiler
On 01-11-2010 13:38, Carl wrote: hi all, I've set-up a group on LinkedIn to publicize that developers are combining Web2py with the Pyjamas compiler*. If you are using both, please consider joining Web2Pyjamas at linkedin.com/groups?gid=3634078 good idea ! but why again another group ? The traffic on both PyJamas and Web2Py isn't that high, couldn't we just use one of these (maybe by using a special tag). This can, I hope, act as a beacon for developers who have found one side of the equation and are looking for the other. * Pyjamas (pyjs.org) compiles Python code into JavaScript and can be easily communicate back and forth to Web2Py server code using jsonrpc. A short example app can get one started: web2py.com/book/default/ chapter/09 another demo http://www.student.tue.nl/W/r.mientki/web2py_cc_pyjamas_css.html (1200*800, 16 MB, 5 minutes) If we can prove a large enough groundswell of use we could then consider a Google Groups discussion group. C my 2 cents, Stef Mientki
[web2py] Re: web2py 1.88.1 is OUT
I think this is a good idea. On Nov 1, 7:24 am, Martín Mulone mulone.mar...@gmail.com wrote: I'm going to start an w2p-app, called app by an example or testing app. The idea is to have in one app some code for testing pourpose, that make for example insert,select,delete like the code in the bottom of sql.py. What do you think?. 2010/10/30 rochacbruno rochacbr...@gmail.com At my company we started to use this http://www.reviewboard.org/ Integrated with hg I suggest to start using this integrated with the main web2py repository. Enviado via iPhone Em 30/10/2010, às 21:33, mart msenecal...@gmail.com escreveu: BTW - have you seen Mondrian? - is built on Perforce. http://video.google.com/videoplay?docid=-8502904076440714866# Mart On Oct 30, 7:24 pm, mart msenecal...@gmail.com wrote: Hey, Would it make sense not to pull the apps that get built against #head revision (unless the goal is to test the apps themselves) and preferably just pull the code line it self @ #head revision? (follow up on this in next paragraph) And also, I don't know where things stand wrt bug tracking, but an important consideration are the bug fixes (does this build contain the fix for Bug X?). Typically when bugs get resolved/closed, they get verified on a clean slate, then once validated blessed (or rejected), the fix can be made public. I think the process is pretty close to what Thadeus mentioned, but would add the integration to bug tracking (this data is usually made part of the release notes specifically instead of a description typed in @ commit time). if the desire is automation (smoke tests) that I would store the raw data of the generic app in some dedicated tables, then re-populate the all-encompassing app with current data. By always grabbing latest_row, you keep the previous data for the previous build/release intact and in the correct place (so you don't need to change the test process from release to release, and you have the the build process insert a new set of records @ build time referencing the current build. With this, you also have reproducibility if needed. Last point, and I know I am persistently annoying with this, but mercurial, IMHO, sucks, sucks a lot. Personally I would use nothing less then the best out there, Perforce, specially if considering automated testing (again IMHO, but at least a fairly well supported statement :)). web2py is Open source, Perforce does give additional user licenses to open source projects (I'm sure Massimo would only need to make the request (which is online @ perforce .com btw). I mention that here because, good testing processes should be well integrated to source control. and for the web2py user, offering time for testing, a local instance of the perforce server can be installed, absolutely free of charge (with a max of 2 user licenses per server - more than enough for remote workers who can very easily keep in sync with the main web2py server (I work from home (Quebec, Canada), work for an American based company (HQ in Sunnyvale) - and that is how I do my work, with my local p4D. works like a charm). Anyways, enough of that, just thought I'd find another reason to slide that in ;) regards, Mart :) On Oct 30, 2:58 pm, Luther Goh Lu Feng elf...@yahoo.com wrote: It is reasonable to suggest a universal test app that will assist in the quality assurance of web2py. But I wonder if this will always have 100% test coverage, given that bugs may appear even when writing test cases. This is still a good idea compared to not having a test suite. However, I think I would have a greater sense of security if I am able to test the apps I have written against the nightly/trunk build. On Oct 31, 1:46 am, Thadeus Burgess thade...@thadeusb.com wrote: Where should the list of apps come from? I think this is the biggest question. -- Thadeus On Sat, Oct 30, 2010 at 12:46 PM, Thadeus Burgess thade...@thadeusb.comwrote: Someone writes a script to automate the process. Have a list of apps that we want to be sure are tested and working. The script will download web2py testing, copy the apps to the downloaded version, fire a process fork to start that web2py, use urllib or httplib to navigate to each of the apps pages to verify that things are working. If a response code of 500 is ever received then go get the error ticket and store it somewhere central including which app it came from. -- Thadeus On Sat, Oct 30, 2010 at 9:25 AM, Luther Goh Lu Feng elf...@yahoo.comwrote: On Oct 30, 7:05 am, mdipierro mdipie...@cs.depaul.edu wrote: Normally it goes to the nightly build, perhaps not exactly the latest but something very close. The bug in question has been there for about one week. The problem is that nobody tests the nightly build.
[web2py] Re: GAE orderby multiple fields
This is the code in web2py/gluon/contrib/gql.py if orderby: if isinstance(orderby, (list, tuple)): orderby = gluon.sql.xorify(orderby) assert_filter_fields(orderby) if orderby.type == 'id': orders = ['__key__'] else: orders = orderby.name.split('|') for order in orders: items = items.order(order) I think web2py handles it correctly. Either there is a problem on the gae side or the indices have not been created. On Nov 1, 7:04 am, MicLee lmlll...@gmail.com wrote: Is it possible to order by multiple fields on GAE? I tried this (both title and subtitle are strings): pages = db().select(db.page.ALL,orderby=db.page.title| db.page.subtitle) But apparently the results are ordered by the title field only. Looking into the index.yaml, there is NO composite index for those 2 fields generated. Thank you.
[web2py] I may have missed some posts....
If there is any open that I missed please ping me.
Re: [web2py] new admin layout
Love it. Better than older, IMHO. On Mon, Nov 1, 2010 at 6:56 PM, mdipierro mdipie...@cs.depaul.edu wrote: There is a new admin layout/style in trunk. I think it looks more professional. Feedback... not sure we need another contest (although we could). For now I am interested in knowing whether you think this is better or worse. Massimo
Re: [web2py] new admin layout
Just say that in changeset: 1108:9d9d4de746af there's no ... img src=/admin/static/gae.pnghttp://127.0.0.1:8000/admin/static/gae.png ..then the img link is broken. The rest seems OK. On Mon, Nov 1, 2010 at 7:11 PM, Albert Abril albert.ab...@gmail.com wrote: Love it. Better than older, IMHO. On Mon, Nov 1, 2010 at 6:56 PM, mdipierro mdipie...@cs.depaul.edu wrote: There is a new admin layout/style in trunk. I think it looks more professional. Feedback... not sure we need another contest (although we could). For now I am interested in knowing whether you think this is better or worse. Massimo
Re: [web2py] I may have missed some posts....
On Mon, Nov 1, 2010 at 6:57 PM, mdipierro mdipie...@cs.depaul.edu wrote: If there is any open that I missed please ping me. Ping! http://groups.google.com/group/web2py/browse_thread/thread/af6bbc7f92ed5ce2# -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
Re: [web2py] new admin layout
Yes, looking great, a way better than the old one!. +1 2010/11/1 Albert Abril albert.ab...@gmail.com Just say that in changeset: 1108:9d9d4de746af there's no ... img src=/admin/static/gae.pnghttp://127.0.0.1:8000/admin/static/gae.png ..then the img link is broken. The rest seems OK. On Mon, Nov 1, 2010 at 7:11 PM, Albert Abril albert.ab...@gmail.comwrote: Love it. Better than older, IMHO. On Mon, Nov 1, 2010 at 6:56 PM, mdipierro mdipie...@cs.depaul.eduwrote: There is a new admin layout/style in trunk. I think it looks more professional. Feedback... not sure we need another contest (although we could). For now I am interested in knowing whether you think this is better or worse. Massimo -- My blog: http://martin.tecnodoc.com.ar My portfolio *spanish*: http://www.tecnodoc.com.ar Checkout my last proyect instant-press: http://www.instant2press.com
Re: [web2py] new admin layout
Maybe it's just me, and I'm definitely speaking for myself, but the new orange is difficult to read. I'd prefer a darker shade or a darker color. On Mon, Nov 1, 2010 at 7:16 PM, Albert Abril albert.ab...@gmail.com wrote: Just say that in changeset: 1108:9d9d4de746af there's no ... img src=/admin/static/gae.png ..then the img link is broken. The rest seems OK. On Mon, Nov 1, 2010 at 7:11 PM, Albert Abril albert.ab...@gmail.com wrote: Love it. Better than older, IMHO. On Mon, Nov 1, 2010 at 6:56 PM, mdipierro mdipie...@cs.depaul.edu wrote: There is a new admin layout/style in trunk. I think it looks more professional. Feedback... not sure we need another contest (although we could). For now I am interested in knowing whether you think this is better or worse. Massimo -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
[web2py] Re: new admin layout
I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} #302D25 is the color of the top bar Jose
Re: [web2py] Re: new admin layout
On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
Re: [web2py] Re: web2py 1.88.1 is OUT
On Nov 1, 2010, at 10:52 AM, mdipierro wrote: I think this is a good idea. Me too. I rather expect, though, that it will be necessary, and perhaps desirable regardless, for this to be a suite of applications rather than a single app. On Nov 1, 7:24 am, Martín Mulone mulone.mar...@gmail.com wrote: I'm going to start an w2p-app, called app by an example or testing app. The idea is to have in one app some code for testing pourpose, that make for example insert,select,delete like the code in the bottom of sql.py. What do you think?. 2010/10/30 rochacbruno rochacbr...@gmail.com At my company we started to use this http://www.reviewboard.org/ Integrated with hg I suggest to start using this integrated with the main web2py repository. Enviado via iPhone Em 30/10/2010, às 21:33, mart msenecal...@gmail.com escreveu: BTW - have you seen Mondrian? - is built on Perforce. http://video.google.com/videoplay?docid=-8502904076440714866# Mart On Oct 30, 7:24 pm, mart msenecal...@gmail.com wrote: Hey, Would it make sense not to pull the apps that get built against #head revision (unless the goal is to test the apps themselves) and preferably just pull the code line it self @ #head revision? (follow up on this in next paragraph) And also, I don't know where things stand wrt bug tracking, but an important consideration are the bug fixes (does this build contain the fix for Bug X?). Typically when bugs get resolved/closed, they get verified on a clean slate, then once validated blessed (or rejected), the fix can be made public. I think the process is pretty close to what Thadeus mentioned, but would add the integration to bug tracking (this data is usually made part of the release notes specifically instead of a description typed in @ commit time). if the desire is automation (smoke tests) that I would store the raw data of the generic app in some dedicated tables, then re-populate the all-encompassing app with current data. By always grabbing latest_row, you keep the previous data for the previous build/release intact and in the correct place (so you don't need to change the test process from release to release, and you have the the build process insert a new set of records @ build time referencing the current build. With this, you also have reproducibility if needed. Last point, and I know I am persistently annoying with this, but mercurial, IMHO, sucks, sucks a lot. Personally I would use nothing less then the best out there, Perforce, specially if considering automated testing (again IMHO, but at least a fairly well supported statement :)). web2py is Open source, Perforce does give additional user licenses to open source projects (I'm sure Massimo would only need to make the request (which is online @ perforce .com btw). I mention that here because, good testing processes should be well integrated to source control. and for the web2py user, offering time for testing, a local instance of the perforce server can be installed, absolutely free of charge (with a max of 2 user licenses per server - more than enough for remote workers who can very easily keep in sync with the main web2py server (I work from home (Quebec, Canada), work for an American based company (HQ in Sunnyvale) - and that is how I do my work, with my local p4D. works like a charm). Anyways, enough of that, just thought I'd find another reason to slide that in ;) regards, Mart :) On Oct 30, 2:58 pm, Luther Goh Lu Feng elf...@yahoo.com wrote: It is reasonable to suggest a universal test app that will assist in the quality assurance of web2py. But I wonder if this will always have 100% test coverage, given that bugs may appear even when writing test cases. This is still a good idea compared to not having a test suite. However, I think I would have a greater sense of security if I am able to test the apps I have written against the nightly/trunk build. On Oct 31, 1:46 am, Thadeus Burgess thade...@thadeusb.com wrote: Where should the list of apps come from? I think this is the biggest question. -- Thadeus On Sat, Oct 30, 2010 at 12:46 PM, Thadeus Burgess thade...@thadeusb.comwrote: Someone writes a script to automate the process. Have a list of apps that we want to be sure are tested and working. The script will download web2py testing, copy the apps to the downloaded version, fire a process fork to start that web2py, use urllib or httplib to navigate to each of the apps pages to verify that things are working. If a response code of 500 is ever received then go get the error ticket and store it somewhere central including which app it came from. -- Thadeus On Sat, Oct 30, 2010 at 9:25 AM, Luther Goh Lu Feng elf...@yahoo.comwrote: On Oct 30, 7:05 am, mdipierro mdipie...@cs.depaul.edu wrote: Normally it goes to the nightly build, perhaps not exactly the latest but something very close. The bug in question has
Re: [web2py] Re: new admin layout
I Like it! much better than the old one, I agree that orange text is difficult to read, orange fonts are working great in brown background, but in white background brown fonts will work better. 2010/11/1 Branko Vukelic bg.bra...@gmail.com On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- http://rochacbruno.com.br
Re: [web2py] Re: new admin layout
WOW! Great! may be welcome app could be changed in the same way! 2010/11/1 Branko Vukelic bg.bra...@gmail.com I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- http://rochacbruno.com.br
Re: [web2py] Re: new admin layout
It remembers the Ubuntu Human style, while ubuntu is chaging for some kind of purple' theme, web2py can take human for admin, scaffold and etc 2010/11/1 Branko Vukelic bg.bra...@gmail.com I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- http://rochacbruno.com.br
[web2py] Re: Passing pointer to session, requestion, etc objects to module
oooh...I like it! Thanks! On Oct 31, 3:07 pm, mr.freeze nat...@freezable.com wrote: It's just a nice pattern to follow when building modules that need access to the response/response/session. Instead of passing them all individually, you can just pass globals() and everything you need is there, similar to auth and crud. auth = Auth(globals(),db) crud = Crud(globals(),db) On Oct 31, 4:36 pm, b00m_chef r...@devshell.org wrote: The problem was that I was using self.session.forget() thinking that that would take care of getting rid of all of the session info. As soon as I got rid of that line though, everything worked as normal... As for references in python, that is how I thought python worked (coming from C++), but this behavior gave me some doubt. Thanks for the pointer to look at the environment argument, though that didn't give any useful info...was there anything particularly interesting about that argument in that class? On Oct 31, 12:11 pm, b00m_chef r...@devshell.org wrote: thanks! On Oct 31, 6:12 am, mr.freeze nat...@freezable.com wrote: Python passes arguments by reference so they are not copies. Take a look at the constructors for the Crud and Auth classes in gluon/ tools.py. They receive a variable called 'environment' that contains the session and request. On Oct 30, 9:00 pm, b00m_chef r...@devshell.org wrote: How does one go about passing a pointer to the session and request objects from your app to a module in said app. Basically, in a module, I need to be able to manipulate all those objects without having to return and re-assign them. If I simply pass all the session, request, response, etc objects to my module object in the constructor and then assign all to self.bla, then I only get copies of those objects...I can't change them after. Is the above possible? Simple example of what I want to do is to be able to do session.forget() in my module.
[web2py] Re: I may have missed some posts....
Ping! http://groups.google.com/group/web2py/browse_thread/thread/8d926f428bf5c3ba On Nov 1, 11:20 am, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 6:57 PM, mdipierro mdipie...@cs.depaul.edu wrote: If there is any open that I missed please ping me. Ping! http://groups.google.com/group/web2py/browse_thread/thread/af6bbc7f92... -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group
Re: [web2py] Re: new admin layout
and, if web2py keeps the actual logo, this sticker http://www.web2py.com/examples/static/img/Stickers5.png can be used in the top/bottom of /admin 2010/11/1 Bruno Rocha rochacbr...@gmail.com It remembers the Ubuntu Human style, while ubuntu is chaging for some kind of purple' theme, web2py can take human for admin, scaffold and etc 2010/11/1 Branko Vukelic bg.bra...@gmail.com I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px;-webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- http://rochacbruno.com.br -- http://rochacbruno.com.br
[web2py] Re: new admin layout
I like this can you send me a patch that implements it. It is important that admin, welcome, examples look different and not the same. Even if the difference is just in the colors. This is because new users may get confused on which is which. massimo On Nov 1, 2:11 pm, Branko Vukelic bg.bra...@gmail.com wrote: I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group admin_mockup.png 230KViewDownload
[web2py] Re: new admin layout
It would also be nice to have INPUT and TEXTAREA with rounded corner and buttons (submit and file upload) look like the class button. On Nov 1, 2:11 pm, Branko Vukelic bg.bra...@gmail.com wrote: I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group admin_mockup.png 230KViewDownload
Re: [web2py] Re: new admin layout
Ok, I'll deal with this pronto. On Mon, Nov 1, 2010 at 8:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: It would also be nice to have INPUT and TEXTAREA with rounded corner and buttons (submit and file upload) look like the class button. On Nov 1, 2:11 pm, Branko Vukelic bg.bra...@gmail.com wrote: I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group admin_mockup.png 230KViewDownload -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
[web2py] Re: I may have missed some posts....
Regarding updated version of ClockPick in calendar.js http://groups.google.com/group/web2py/browse_thread/thread/4ce2dc84c4934672/5c5530bdab167c90
Re: [web2py] Re: new admin layout
Is this snippet: {{if a==request.application:}} used to differentiate between admin and non-admin app? Or maybe between binary and source apps? On Mon, Nov 1, 2010 at 8:45 PM, Branko Vukelic bg.bra...@gmail.com wrote: Ok, I'll deal with this pronto. On Mon, Nov 1, 2010 at 8:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: It would also be nice to have INPUT and TEXTAREA with rounded corner and buttons (submit and file upload) look like the class button. On Nov 1, 2:11 pm, Branko Vukelic bg.bra...@gmail.com wrote: I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group admin_mockup.png 230KViewDownload -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
[web2py] DateInput Calendar and other widgets
Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm (for IMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabs http://flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui'
Re: [web2py] Re: new admin layout
Oh, damn. My fingers faster than brain. Ok, I get it. On Mon, Nov 1, 2010 at 9:16 PM, Branko Vukelic bg.bra...@gmail.com wrote: Is this snippet: {{if a==request.application:}} used to differentiate between admin and non-admin app? Or maybe between binary and source apps? On Mon, Nov 1, 2010 at 8:45 PM, Branko Vukelic bg.bra...@gmail.com wrote: Ok, I'll deal with this pronto. On Mon, Nov 1, 2010 at 8:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: It would also be nice to have INPUT and TEXTAREA with rounded corner and buttons (submit and file upload) look like the class button. On Nov 1, 2:11 pm, Branko Vukelic bg.bra...@gmail.com wrote: I've done a quick mockup of the admin layout. Changed a few labels as well, to, hopefully, enhance usability as well. On Mon, Nov 1, 2010 at 7:37 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 7:34 PM, Jose jjac...@gmail.com wrote: I like it better than the last. I made this change because it was hard to distinguish the orange button: -- .button {background-color: #DD; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} ++ .button {background-color: #302D25; padding: 2px 5px 2px 5px; line- height: 25px; -moz-border-radius: 3px; -webkit-border-radius: 3px;} #302D25 is the color of the top bar Yah, that's much nicer. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group admin_mockup.png 230KViewDownload -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
[web2py] Re: DateInput Calendar and other widgets
Someone did that for Plone: http://pypi.python.org/pypi/plone.app.jquerytools/1.1b5 2010/11/1 Bruno Rocha rochacbr...@gmail.com Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm (for IMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabs http://flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br
[web2py] Re: Clockpick
I am pretty sure I did this. Did I not? Did I miss something? On Oct 13, 6:39 am, villas villa...@gmail.com wrote: Massimo, I know that clockpick is not everyone's favourite, but until something better comes... I wonder whether you would consider updating it from 1.24 to 1.28 in calendar.js? The upgrade corrects a couple of issues that have been causing problems. Only thing to watch for is that the old CSS clauses all include z- index:99; but the latest version does not, so you might have to make sure these are in to make it work. Otherwise it seems to be fine. Many thanks! David
[web2py] Re: Clockpick
changeset: 1032:532ac00026ea user:mdipie...@massimo-di-pierros-macbook-2.local date:Wed Oct 13 09:31:07 2010 -0500 summary: clockpick 1.28, thanks villas On Oct 13, 6:39 am, villas villa...@gmail.com wrote: Massimo, I know that clockpick is not everyone's favourite, but until something better comes... I wonder whether you would consider updating it from 1.24 to 1.28 in calendar.js? The upgrade corrects a couple of issues that have been causing problems. Only thing to watch for is that the old CSS clauses all include z- index:99; but the latest version does not, so you might have to make sure these are in to make it work. Otherwise it seems to be fine. Many thanks! David
[web2py] Re: DateInput Calendar and other widgets
The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets)http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(for IMG() helper ) An option for IS_IN_RANGE()http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field()http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp://flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui'
Re: [web2py] Re: DateInput Calendar and other widgets
Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(for IMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br
[web2py] Re: rallying developers who are combining Web2py and the Pyjamas compiler
Stef, What product did you use for your presentation? That was slick. TIA, Slestak
Re: [web2py] Re: rallying developers who are combining Web2py and the Pyjamas compiler
On 01-11-2010 21:48, slestak wrote: Stef, What product did you use for your presentation? http://www.debugmode.com/wink/ cheers, Stef That was slick. TIA, Slestak
[web2py] Re: DateInput Calendar and other widgets
I would not mind replacing the current one if both data and datetime works. On Nov 1, 3:42 pm, Bruno Rocha rochacbr...@gmail.com wrote: Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(forIMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br
Re: [web2py] Re: new admin layout
On Mon, Nov 1, 2010 at 8:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: It would also be nice to have INPUT and TEXTAREA with rounded corner and buttons (submit and file upload) look like the class button. Actually, most form controls on Ubuntu ARE rounded by default. :P Anyway, I've implemented some 60% of the template. I really don't know how to style the browser button. Does anyone have an idea? Failing that, I'd have to leave text input boxes intact as well, so at least everything looks consistent. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
Re: [web2py] Re: new admin layout
On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
Re: [web2py] Re: DateInput Calendar and other widgets
Look: http://www.dynarch.com/projects/calendar/ This new version of the same calendar, has a better visual layout, even, we can customize. The actual dateInput is good but this visual style looks like a desktop app. 2010/11/1 mdipierro mdipie...@cs.depaul.edu I would not mind replacing the current one if both data and datetime works. On Nov 1, 3:42 pm, Bruno Rocha rochacbr...@gmail.com wrote: Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(forIMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br -- http://rochacbruno.com.br
[web2py] Standalone DAL, where is the database folder ? and problems caused by
hello, the more I get used to the syntax of DAL, the more I like it, great ! especially, after splitting up the queries and making some helper functions, like this Module = 'D2_D1' Query = ( DB.Module.id == DB.PRID_MID.MID ) \ ( DB.Project.id== DB.PRID_MID.PRID ) \ ( DB.Afdeling.id == DB.Project.AID ) \ ( DB.Module.Module == Module ) Select = DB.Project.Name, DB.Afdeling.Name, DB.Project.id print Get_Table_Data ( DB, Query, Select )[1:] print Get_Single_List ( DB, Query, Select ) print Get_Data_Dict ( self.DB.Level ) too bad we can't use the normal and notation :-( My question is where is the database folder (it seems to be everywhere ;-) ? Can it be set explicitly ? It seems that the sql-log-file and the .table files are written in the CWD. As a workaround I now keep track of the cwd, and if I use define_table I first set the cwd to the database directory. But I assume there are more actions where the cwd need to be set to the database folder, so I expect more problems/ I use the following to create the database: Database_Name = r'D:\Data_Python_25\Beheer\ID_TO_Beheer_DAL.db' My_DB = DAL ( 'sqlite://' + Database_Name ) thanks, Stef Mientki
Re: [web2py] Re: DateInput Calendar and other widgets
Looks good http://www.dynarch.com/static/JSCal2/index.html But I dont know about the license 2010/11/1 Bruno Rocha rochacbr...@gmail.com Look: http://www.dynarch.com/projects/calendar/ This new version of the same calendar, has a better visual layout, even, we can customize. The actual dateInput is good but this visual style looks like a desktop app. 2010/11/1 mdipierro mdipie...@cs.depaul.edu I would not mind replacing the current one if both data and datetime works. On Nov 1, 3:42 pm, Bruno Rocha rochacbr...@gmail.com wrote: Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(forIMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br -- http://rochacbruno.com.br -- http://rochacbruno.com.br
[web2py] Re: I may have missed some posts....
http://groups.google.com/group/web2py/browse_thread/thread/cd38fff1f1f4ea86# small issue, nevertheless, ping! Niphlod On 1 Nov, 20:52, villas villa...@gmail.com wrote: Regarding updated version of ClockPick in calendar.js http://groups.google.com/group/web2py/browse_thread/thread/4ce2dc84c4...
Re: [web2py] Re: new admin layout
Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group attachment: folder.gifattachment: folder_current.gifattachment: folder_sm.gifattachment: heading_bg.png new_admin.diff Description: application/force-download
Re: [web2py] Re: DateInput Calendar and other widgets
I hate the way time is selected in that widget. A drop-down would've been much better. But damn. I'm looking at all the crazy implementation of time-picker, where a couple of text boxes or drop-downs would suffice for most people. It's crazy how over-engineered some solutions are: http://wiki.fluidproject.org/display/fluid/Date+Time+Picker+Competitive+Analysis On Mon, Nov 1, 2010 at 10:18 PM, Bruno Rocha rochacbr...@gmail.com wrote: Looks good http://www.dynarch.com/static/JSCal2/index.html But I dont know about the license 2010/11/1 Bruno Rocha rochacbr...@gmail.com Look: http://www.dynarch.com/projects/calendar/ This new version of the same calendar, has a better visual layout, even, we can customize. The actual dateInput is good but this visual style looks like a desktop app. 2010/11/1 mdipierro mdipie...@cs.depaul.edu I would not mind replacing the current one if both data and datetime works. On Nov 1, 3:42 pm, Bruno Rocha rochacbr...@gmail.com wrote: Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(forIMG() helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br -- http://rochacbruno.com.br -- http://rochacbruno.com.br -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group
Re: [web2py] Re: DateInput Calendar and other widgets
This one : http://blog.w3visions.com/2009/04/date-time-picker-with-jquery-ui-datepicker/ Is very nice! more here: http://trentrichardson.com/examples/timepicker/ 2010/11/1 Branko Vukelic bg.bra...@gmail.com I hate the way time is selected in that widget. A drop-down would've been much better. But damn. I'm looking at all the crazy implementation of time-picker, where a couple of text boxes or drop-downs would suffice for most people. It's crazy how over-engineered some solutions are: http://wiki.fluidproject.org/display/fluid/Date+Time+Picker+Competitive+Analysis On Mon, Nov 1, 2010 at 10:18 PM, Bruno Rocha rochacbr...@gmail.com wrote: Looks good http://www.dynarch.com/static/JSCal2/index.html But I dont know about the license 2010/11/1 Bruno Rocha rochacbr...@gmail.com Look: http://www.dynarch.com/projects/calendar/ This new version of the same calendar, has a better visual layout, even, we can customize. The actual dateInput is good but this visual style looks like a desktop app. 2010/11/1 mdipierro mdipie...@cs.depaul.edu I would not mind replacing the current one if both data and datetime works. On Nov 1, 3:42 pm, Bruno Rocha rochacbr...@gmail.com wrote: Actually I am thinking in a way for creating this as a separate plugin, not to replace the actual one, just to have it as an option. 2010/11/1 mdipierro mdipie...@cs.depaul.edu The problem that was not done in the first place is that it work for date but not datetime. Has this changed? If so, I will take a patch for make it default. The more we integrate with jquery tools the better as long as we do not bloat. I do not want to increase the number of js and css files. Massimo On Nov 1, 3:17 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hey, I am using Jquery Tools as I said, One thing I am being used, is to replace the actual web2py DataPicker widget (calendar.js) with this one from JQuery Tools I think It looks much better, take a look: (for 'date' and 'datetime' widgets) http://flowplayer.org/tools/demos/dateinput/index.htm http://flowplayer.org/tools/demos/dateinput/large-skin.htm http://flowplayer.org/tools/demos/dateinput/flight.htm I am doing a plugin with a bunch of widgets, to implement JQuery tools datePicker instead of the actual, and another good things from jQtools as this one: http://flowplayer.org/tools/demos/overlay/apple.htm(forIMG()helper ) An option for IS_IN_RANGE() http://flowplayer.org/tools/demos/rangeinput/index.htm To the 'comment' arg in Field() http://flowplayer.org/tools/demos/tooltip/form.htm Spliting FORM/SQLFORM in tabshttp:// flowplayer.org/tools/demos/tabs/wizard.html I have some snippets to implement that by the hand, now I am trying to create as a plugin that replaces web2py default styles with some things on JQTools. if somebody could help, or give any advice on creating that plugin, in a way this could be extended. Would be nice to have some kind of 'plugin_ui' -- http://rochacbruno.com.br -- http://rochacbruno.com.br -- http://rochacbruno.com.br -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- http://rochacbruno.com.br
[web2py] Re: Paypal Digital Download
Andrew, I use Paypal encrypted buttons from their web payments standard product together with IPN on www.tenthrow.com to purchase and enable digital download. i have not looked closely at http://web2pyslices.com/main/slices/take_slice/9 but this is probably a nicely documented outline of how paypal with IPN works. That said, i just saw paypal demo a host of cool stuff last week at their developer conference. you should check out the adaptive payments API, and the inline payment processing flow - this presents the user with the paypal checkout flow in a dialog without them leaving your site. while i have not integrated it yet, i think it will build a superior user experience over the old buttons and redirecting to paypal for checkout. hopefully that helps some. if you want more specifics about how i did my integration with IPN let me know. thanks, christian On Oct 31, 2:54 pm, Andrew Evans randra...@gmail.com wrote: Hello! I am working on a project that requires a Digital Download where the download is provided after the payment has been sent to paypal. The documentation on Paypal in web2py is very confusing and I don't know if its for the purpose of what I need. I am generating a paypal/button for express checkout. and I am trying to think of ways I can then redirect the user to a page where they can download the product Normally this would be simpler but I have multiple people selling there different products and with that multiple products here is my paypal code br /br / form name=_xclick action=https://www.paypal.com/cgi-bin/webscr; method=post input type=hidden name=cmd value=_xclick input type=hidden name=business value={{=db.auth_user[row.userinfo].email}} input type=hidden name=currency_code value={{=db.currency_paypal[row.currency].current}} input type=hidden name=item_name value={{=row.product_name}} input type=hidden name=no_shipping value=1 input type=hidden name=custom value={{=row.id}} input type=hidden name=amount value={{='%.2f'%float(row.price)}} input type=hidden name=return value= / input type=hidden name=cancel_return value=/ input type=image src=http://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif; border=0 name=submit alt=Make payments with PayPal - it's fast, free and secure! /form So my question is: How can I use paypal for a digital download using the express checkout button? Do I need to create an IPN class and add notify_url to my paypal code if so can some one provide an example *cheers and ty Andrew
[web2py] Re: new admin layout
For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
[web2py] Re: Paypal Digital Download
I remind you that web2py ships with gluon/contrib/AuthorizeNet.py it only works in US and costs $250 but makes payments very simple in those cases when you need a shopping chart. Massimo On Nov 1, 8:43 pm, howesc how...@umich.edu wrote: Andrew, I use Paypal encrypted buttons from their web payments standard product together with IPN onwww.tenthrow.comto purchase and enable digital download. i have not looked closely athttp://web2pyslices.com/main/slices/take_slice/9but this is probably a nicely documented outline of how paypal with IPN works. That said, i just saw paypal demo a host of cool stuff last week at their developer conference. you should check out the adaptive payments API, and the inline payment processing flow - this presents the user with the paypal checkout flow in a dialog without them leaving your site. while i have not integrated it yet, i think it will build a superior user experience over the old buttons and redirecting to paypal for checkout. hopefully that helps some. if you want more specifics about how i did my integration with IPN let me know. thanks, christian On Oct 31, 2:54 pm, Andrew Evans randra...@gmail.com wrote: Hello! I am working on a project that requires a Digital Download where the download is provided after the payment has been sent to paypal. The documentation on Paypal in web2py is very confusing and I don't know if its for the purpose of what I need. I am generating a paypal/button for express checkout. and I am trying to think of ways I can then redirect the user to a page where they can download the product Normally this would be simpler but I have multiple people selling there different products and with that multiple products here is my paypal code br /br / form name=_xclick action=https://www.paypal.com/cgi-bin/webscr; method=post input type=hidden name=cmd value=_xclick input type=hidden name=business value={{=db.auth_user[row.userinfo].email}} input type=hidden name=currency_code value={{=db.currency_paypal[row.currency].current}} input type=hidden name=item_name value={{=row.product_name}} input type=hidden name=no_shipping value=1 input type=hidden name=custom value={{=row.id}} input type=hidden name=amount value={{='%.2f'%float(row.price)}} input type=hidden name=return value= / input type=hidden name=cancel_return value=/ input type=image src=http://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif; border=0 name=submit alt=Make payments with PayPal - it's fast, free and secure! /form So my question is: How can I use paypal for a digital download using the express checkout button? Do I need to create an IPN class and add notify_url to my paypal code if so can some one provide an example *cheers and ty Andrew
[web2py] Re: new admin layout
Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
[web2py] Re: new admin layout
Here it is in demo mode: http://web2py.com/demo_admin/default/site On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
[web2py] Re: new admin layout
I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
Re: [web2py] Re: new admin layout
I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
Re: [web2py] Standalone DAL, where is the database folder ? and problems caused by
My_DB = DAL('sqlite://databaseName', folder='D:\Data_Python_25\Beheer...') -- Thadeus On Mon, Nov 1, 2010 at 4:12 PM, Stef Mientki stef.mien...@gmail.com wrote: hello, the more I get used to the syntax of DAL, the more I like it, great ! especially, after splitting up the queries and making some helper functions, like this Module = 'D2_D1' Query = ( DB.Module.id == DB.PRID_MID.MID ) \ ( DB.Project.id== DB.PRID_MID.PRID ) \ ( DB.Afdeling.id == DB.Project.AID ) \ ( DB.Module.Module == Module ) Select = DB.Project.Name, DB.Afdeling.Name, DB.Project.id print Get_Table_Data ( DB, Query, Select )[1:] print Get_Single_List ( DB, Query, Select ) print Get_Data_Dict ( self.DB.Level ) too bad we can't use the normal and notation :-( My question is where is the database folder (it seems to be everywhere ;-) ? Can it be set explicitly ? It seems that the sql-log-file and the .table files are written in the CWD. As a workaround I now keep track of the cwd, and if I use define_table I first set the cwd to the database directory. But I assume there are more actions where the cwd need to be set to the database folder, so I expect more problems/ I use the following to create the database: Database_Name = r'D:\Data_Python_25\Beheer\ID_TO_Beheer_DAL.db' My_DB = DAL ( 'sqlite://' + Database_Name ) thanks, Stef Mientki
Re: [web2py] Re: new admin layout
As I think I prefer the old style -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
Re: [web2py] Re: new admin layout
Is it hard to have a Dropdown to select a desired theme? 2010/11/2 Luis Díaz diazluis2...@gmail.com As I think I prefer the old style -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85 -- http://rochacbruno.com.br
[web2py] Re: new admin layout
Thadeus, Why more busy? There are no more links/text that before but while before links were separated by a |, now they are separated by colored boxes (which prevents problems in alignment). The links to edit apps/files have a different color to be easily recognizable (before all links were they same). Branko added the folder icons. As I see it if there is an issue, it is with colors and/or folder icons. By before you mean the version posted this morning or the version available until yesterday? Massimo On Nov 1, 9:15 pm, Thadeus Burgess thade...@thadeusb.com wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
Re: [web2py] Re: new admin layout
I think this Ubuntu Human' new Style is much better! well organized. I would like to keep that! or maybe, have a dropdown or some config to choose that as my admin theme. 2010/11/2 mdipierro mdipie...@cs.depaul.edu Thadeus, Why more busy? There are no more links/text that before but while before links were separated by a |, now they are separated by colored boxes (which prevents problems in alignment). The links to edit apps/files have a different color to be easily recognizable (before all links were they same). Branko added the folder icons. As I see it if there is an issue, it is with colors and/or folder icons. By before you mean the version posted this morning or the version available until yesterday? Massimo On Nov 1, 9:15 pm, Thadeus Burgess thade...@thadeusb.com wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload -- http://rochacbruno.com.br
Re: [web2py] Re: new admin layout
Collapse on the top menu, should change for 'Expand' when collapsed 2010/11/2 Bruno Rocha rochacbr...@gmail.com I think this Ubuntu Human' new Style is much better! well organized. I would like to keep that! or maybe, have a dropdown or some config to choose that as my admin theme. 2010/11/2 mdipierro mdipie...@cs.depaul.edu Thadeus, Why more busy? There are no more links/text that before but while before links were separated by a |, now they are separated by colored boxes (which prevents problems in alignment). The links to edit apps/files have a different color to be easily recognizable (before all links were they same). Branko added the folder icons. As I see it if there is an issue, it is with colors and/or folder icons. By before you mean the version posted this morning or the version available until yesterday? Massimo On Nov 1, 9:15 pm, Thadeus Burgess thade...@thadeusb.com wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload -- http://rochacbruno.com.br -- http://rochacbruno.com.br
Re: [web2py] Re: new admin layout
On Nov 1, 2010, at 7:15 PM, Thadeus Burgess wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. I'm not sure about the old one, but I don't think this one is the answer. I'm with Thadeus on the everything looks exactly the same problem. (And I'm a Giants fan...)
[web2py] Re: new admin layout
For now the only decision we need to make is whether this is better than the one we had until a day ago. Because if I need to revert, I'd prefer to do it before there are more changes to the code. It does not need to be a long term solution. What kind of changes would you like to see? Massimo On Nov 1, 10:17 pm, Jonathan Lundell jlund...@pobox.com wrote: On Nov 1, 2010, at 7:15 PM, Thadeus Burgess wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. I'm not sure about the old one, but I don't think this one is the answer. I'm with Thadeus on the everything looks exactly the same problem. (And I'm a Giants fan...)
Re: [web2py] Re: new admin layout
The version web2py has had for over a year. The new one is busy/confusing. I didn't know where to look at first glance. It feels Halloween-ish... I halfway expect a pumpkin somewhere on the page. There are too many buttons which are actually hyperlinks. Sooo many buttons -- Thadeus On Mon, Nov 1, 2010 at 9:26 PM, mdipierro mdipie...@cs.depaul.edu wrote: Thadeus, Why more busy? There are no more links/text that before but while before links were separated by a |, now they are separated by colored boxes (which prevents problems in alignment). The links to edit apps/files have a different color to be easily recognizable (before all links were they same). Branko added the folder icons. As I see it if there is an issue, it is with colors and/or folder icons. By before you mean the version posted this morning or the version available until yesterday? Massimo On Nov 1, 9:15 pm, Thadeus Burgess thade...@thadeusb.com wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload
[web2py] Re: prefork or worker mpm for apache embedded mode
I guess DAL threadsafe. Worker is better for mod_wsgi, it could use multithreads, while prefork is not. What is 'embedded mode' ? On 1 ноя, 10:26, Sujan Shakya suzan.sha...@gmail.com wrote: The preferred apache configuration for mod_wsgi applications is to run in daemon mode. But if the application is to be run in embedded mode, which one is preferred: prefork mpm or worker mpm ? And, is DAL threadsafe ?
[web2py] Re: Component updating too quickly
I have same issue recently. Even give access to the app with demonstration... Solution were too oblevious. insert were after select, so only next select shows all data (with recently inserted row) On 1 ноя, 03:10, Luther Goh Lu Feng elf...@yahoo.com wrote: In my action, I would like to update a component if the form is accepted. The component is a comments list and the form is a comment creation form. The problem is, the component does update, but does not show the new comment created. I suspect that the component is updating too quickly. I know this for sure as in the background I am updating the comments component at regular intervals. So the component gets updated on the next background refresh. #process form create comments if comments_form.accepts(request.vars, session): response.flash = 'Comment created' response.js = web2py_component('/roverus/comment/read.load? current_conversation=1');
Re: [web2py] Re: new admin layout
worth a try to change it for greenish color scheme, following main site http://web2py.com/ brown - darkGreen orange - lightGreen black - gray Keeping the same objects, buttons and boxes (I like buttons more than links) 2010/11/2 Thadeus Burgess thade...@thadeusb.com The version web2py has had for over a year. The new one is busy/confusing. I didn't know where to look at first glance. It feels Halloween-ish... I halfway expect a pumpkin somewhere on the page. There are too many buttons which are actually hyperlinks. Sooo many buttons -- Thadeus On Mon, Nov 1, 2010 at 9:26 PM, mdipierro mdipie...@cs.depaul.edu wrote: Thadeus, Why more busy? There are no more links/text that before but while before links were separated by a |, now they are separated by colored boxes (which prevents problems in alignment). The links to edit apps/files have a different color to be easily recognizable (before all links were they same). Branko added the folder icons. As I see it if there is an issue, it is with colors and/or folder icons. By before you mean the version posted this morning or the version available until yesterday? Massimo On Nov 1, 9:15 pm, Thadeus Burgess thade...@thadeusb.com wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. -- Thadeus On Mon, Nov 1, 2010 at 9:12 PM, mdipierro mdipie...@cs.depaul.edu wrote: I can make this stable tomorrow if no objections. Massimo On Nov 1, 9:10 pm, mr.freeze nat...@freezable.com wrote: Looks more Ubuntu than Halloween to me. I like it. On Nov 1, 8:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now I am putting this in. I like the logic of it. I made some minor changes. I am not so sure about the Halloween colors. What do other people think? Massimo On Nov 1, 5:25 pm, Branko Vukelic bg.bra...@gmail.com wrote: Massimo, So I've cloned the HG repo and I've done my magic on the files. Would the contents of ``hg diff`` be useful to you? Anyway, it's attached, so please tell me if that's what you need. Also, some binary assets (icons). It's not complete. I'm sure some sections could use more work. I'll do that some other time, though. Too tired now. On Mon, Nov 1, 2010 at 10:11 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:10 PM, Branko Vukelic bg.bra...@gmail.com wrote: how to style the browser button. Does anyone have an idea? Failing I meant the 'Browse' button. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:http://www.brankovukelic.com/ Check out my portfolio:http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca:http://identi.ca/foxbunny Gimp Brushmakers Guildhttp://bit.ly/gbg-group folder.gif 1KViewDownload folder_current.gif 1KViewDownload folder_sm.gif 1KViewDownload heading_bg.png 1KViewDownload new_admin.diff 21KViewDownload -- http://rochacbruno.com.br
[web2py] Re: PostgreSQL super slowdowns
Please check .first() or .last() usage. With Postgres for some reason, all data are transfered to DAL, and on w2p side first or last recored selected. Solution also are easy use: .select(limitby=(0,1)).first() or select(limitby=(0,1),orderby=~db.papers.id).first() or .select(limitby=(0,1),orderby=db.papers.id).first(). orderby=~ and orderby= will give you last or first for .first() and .last() - since only one record are returned from db. Hope I score. On 29 окт, 12:53, Chris partyonais...@gmail.com wrote: Hey, I've noticed some serious slowdowns ever since I switched from SQLite to Postgres. Pages will take MINUTES to load - it's kind of fascinating. I don't have the full explanation for what's going on yet but I do have some clues. I've noticed it happens locally, and in a specific way: 1) I load the page up in one browser and it loads and reloads fine. 2) When I open the page up in another browser or in an incognito session on the same machine, the page request hangs, usually for longer than two minutes. I don't know for sure that it's Postgres related, but I don't remember seeing this on SQLite. This is something I really need to fix! Can anyone reproduce this? Are there profilers or particular places in the code I can tag? Thanks! - Chris
[web2py] Re: new admin layout
First, thank you to Branko and whoever created the first version of the new layout from earlier today. These are great ideas and really helping to move web2py to a more updated look. I think this is a real improvement over the previous admin layout, though perhaps not quite ready as is. Some comments: - I think it looks better if we can keep most of the background white instead of these massive blocks of gray. The first new layout from earlier today looked better in that regard, though the orange text on white background was a bit hard to read, and I wasn't crazy about the gray buttons (at least in some places). - We could also perhaps do without the black heading bars, though if we keep them, they would look less stark if they were closer to the color of the page header (i.e., more of a carbon color). - The orange buttons with white text look fine when there's just one or two in isolation, but large groups of them bunched together starts to look a bit overwhelming. - On the edit application page, the file names should be focal, but they are now the least prominent elements, with all the edit and delete buttons standing out instead (since edit and delete are repeated for every file, there's no reason for them to be so prominent). - Due to lack of border-radius support, the buttons don't look that great in IE (not too big a deal, but in case anyone cares). Thanks. Anthony On Nov 1, 11:30 pm, mdipierro mdipie...@cs.depaul.edu wrote: For now the only decision we need to make is whether this is better than the one we had until a day ago. Because if I need to revert, I'd prefer to do it before there are more changes to the code. It does not need to be a long term solution. What kind of changes would you like to see? Massimo On Nov 1, 10:17 pm, Jonathan Lundell jlund...@pobox.com wrote: On Nov 1, 2010, at 7:15 PM, Thadeus Burgess wrote: I like the old one better. This is too busy. Everything looks exactly the same. Leads to much confusion on where things I need are. I'm not sure about the old one, but I don't think this one is the answer. I'm with Thadeus on the everything looks exactly the same problem. (And I'm a Giants fan...)- Hide quoted text - - Show quoted text -
[web2py] Re: prefork or worker mpm for apache embedded mode
Thanks KMax. 'embedded mode' is the mode when you don't run mod_wsgi in daemonprocess.