[web2py:36495] Re: about distribution

2009-12-03 Thread mdipierro
the *.w2p would always be updated anyway On Dec 4, 12:27 am, Thadeus Burgess wrote: > I am fine with 1. > > I am fine with 2. > > 3. I would like welcome.w2p to be updated as well, so I could > overwrite welcome with a new template in case I mucker my welcome app > up from playing around :) > > -

Re: [web2py:36494] Re: about distribution

2009-12-03 Thread Thadeus Burgess
I am fine with 1. I am fine with 2. 3. I would like welcome.w2p to be updated as well, so I could overwrite welcome with a new template in case I mucker my welcome app up from playing around :) -Thadeus On Fri, Dec 4, 2009 at 12:02 AM, mdipierro wrote: > On Dec 3, 11:51 pm, Thadeus Burgess

[web2py:36493] Re: Recaptcha not working in Login

2009-12-03 Thread ed
Hi Massimo, It doesn't work in the sense that Recaptcha was not displayed even if i used the latest code. Thanks again. Ed On Dec 4, 2:17 pm, ed wrote: > Hi Massimo, > I now understand that it's a special case. I copied your code and > restarted the server, but still " auth.settings.login_captcha

[web2py:36492] Re: Recaptcha not working in Login

2009-12-03 Thread mdipierro
I am puzzled. Does it show or does it not show. What do you see in the page source? On Dec 4, 12:17 am, ed wrote: > Hi Massimo, > I now understand that it's a special case. I copied your code and > restarted the server, but still " auth.settings.login_captcha " > doesn't work. > Ed > > On Dec 4,

Re: [web2py:36491] Re: about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 10:02 PM, mdipierro wrote: > I believe the md5 option is overkill. Moreover it would be > responsibility of the app that may have been edited to keep the md5 of > the original version. Not really. If the md5 is gone, it's gone and doesn't match. -- You received this message b

[web2py:36490] Re: Recaptcha not working in Login

2009-12-03 Thread ed
Hi Massimo, I now understand that it's a special case. I copied your code and restarted the server, but still " auth.settings.login_captcha " doesn't work. Ed On Dec 4, 1:19 pm, mdipierro wrote: > Now I understand better. It does not work because the recaptcha has to > be inserted in a form=SQLF

[web2py:36489] Re: about distribution

2009-12-03 Thread mdipierro
On Dec 3, 11:51 pm, Thadeus Burgess wrote: > this is aweful alot just to determine when to upgrade a damn app... > > Honestly, what files usually need to be upgraded for a site that has > been edited? > > [web2py_ajax.html, appadmin.py] Nothing. It is not obvious that you want to upgrade these fi

Re: [web2py:36488] Re: about distribution

2009-12-03 Thread Thadeus Burgess
this is aweful alot just to determine when to upgrade a damn app... Honestly, what files usually need to be upgraded for a site that has been edited? [web2py_ajax.html, appadmin.py] Does anybody ever edit admin??? Why would you. I consider admin as a part of web2py, not an app I would edit. I t

[web2py:36487] Re: upgrade app

2009-12-03 Thread mdipierro
> > There are two problems. Consider the errors folder. README.txt would > > show up in the admin error page. > > Then find a way to do it - change so that errors does not show either > README or anything that has the pattern '__.*__'; I do not like the idea that I have to modify the code to use m

[web2py:36486] Re: about distribution

2009-12-03 Thread mdipierro
Yarko. web2py already uses mercurial if it is installed: http://code.google.com/p/web2py/source/browse/trunk/applications/admin/controllers/mercurial.py and I would love somebody to take the lead and improve that controller. You suggested making it required for installation of applications.

[web2py:36485] Re: Recaptcha not working in Login

2009-12-03 Thread mdipierro
Now I understand better. It does not work because the recaptcha has to be inserted in a form=SQLFORM after it is defined but before it is acceted. Since you are using form=auth.login() this function creates the form and accepts in one step. It cannot be done without modifying gluon tools. I hav

[web2py:36484] Re: about distribution

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 10:06 pm, mdipierro wrote: > On Dec 3, 7:09 pm, Yarko Tymciurak > wrote: > > > On Dec 3, 1:06 pm, mdipierro wrote: > > > > We cannot do distribute mercurial with web2py because it is GPL and it > > > would not allow us to claim the commercial exception (redistribution > > > of bundled

[web2py:36483] Re: R.1481 Breaks Auth that uses a 'username' field.

2009-12-03 Thread mdipierro
fixed in trunk. Thanks On Dec 3, 10:31 pm, Thadeus Burgess wrote: > Traceback (most recent call last): >   File "/home/thadeusb/Applications/web2py/gluon/restricted.py", line > 184, in restricted >     exec ccode in environment >   File > "/home/thadeusb/Applications/web2py/applications/thadeus

[web2py:36482] Re: upgrade app

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 10:04 pm, mdipierro wrote: > > Just add a README.txt in needed empty directories - it can say "This > > directory is needed, and is distributed empty."  -- DONE! > > Actually, even if directories are versioned, this is a helpful, useful > > kind of README to have regardless. > > If it we

[web2py:36481] R.1481 Breaks Auth that uses a 'username' field.

2009-12-03 Thread Thadeus Burgess
Traceback (most recent call last): File "/home/thadeusb/Applications/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/home/thadeusb/Applications/web2py/applications/thadeusb0/controllers/default.py", line 51, in File "/home/thadeusb/Applications/web2

[web2py:36480] Re: Login Problem with the Administrative Interface

2009-12-03 Thread mdipierro
Yes. Sessions are not working. Two options: 1) your cookies are disabled 2) because you are running from the Applications folder it does not have permission of saving the session files. Try run it form desktop. Massimo On Dec 3, 6:35 pm, Ross Peoples wrote: > Hello, I need help with something.

[web2py:36479] Re: about distribution

2009-12-03 Thread mdipierro
On Dec 3, 7:09 pm, Yarko Tymciurak wrote: > On Dec 3, 1:06 pm, mdipierro wrote: > > > We cannot do distribute mercurial with web2py because it is GPL and it > > would not allow us to claim the commercial exception (redistribution > > of bundled binaries). I only incorporate third party BSD-like

[web2py:36478] Re: upgrade app

2009-12-03 Thread mdipierro
> Just add a README.txt in needed empty directories - it can say "This > directory is needed, and is distributed empty."  -- DONE! > Actually, even if directories are versioned, this is a helpful, useful > kind of README to have regardless. If it were so easy we would have done it already. There

[web2py:36477] Re: Someone have examples using mongodb

2009-12-03 Thread mdipierro
It should be easy to port the DAL on mongoDB. Look into gluon/contrib/ gql.py I can help, I ma very much interested in this. massimo On Dec 3, 6:37 pm, Alexandre Andrade wrote: > I found some messages at the list talk about mongodb and maybe a > DAL-like interface. > > Someone have examples of u

[web2py:36476] Login Problem with the Administrative Interface

2009-12-03 Thread Ross Peoples
Hello, I need help with something. I just downloaded the OSX binary for web2py, copied it to my Applications folder, launched it, entered a password, started the server, then tried to log into the administrative interface, but everytime I enter my password, it just keeps reloading the log in page.

[web2py:36475] Re: Recaptcha not working in Login

2009-12-03 Thread ed
Hi Massimo, The code does not display the recaptcha. Inserted code that displayed recaptcha but still failed to validate recaptcha words. I am baffled why the code works perfectly with the Registration and it doesn't with Login. Thanks again. Ed On Dec 3, 12:45 pm, mdipierro wrote: > Does it work

[web2py:36474] Re: web2py users growth

2009-12-03 Thread waTR
Agree re: code commenting. When I did my little bit of work with SQLHtml, it had almost no comments that describe the intent of the code. This made it much harder to figure out what affects what. This resulted in a lot of unnecessary unintended results in my code that I only found through the testi

[web2py:36473] Re: about distribution

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 7:09 pm, Yarko Tymciurak wrote: > On Dec 3, 1:06 pm, mdipierro wrote: > > > We cannot do distribute mercurial with web2py because it is GPL and it > > would not allow us to claim the commercial exception (redistribution > > of bundled binaries). I only incorporate third party BSD-like c

[web2py:36472] Re: about distribution

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 1:06 pm, mdipierro wrote: > We cannot do distribute mercurial with web2py because it is GPL and it > would not allow us to claim the commercial exception (redistribution > of bundled binaries). I only incorporate third party BSD-like code in > web2py. So what! you do not distribute (f

[web2py:36471] Re: getting stable version equivalent from SVN

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 3:24 pm, Thadeus Burgess wrote: > +1 for a web2pyslice on the matter :P > > Could this process be automated? IF this can be automated in some reliable way, then you've found a script you can give Massimo (as I don't think anyone else has any wrote permissions in the repository) to FINA

[web2py:36470] Re: web2py users growth

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 4:25 pm, Thadeus Burgess wrote: > It also depends on the TYPES of questions that get asked, and the rate of > "yes there is a solution" to "no sorry" answers. > > For web2py, I would say 99% of the questions that get asked, get answered > with a "yes you can, here is how". *sigh* --- as

[web2py:36469] Re: upgrade app

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 5:53 pm, mdipierro wrote: > I do not have a main. I keep then synchronized. I trust launchpad > better. > > I like mercurial but the problems are: > 1) bitbucket is not free unless for more then 100GB This is old news; forget bitbucket; google code for mercurial... GIves code review t

[web2py:36468] Someone have examples using mongodb

2009-12-03 Thread Alexandre Andrade
I found some messages at the list talk about mongodb and maybe a DAL-like interface. Someone have examples of using web2py with mongobd? I'm planning work in a workflow/bpm app using it. Any help welcome. -- Atenciosamente -- = Alexandre Andrade Hipercenter.com --

[web2py:36467] Re: Python 2.6 Errata

2009-12-03 Thread mdipierro
I am aware of this problem. This is a different behavior in the cgi.FieldStorage object in Python. Please look in web2py.gluon.main how post_vars is filled. I have thought about this a lot and I do not see any way to make this work in web2py in the same way in 2.5 and 2.6. Massimo On Dec 3, 1

[web2py:36466] Re: upgrade app

2009-12-03 Thread mdipierro
I do not have a main. I keep then synchronized. I trust launchpad better. I like mercurial but the problems are: 1) bitbucket is not free unless for more then 100GB 2) I have tried to user hg with web2py apps and I run into the problem that empty folders are not version controlled. This is very an

[web2py:36465] Re: check background task is running

2009-12-03 Thread mdipierro
I would make my own startup script and use using a minoring deamon to restart. There is one for linux but I do not recall the name. On Dec 3, 4:26 pm, Thadeus Burgess wrote: > Sounds like you have it worked out to me :) > > Use sys.exec to run the process? check /proc for the pid ? > > Otherwise

[web2py:36464] Re: getting stable version equivalent from SVN

2009-12-03 Thread mdipierro
If it appears one, take the last one! Massimo On Dec 3, 3:42 pm, Jonathan Lundell wrote: > On Dec 3, 2009, at 1:24 PM, Thadeus Burgess wrote: > > > +1 for a web2pyslice on the matter :P > > > Could this process be automated? > > Massimo is pretty good about announcing release versions in svn com

[web2py:36463] Iso-Surfaces in Python

2009-12-03 Thread mdipierro
http://web2py.com/p3d/default/isosurface Thanks Yaoqian! Massimo -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@go

Re: [web2py:36462] Re: Python 2.6 Errata

2009-12-03 Thread Alexandre Andrade
You just need to use /app/default/entry/12 where : app= app default=controller entry=function 12 and any other after = arguments and you get it with request.args(0) returns 12 /app/default/entry/12/25 you get with request.args(0) = 12 request.args(1) = 25 2009/12/3, Timbo : > Thinking abou

Re: [web2py:36461] Re: upgrade app

2009-12-03 Thread Thadeus Burgess
Massimo, do you use SVN or BZR as your main repository? (i still say we convert to mercurial) -Thadeus On Thu, Dec 3, 2009 at 4:26 PM, Yarko Tymciurak wrote: > On Dec 3, 2:27 pm, Fred wrote: > > On Dec 1, 8:51 pm, mdipierro wrote: > > > > > People are supposed to use the stable distributi

Re: [web2py:36460] Re: check background task is running

2009-12-03 Thread Thadeus Burgess
Sounds like you have it worked out to me :) Use sys.exec to run the process? check /proc for the pid ? Otherwise you could use CRON, but I am not sure this is what you want? -Thadeus On Thu, Dec 3, 2009 at 4:10 PM, Richard wrote: > any ideas? > > > On Dec 2, 6:29 pm, Richard wrote: > > He

[web2py:36459] Re: upgrade app

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 2:27 pm, Fred wrote: > On Dec 1, 8:51 pm, mdipierro wrote: > > > People are supposed to use the stable distribution (not svn or bzr). > > I wish there was some way to pull stable distributions from the SVN > repository.  SVN "tags" would be good.  Even a simple table that lists > the re

Re: [web2py:36458] Re: web2py users growth

2009-12-03 Thread Thadeus Burgess
It also depends on the TYPES of questions that get asked, and the rate of "yes there is a solution" to "no sorry" answers. For web2py, I would say 99% of the questions that get asked, get answered with a "yes you can, here is how". There are other projects out there, that can't claim such a high

[web2py:36457] Re: check background task is running

2009-12-03 Thread Richard
any ideas? On Dec 2, 6:29 pm, Richard wrote: > Hello, > > I have an ongoing background task for processing my database. > I want this task to automatically start when I run my app somewhere > (can assume it is a Linux box), and to restart if it somehow dies. > > This is my current thinking, whic

[web2py:36456] Re: web2py users growth

2009-12-03 Thread Richard
> LOTS of questions, bug reports, and need for help in using is not a > good sign.  LOW user activity, few question (when correlated with high > use) --- that is a good sign; Do you really believe that? A web framework has a lot more complexity than most applications, so there are bound to be more

Re: [web2py:36455] getting stable version equivalent from SVN

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 1:24 PM, Thadeus Burgess wrote: > +1 for a web2pyslice on the matter :P > > Could this process be automated? Massimo is pretty good about announcing release versions in svn comments. There are some ambiguities, such as 1.71.1 showing up twice, a few days apart, but mostly it

Re: [web2py:36454] getting stable version equivalent from SVN

2009-12-03 Thread Thadeus Burgess
+1 for a web2pyslice on the matter :P Could this process be automated? -Thadeus On Thu, Dec 3, 2009 at 3:01 PM, Fred wrote: > I think I've found a process that allows me to get a stable version of > web2py from http://web2py.googlecode.com/svn/trunk. > > 1. Browse http://web2py.com/example

[web2py:36453] getting stable version equivalent from SVN

2009-12-03 Thread Fred
I think I've found a process that allows me to get a stable version of web2py from http://web2py.googlecode.com/svn/trunk. 1. Browse http://web2py.com/examples/default/download and look for the "current version" info. At the time of writing it's "1.72.3 (2009-11-10 09:17:13)". 2. Get the chang

[web2py:36452] Re: upgrade app

2009-12-03 Thread Fred
On Dec 1, 8:51 pm, mdipierro wrote: > People are supposed to use the stable distribution (not svn or bzr). I wish there was some way to pull stable distributions from the SVN repository. SVN "tags" would be good. Even a simple table that lists the revision number for each stable release would h

[web2py:36451] Re: web2py users growth

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 11:19 am, mdipierro wrote: > If we had a script that does the packing I can work out the politics. I think setting up a 3rd party feed is first priority (if you want to do this at all); All sorts of things (e.g. wine) do this to supply either distros, or newer distros than are accepted

[web2py:36450] Re: Python 2.6 Errata

2009-12-03 Thread Timbo
Thinking about it, this is a bug in web2py. Let me be a little more concrete in my description. I have a custom form that submits to /app/default/entry?id=12. In the form, there is a hidden input tag named "id" with a value of "12". Upon submission, Python 2.5 looks like this: request.vars.id =

[web2py:36449] Python 2.6 Errata

2009-12-03 Thread Timbo
I've been trying to migrate my web2py applications to Python 2.6 and I ran across a nasty bug in Python 2.5 that is fixed in Py2.6, but it amounts to a backward-incompatibility. The bug fixed is: http://bugs.python.org/issue3801 Basically this happens in a POST request where a variable is both in

[web2py:36448] Re: web2py users growth

2009-12-03 Thread AchipA
The packing itself is (almost) a one liner with debhelper, I keep my own web2py installs in debs. Most of the 'official' packaging effort is adapting to some guidelines - like the used paths, startup-shutdown control, logging, dependencies, etc. Web2py, as it is now, is geared towards self-sufficie

[web2py:36447] Re: about distribution

2009-12-03 Thread mdipierro
We cannot do distribute mercurial with web2py because it is GPL and it would not allow us to claim the commercial exception (redistribution of bundled binaries). I only incorporate third party BSD-like code in web2py. Massimo On Dec 3, 1:00 pm, Yarko Tymciurak wrote: > On Dec 3, 11:34 am, Jonath

[web2py:36446] Re: about distribution

2009-12-03 Thread Yarko Tymciurak
On Dec 3, 11:34 am, Jonathan Lundell wrote: > On Dec 3, 2009, at 9:28 AM, mdipierro wrote: > > > why? We only need to check if the app version is less then the current > > web2py version and eventually display a link that gives the admin the > > option to install the latest version of the app. > >

[web2py:36445] Re: Hoy to access appadmin remotely

2009-12-03 Thread mdipierro
session.secure() means that your require HTTPS else the session cookie is not communicated for security reasons. even without the change admin works if you go over HTTPS or use an SSH tunnel. Any other option would not be secure. On Dec 3, 12:01 pm, Adolfo wrote: > Hello > > I've been working w

Re: [web2py:36444] Re: about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 9:59 AM, mdipierro wrote: > I think this may be overkill. I think for each app we should upgrade > all or nothing. I don't think I'm getting the idea across. I'm not proposing per-file upgrades. We would upgrade all or nothing, per application. The checksums determine simply

Re: [web2py:36443] Re: about distribution

2009-12-03 Thread Alexandre Andrade
I sugest it upgrade by default. If users want to modify, pack all and create a new app. And a easier way to choose default app, as a [make default] link at admin. 2009/12/3 mdipierro > I think this may be overkill. I think for each app we should upgrade > all or nothing. > > I like the idea o

[web2py:36442] Hoy to access appadmin remotely

2009-12-03 Thread Adolfo
Hello I've been working with an appplication using appadmin as a reference por giving maintence to the database but when i release it i have a problem because the controllers have la following code and no one but localhost can get access to them http_host = request.env.http_host.split(':')[0] rem

[web2py:36441] Re: about distribution

2009-12-03 Thread mdipierro
I think this may be overkill. I think for each app we should upgrade all or nothing. I like the idea of detecting which files have changed but we do not need checksums. We just need to compare the files in the w2p with the actual files in the folder (is there? has changed?). Such a function would

Re: [web2py:36440] Re: about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 9:39 AM, Thadeus Burgess wrote: > create checksums of the important files on app creation (web2py_ajax.html, > admin files, etc.etc). > > Check these checksums upon upgrade, if they differ, the app has been altered. Yes, that's the signature file I was suggesting. I think yo

Re: [web2py:36439] Re: about distribution

2009-12-03 Thread Thadeus Burgess
create checksums of the important files on app creation (web2py_ajax.html, admin files, etc.etc). Check these checksums upon upgrade, if they differ, the app has been altered. -Thadeus On Thu, Dec 3, 2009 at 11:34 AM, Jonathan Lundell wrote: > On Dec 3, 2009, at 9:28 AM, mdipierro wrote: > >

Re: [web2py:36438] Re: about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 9:28 AM, mdipierro wrote: > why? We only need to check if the app version is less then the current > web2py version and eventually display a link that gives the admin the > option to install the latest version of the app. > > Are you thinking of something different? Yes, I'm t

[web2py:36437] Re: Custom validation errors messages in forms generated by SQLFORM()

2009-12-03 Thread mdipierro
actually my trik is def has(name): return Field(name,'string',IS_NOT_EMPTY(error_message=T ('oops, fill this!'))) db.define_table('person',has('name'),has('telephone'),...) On Dec 3, 11:20 am, blackthorne wrote: > I knew that! :1 > I just couldn't... remember! > > Thank you! > > On Dec 3, 5:1

Re: [web2py:36436] Re: about distribution

2009-12-03 Thread Thadeus Burgess
Nice in routes.py to have a default application routing, and default controller routing, default_application = 'myapp' default_controller = 'ilove' default_action = 'control' alas this can be accomplished with routes_in and routes_out :) -Thadeus On Wed, Dec 2, 2009 at 9:22 PM, Yarko Tymciur

[web2py:36435] Re: about distribution

2009-12-03 Thread mdipierro
why? We only need to check if the app version is less then the current web2py version and eventually display a link that gives the admin the option to install the latest version of the app. Are you thinking of something different? On Dec 3, 11:23 am, Jonathan Lundell wrote: > On Dec 3, 2009, at

Re: [web2py:36434] Re: about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 9:18 AM, mdipierro wrote: > It could be even simpler like keep a copy of the VERSION file into > each of the basic apps. What would be in the file? It'd have to be more than the version number and timestamp. > > On Dec 3, 11:12 am, Jonathan Lundell wrote: >> On Dec 3, 2009,

[web2py:36433] Re: Custom validation errors messages in forms generated by SQLFORM()

2009-12-03 Thread blackthorne
I knew that! :1 I just couldn't... remember! Thank you! On Dec 3, 5:17 pm, mdipierro wrote: > I am not sure I understand the question. SQLFORM gets the error > messages from the validators in the fields. You should pass the error > message to the validators > > db.define_table('person',...Field(

[web2py:36432] Re: web2py users growth

2009-12-03 Thread mdipierro
If we had a script that does the packing I can work out the politics. On Dec 3, 10:42 am, AchipA wrote: > It's not the packaging that is difficult, it's the process of getting > the package into a mainstream distribution. > > On Dec 3, 5:09 pm, mdipierro wrote: > > > It is a good idea. I need so

[web2py:36431] Re: about distribution

2009-12-03 Thread mdipierro
It could be even simpler like keep a copy of the VERSION file into each of the basic apps. On Dec 3, 11:12 am, Jonathan Lundell wrote: > On Dec 3, 2009, at 9:06 AM, salingrosso wrote: > > > We can make it a link of the side-bar that is alway there to remind us > > that we have an option to upgrad

[web2py:36430] Re: Custom validation errors messages in forms generated by SQLFORM()

2009-12-03 Thread mdipierro
I am not sure I understand the question. SQLFORM gets the error messages from the validators in the fields. You should pass the error message to the validators db.define_table('person',...Field('name'),) db.person.name.requires=IS_NOT_EMPTY(error_message=T('oops, fill this!')) form=SQLFORM(db

Re: [web2py:36429] about distribution

2009-12-03 Thread Jonathan Lundell
On Dec 3, 2009, at 9:06 AM, salingrosso wrote: > We can make it a link of the side-bar that is alway there to remind us > that we have an option to upgrade apps if we have not done so. It > would be non-intrusive. The actual popup to point us to the link would > appear only once. > > I think this

Re: [web2py:36428] about distribution

2009-12-03 Thread salingrosso
* We can make it a link of the side-bar that is alway there to remind us that we have an option to upgrade apps if we have not done so. It would be non-intrusive. The actual popup to point us to the link would appear only once. *I think this is the best solution. -- You received this message bec

[web2py:36427] Custom validation errors messages in forms generated by SQLFORM()

2009-12-03 Thread blackthorne
I need, for translation reasons, to be able to customize the validation errors (such as: "cannot be empty!", "invalid email!") messages in forms generated by SQLFORM(). I've been hacking some things but I was looking for a clean and elegant solution to this small problem. Thank you. -- You rece

Re: [web2py:36426] about distribution

2009-12-03 Thread Álvaro Justen [Turicas]
On Wed, Dec 2, 2009 at 22:04, mdipierro wrote: > For the future version of web2py > > > should we (1) continue to distribute admin.w2p, welcome.wp2, > examples.w2p and unpack them on startup (and require --upgrade=yes on > upgrade) or (2) should we just distribute the applications folder with

[web2py:36425] Re: web2py users growth

2009-12-03 Thread AchipA
It's not the packaging that is difficult, it's the process of getting the package into a mainstream distribution. On Dec 3, 5:09 pm, mdipierro wrote: > It is a good idea. I need somebody to help and take the initiative. > > On Dec 3, 8:59 am, selecta wrote: > > > with > > > sudo apt-get install

[web2py:36424] Re: web2py users growth

2009-12-03 Thread mdipierro
I have not reported. There are too many. On Dec 3, 8:39 am, DenesL wrote: > On Dec 3, 12:58 am, mdipierro wrote: > > > The spam issue has nothing to do the actual posts. It has to do with > > the issue discussed > > here:http://www.mail-archive.com/web2py@googlegroups.com/msg04250.html > > The

[web2py:36423] Re: web2py users growth

2009-12-03 Thread mdipierro
It is a good idea. I need somebody to help and take the initiative. On Dec 3, 8:59 am, selecta wrote: > with > > sudo apt-get install web2py > > ...sry for the incomplete post > > On Dec 3, 3:58 pm, selecta wrote: > > > thinking about it it would be really nice to install web2py with > > sudo ap

[web2py:36422] Re: Dropbox based on query

2009-12-03 Thread mdipierro
Perhaps I would put the in a function defined in the model and call the function in controllers that needs to set this validator. On Dec 3, 4:36 am, annet wrote: > Massimo > > Where would this code go, in the model after the table definition: > > db.define_table('timetable', >     Field('company'

[web2py:36421] Re: validator on update

2009-12-03 Thread mdipierro
I had a typo in my email. You NEED db.bedrijf.modified_on.readable=False db.bedrijf.modified_on.writable=False because if the modified_on is passed with the form, this value (the one one) overrides the update value. On Dec 3, 4:18 am, annet wrote: > Massimo, > > The table reads like the one abov

[web2py:36420] Re: sign in form , email field validation problem

2009-12-03 Thread mdipierro
Good idea. I will apply this patch. On Dec 3, 1:19 am, "hamdy.a.farag" wrote: > Thanks for this > > But I've a comment > > for my application , the authentication uses email address and > password > and I make a label besides the text field where users enters his email > address . The label just

[web2py:36419] Re: web2py users growth

2009-12-03 Thread selecta
with sudo apt-get install web2py ...sry for the incomplete post On Dec 3, 3:58 pm, selecta wrote: > thinking about it it would be really nice to install web2py with > sudo apti > > On Dec 3, 3:40 pm, selecta wrote: > > > > > one idea to make web2py a little bit more poplular is to find somebod

[web2py:36418] Re: web2py users growth

2009-12-03 Thread selecta
thinking about it it would be really nice to install web2py with sudo apti On Dec 3, 3:40 pm, selecta wrote: > one idea to make web2py a little bit more poplular is to find somebody > to package it for debian/ubuntu > should not be to hard since it has very moderate dependencies > > https://wiki.

[web2py:36417] Re: web2py users growth

2009-12-03 Thread selecta
one idea to make web2py a little bit more poplular is to find somebody to package it for debian/ubuntu should not be to hard since it has very moderate dependencies https://wiki.ubuntu.com/PackagingGuide/Python should help, but a pro should be better to get w2p packaged I think we should bug some

[web2py:36416] Re: web2py users growth

2009-12-03 Thread DenesL
On Dec 3, 12:58 am, mdipierro wrote: > The spam issue has nothing to do the actual posts. It has to do with > the issue discussed > here:http://www.mail-archive.com/web2py@googlegroups.com/msg04250.html > There are links out there built on purpose to have search engines to > classify web2py as s

[web2py:36415] Re: Plugin Central

2009-12-03 Thread selecta
well i guess you figured it out already, but I can confirm with multiple ubuntu/opera instances that I always get .gz files returned for pack all and pack plugin On Dec 2, 3:43 am, mdipierro wrote: > send me another patch. ;-) > > On Dec 1, 4:31 pm, Thadeus Burgess wrote: > > > > > It is a brows

[web2py:36414] Re: apache + web2py

2009-12-03 Thread haftish21
Well! There seems a sign of listening it. It was an error in issuing self-signed certificate. But, By clicking on a web2py app's page, a request should be sent to apache to synchronously fetch some values from the db and send it to my web2py app's page. Apache keeps blocking it (because it is htt

Re: [web2py:36413] about distribution

2009-12-03 Thread Alexandre Andrade
I think if someone want to modify admin, examples, or welcome, he could "pack all" and create a new app. (2) is interesting because we can always see changes or new features at new version. To (2) became really easy, the default app could be set more easily than using routes. Maybe a link on adm

[web2py:36412] Re: Dropbox based on query

2009-12-03 Thread annet
Massimo Where would this code go, in the model after the table definition: db.define_table('timetable', Field('company',db.company), Field('activity'), Field('day',db.day), Field('time',type='time'), Field('duration'), Field('level',db.level), migrate=False) myactivit

[web2py:36411] Re: validator on update

2009-12-03 Thread annet
Massimo, The table reads like the one above, and I did not set readable and or writable False on the modified_on field. I modified the records using appadmin, it doesn't make any difference whether I use an sqlite or PostgreSQL database the .default=request.now works, .update=request.now doesn't w

[web2py:36410] Re: apache + web2py

2009-12-03 Thread haftish21
Sorry, it's typography mistake here! & SSLCertificateFile "conf/server.crt". But, not listened yet. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group,