[web2py] Re: Packaging web2py for Debian

2010-10-16 Thread LightDot
I have written an internal Fedora RPM for web2py a while ago and tried to follow Fedora's packaging guidelines. I'm a RHEL/CentOS sysadmin and take care of quite a few hosting servers, my main objective was to easily use it on our RHEL/CentOS servers with Cherokee. I don't want to "steal" the Debi

Re: [web2py] Re: it case you missed it...

2010-12-12 Thread LightDot
I was a bit at odds when I saw a framework with a GPL v2 license that claims that the developed code doesn't need to be GPL v2 compatible. Has this scenario been looked over by a lawyer? Any such document would enable us to put customers at ease. We have used CakePHP for our PHP projects for year

Re: [web2py] Re: it case you missed it...

2010-12-12 Thread LightDot
Companies don't really care if I tell them that it's a no brainer, they look at this issues trough the eyes of a business risk and consult lawyers to minimize them. There are some who get cold feet when they see GPL but can live with MIT or BSD. Don't know if the analogy of linux OS / webservers c

Re: [web2py] Re: it case you missed it...

2010-12-12 Thread LightDot
I simply said we had customers expressing concern about using GPLv2 web2py framework for the task of developing a closed source web2py application. It was never about making closed source versions of web2py itself. Anyway, I think this issue has been addressed with authority in massimo's posts and

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread LightDot
To summarize: - a python framework licensed under a pure GPLv2 would not allow for a closed source application development, so Massimo's exception is crucial for such projects - changing the license from the current GPLv2 with en exception to the LGPL brings no improvement - changing from GPLv2 wit

Re: [web2py] delicious is closing

2010-12-17 Thread LightDot
SEO experts and "SEO experts" who use Delicious for ranking optimization will have a lot of work on their hands these days :) Yahooo should have sold the service rather than close it, IMHO.

[web2py] Re: web2py.com is down

2010-12-21 Thread LightDot
Works for me. Tried from locations in USA (Texas), Slovenia and Serbia... Yes, the site responds a bit slower than usual. Traceroute looks ok. Let me know if you need any connectivity/speed tests done... I tried downloading web2py release and just about maxed out the 10 mbit line here. I can tr

[web2py] Re: Not open source yet... but

2010-12-28 Thread LightDot
Very nice! I hope we'll be able to take a peak at the source code in the future.

[web2py] Re: Web2py service won't start on Windows

2012-08-03 Thread LightDot
My guess is that you have Apache and Rocket (web2py's internal web server) both claiming port 443 at the same time. Do you want to use Apache to run web2py or..? Regards, Ales On Friday, August 3, 2012 11:40:34 PM UTC+2, joe wrote: > > > Hello > > I am running apache on a dedicated windows ser

Re: [web2py] Re: Major speed improvement need testers

2012-08-22 Thread LightDot
There are many hosting companies that won't upgrade OS provided python versions for the lifetime of a server. Good luck requesting a python upgrade on a Red Hat / CentOS / Scientific Linux server, this simply won't happen. This is the situation at the moment: RHEL 6: python 2.6.5 Debian 6: pyt

[web2py] Re: Deploying as RPM

2012-08-28 Thread LightDot
I'm distributing and supporting a project made with web2py as a set of RPMs (RHEL/CentOS/SL) for a while now. No big problems... I use Mock on SL6 to generate the RPMs. This project is fairly complex and involves much more than just web2py app, so my spec files wouldn't be applicaple straight a

[web2py] Re: Deploying as RPM

2012-08-31 Thread LightDot
e foreseeable future. Regards, Ales On Wednesday, August 29, 2012 4:39:55 PM UTC+2, Massimo Di Pierro wrote: > > Can you tell us more. Perhaps share an example that packages web2py > > On Tuesday, 28 August 2012 23:05:16 UTC-5, LightDot wrote: >> >> I'm distributin

[web2py] Re: web2py 2.0.6 and JqueryUI

2012-09-03 Thread LightDot
When you say that you are using the same jQueryUI files, does this mean the same old jQuery version? Version of jQuery bundled with web2py welcome app has changed between 1.99.x and 2.0.x, so if you're upgrading your existing app in any way, this might be a factor too. Regards, Ales On Monday,

[web2py] Re: [OT] Ubuntu 12.10 will no longer ship with Python 2

2012-09-07 Thread LightDot
Please don't spread FUD. The news only says that the DESKTOP CD IMAGE will not contain python 2.x, this doesn't mean Ubuntu 12.10 will remove python 2.x from the distribution. This also doesn't affect server images, or any other Ubuntu images. The server cd image and other images will contain P

[web2py] Re: help test codemirrorw

2012-09-09 Thread LightDot
Works on Firefox 15, Opera 12.02, Chromium 20.0.1132.47, all on Fedora. Can't try IE at the moment. But - no visible breakpoints, unable to resize the editor within the page. I'm guessing these aren't supposed to work yet, but perhaps we should agree on a set of basic functionality and try to g

[web2py] Re: help test codemirrorw

2012-09-09 Thread LightDot
Please note, CodeMirror static files are present in web2py *Github* repo, but not in web2py's Googlecode repo (!). This had me confused for a couple of minutes, until I looked at the code... Basically, you're missing the entire applications/admin/static/codemirror directory. Regards, Ales On

[web2py] Re: help test codemirrorw

2012-09-09 Thread LightDot
I have added the following to web2py's CodeMirror implementation: - line highlight (line with the cursor is highlighted) - autofocus (focus in the editor when page is opened) - fullscreen toggle (F11 toggles editor to fill the entire window, ESC or repeated F11 exits to default editor size). All

[web2py] Re: help test codemirrorw

2012-09-09 Thread LightDot
eptember 9, 2012 8:48:44 PM UTC+2, Massimo Di Pierro wrote: > > Please, can you send them to me? > > On Sunday, 9 September 2012 11:32:53 UTC-5, LightDot wrote: >> >> I have added the following to web2py's CodeMirror implementation: >> >> - line highlight (

[web2py] Re: help test codemirrorw

2012-09-10 Thread LightDot
2 13:48:44 UTC-5, Massimo Di Pierro wrote: >> >> Please, can you send them to me? >> >> On Sunday, 9 September 2012 11:32:53 UTC-5, LightDot wrote: >>> >>> I have added the following to web2py's CodeMirror implementation: >>> >>> - li

[web2py] Re: postgres getting better and better....

2012-09-11 Thread LightDot
Native JSON features look really interesting. Basically, postgres can return a row or an array as JSON now. And validate JSON. Seems quite handy! Regards, Ales On Tuesday, September 11, 2012 10:21:54 AM UTC+2, Niphlod wrote: > > Happy september with the 9.2 release for everybody > > http://wiki

Re: [web2py] Re: internal error crash with newest 2.0.6 and old 1.99.2

2012-09-11 Thread LightDot
About python-psycopg2 - I'd rebuild the source rpm with your 9.1 posgresql-devel, just in case. RHEL/CentOS 6 originally ships with postgres 8.4.x, so this might be an issue. Usual caveats apply - don't (re)build rpm packages as root, etc. Regards, Ales On Tuesday, September 11, 2012 6:11:43 P

Re: [web2py] [OT] Ubuntu 12.10 will no longer ship with Python 2

2012-09-11 Thread LightDot
I have been running python and python3 packages side by side on Fedora ever since python 3 came out. I'm sure all bigger distros have this taken care of in a similar way... I was curious so I took a look: - Debian has 2.x as 'python' and 3.x as 'python3' - Fedora has 2.x as 'python' and 3.x as '

Re: [web2py] Re: internal error crash with newest 2.0.6 and old 1.99.2

2012-09-12 Thread LightDot
I'd just rebuild the source RPM if I was you. Way simpler... besides you'll need to take care of the updates all by yourself now, same as for your postgres. Just taking Red Hat (or CentOS) updates and rebuilding them (couple of seconds of work) really simplifies things. Your postges RPMs are fr

[web2py] Re: URGENT - web2py server crashes

2012-09-19 Thread LightDot
This error comes from Windows Socket API. It looks like Windows is having problems with TCP connections, consequently the backlog becomes too big for the buffers to handle. I guess this could be caused by the size of the transaction too, not just by the number of connections, I'm not sure. Whic

[web2py] Re: 2.0.9 control-f firefox/chrome on mac doesn't work

2012-09-19 Thread LightDot
I'm not user that it does. I tested browser search (ctrl+f) in: - Fedora linux: Firefox 15.0, Chromium 20.0.1132.47, Opera 12.02 - Windows 7: IE8, IE9 by using: - windowed browser with default size editor - windowed browser with full size editor - full screen browser with full size editor. In al

[web2py] Re: 2.0.9 control-f firefox/chrome on mac doesn't work

2012-09-19 Thread LightDot
ng between applications. > > Tested it with Safari too (ver 6.0), and as you can see on the screen > capture same problem. > > osx - 10.7.4 > firefox 15.0 > chrome Version 21.0.1180.89 > > > On Wednesday, September 19, 2012 9:36:57 PM UTC-4, LightDot wrote: >>

[web2py] Re: 2.0.9 control-f firefox/chrome on mac doesn't work

2012-09-20 Thread LightDot
Ok, this is helpful. I didn't think of document size before. It seems that CodeMirror doesn't render a whole document to the DOM when it's big. So the browser search function won't pick up parts that are inactive. I don't know how is this handled with Codemirror's internal search, it's somethin

[web2py] Re: Bootstrap icons don't work with latest web2py?

2012-09-21 Thread LightDot
Same issue here, I think. I stay closer to latest trunk so I know this just happened now... the last commit to web2py_bootstrap.css seems to be it, which is just a code cleanup. Probably just a typo somewhere but I don't have time to look into the details until tomorrow. Alec, if you take the f

[web2py] Re: Bootstrap icons don't work with latest web2py?

2012-09-21 Thread LightDot
I took a closer look and it seems that this is caused by the css comments in the latest web2py_bootstrap.css commit. The /* */ style is the only valid comment style for css, // isn't. I reported it. Regards, Ales On Saturday, September 22, 2012 2:43:10 AM UTC+2, LightDot wrote: > >

[web2py] Re: Version 2.09 wipes source files

2012-09-26 Thread LightDot
I just did a quick test using IE9 on Windows 7 and I can't reproduce. I was editing the source on Scientific Linux 6.3 / Apache, I don't have a Solaris machine available. I did not do an upgrade from 1.99.x to 2.x.x, though, I'm using the latest trunk. @chicks: could you perhaps make a separate

[web2py] Re: SNI or dedicated IP.

2012-05-17 Thread LightDot
Setting up SNI on Apache is quite straightforward. If anyone has any problems, ask in this thread and I'll try to help. Upside: - dedicated IP isn't needed - it works in all major browsers and OSes Downside: - SNI on Windows XP should work in Firefox, Opera, etc. but not in IE (it will work in

[web2py] Re: compute not working on update

2012-05-25 Thread LightDot
On Saturday, May 26, 2012 4:45:32 AM UTC+2, Anthony wrote: > Yes, I guess to be more clear, it should indicate that on updates, it > tries to compute the value using the fields being updated. If one of the > fields required to compute the value is not included in the update, then > the compute

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-26 Thread LightDot
I actually like having the code in html.py, but I'd vote for keeping this as JS in layout.html. It's simple, it's practical, easily changed, leaves less things to be kept backwards compatible in the web2py itself. The day Bootstrap stops looking so good will come, sooner or later. Another popul

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-30 Thread LightDot
I believe this is an unrelated change, a case of "it's not a bug, it's a feature"... It defaults to look like buttons in all browsers now. You could change this back, of course, or even propose to web2py to have the old defaults back... Regards On Wednesday, May 30, 2012 7:42:07 AM UTC+2, Andr

[web2py] Re: anonymous login / temporary user login / non-user authentication

2012-05-30 Thread LightDot
So, this would be a one time password that expires? And this data that the user views is generated on the fly and also discarded later? On Wednesday, May 30, 2012 9:09:31 AM UTC+2, Liam wrote: > > Dear all, > > I'm looking for a way to allow non-users of my application to login given > a passwor

[web2py] Re: Integrate PHP project with web2py

2012-05-30 Thread LightDot
On Wednesday, May 30, 2012 6:16:21 PM UTC+2, Bill Thayer wrote: > > You could also have web2py and php >> share a database system like PostgreSQL. >> > > Hello Allen, > > This remark is interesting. I've been working hard for 2 days trying to > get phpMyAdmin to run with web2py but I am having

[web2py] Re: failures

2012-06-01 Thread LightDot
If you need a mirror quickly, I can give you a full VPS on a 100 Mbit line. I have space on a new hardware we recently put into service (EU colocation). On Friday, June 1, 2012 4:53:03 PM UTC+2, Massimo Di Pierro wrote: > > Today the VPS that hosts web2py.com failed (not sure what but I can no >

[web2py] Re: Why would this happen?

2012-06-02 Thread LightDot
Doesn't work when served trough web2py, even if converted to unicode and even if additionally percent-escaped. I see these choices: - serve the file from the same location but directly trough another web server, bypassing web2py altogether (works fine in apache) - if the contract must be served

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-05 Thread LightDot
Just a heads up to everybody, Bootstrap 2.0.4 has been released a few days ago.

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread LightDot
I don't have a personal preference about this since I'm not using these selectors in any project. But even if the default css doesn't use them, some developer could already be using them for custom css definitions. So wouldn't this break backward compatibility of web2py? Regards On Wednesday,

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread LightDot
> > What if grid and smartgrid can access some resource in app layout system > with class names and can adopt to the new underlying css system. > > 2012. június 6., szerda 15:30:08 UTC+2 időpontban LightDot a következőt > írta: >> >> I don't have a personal

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread LightDot
I can confirm this, using fresh welcome application and Bootstrap upgraded to 2.0.4. If a menu item has both an URL specified and also additional submenus, these don't get displayed. Regardless if this is a first or a second level menu item. If the URL is set as None, additional submenus displa

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-07 Thread LightDot
;dropdown"> >6. Account >7. >8. >9. > 10. ... >11. >12. >13. > > > Il giorno giovedì 7 giugno 2012 04:13:19 UTC+2, LightDot ha scritto: >> >> I can confirm this, using fresh

[web2py] Re: search bar in top bar

2012-06-12 Thread LightDot
Which should help when using the nightly or devel versions of web2py, since it comes with Bootstrap now... ;) Anyway, whether using Bootstrap or any other css library (or even a completely custom approach), the principle is the same. It's just plain css. Regards On Wednesday, June 13, 2012 5:

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-16 Thread LightDot
; . >>> >>> >>>1. >>> 2. >>>3. >>4. class="dropdown-toggle" >>>5. data-toggle="dropdown"> >>>6. Account >>>7. >>>8.

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-17 Thread LightDot
I have tried your updated bootswatch.css from another thread here, which also incorporates this fix. I confirm that BS 2.0.4 works now. Thanks! On Sunday, June 17, 2012 12:33:52 AM UTC+2, Paolo Caruccio wrote: > > LightDot, > > try to append in static/css/bootswatch.c

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-17 Thread LightDot
012 17:32:53 UTC+2, Massimo Di Pierro ha > scritto: >> >> Can you coordinate with Andrew and Paolo and send me a single fix that >> applies to latest trunk and addresses the outstanding issues? >> >> On Sunday, 17 June 2012 08:42:50 UTC-5, LightDot wrote: >>

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-19 Thread LightDot
t;>> >>>> >>>> Il giorno lunedì 18 giugno 2012 21:06:20 UTC+2, Massimo Di Pierro ha >>>> scritto: >>>>> >>>>> How is that possible? You edited bootswatch.css? >>>>> >>>>> On Monday, 18 June 2012 05:2

[web2py] Re: Web2Py compute fields not working on update

2012-06-19 Thread LightDot
I think this is closely connected to an existing Issue 687 (Compute= should work always, not once): http://code.google.com/p/web2py/issues/detail?id=687 Regards On Monday, June 18, 2012 11:21:57 PM UTC+2, peter wrote: > > I would try removing the readable and writeable false for the compute >

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-19 Thread LightDot
There was a very recent change from using .icon-chevron-right to using .chevron-right in web2py itself and this might be your issue. You could test quickly by commenting out the .icon-chevron-right section in bootswatch.css. This will affect other things, so just test if it fixes the Carousel

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-19 Thread LightDot
I was too quick to comment and too optimistic :) It seems Bootstrap's css will need to be further tested for collisions with current web2py css code. I'm using Carousel myself but didn't notice the problem because I have never enabled the controls... Regards On Tuesday, June 19, 2012 9:35:42 P

Re: [web2py] Python 3 is catching up to us...

2012-06-21 Thread LightDot
Luckily, it is now :) Red Hat EL = Scientific linux = CentOS version 5.x has python 2.4.3 version 6.x has python 2.6.6 Fedora 17 has python 2.7.3, while 3.x can be installed in parallel since Fedora 13. Just to note for anyone not aware how Red Hat works, all these older python versions get se

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-22 Thread LightDot
tswatch.css. I don't think that it's good thing - in > this case - to update frequently a web2py file but it's better submit a big > patch. We should test all bootstrap's features to correct the eventual > collisions with web2py.css > > @LightDot > > Findi

Re: [web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-26 Thread LightDot
Correct. AFAIK, you're not supposed to overwrite the app's default layout.html with the one from a plugin. You can include a custom layout, ie. /views/plugin_layout_name/layout.html, but not /views/layout.html. Regards, Ales On Tuesday, June 26, 2012 11:59:40 PM UTC+2, François Delpierre wrote

[web2py] Re: Website running extremely slow

2012-07-06 Thread LightDot
Just by the sounds of it, I doubt lack of memory would cause such behaviour. Can't say what would though, without knowing what your application does and how is it programmed to do that. There is basically no information to troubleshoot with. Regards On Friday, July 6, 2012 8:51:38 PM UTC+2, wd

[web2py] Re: Burned by web2py.js ... again

2013-01-15 Thread LightDot
So web2py would provide helpers to use this JS file upload library? And helper's syntax would be backwards compatible? In the mean time, for anyone else searching for upgrade advice, here is how I look at it: upgrading web2py and upgrading anything within an application running on web2py, are t

Re: [web2py] New Plugin: plugin_markitup

2013-01-18 Thread LightDot
How are you using the plugin? Can you post some code? As to getting the code from BitBucket, go to: https://bitbucket.org/PhreeStyle/web2py_markitup/downloads And select "Tags" or "Branches", you'll see options to download as .zip, .tar.gz or .tar.bz2. Regards, Ales On Saturday, January 19, 201

[web2py] Re: contribute: db diagram for web2py appadmin

2013-01-31 Thread LightDot
Works nicely! +1 to adding this into appadmin and moving the static/view files into admin. It wouldn't need to replace the existing "graph model", there is plenty of space for another button next to it ;) Regards, Ales On Thursday, January 31, 2013 3:31:53 PM UTC+1, Paolo Caruccio wrote: > >

Re: [web2py] Cannot label id field

2013-02-11 Thread LightDot
Field label and representation are two different things... A label is only displayed next to the field in generated forms. A visual aid, so to speak... Regardless of the label, the field itself would still be named "id", it's format or representation would stay the same. François simply wants t

[web2py] Re: custom auth table on separate file not in db.py

2013-02-15 Thread LightDot
I'd say that common work flow when creating new web2py applications is: - create a new application trough admin. Name it for example "init" (if you want it to be the default, without touching the routes) or something else - edit it, either trough admin's embedded editor or by other means - once y

[web2py] Re: Relocating auth/user & Login component

2013-02-24 Thread LightDot
Does the user/handle.load view exist? On Monday, February 25, 2013 12:52:05 AM UTC+1, Vixus wrote: > > By default auth seems to assume everything is under: > default/user/[login,register,etc.] > But I want to instead have everything under: > user/handle/[login,register,etc.] > So I moved the us

[web2py] Re: The Great Web Framework Shootout

2013-02-28 Thread LightDot
A couple of bugs has crept in... Assuming you've already followed the instructions (as pasted above): 1) to the top of applications/benchmark/controllers/tests.py add: import os 2) in applications/benchmark/views/tests/hellos.html and in applications/benchmark/views/tests/hellodb.html change: {

Re: [web2py] Re: web2py is moving

2013-03-02 Thread LightDot
Well, web2py.com with and without www resolves from my location (EU). DNS query shows A records at dns1.vps.net and dns2.vps.net for both, pointing at the same IPs, etc.. I can also reach the web site at both addresses, the book app works for me now... So both DNS and VPS settings seem ok now.

[web2py] Re: web2py is moving

2013-03-02 Thread LightDot
The book is too big to be included in every download, IMHO, it's about 120 MB or so. The link... well, github -> search -> web2py book ;) Regards, Ales On Sunday, March 3, 2013 2:22:40 AM UTC+1, Monte Milanuk wrote: > > Could you provide a link? I would very much like to work offline at > tim

[web2py] Re: web2py 2.4.2 is OUT

2013-03-05 Thread LightDot
I know of some users that made it work on windows, so it wouldn't be enough to just check the OS. Also, if the button is hidden in case the lib import fails, then new users would never see it and be reminded that they can install the library and use it. In both cases, the button serves a cause,

[web2py] Re: scheduler question, how to use queue_task?

2013-03-07 Thread LightDot
I believe I just stumbled on the same problem last night. I was upgrading an app with an old scheduler (1.99.2) to current (2.4.2). I temporarily solved it by continuing to insert the db record manually, as I needed to finish this quickly and had no time to troubleshoot... I'll be able to do fu

[web2py] Re: scheduler question, how to use queue_task?

2013-03-07 Thread LightDot
Right, my vars dicts seemed a bit odd when I looked at them, now I know why ;) Same thing bit me, apparently. Thanks for reporting back! Regards, Ales On Thursday, March 7, 2013 12:15:16 PM UTC+1, Tim Richardson wrote: > > > > On Thursday, 7 March 2013 21:49:12 UTC+11, Niphlod wrote: >> >> seems

