Re: [web2py] Re: required class for required fields

2013-08-28 Thread Vinicius Assef
Great idea, the onrender callback. On Wed, Aug 28, 2013 at 12:33 AM, mr.freeze nfre...@gmail.com wrote: Thanks Manuele. I am hoping that a generic onrender callback for default widgets will simplify this. On Tuesday, August 27, 2013 5:38:37 AM UTC-5, Manuele wrote: Il 25/08/13 00:37,

[web2py] Re: GoogleGroup - how do you keep track of useful code?

2013-08-28 Thread Willoughby
I paste them into OneNote as I stumble across them - and put a tag with them so I can search them later. Also allows me to work offline when flying, etc. On Tuesday, August 27, 2013 6:03:54 PM UTC-4, greenpoise wrote: I cant seem to find a way to track useful code. I can only Star really

Re: [web2py] Begginer questions about web2py

2013-08-28 Thread Gallien Labeyrie
Hello, Thanks for your answers and links,everything is fine now, I connect to my database and i'm able to debugg the app :) -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from

[web2py] Why is the plugins list empty in the wizard?

2013-08-28 Thread Razvan Teslaru
I'm trying out the New Application Wizard -- in step 1, however, the plugins box is empty. I searched around and came across an older bug, where the plugins where there but were not visible due to a 'overflow-y: auto' value. However, this is a different issue: the plugins are not listed at

[web2py] ApplicationController to always call function on page load?

2013-08-28 Thread Tobias Dahlberg
Hi I have been developing some applications using Ruby on Rails but have now switched to web2py. The switch have been very pleasant, I find web2py to be really useful and fun to develop in. I have figured out how to do most things that I am used to do in RoR. One thing I haven't been able to

[web2py] Webhosts for Web2py

2013-08-28 Thread Vivek Jha
I am new in web development and I have started with web2py and have almost copleted reading the web2py book. Now few practical issues are coming up about which I don't have any experience and that is chosing the right economical webhost. I think following suits my pocket: 1. Bluehost 2.

[web2py] Re: Why is the plugins list empty in the wizard?

2013-08-28 Thread Massimo Di Pierro
The problem is that the plugin app has been deprecated and plugins are being moved to github and web2pyslices. It was a nice automatism we did not have enough manpower to keep the plugins updated. It was not very useful. Massimo On Tuesday, 27 August 2013 15:41:59 UTC-5, Razvan Teslaru wrote:

[web2py] Re: ApplicationController to always call function on page load?

2013-08-28 Thread Massimo Di Pierro
In any model you can do def myfuntion(): pass myfunction() models are always executed before page loads, they are executed in alphabetical order. On Wednesday, 28 August 2013 02:16:04 UTC-5, Tobias Dahlberg wrote: Hi I have been developing some applications using Ruby on Rails but

