Re: [web2py] Re: "Web of trust" authentication

2010-03-07 Thread Álvaro Justen [Turicas]
On Mon, Mar 8, 2010 at 02:31, weheh wrote: > Seems like a straight-forward thing to implement on top of auth. You > create a group and allow new user membership to the group if you get a > majority of votes. Add vote-count percentage as a field to auth_user. > And then run a cron job that periodic

[web2py] Re: announcement

2010-03-07 Thread weheh
OMG, if this is what I think it is, this is awesome. I have been telling all my doctor and government friends that the Obama admin is making a mistake in spending $B to subsidize EMR since, with web2py, I think EMR can be practically for free. Privacy becomes a non-issue because you can put web2py,

[web2py] Re: "Web of trust" authentication

2010-03-07 Thread weheh
Seems like a straight-forward thing to implement on top of auth. You create a group and allow new user membership to the group if you get a majority of votes. Add vote-count percentage as a field to auth_user. And then run a cron job that periodically looks at percentage and determines whether or n

[web2py] "Web of trust" authentication

2010-03-07 Thread Joe Barnhart
I have an application where some users (team coaches) will be granted access to team member records. I don't want to have to admin these signups myself, and I came upon a "web of trust" idea. I'd like the site to create an email to all of the current coaches for a team when a new coach signs on a

Re: [web2py] Re: announcement

2010-03-07 Thread Jason Brower
What is the username and pass for the demo site? BR, Jason On Sun, 2010-03-07 at 19:59 -0800, JorgeRpo wrote: > Great contribution to the web2py comunity! > > I will download it and study it. > > Thanks > > On Mar 7, 2:50 pm, dbb wrote: > > To All : > > > > This announcement of the release of

Re: [web2py] Re: announcement

2010-03-07 Thread Jason Brower
Good gosh. Sounds fun! I am particularly interested in the Visual Scheduler as I am building one myself. BR, Jason On Sun, 2010-03-07 at 19:59 -0800, JorgeRpo wrote: > Great contribution to the web2py comunity! > > I will download it and study it. > > Thanks > > On Mar 7, 2:50 pm, dbb wrote

[web2py] Re: how to use GAE deferred

2010-03-07 Thread Richard
found they need to go in modules/models rather than controllers. However one model function can't defer another model function... On Mar 8, 12:49 pm, waTR wrote: > I too am interested in this... > > On Mar 7, 2:44 pm, Richard wrote: > > > > > I am adding some background work to my web2py GAE a

[web2py] Re: DAL problems on Firebird 2.1 (DROP COLUMN DOES NOT WORK)

2010-03-07 Thread mdipierro
Please check it. It is in. On Mar 6, 12:17 pm, Jose wrote: > On 6 mar, 15:36, salbefe wrote: > > > I'm using the latest version from mercurial repository. > > I sent a patch to Massimo. > > Jose -- You received this message because you are subscribed to the Google Groups "web2py-users" group.

[web2py] Re: announcement

2010-03-07 Thread JorgeRpo
Great contribution to the web2py comunity! I will download it and study it. Thanks On Mar 7, 2:50 pm, dbb wrote: > To All : > > This announcement of the release of the first HL7 open source code and > the code can be found athttp://code.google.com/p/web2pyhl7/, the code > is an open source  and

[web2py] Re: Issue with represent for date field in SQLTABLE

2010-03-07 Thread mr.freeze
Works for me On Mar 7, 9:39 pm, mdipierro wrote: > I just committed a fix to this. Please check it. > > On Mar 7, 9:28 pm, "mr.freeze" wrote: > > > bump > > > On Mar 7, 10:56 am, "mr.freeze" wrote: > > > > It looks like line 1099 of sqlhtml.py should be: > > >  if isinstance(r,str): > > > Inste

[web2py] SQLTABLE(...headers='fieldname:capitalize')

2010-03-07 Thread mdipierro
In trunk: rows=db(...).select() {{=SQLTABLE(rows, headers='fieldname:capitalize')}} please give it a try. 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 fr

[web2py] Re: Issue with represent for date field in SQLTABLE

2010-03-07 Thread mdipierro
I just committed a fix to this. Please check it. On Mar 7, 9:28 pm, "mr.freeze" wrote: > bump > > On Mar 7, 10:56 am, "mr.freeze" wrote: > > > It looks like line 1099 of sqlhtml.py should be: > >  if isinstance(r,str): > > Instead of: > >  if not isinstance(r,str): > > > It was changed on 2/10 f

[web2py] Re: Issue with represent for date field in SQLTABLE