Re: [web2py] Re: database shootout

2013-03-08 Thread LightDot
I don't know in terms of user numbers but mysql is getting replaced with mariadb in Fedora, which will have some impact. Current plan for Fedora 19 is this: - mariadb package will provide "mysql" - existing mysql package will be renamed to MySQL - mariadb and MySQL pacakges conflict, they can't b

[web2py] Re: postgres getting started ("hello world")

2013-03-08 Thread LightDot
You'll get much better help on a forum that's about your OS and/or postgresql, as this doesn't have anything to do with web2py. Regards, Ales On Saturday, March 9, 2013 12:19:04 AM UTC+1, BlueShadow wrote: > > I like to change my db to postgresql. > So I installed it by the following guide: > #

Re: [web2py] postgres getting started ("hello world")

2013-03-09 Thread LightDot
That's a different problem. And this one is about web2py :) Do you have a function in conrollers/default.py called TestPostgres..? The easiest way to help you would be if you simply post the code (controller, view and possibly model) that's giving you problems. Regards, Ales On Saturday, March

Re: [web2py] postgres getting started ("hello world")

2013-03-09 Thread LightDot
How are you trying to access your application, what URL are you using? I don't think you have an error anywhere really. Assuming you're doing this on the localhost and using the rocket web server that comes with web2py, try: http://127.0.0.1:8000/TestPostgres/default/index BTW, if you look at