[web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
Hi there! Did Anyone already made some puppet module to manage/install web2py and web2py's app management(install/update) through Puppet? I was thinking about hosting my app in a git repository and use a puppet module to keep web2py updated (by applying both web2py and app changes to client

Re: [web2py] puppet for web2py

2013-08-28 Thread Vinicius Assef
I don't know puppet, but this weekend I'll be doing it through shell script, to one customer. On Wed, Aug 28, 2013 at 11:28 AM, Francisco Barretto kikobarre...@gmail.com wrote: Hi there! Did Anyone already made some puppet module to manage/install web2py and web2py's app

[web2py] Re: Webhosts for Web2py

2013-08-28 Thread Massimo Di Pierro
Answers below. On Tuesday, 27 August 2013 16:11:22 UTC-5, Vivek Jha wrote: I am new in web development and I have started with web2py and have almost copleted reading the web2py book. Now few practical issues are coming up about which I don't have any experience and that is chosing the

[web2py] jQuery and custom form giving unwanted form submit

2013-08-28 Thread Jordan Ladora
Hi all, I initially noticed the problem of unwanted form submits when trying to make elements from a custom form sortable w/ jquery, but the problem extends further.. I first posted the problem here - https://groups.google.com/forum/?fromgroups=#!topic/web2py/rPHKPqqHbsg It also happens when

[web2py] Re: GoogleGroup - how do you keep track of useful code?

2013-08-28 Thread Rufus
If you use windows, you can open a folder on your desktop and drag-and-drop the links into it. (if you trust that the snippet will always be available in the 'net) I have several folders-of-shortcuts on my desktop by categories, e.g.: Current Projects, Diversions, Past Projects, Python Sites,

[web2py] Re: CAS provider and registration

2013-08-28 Thread Larry Weinberg
It look like trunk gives the same results. - I create two new apps up casserve and casclient - In casclient I create auth with this: - auth = Auth(db,cas_provider = 'http://127.0.0.1:8000/casserve/default/user/cas') - I launch casclient/default/index and the login menu only

Re: [web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
There is a .sh provided along with the web2py distribution for install purposes. The main thing is that when you do it through puppet ( http://puppetlabs.com/) and your machine goes bad for any reason you just have to apply your puppet again. Or if you want to replicate your app into X new

Re: [web2py] puppet for web2py

2013-08-28 Thread nils
Hi, You should take a look a http://docs.saltstack.com/ref/python-api.html This is like fabric and puppet all in one and its really easy to use. Regards, Nils On Wed, Aug 28, 2013 at 3:28 PM, Francisco Barretto kikobarre...@gmail.comwrote: Hi there! Did Anyone already made some puppet

[web2py] Re: GoogleGroup - how do you keep track of useful code?

2013-08-28 Thread greenpoise
Well I ended up with a firefox extension called *List.It*. It is really good actually as it allows me to copy and search through. It is sort of what Opera offers as a note taker but presented better. I am a Chrome user but this extension is not on Chrome. Not a deal breaker though, I can use

Re: [web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
The main thing is that everything else is puppetized here... it would be probably better if it could fit in smoothly through puppet. It is possible to implement everything from scratch but it's a lot of work. Em quarta-feira, 28 de agosto de 2013 13h04min02s UTC-3, nils escreveu: Hi, You

[web2py] Document for Fedora Deployment

2013-08-28 Thread Xiaokui Shu
Dear all, I like web2py very much and I created my own application. However, I find difficulties deploying web2py on Fedora 19. After my successful deployment, I write a short document that may help others overcome the issues I had in the deployment process. I read the Fedora setup script

Re: [web2py] puppet for web2py

2013-08-28 Thread Vinicius Assef
Puppet is a provisioning system. All provisioning can be done with shell script and I'm doing this in Vagrant development environments. On Wed, Aug 28, 2013 at 12:59 PM, Francisco Barretto kikobarre...@gmail.com wrote: There is a .sh provided along with the web2py distribution for install

[web2py] Re: web2py | Email + IMAP | Help Wanted

2013-08-28 Thread Alan Etkin
How? I know that imaplib allows selection of mailbox folders using *mail.select(mailbox)* But how does one do that directly in the model while using DAL? imap = DAL(...) # declares a mailbox table linked to the imap server INBOX folder. # only declared folders will be available.

[web2py] Re: Can't retrieve xy.jpeg file properties (.thumbnail vs .jpeg) from PIL resized image (2.6.0-dev)

2013-08-28 Thread Adi
Thanks Ricardo and Niphlod for your help! On Tuesday, August 27, 2013 5:59:44 PM UTC-4, Niphlod wrote: you kinda have to. contenttype is automatically guessed from the extension only. There's no header instrospection. On Tuesday, August 27, 2013 9:07:56 PM UTC+2, Adi wrote: This is the

[web2py] Re: Export not working on filtered table?

2013-08-28 Thread greenpoise
Massimo, I opened a ticket for this. I think you couldnt reproduce the error. I now remember (I had not tried it since I opened the ticket) how to reproduce the error. The process is this: 1. Create a SQLForm.grid with a query 2. Do a Search using the SQLForm.grid search bar 3. Click on Export

[web2py] Re: GoogleGroup - how do you keep track of useful code?

2013-08-28 Thread Dave S
Web2pyslices does have a variety of catagories: recipe, question, article, and package. Only the last sounds like it needs to be a complete solution or full example, although the recipe and articles are probably more useful when they don't leave too much stuff out. Also, in GG, there is a

[web2py] Logged in dropdown links

2013-08-28 Thread dirman
is it posible to add another link to the logged in dropdown in adding to the profile,password and logout links? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [web2py] Re: Help with SQLite, a way to groupby values not a field?

2013-08-28 Thread Michele Comitini
You can do in SQL by using UNION and subselect, something similar to this (not tested): select a1, count(a1) from (SELECT c1 FROM t1 UNION SELECT c2 FROM t1 UNION SELECT c2 FROM t1) as a1 GROUP BY a1; 2013/8/28 davedigerati hypr...@gmail.com humbly bumping... On Sunday, August 25, 2013

[web2py] new web2py.js changes the sequence of execution

2013-08-28 Thread simon
I have some very simple jquery scripts for creating dialog boxes. This was all working fine until the replacement of web2py.js in release 5113. However now it no longer works. The pre-5113 version had a web2py_ajax_page complete function that first filled my dialog box and then executed

[web2py] Current status of CouchDB and MongoDB support?

2013-08-28 Thread Jim Allman
Hi all, I'm currently working in web2py v2.4.5, and it looks like our project would benefit from adding a second, NoSQL database. I've searched the archives of this forum and the history of DAL code in the web2py repo, but it's still not clear to me whether either CouchDB or MongoDB is really

Re: [web2py] Simple BASE in routes.py gives me invalid request

2013-08-28 Thread Wei Wang
Just got a chance to try this: I copied the midash/views/default/user.html tomiops/views/default/user.html, reloaded the page at /midash/user/login?_next=/midash/default/index, my user login page shows up. So I guess there is a bug somewhere in the routing code. -- --- You received this

[web2py] Re: Current status of CouchDB and MongoDB support?

2013-08-28 Thread Alan Etkin
I'm currently working in web2py v2.4.5, and it looks like our project would benefit from adding a second, NoSQL database. I've searched the archives of this forum and the history of DAL code in the web2py repo, but it's still not clear to me whether either CouchDB or MongoDB is really

Re: [web2py] Simple BASE in routes.py gives me invalid request

2013-08-28 Thread Jonathan Lundell
On 28 Aug 2013, at 2:28 PM, Wei Wang ww9riv...@gmail.com wrote: Just got a chance to try this: I copied the midash/views/default/user.html tomiops/views/default/user.html, reloaded the page at /midash/user/login?_next=/midash/default/index, my user login page shows up. So I guess there is

[web2py] Any way of removing the text from Grid buttons?

2013-08-28 Thread greenpoise
is there a way to remove the text from grid buttons? I mean the stock ones (View, Edit, Delete) -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-28 Thread Niphlod
On Wednesday, August 28, 2013 10:20:53 PM UTC+2, simon wrote: I have some very simple jquery scripts for creating dialog boxes. This was all working fine until the replacement of web2py.js in release 5113. However now it no longer works. What commit identifies release 5113 ? The

[web2py] Starting web2py fails silently with Cygwin python

2013-08-28 Thread Razvan Teslaru
Trying to run web2py under cygwin. Python 2.7.5 installed, plus all necessary dependencies. Downloaded and unzipped web2py_src.zip; when running ./web2py, it hangs for a few seconds and then exits, without any message. Initially I thought it might attempt (and fail) to spawn the GUI to get a

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-28 Thread Anthony
Looks like this changehttps://code.google.com/p/web2py/source/browse/applications/admin/static/js/web2py.js?r=b995ca36cd33a28339d54f15bcf8eebb6d58f2e6was actually made in January in response to this issue https://code.google.com/p/web2py/issues/detail?id=1254. Technically, I suppose it does

[web2py] Re: Why is the plugins list empty in the wizard?

2013-08-28 Thread Alan Etkin
The problem is that the plugin app has been deprecated and plugins are being moved to github and web2pyslices. It was a nice automatism we did not have enough manpower to keep the plugins updated. It was not very useful. It is possible to feed the admin app with a query to a web2pyslices

[web2py] Re: Modifying auth.signature

2013-08-28 Thread Scott Hunter
I can, and have. It just seems brittle; presumably there is code is Auth that relies on this structure, and should it change, my clone might no longer be consistent with it. Hence, my desire for a way to modify the existing Fields instead of making my own Fields which happen to match their

[web2py] DAL , pymysql

2013-08-28 Thread OrrĂ¹
Hi, I have two applications running: the application A is an instance of web2py and application B is based on the DAL standalone, aplications A and B, both with to migrate=False , to connecting to the same DB (mysql server). *Sometimes the two fail* and return the following error: