I did a fresh checkout of trunk using
hg clone https://web2py.googlecode.com/hg/ web2py
First thing I noticed was that the version date seems a bit off, given
that there were already commits in Dec: Version 1.89.5 (2010-11-21
16:03:13)
The next thing I saw was the upgrade prompt:
upgrade now
Hi
I am trying to call a method in my module but always giving the below
error
Traceback (most recent call last):
File /home/vikramt/web2py/gluon/restricted.py, line 188, in
restricted
exec ccode in environment
File /home/vikramt/web2py/applications/myapp/controllers/
default.py, line
Firstly, I would like to express my heartfelt appreciation for the
wizard. It saves me loads of time!
Now on to my suggestion. My application requires admins to be able to
CRUB users in auth_user table. The wizard currently does not create
the respective actions and views for auth_user crud. I
checkrole.py
---
class checkrole():
def mysession(name):
username=name
role=db.user(role,ldap=username)
return role
db.py
-
db=SQLDB('mysql://root:test...@localhost/web')
modrole=local_import('checkrole')
myrole = modrole.checkrole()
There are some links in menu, that point to ex: web2py.com/book, in
web2py mainsite. Perhaps we need to change to www.web2py.com.
Wold love to test it with joins.
Does anyone have a simple administrator controller for
granting/revoking permissions, blocking/deleting users, etc?
I saw one previously on this list but can't seem to find it right now.
I wrote one panel to my client, to control his web/models.
But isn't so much serious, i was thinking on rewrite it to achieve something
better.
Something like appadmin but thinking on final users.
@Richard, did you thought on concrete specifications?
* User administrator
* Images
* ...
On
I saw one previously on this list but can't seem to find it right now.
Was it plugin by Selecta?
http://groups.google.com/group/web2py/browse_thread/thread/52014e4b0adf5888/013d69bb1fe9008c?lnk=gstq=tools+to+manage+users+%2F+groups+%2F+permissions#013d69bb1fe9008c
I use something like this (the = is equivalent to response.write)
{{
response.write(json(python_data_structure)+;, escape=False)
}}
Yes, there are a few links like that. In fact, the links with higher
PR.
Check all internal pagerank on http://www.internalrank.com
http://www.web2py.com/examples/default/download is PR= 5
http://web2py.com/examples/default/download is PR= 5
Two links above should be one, so PR could be
HI Martin,
I could not able to connect to database giving the below error.
Traceback (most recent call last):
File /home/vikramt/web2py/gluon/restricted.py, line 188, in
restricted
exec ccode in environment
File /home/vikramt/web2py/applications/myapp/controllers/
default.py, line 66, in
Hi together,
it works fine to display the login formular in my jquery colorbox.
but now i have a question. if user login successfully, i get a refresh
to
the userpage in the little colorbox. but i will close the colorbox
before
refreshing with this js-command: $.colorbox.close()
have anybody an
I think here is a problem with with my commit script. It does not
refresh the VERSION. I will fix this.
On Dec 11, 2:00 am, Luther Goh Lu Feng elf...@yahoo.com wrote:
I did a fresh checkout of trunk using
hg clonehttps://web2py.googlecode.com/hg/web2py
First thing I noticed was that the
Will add to todos :-)
On Dec 11, 4:23 am, Luther Goh Lu Feng elf...@yahoo.com wrote:
Firstly, I would like to express my heartfelt appreciation for the
wizard. It saves me loads of time!
Now on to my suggestion. My application requires admins to be able to
CRUB users in auth_user table. The
I hope so. A different license would certainly help with my fight for adoption
by a few clients
On Fri, Dec 10, 2010 at 06:31:15PM -0800, pbreit spake:
Did I read correctly that you might evaluate Web2py's license? It does
seem like GPL could potentially discourage usage since it makes the
are you talking about the web2py license? Why would a client care?
Web2py imposes no restriction on their code. I an write a letter to
this effect if at all necessary.
Massimo
On Dec 11, 10:11 am, G. Clifford Williams g...@notadiscussion.com
wrote:
I hope so. A different license would
On a fresh creation of an application, the wizard works great.
Consider the case a user does modifications to the views, menu,
controllers generated by the wizard. If the user wishes to create an
additional table using the wizard, I noticed that the the
modifications are overwritten. This is
I would love to help you but I am afraid that I have difficulty
understanding your problem. If words fail perhaps some screenshots to
tinypic.com can help make your question clearer?
On Dec 11, 11:33 pm, pk peter.kirch...@youngdesigners.de wrote:
Hi together,
it works fine to display the login
On Dec 11, 2010, at 7:18 AM, Vikram wrote:
I could not able to connect to database giving the below error.
Traceback (most recent call last):
File /home/vikramt/web2py/gluon/restricted.py, line 188, in
restricted
exec ccode in environment
File
I don't think I saw it, but I believe that the book does not have any
documentation about the wizard.
I think the wizard should be highlighted more as I managed to get some
of my friends interested in web2py because of the wizard.
Just my suggestion.
On Dec 11, 11:52 pm, mdipierro
hi,
here are the pix. the loginview:
http://www.hs-augsburg.de/~pk/pix/login.png
after the user submit a redirect works in the colorbox:
http://www.hs-augsburg.de/~pk/pix/redirect.png
but this redirect should not be shown in the colorbox!
i hop it is clearer?
thanks peter
On 11 Dez., 17:29,
Yes, you are clearer now. I don't know the answer but maybe your login
should be an ajax submission using jquery's ajax calls. Maybe someone
with more experience can help.
On Dec 12, 12:34 am, pk peter.kirch...@youngdesigners.de wrote:
hi,
here are the pix. the
As long as it's not Affero GPL, they really have nothing to worry
about. I acutally like GPL more than BSD and other crap. Viral
licenses are much better for upstream.
On Sat, Dec 11, 2010 at 5:17 PM, mdipierro mdipie...@cs.depaul.edu wrote:
are you talking about the web2py license? Why would a
http://web2py.com/book/default/chapter/08#Decorators
Line 8 of code snippet should be
@auth.requires_membership('agents')
not
@auth.requires_membership(agents)
Hi,
I need to show a SQLTABLE with joined data but without repeated
information (like grouping but showing all rows).
Let's say I have the following model:
db.define_table('one', Field('aa'), Field('bb'), Field('cc'),
format='%(aa)s')
db.define_table('many', Field('one',
On Dec 11, 12:26 am, weheh richard_gor...@verizon.net wrote:
In case this wasn't obvious, by doc, I mean the web2py online
documentation at web2py.com/book.
On Dec 10, 11:54 pm, weheh richard_gor...@verizon.net wrote:
Anybody having trouble with not being able to read doc in Firefox?
On Dec 11, 2010, at 10:36 AM, weheh wrote:
On Dec 11, 12:26 am, weheh richard_gor...@verizon.net wrote:
In case this wasn't obvious, by doc, I mean the web2py online
documentation at web2py.com/book.
On Dec 10, 11:54 pm, weheh richard_gor...@verizon.net wrote:
Anybody having trouble
I'm working on a project in which I have several tables with many to
many relationship.
So I started to try it with example given in book like this.
Models
-
db.define_table('person', Field('name'))
db.define_table('dog',Field('name'))
db.define_table('ownership',Field('person',
Yes exactly. The login should wait for a return value, and do the
redirect itself. The server side should issue a redirect only if it
knows it's not an ajax request.
On Sat, Dec 11, 2010 at 5:45 PM, Luther Goh Lu Feng elf...@yahoo.com wrote:
Yes, you are clearer now. I don't know the answer but
did you try Field arguments?
http://www.web2py.com/examples/static/epydoc/index.html
uploadfolder=None
uploadseparate=False # upload to separate directories by uuid_keys
# first 2 character and
tablename.fieldname
# False - old behaviour
Some more detail on how to do this:
Instea of submitting the form, you can trap the onSubmit event,
capture the data from the form, and send it manually using a $.post()
call. You can specify a callback function in the $.post() call, and
then use window.location.replace()[1] to do the redirect.
Thanks I appreciate that and I'll surely take you up on that it I think it'll
help me win one of these battles.
The bottom line is that many commercial entities frown on GPL licensed
software. Legal departments go ape when someone brings in new software and 1)
it's free and 2) it's GPL'd.
For
On Sat, Dec 11, 2010 at 9:23 PM, G. Clifford Williams
g...@notadiscussion.com wrote:
Thanks I appreciate that and I'll surely take you up on that it I think it'll
help me win one of these battles.
The bottom line is that many commercial entities frown on GPL licensed
software. Legal
My understanding is this. The apps that you develop with Web2py does
not have to be GPL, and can be licensed in any way you want. (I am
unsure if this violates GPL's terms or not, but this is what I think
how web2py's licensing permits).
What is GPL is the web2py framework itself. So, as
On Sat, Dec 11, 2010 at 9:49 PM, VP vtp2...@gmail.com wrote:
My understanding is this. The apps that you develop with Web2py does
not have to be GPL, and can be licensed in any way you want. (I am
unsure if this violates GPL's terms or not, but this is what I think
how web2py's licensing
You have a good point. The welcome scaffolding app is not GPL. It is
pubic domain (no license whatsoever).
I have said that before but it is not explicitly stated in the
license.
I will add a statement to the top of each .py file in the welcome app.
Massimo
On Dec 11, 2:52 pm, Branko Vukelic
It is not public yet, but it is in trial use by handful of offices. It
is a commercial product so the source would not be availiable, but we
would be interested in collaborating on any open source project to
better integrate google closure support.
It would be helpful for all developers to
It is not public yet, but it is in trial use by handful of offices. It
is a commercial product so the source would not be availiable, but we
would be interested in collaborating on any open source project to
better integrate google closure support.
It would be helpful for all developers to
http://sam.zoy.org/wtfpl/
2010/12/11 mdipierro mdipie...@cs.depaul.edu
You have a good point. The welcome scaffolding app is not GPL. It is
pubic domain (no license whatsoever).
I have said that before but it is not explicitly stated in the
license.
I will add a statement to the top of each
Arun,
this line:
persons_and_dogs = db((db.person.id==db.ownership.person)
(db.dog.id==db.ownership.dog))
won't run on GAE because of the joins. You can choose to keep the data
structure as you have it and run 2 queries and mesh the results. before
the advent of list properties i was doing
Yes. That is the license for the welcome app but I think we should
phrase a little more professionally. ;-)
On Dec 11, 3:16 pm, Bruno Rocha rochacbr...@gmail.com wrote:
http://sam.zoy.org/wtfpl/
2010/12/11 mdipierro mdipie...@cs.depaul.edu
You have a good point. The welcome scaffolding
DO WHAT THE SEXUAL INTERCOURSE YOU WANT LICENSE
On Sat, Dec 11, 2010 at 10:31 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Yes. That is the license for the welcome app but I think we should
phrase a little more professionally. ;-)
On Dec 11, 3:16 pm, Bruno Rocha rochacbr...@gmail.com wrote:
thanks for your help,
but i am a beginner of web2py :(
can i send you perhaps my app and you tell me
what i have exactly to do?
that would be nice.
thanks peter
On 11 Dez., 20:01, Branko Vukelic bg.bra...@gmail.com wrote:
Some more detail on how to do this:
Instea of submitting the form, you
For what it's worth, I believe the following is accurate:
1. GPL is more objectionable than BSD/MIT
2. Frameworks tend not to use GPL
(http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks)
It's probably worth consideration if we would like maximum usage.
On Sun, Dec 12, 2010 at 1:02 AM, pbreit pbreitenb...@gmail.com wrote:
For what it's worth, I believe the following is accurate:
1. GPL is more objectionable than BSD/MIT
Both GPL and BSD are not well suited to template code, that's the point.
2. Frameworks tend not to use GPL
So?
--
Hi,
With respect to the following old thread:
http://groups.google.com/group/web2py/browse_thread/thread/6a0948e7bf8c826f/e14174651edf05e2
Is web2py now ready to use reserved words as table and field names
(e.g. user, group) without any conflicts with any of the supported
databases?.
Or what
No. Right now there may problems if you used a reserved keyword.
On Dec 11, 6:57 pm, Carlos carlosgali...@gmail.com wrote:
Hi,
With respect to the following old thread:
http://groups.google.com/group/web2py/browse_thread/thread/6a0948e7bf...
Is web2py now ready to use reserved words as
Is there an SQL query that gives the desired result?
I've been researching about Erlang because Branko comments.
There's a few frameworks, and there is a compare chart:
http://www.chicagoboss.org/compare.html
I get impressed by zotonic. It appears to be a good cms+framework.
On Sun, Dec 5, 2010 at 2:43 PM, mdipierro mdipie...@cs.depaul.edu wrote:
as long as the name is changed
When using the welcome app, we should require that the web2py favicon
be removed -- I keep running into web2py powered sites that display the
web2py favicon. Actually, maybe it would be a better idea to simply not
include the web2py favicon with the welcome app --
we can have a different favicon following the different logo that welcome
has. @branko can suggest one?
2010/12/12 Anthony abasta...@gmail.com
as long as the name is changed
When using the welcome app, we should require that the web2py favicon be
removed -- I keep running into web2py
I dont know if you can do that with a query (DAL or SQL), I guess you can't.
But, there is a workaround using virtual fields, you can store the values in
a set, then check if the value is already in set, if true do not display.
Bruno Rocha
http://about.me/rochacbruno/bio
I think it's better to just remove the favicon. Having a default logo
is just as bad as having a web2py logo.
On Sun, Dec 12, 2010 at 5:13 AM, Bruno Rocha rochacbr...@gmail.com wrote:
we can have a different favicon following the different logo that welcome
has. @branko can suggest one?
Zotonic is a framework with CMS included. It's actually quite powerful
(and large). It also packs lots of next-gen stuff like websockets and
comet. Comes with freeimage-based image processing capability etc.
Very cool stuff. Of course, my poor excuse for Erlang programming
didn't live up to the
I'm using SQLFORM.factory to create a multi-list from a list:string
field:
form=SQLFORM.factory(db.mytable)
where
db.define_table('mytable',Field('groups','list:string'))
The view is:
form.custom.widget.groups
The multilist widget appears in the view -- no problems there. The
issue is
I know this has come up before, but I found myself wondering why
web2py doesn't have a BUTTON helper? Sure seems like it would be
useful, backwards compatible and consistent.
I neglected to mention that I also have a requires:
db.mytable.groups.requires=IS_IN_DB(db,'groups.id','%
(name)s',multiple=True)
INPUT(_type='button',_value='Click here', _onclick='javascript:alert(button
clicked)') ?
2010/12/12 weheh richard_gor...@verizon.net
I know this has come up before, but I found myself wondering why
web2py doesn't have a BUTTON helper? Sure seems like it would be
useful, backwards compatible
Yes, I know. Nevertheless, it feels like button deserves its own
helper. Also, the doc does not list _type='button'. Probably needs to
be updated.
On Dec 12, 12:41 am, Bruno Rocha rochacbr...@gmail.com wrote:
INPUT(_type='button',_value='Click here', _onclick='javascript:alert(button
clicked)')
thanks Ivan - yes that's the post I was trying to find.
@abrilc, would be interested to see what you have.
My specifications are simple:
- view users
- block/unblock user
- delete user
- edit user details
- give/revoke administrator privilege so others can manage this page
I think I can use the _create() and _insert() methods to achieve this.
I created a web2py app on WebFaction using the custom install script
posted on the WebFaction site. I then linked it to two subdomains:
Name: web2py_admin
Https: yes
Subdomains: admin.web2py.dlawrence.webfactional.com
Site apps: web2py
Name: web2py_public
Https: no
Subdomains:
You can do, for example:
rows =
db(db.one.id==db.many.one).select(db.many.id,db.many.one,db.many.xx,db.many.yy,db.many.zz,db.one.aa,db.one.bb,db.one.cc)
On Dec 11, 12:27 pm, Carlos carlosgali...@gmail.com wrote:
Hi,
I need to show a SQLTABLE with joined data but without repeated
information
TAG.BUTTON()
On Dec 12, 12:19 am, weheh richard_gor...@verizon.net wrote:
Yes, I know. Nevertheless, it feels like button deserves its own
helper. Also, the doc does not list _type='button'. Probably needs to
be updated.
On Dec 12, 12:41 am, Bruno Rocha rochacbr...@gmail.com wrote:
On Dec 12, 12:45 am, Richard richar...@gmail.com wrote:
@abrilc, would be interested to see what you have.
My specifications are simple:
- view users
def users(): return dict(users=db(db.auth_user).select())
- block/unblock user
db.auth_user(id).update_record(registration_key='blocked')
Yes, I know about TAG.BUTTON(...). Thanks. Still, given all the
helpers, I like the idea of being able to say BUTTON. When I think
button, I don't think TAG.
On Dec 12, 2:24 am, mdipierro mdipie...@cs.depaul.edu wrote:
TAG.BUTTON()
On Dec 12, 12:19 am, weheh richard_gor...@verizon.net
Just curious. I don't use it, but I probably would if I thought I
could get a fast response from an expert.
To be more explicit, I think BUTTON is good for newbies -- it's just
so obvious and convenient. Now TAG.BUTTON ... yes, I like TAG, but I'm
not used to thinking about it. I guess that makes me a newbie, still.
70 matches
Mail list logo