Re: [web2py] postgres getting started ("hello world")

2013-03-09 Thread LightDot
Have you changed the default routes.py files? >> >> On Saturday, March 9, 2013 9:32:19 AM UTC-5, BlueShadow wrote: >>> >>> thats what I did: >>> http://85.214.201.75/TestPostgres/default/index >>> the app is on my server where I got the postgres db in

Re: [web2py] Re: database shootout

2013-03-10 Thread LightDot
I love the IDEA of Fedora, but I don't use it. > > Fedora is Red Hat's experimental, community-based product. It's bleeding > edge. That means stuff is often broken and changes in direction are not > impossible. > > This is not what I need, especially for a pr

Re: [web2py] Re: web2py 2.4.3 is OUT

2013-03-12 Thread LightDot
You're basically suggesting a design change from a list to a grid..? I'm not sure I'd agree, especially if the grid would be as busy as the one you've used as an example, but the admin is just an application, you can submit patches. Which might or might not get included :) Sorting alphabeticall

[web2py] Re: Is this a bug? DAL update records using an expression

2013-03-14 Thread LightDot
This probably breaks quite a few apps out there? It did one for us. Did anyone open a bug report? Regards, Ales On Wednesday, March 13, 2013 1:22:57 AM UTC+1, Alex wrote: > > I've got the same problem. I have a field with type decimal(12,4), I can > add a number to this field but not subtract.

