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,
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
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
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
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
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
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
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
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.
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
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
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
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'
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
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
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
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
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
* 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
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
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
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
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
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(
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,
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
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
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
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
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:
>
>
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
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
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
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
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
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
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.
>
>
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
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
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
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 =
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
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
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
+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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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
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.
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
> 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
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
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.
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
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
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
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
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
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.
> > 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
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
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
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
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
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,
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
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
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 :)
>
> -
86 matches
Mail list logo