2010-03-07 Thread mr.freeze
bump On Mar 7, 10:56 am, "mr.freeze" wrote: > It looks like line 1099 of sqlhtml.py should be: >  if isinstance(r,str): > Instead of: >  if not isinstance(r,str): > > It was changed on 2/10 for some reason. > > On Mar 7, 8:22 am, fgpy wrote: > > > Hi, > > > I want to be able to display a list of

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mr.freeze
RPX is probably the best and easiest way to do this. You could use your choice of accounts for everything. I'm in the process of implementing this on web2pyslices.com. http://www.web2pyslices.com/main/slices/take_slice/28 I'm in the process of implementing this on web2pyslices.com. On Mar 7, 8:52

Re: [web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread Thadeus Burgess
Says registration requires verification and I never received an email. As an idea, maybe we need a "central" web2py auth_user store, that all apps that you host like this can get into. This way we just log into web2py.com and get access to /book /wiki /web2pyslices and any apps like /HL7 that are

Re: [web2py] Re: Plugin system status

2010-03-07 Thread Thadeus Burgess
Good for me as well. -Thadeus On Sun, Mar 7, 2010 at 8:44 PM, mr.freeze wrote: > Perfect for me. > > On Mar 7, 8:43 pm, mdipierro wrote: >> Tuesday evening. What about 10pm Central Time? >> >> On Mar 7, 8:32 pm, "mr.freeze" wrote: >> >> > Are we still on for Tuesday? What time? I am anxiou

[web2py] Re: Plugin system status

2010-03-07 Thread mr.freeze
Perfect for me. On Mar 7, 8:43 pm, mdipierro wrote: > Tuesday evening. What about 10pm Central Time? > > On Mar 7, 8:32 pm, "mr.freeze" wrote: > > > Are we still on for Tuesday? What time? I am anxious to get the plugin > > spec finalized! > > > On Mar 2, 6:04 pm, "mr.freeze" wrote: > > > > Sou

[web2py] Re: Plugin system status

2010-03-07 Thread mdipierro
Tuesday evening. What about 10pm Central Time? On Mar 7, 8:32 pm, "mr.freeze" wrote: > Are we still on for Tuesday? What time? I am anxious to get the plugin > spec finalized! > > On Mar 2, 6:04 pm, "mr.freeze" wrote: > > > Sounds good to me. I'm available anytime after 6pm CST. > > > On Mar 2,

[web2py] Re: Plugin system status

2010-03-07 Thread mr.freeze
Are we still on for Tuesday? What time? I am anxious to get the plugin spec finalized! On Mar 2, 6:04 pm, "mr.freeze" wrote: > Sounds good to me. I'm available anytime after 6pm CST. > > On Mar 2, 1:19 pm, mdipierro wrote: > > > OK, let do this next week. It will be better for everybody. Tuesday

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mdipierro
One you be interested in, beyond the app itself and will be of more general use: Look at the function data in http://code.google.com/p/web2pyhl7/source/browse/controllers/default.py It implements the most general callback for jqGrid. It may be used to build a plugin. I may do that myself soon

[web2py] Re: how to use GAE deferred

2010-03-07 Thread waTR
I too am interested in this... On Mar 7, 2:44 pm, Richard wrote: > I am adding some background work to my web2py GAE app with the > deferred library:http://code.google.com/appengine/articles/deferred.html > > As the article suggests I have added this to app.yaml: > - url: /_ah/queue/deferred >

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mdipierro
You can create an account. I see you did already. Just edit your profile and change it from Administrator to Doctor. Massimo On Mar 7, 6:59 pm, Thadeus Burgess wrote: > Is there a default account that can be used? > > On Sun, Mar 7, 2010 at 5:26 PM, mdipierro wrote: > > I forgot to say... if yo

Re: [web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread Thadeus Burgess
Is there a default account that can be used? On Sun, Mar 7, 2010 at 5:26 PM, mdipierro wrote: > I forgot to say... if you try it, register as "Doctor" or you will > have limited access. Adminitrators and Nureses have less permissions. > > On Mar 7, 2:33 pm, mdipierro wrote: >> I would like to co

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mdipierro
I forgot to say... if you try it, register as "Doctor" or you will have limited access. Adminitrators and Nureses have less permissions. On Mar 7, 2:33 pm, mdipierro wrote: > I would like to congratulate with Debebe who did most of the work and > I was glad to help. He is a real expert in the are

[web2py] Re: * web2py's Brand *

2010-03-07 Thread Yarko Tymciurak
On Mar 6, 6:45 pm, villas wrote: > > Maybe you have a relevant coherent point. But damned if I know what it is. > > Suffice it to say, I am surprised you would be so rude and indignant > about your difficulty in understanding plain English and recognising > the extraordinary capabilities of your f

Re: [web2py] Re: Dream Host Deployment

2010-03-07 Thread Frank Church
Unless you are on a Private Server you will not be able to use other ports besides port 80 nor should you be able to. Dreamhost IS shared hosting. An non standard ports are killed by Dreamhost once they are spotted On 7 March 2010 02:33, Jesse wrote: > Fabulous, > > That seemed to do the tricked

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mr.freeze
Very nice! Congratulations. On Mar 7, 2:33 pm, mdipierro wrote: > I would like to congratulate with Debebe who did most of the work and > I was glad to help. He is a real expert in the area of software for > health care. > > You can try the software with some dummy data at > >    http://web2py.co

[web2py] how to use GAE deferred

2010-03-07 Thread Richard
I am adding some background work to my web2py GAE app with the deferred library: http://code.google.com/appengine/articles/deferred.html As the article suggests I have added this to app.yaml: - url: /_ah/queue/deferred script: $PYTHON_LIB/google/appengine/ext/deferred/deferred.py login: ad

[web2py] Re: Multiselect plugin

2010-03-07 Thread mr.freeze
They both use the same jquery plugin: http://abeautifulsite.net/2008/04/jquery-multiselect/ On Mar 7, 11:32 am, weheh wrote: > Thanks, Mr. Freeze. I'll check it out. I'm still relatively naive, so > I'm curious how a jquery multi-select is different from the plugin > multi-select and why would i

[web2py] web2py and ajax

2010-03-07 Thread mdipierro
http://gluonframework.wordpress.com/2010/03/07/web2py-ajax-and-forms/ -- 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...

[web2py] Re: Bug Report: Unicode handling problem in version 1.76.3

2010-03-07 Thread mdipierro
I cannot reproduce the problem. Why DB? Massimo On Mar 7, 3:08 pm, Serge Hulne wrote: > When migrating an application from the version 1.67.1 to the most > recent one (1.76.3 ), I encountered the following problem: > > Text, coded as UTF-8, entered in a textarea, processed by the > application a

[web2py] Bug Report: Unicode handling problem in version 1.76.3

2010-03-07 Thread Serge Hulne
When migrating an application from the version 1.67.1 to the most recent one (1.76.3 ), I encountered the following problem: Text, coded as UTF-8, entered in a textarea, processed by the application and served after processing in another view, yielded perfectly readable text with all the non-asci

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-07 Thread mdipierro
I would like to congratulate with Debebe who did most of the work and I was glad to help. He is a real expert in the area of software for health care. You can try the software with some dummy data at http://web2py.com/HLv3 Massimo On Mar 7, 1:26 pm, dbb wrote: > This announcement of the

[web2py] announcement

2010-03-07 Thread dbb
To All : This announcement of the release of the first HL7 open source code and the code can be found at http://code.google.com/p/web2pyhl7/, the code is an open source and built on web2py framework and please read the release notes for more information. This is an effort by Dr. Massimo, professo

[web2py] Relase of the first HL7 based on web2py framework

2010-03-07 Thread dbb
This announcement of the release of first HL7 ( health level 7 protocol) open source code and the code can be found at http://code.google.com/p/web2pyhl7/, the code is an open source and built on web2py framework and please read the release notes for more information. This is an effort by Dr. Mass

[web2py] Re: More Questions About Compatibility

2010-03-07 Thread villas
> Well, I took a peak at mod_wsgi.c file (14000 lines of code in a > single .c file, that guy is hardcore... the scrolling alone would have > driven me insane) which pretty much confirmed my suspicions. LOL. That ambiguous phrasing may be enough to tip Graham Dumpleton over the edge! He is very k

[web2py] Re: Multiselect plugin

2010-03-07 Thread weheh
Thanks, Mr. Freeze. I'll check it out. I'm still relatively naive, so I'm curious how a jquery multi-select is different from the plugin multi-select and why would it be better? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this gro

[web2py] Re: Introducing myself: Giovanni Giorgi

2010-03-07 Thread mdipierro
Benvenuto e grazie per il tuo email. Magari ci vediamo a Milano per un caffe' quest'estate. Io saro' a Pescara luglio e meta' agosto. Massimo On Mar 7, 4:36 am, Giovanni Giorgi wrote: > Hi all, >  I am new to web2py, so I will introduce shortly myself. > My name is Giovanni Giorgi, I am a 35-yea

[web2py] Re: executesql & unicode

2010-03-07 Thread toan75
Database: table 'abc' db.define_table('abc', db.Field('name', 'string')) db.abc.insert(name='Hà Nội - Việt Nam') On Mar 7, 10:46 pm, toan75 wrote: > Can use "executesql" in this case: > > My code: > >         rows = db.executesql('SELECT * FROM abc;',as_dict=True) >         for row in r

[web2py] Re: web2py beautification

2010-03-07 Thread villas
On Mar 7, 11:37 am, Mengu wrote: > if anyone is going to do the design work, i recommend oocss at www.oocss.org Hi Mengu, I've never heard of this, but like the fact that it's based on YUI but still seems simple and flexible to use. It's appealing to start off with their solid foundation which y

[web2py] Re: Issue with represent for date field in SQLTABLE

2010-03-07 Thread mr.freeze
It looks like line 1099 of sqlhtml.py should be: if isinstance(r,str): Instead of: if not isinstance(r,str): It was changed on 2/10 for some reason. On Mar 7, 8:22 am, fgpy wrote: > Hi, > > I want to be able to display a list of records containing a date field > with a simplified representatio

[web2py] Re: More Questions About Compatibility

2010-03-07 Thread Magnitus
Well, I took a peak at mod_wsgi.c file (14000 lines of code in a single .c file, that guy is hardcore... the scrolling alone would have driven me insane) which pretty much confirmed my suspicions. Calls to the Apache API (32 bits) is intermixed with calls to the Python API (64 bits on my machine).

[web2py] Issue with represent for date field in SQLTABLE

2010-03-07 Thread fgpy
Hi, I want to be able to display a list of records containing a date field with a simplified representation of the date like 'MM/DD' instead of '-mm-dd'. It was working fine in 1.72.3, but I get the following error after an upgrade to 1.76.1: table = SQLTABLE(rows, linkto=mylink, headers

[web2py] executesql & unicode

2010-03-07 Thread toan75
Can use "executesql" in this case: My code: rows = db.executesql('SELECT * FROM abc;',as_dict=True) for row in rows: print row['name'] ([name] is unicode field) Error traceback Traceback (most recent call last): File "gluon/restricted.py", line 173, in restrict

[web2py] Re: anybody got vim web2py code-completion working? (omnicomplete)

2010-03-07 Thread selecta
I use supertab cntn. http://www.vim.org/scripts/script.php?script_id=1643 it has a smart mode that "knows" when to use omni-complete you need vim with py support compiled (think vim-gtk on ubuntu does that) other plugins that I use are http://www.vim.org/scripts/script.php?script_id=521 http://www

[web2py] Re: web2py beautification

2010-03-07 Thread Mengu
if anyone is going to do the design work, i recommend oocss at www.oocss.org On 7 Mart, 12:29, villas wrote: > An example layout page I looked at had: > > > > > > > > > > > Clearly it leaves much to be desired,  but maybe it would help if we > agreed: > 1. A clear goal of moving from tabl

[web2py] Re: Introducing myself: Giovanni Giorgi

2010-03-07 Thread Mengu
welcome to web2py family giovanni :) wish you good luck with your journey. On 7 Mart, 12:36, Giovanni Giorgi wrote: > Hi all, >  I am new to web2py, so I will introduce shortly myself. > My name is Giovanni Giorgi, I am a 35-years old Senior Consultant. > I live in Milan, in Italy. > I got a mast

[web2py] Re: web2py beautification

2010-03-07 Thread villas
An example layout page I looked at had: Clearly it leaves much to be desired, but maybe it would help if we agreed: 1. A clear goal of moving from table to divs. 2. A Web2py list of semantic names to name certain sections of the page. 3. Perhaps longer term, move forms towards fieldsets

[web2py] Re: Doubt with the example in the book

2010-03-07 Thread villas
Hi Felix, '%(title)s' doesn't affect the table contents, it is used to represent the 'id' field in drop-down select boxes etc. In this case, the 'title' field would appear in the select box for choosing the 'id'. Of course, the idea is that the title field will be much more understandable than

[web2py] Introducing myself: Giovanni Giorgi

2010-03-07 Thread Giovanni Giorgi
Hi all, I am new to web2py, so I will introduce shortly myself. My name is Giovanni Giorgi, I am a 35-years old Senior Consultant. I live in Milan, in Italy. I got a master degree on Information Technology on 2000, I have worked as Software Architect for financial institutions (like Unicredit Bank

[web2py] Re: Multiselect plugin

2010-03-07 Thread mr.freeze
Try this: http://www.web2pyslices.com/main/slices/take_slice/70 On Mar 6, 11:52 pm, weheh wrote: > I'm building an admin interface to auth_membership. With > auth_membership, a user can belong to multiple groups. The standard > form made by crud.update from the auth_membership table is a 2 > pul

[web2py] Doubt with the example in the book

2010-03-07 Thread Felix
Hi, I don't understand the third parameter in the IS_IN_DB(). Even when I removed the '%(title)s', the table contents seemed to be the same.Can someone please tell me what it is used for? db.comment.image_id.requires = IS_IN_DB(db, db.image.id, '%(title)s') Thanks -- You received this messa

[web2py] Re: web2py beautification

2010-03-07 Thread mr.freeze
1) Sounds good. If we can't have a choice of theme in admin, at least we can get a better looking one. 2) Good idea! On Mar 7, 1:50 am, mdipierro wrote: > I think there are two different issues. > 1) have a better looking admin > 2) give more options for scaffolding app (this include a choice of