[web2py] Re: web2py default server in production

2013-03-14 Thread LightDot
Red Hat Enterprise Linux 5 aka RHEL 5? You'll be having python 2.4.x installed by default and web2py 2.x.x or newer requires python 2.5 as a minimum. Python 2.6 is available in the Fedora EPEL repository for RHEL 5. Perhaps you already knew this, but I thought I'd mention it in case you don't..

[web2py] Re: Problem with URL inside loaded component - Bug??

2013-03-14 Thread LightDot
I don't think it's a bug, .load is inherited in this case, isn't it? In other words, it's a feature :) You can set extension=False in the URL(), that prevents .load from getting added. Regards, Ales On Thursday, March 14, 2013 9:11:42 PM UTC+1, Jim S wrote: > > I have a LOADed component and in

[web2py] Re: Field('upload') : problem with file name

2013-03-16 Thread LightDot
If you're sure it's the file name, make some test cases, see what fails exactly and what doesn't... Usual suspects from the file name in question would be dots, parentheses, dashes, commas, spaces... I don't see any others. Or perhaps a hidden rogue character, like a space that isn't a space...

[web2py] Re: Backup & Restore problems

2013-03-21 Thread LightDot
Quite right, restoring from, let's say, native mysql dump to postgresql would most certainly not work. That's exactly why web2py uses csv as the export format. I don't think exporting / importing to csv is really recommended over using the native export / import functionality of your database e

[web2py] Re: Backup & Restore problems

2013-03-21 Thread LightDot
end the db to another colleague, or restore an > older version through the application. > That's what I'm dealing with right now, and it fails on me. > > Le jeudi 21 mars 2013 13:49:24 UTC+1, LightDot a écrit : >> >> Quite right, restoring from, let's say,

[web2py] Re: "4 minutes ago"

2013-03-22 Thread LightDot
Sure, described here: http://web2py.com/books/default/chapter/29/14#Pretty-dates Regards, Ales On Saturday, March 23, 2013 2:27:32 AM UTC+1, Ricardo Cárdenas wrote: > > My google-fu has not helped me come up with an answer... > > Django has a set of template filters they call "humanize" which wi

[web2py] Re: Quality of Code

2013-03-23 Thread LightDot
I believe this thread is related and has some suggestions: https://groups.google.com/d/topic/web2py/-wanxR44Aro/discussion Regards, Ales On Saturday, March 23, 2013 4:26:59 PM UTC+1, Alfonso de la Guarda Reyes wrote: > > Hi, > > Trying to make some final adjustments to one of my projects, i h

[web2py] Re: bootswatch : bootstrap.css replace what file

2013-03-26 Thread LightDot
Replace existing yourapp/static/css/bootstrap.min.css with the bootstrap.min.css file from bootswatch.com. Keep web2py_bootstrap.css as it is, as this file is web2py specific and does not come from either Bootstrap or Bootswatch. Note that web2py is still at Bootstrap 2.2.2 at the moment, altho

[web2py] Re: how about setting a standard fadeout to response.flash?

2013-03-26 Thread LightDot
I prefer to keep web2py.js stock, to ease updates, so I add a similar fadeout js to layout.html when I need it. I'm not sure I'd alter the default though. App user can miss a message that fades out quickly, so I prefer to leave such decisions to the UI designer. We have apps that have flash mes

[web2py] Re: strange mobile behaviour when changing bootstrap theme

2013-03-26 Thread LightDot
Did you use Bootswatch compatible with the Bootstrap 2.2.2 version? web2py is still at Bootstrap 2.2.2 ATM. Older Bootswatch versions are available for download from their site. Or you could update the rest of the Bootstrap included with web2py to 2.3.1 and see if this also solves the issue. An

[web2py] Re: bootswatch : bootstrap.css replace what file

2013-03-26 Thread LightDot
If you download a customized version of Bootstrap, all css are contained in a single file. In this case just use bootstrap.min.css and remove references to bootstrap-responsive.min.css from your code. However, if you download the stock zip from the first page of http://twitter.github.com/bootst

[web2py] Re: spoiler (show hidden content without reloading the page)

2013-04-03 Thread LightDot
Assuming you have Bootstrap included in the code, you might as well use it. Bootstrap -> Javascript -> Collapse, works like a charm... Regards, Ales On Wednesday, April 3, 2013 10:08:35 PM UTC+2, BlueShadow wrote: > > Hi, > I would love to add a funktion to my app where I can hide some content.

[web2py] Re: web2py with ExtJS - advice required on restructing

2013-04-05 Thread LightDot
It's hard to answer this without knowing what are the application goals and what are the issues you're facing. So... what exactly is a problem with the current approach? What would you like to achieve by restructuring? Regards, Ales On Friday, April 5, 2013 8:45:28 AM UTC+2, at wrote: > > > HI,

Re: [web2py] Re: How to benchmark my web2py website? I have got scary results :-/

2013-04-06 Thread LightDot
Well, It seems that terra.com.br's firewall and/or web server's security mechanisms got you... You can't blame them, they likely have reasonably good protections against DOS attacks and you probably forgot to tell them to turn these off so you could "test" their site... LOL... Seriously, I hop

Re: [web2py] performance issue time to first byte

2013-04-10 Thread LightDot
First thing I'd do in this case is compile the app, then test again. ;) Don't try other things before compiling. Next thing I'd do is look into caching, it's usually very much worth it. Depends on your app, though. What db are you using? How is the connection pooling set now? You can find out

Re: [web2py] performance issue time to first byte

2013-04-10 Thread LightDot
Well, this is completely unexpected. I really can't think of what would cause the compiled code to run slower than the uncompiled one. Intriguing!! Anyway, you probably used the admin to compile the app? There is a menu entry "Remove Compiled" there, same place as the "Compile" was. On Wednesd

Re: [web2py] performance issue time to first byte

2013-04-10 Thread LightDot
I tested a couple of my sites, to get some feel as to what to expect. TTFB from the first run, tested across half of Europe: 1st site: 57ms to 74ms 2nd site: 57ms to 202ms First one is a corporate style web page, the second one has a lot of content, thumbnails, etc. Both using apache + mod_wsgi

[web2py] Re: ZeroMQ in web2py

2013-04-11 Thread LightDot
Sounds to me like you have a couple of real life situations you need solutions for. So the best thing to do is start coding. If you're unsure about how to tackle the web2py integration, I'm sure people will provide comments once you present your specific ideas or code drafts. If you start out i

Re: [web2py] Server performance (cpu/memory)

2013-04-11 Thread LightDot
Are you using db connection pooling and do you cache your queries? That could help. On Thursday, April 11, 2013 2:45:41 PM UTC+2, Marco Tulio wrote: > > about 50 to 90% ... > but I see that this is not a problem because of how fast the server > usually answers, this seems to be a problem when t

Re: [web2py] Server performance (cpu/memory)

2013-04-11 Thread LightDot
You're absolutely correct. 6 seconds or even db timeouts an just a few connections mean that something is wrong. It's either much more connections than it seems or there is a problem in the code or even OS. Ricardo made a valid observation in regards to rogue bots. This problem is more wide spr

[web2py] Re: /var/.htaccess and Internal Server Error

2013-04-14 Thread LightDot
The .htaccess is an Apache issue, doesn't have anything to do with web2py as such. Better said, it's not really an Apache issue either, as the .htaccess and Apache worked as expected, according to the instructions in the .htaccess. You should be talking to whoever put the file there, as he/she

[web2py] Re: help with css

2013-04-14 Thread LightDot
I also didn't notice any changes between Bootstrap 2.2.2 and 2.3.1 as far as web2py integration goes. Probably a good time to drop the update into dev. I didn't test the newer jQuery, 1.9.x. When upcoming Bootstrap 3 and jQuery 2 come, it won't be so simple. A shortlist of somewhat disruptive d

[web2py] Re: framework benchmarks - web2py surprisingly slow?

2012-10-03 Thread LightDot
I just noticed that Andriy has updated the article with an "Isolated Benchmark" yesterday. I quote: "In order to provide more reliable benchmark I get rid of application server and network boundary. As a result I simulated a valid WSGI request and isolated calls just to framework alone" The art

[web2py] Re: Send emails using my own domain

2012-10-08 Thread LightDot
Well, if your domain is hosted somewhere, the provider usually gives you access to a mail server too. The access information needed is pretty obvious, username and password, same as you need for regular SMTP access. Regards, Ales On Monday, October 8, 2012 1:40:19 PM UTC+2, Hassan Alnatour wro

Re: [web2py] bootstrap modal and web2py LOAD()

2012-11-01 Thread LightDot
By "the whole page", do you mean the page from where the modal is called or just the contents of the modal itself..? Anyway, I'm using LOAD() to display a form in a Bootstrap modal, the form submits data, data is processed by a function and a result is displayed in the same modal. I'd have to l

  1   2   3   4   >