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 periodically looks at percentage and
> determines whether or not user has crossed threshold required to make
> user a member of the group.

Cron job? This verification should happen when someone votes 'yes' or
'no': it verifies if 50%+ votes are 'yes' and if it is true, add that
user in the group.

> --
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>



-- 
Álvaro Justen - Turicas
 http://blog.justen.eng.br/
 21 9898-0141

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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, the EMR app, and your records on a USB
memory stick and take it off the web entirely if you so desire. But
more importantly, if implemented properly, free EMR puts the patient
in charge of the record. I only casually looked at hl7, but it looks
to me like you have taken the first steps towards making this vision a
reality. HOORAY! For this is what I have been calling the killer app.
And this is why web2py will live on, contrary to what the skeptics
think (like those who suggest that a pycon paper will make a bigger
difference).

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 not user has crossed threshold required to make
user a member of the group.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 and requests access to team records.
Then by voting either "yes" or "no" (by clicking on the appropriate
link in the email) the site will either grant or refuse access to the
new coach.

Has anyone done something like this in the current Auth structure?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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 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 built on web2py framework and please read the
> > release notes for more information. This is an effort by Dr. Massimo,
> > professor of computer science at De Paul, the creator of web2py and
> > Dr. Debebe Asefa. This is really the effort of the the two indviduals
> > using their times and resources. Feel free to comment on the code and
> > suggest what you want to see including your wish lists, i.e., what
> > fucntions you want to see. The goal is to create plaform without any
> > limitations. This the first release, subsequent releases will have all
> > suggestions and new uncovered functions.
> >
> > Best regards:
> >
> > Debebe Asefa
> 


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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:
> > 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 built on web2py framework and please read the
> > release notes for more information. This is an effort by Dr. Massimo,
> > professor of computer science at De Paul, the creator of web2py and
> > Dr. Debebe Asefa. This is really the effort of the the two indviduals
> > using their times and resources. Feel free to comment on the code and
> > suggest what you want to see including your wish lists, i.e., what
> > fucntions you want to see. The goal is to create plaform without any
> > limitations. This the first release, subsequent releases will have all
> > suggestions and new uncovered functions.
> >
> > Best regards:
> >
> > Debebe Asefa
> 


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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: admin
>
> > The article also says "You can't call a method in the request handler
> > module" - what does that correspond to in web2py?
>
> > Any other advice about using Deferred / Task Queues through web2py
> > would be welcome.
>
> > Richard

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 built on web2py framework and please read the
> release notes for more information. This is an effort by Dr. Massimo,
> professor of computer science at De Paul, the creator of web2py and
> Dr. Debebe Asefa. This is really the effort of the the two indviduals
> using their times and resources. Feel free to comment on the code and
> suggest what you want to see including your wish lists, i.e., what
> fucntions you want to see. The goal is to create plaform without any
> limitations. This the first release, subsequent releases will have all
> suggestions and new uncovered functions.
>
> Best regards:
>
> Debebe Asefa

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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):
> > > 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 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=common.headers)
> > > >   File "C:\web2py\gluon\sqlhtml.py", line 1104, in __init__
> > > >   File "C:\web2py\gluon\sql.py", line 2676, in formatter
> > > >   File "C:\web2py_1.76.1\gluon\validators.py", line 2237, in formatter
> > > >     return self.other.formatter(value)
> > > >   File "C:\web2py_1.76.1\gluon\validators.py", line 1969, in formatter
> > > >     y = '%.4i' % value.year
> > > > AttributeError: 'str' object has no attribute 'year'
>
> > > > I tried to reproduce this error in a clean environment created with
> > > > 1.76.1 and I get the same error.
> > > > Here is the code I use:
>
> > > > Database:
> > > > db.define_table('atable',
> > > >     Field('birth', 'date', default=None, writable=False),
> > > >     )
>
> > > > db.atable.birth.requires=IS_NULL_OR(IS_DATE())
> > > > db.atable.birth.writable = True
>
> > > > monthday = lambda value: value and '%i/%i' % (value.month, value.day)
> > > > db.atable.birth.represent = monthday
>
> > > > Controler:
> > > >     query = db.atable.id==1
> > > >     rows = db(query).select(db.atable.id, db.atable.birth)
> > > >     table = SQLTABLE(rows)
>
> > > > If you just use a crud.update, everything works fine, and the field
> > > > representation is correct.
>
> > > > However, when you try to use a TABLE to display a list of all records,
> > > > before going to the edit section, it seems the validator formatter
> > > > property is getting in the way.
>
> > > > Thank you for your help,
> > > > FG
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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 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=common.headers)
> > >   File "C:\web2py\gluon\sqlhtml.py", line 1104, in __init__
> > >   File "C:\web2py\gluon\sql.py", line 2676, in formatter
> > >   File "C:\web2py_1.76.1\gluon\validators.py", line 2237, in formatter
> > >     return self.other.formatter(value)
> > >   File "C:\web2py_1.76.1\gluon\validators.py", line 1969, in formatter
> > >     y = '%.4i' % value.year
> > > AttributeError: 'str' object has no attribute 'year'
>
> > > I tried to reproduce this error in a clean environment created with
> > > 1.76.1 and I get the same error.
> > > Here is the code I use:
>
> > > Database:
> > > db.define_table('atable',
> > >     Field('birth', 'date', default=None, writable=False),
> > >     )
>
> > > db.atable.birth.requires=IS_NULL_OR(IS_DATE())
> > > db.atable.birth.writable = True
>
> > > monthday = lambda value: value and '%i/%i' % (value.month, value.day)
> > > db.atable.birth.represent = monthday
>
> > > Controler:
> > >     query = db.atable.id==1
> > >     rows = db(query).select(db.atable.id, db.atable.birth)
> > >     table = SQLTABLE(rows)
>
> > > If you just use a crud.update, everything works fine, and the field
> > > representation is correct.
>
> > > However, when you try to use a TABLE to display a list of all records,
> > > before going to the edit section, it seems the validator formatter
> > > property is getting in the way.
>
> > > Thank you for your help,
> > > FG

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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=common.headers)
> >   File "C:\web2py\gluon\sqlhtml.py", line 1104, in __init__
> >   File "C:\web2py\gluon\sql.py", line 2676, in formatter
> >   File "C:\web2py_1.76.1\gluon\validators.py", line 2237, in formatter
> >     return self.other.formatter(value)
> >   File "C:\web2py_1.76.1\gluon\validators.py", line 1969, in formatter
> >     y = '%.4i' % value.year
> > AttributeError: 'str' object has no attribute 'year'
>
> > I tried to reproduce this error in a clean environment created with
> > 1.76.1 and I get the same error.
> > Here is the code I use:
>
> > Database:
> > db.define_table('atable',
> >     Field('birth', 'date', default=None, writable=False),
> >     )
>
> > db.atable.birth.requires=IS_NULL_OR(IS_DATE())
> > db.atable.birth.writable = True
>
> > monthday = lambda value: value and '%i/%i' % (value.month, value.day)
> > db.atable.birth.represent = monthday
>
> > Controler:
> >     query = db.atable.id==1
> >     rows = db(query).select(db.atable.id, db.atable.birth)
> >     table = SQLTABLE(rows)
>
> > If you just use a crud.update, everything works fine, and the field
> > representation is correct.
>
> > However, when you try to use a TABLE to display a list of all records,
> > before going to the edit section, it seems the validator formatter
> > property is getting in the way.
>
> > Thank you for your help,
> > FG
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 pm, Thadeus Burgess  wrote:
> 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 hosted in it. Now thats central authentication! :)
>
> -Thadeus
>
> On Sun, Mar 7, 2010 at 7:50 PM, mdipierro  wrote:
> > 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.
>
> > 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...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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 hosted in it. Now thats central authentication! :)

-Thadeus





On Sun, Mar 7, 2010 at 7:50 PM, mdipierro  wrote:
> 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.
>
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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 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
>> > > > night?
>>
>> > > > On Mar 2, 10:44 am, Thadeus Burgess  wrote:
>>
>> > > > > I too am swamped during the days. I would have to get permission from
>> > > > > the powers at be to participant in an afternoon chat.
>>
>> > > > > Evenings would be best, the later the better. I just moved, so I have
>> > > > > not got my PC back up and running (hopefully I will by Friday)
>>
>> > > > > -Thadeus
>>
>> > > > > On Tue, Mar 2, 2010 at 6:22 AM, mdipierro  
>> > > > > wrote:
>> > > > > > Late evening is also an option, any day. Week-end are worse option.
>>
>> > > > > > On Mar 1, 11:04 pm, "mr.freeze"  wrote:
>> > > > > >> Would it be possible to do in the evening or on the weekend? I'm 
>> > > > > >> hosed
>> > > > > >> during business hours (even lunch). No worries if not, I can just 
>> > > > > >> send
>> > > > > >> you my notes on some discoveries I've made while coding my own 
>> > > > > >> folder
>> > > > > >> basedpluginsystem.
>>
>> > > > > >> On Mar 1, 10:31 pm, mdipierro  wrote:
>>
>> > > > > >> > It is a bad week. Probably Friday around lunchtime (chicago 
>> > > > > >> > time)
>>
>> > > > > >> > On Mar 1, 6:31 pm, "mr.freeze"  wrote:
>>
>> > > > > >> > > When is a good time for an IRC discussion?
>>
>> > > > > >> > > On Feb 25, 8:22 pm, mdipierro  wrote:
>>
>> > > > > >> > > > When I am back home Perhaps we should an IRC discussion on 
>> > > > > >> > > > this. Email
>> > > > > >> > > > will not do. Start preparing your proposals.
>>
>> > > > > >> > > > On Feb 25, 4:34 pm, pistacchio  wrote:
>>
>> > > > > >> > > > > i'm late in the whole "plugin" discussion, i didn't 
>> > > > > >> > > > > really follow it
>> > > > > >> > > > > from start (being new to web2py).
>> > > > > >> > > > > my only question is: what is the _scope_ of plugins? as i 
>> > > > > >> > > > > got it
>> > > > > >> > > > > correctly, there's an ongoing debate on the form of 
>> > > > > >> > > > > plugins, classes
>> > > > > >> > > > > vs directories.
>>
>> > > > > >> > > > > if we're talking about small things like "display the 
>> > > > > >> > > > > last post from
>> > > > > >> > > > > twitterplugin" or "contact formplugin" or "openid 
>> > > > > >> > > > > authentication
>> > > > > >> > > > >plugin", the class thing may fit. but if we're talking 
>> > > > > >> > > > >about wider
>> > > > > >> > > > > things like "the blogplugin" or "the forumplugin", i 
>> > > > > >> > > > > really wonder
>> > > > > >> > > > > how they could implemented without having their own 
>> > > > > >> > > > > directory
>> > > > > >> > > > > structure.
>>
>> > > > > >> > > > > On 24 Feb, 01:37, "mr.freeze"  
>> > > > > >> > > > > wrote:
>>
>> > > > > >> > > > > > Is thepluginsystemconsidered backwards compatible at 
>> > > > > >> > > > > > this point? I
>> > > > > >> > > > > > am considering converting some modules into plugins but 
>> > > > > >> > > > > > want to know
>> > > > > >> > > > > > if they API is stable.
>>
>> > > > > >> > > > > > Also, is the naming convention of 'db' for your 
>> > > > > >> > > > > > database still
>> > > > > >> > > > > > required for thepluginsystem?
>>
>> > > > > >> > > > > > ---
>> > > > > >> > > > > > I predict that in the year 2015, web2py will gain self 
>> > > > > >> > > > > > awareness and
>> > > > > >> > > > > > attempt to take over the world under the name PyNet.
>>
>> > > > > > --
>> > > > > > 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...@googlegroups.com.
>> > > > > > For more options, visit this group 
>> > > > > > athttp://groups.google.com/group/web2py?hl=en.
>>
>>
>
> --
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http:/

[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:
>
> > > 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
> > > > night?
>
> > > > On Mar 2, 10:44 am, Thadeus Burgess  wrote:
>
> > > > > I too am swamped during the days. I would have to get permission from
> > > > > the powers at be to participant in an afternoon chat.
>
> > > > > Evenings would be best, the later the better. I just moved, so I have
> > > > > not got my PC back up and running (hopefully I will by Friday)
>
> > > > > -Thadeus
>
> > > > > On Tue, Mar 2, 2010 at 6:22 AM, mdipierro  
> > > > > wrote:
> > > > > > Late evening is also an option, any day. Week-end are worse option.
>
> > > > > > On Mar 1, 11:04 pm, "mr.freeze"  wrote:
> > > > > >> Would it be possible to do in the evening or on the weekend? I'm 
> > > > > >> hosed
> > > > > >> during business hours (even lunch). No worries if not, I can just 
> > > > > >> send
> > > > > >> you my notes on some discoveries I've made while coding my own 
> > > > > >> folder
> > > > > >> basedpluginsystem.
>
> > > > > >> On Mar 1, 10:31 pm, mdipierro  wrote:
>
> > > > > >> > It is a bad week. Probably Friday around lunchtime (chicago time)
>
> > > > > >> > On Mar 1, 6:31 pm, "mr.freeze"  wrote:
>
> > > > > >> > > When is a good time for an IRC discussion?
>
> > > > > >> > > On Feb 25, 8:22 pm, mdipierro  wrote:
>
> > > > > >> > > > When I am back home Perhaps we should an IRC discussion on 
> > > > > >> > > > this. Email
> > > > > >> > > > will not do. Start preparing your proposals.
>
> > > > > >> > > > On Feb 25, 4:34 pm, pistacchio  wrote:
>
> > > > > >> > > > > i'm late in the whole "plugin" discussion, i didn't really 
> > > > > >> > > > > follow it
> > > > > >> > > > > from start (being new to web2py).
> > > > > >> > > > > my only question is: what is the _scope_ of plugins? as i 
> > > > > >> > > > > got it
> > > > > >> > > > > correctly, there's an ongoing debate on the form of 
> > > > > >> > > > > plugins, classes
> > > > > >> > > > > vs directories.
>
> > > > > >> > > > > if we're talking about small things like "display the last 
> > > > > >> > > > > post from
> > > > > >> > > > > twitterplugin" or "contact formplugin" or "openid 
> > > > > >> > > > > authentication
> > > > > >> > > > >plugin", the class thing may fit. but if we're talking 
> > > > > >> > > > >about wider
> > > > > >> > > > > things like "the blogplugin" or "the forumplugin", i 
> > > > > >> > > > > really wonder
> > > > > >> > > > > how they could implemented without having their own 
> > > > > >> > > > > directory
> > > > > >> > > > > structure.
>
> > > > > >> > > > > On 24 Feb, 01:37, "mr.freeze"  wrote:
>
> > > > > >> > > > > > Is thepluginsystemconsidered backwards compatible at 
> > > > > >> > > > > > this point? I
> > > > > >> > > > > > am considering converting some modules into plugins but 
> > > > > >> > > > > > want to know
> > > > > >> > > > > > if they API is stable.
>
> > > > > >> > > > > > Also, is the naming convention of 'db' for your database 
> > > > > >> > > > > > still
> > > > > >> > > > > > required for thepluginsystem?
>
> > > > > >> > > > > > ---
> > > > > >> > > > > > I predict that in the year 2015, web2py will gain self 
> > > > > >> > > > > > awareness and
> > > > > >> > > > > > attempt to take over the world under the name PyNet.
>
> > > > > > --
> > > > > > 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...@googlegroups.com.
> > > > > > For more options, visit this group 
> > > > > > athttp://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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, 1:19 pm, mdipierro  wrote:
>
> > > OK, let do this next week. It will be better for everybody. Tuesday
> > > night?
>
> > > On Mar 2, 10:44 am, Thadeus Burgess  wrote:
>
> > > > I too am swamped during the days. I would have to get permission from
> > > > the powers at be to participant in an afternoon chat.
>
> > > > Evenings would be best, the later the better. I just moved, so I have
> > > > not got my PC back up and running (hopefully I will by Friday)
>
> > > > -Thadeus
>
> > > > On Tue, Mar 2, 2010 at 6:22 AM, mdipierro  
> > > > wrote:
> > > > > Late evening is also an option, any day. Week-end are worse option.
>
> > > > > On Mar 1, 11:04 pm, "mr.freeze"  wrote:
> > > > >> Would it be possible to do in the evening or on the weekend? I'm 
> > > > >> hosed
> > > > >> during business hours (even lunch). No worries if not, I can just 
> > > > >> send
> > > > >> you my notes on some discoveries I've made while coding my own folder
> > > > >> basedpluginsystem.
>
> > > > >> On Mar 1, 10:31 pm, mdipierro  wrote:
>
> > > > >> > It is a bad week. Probably Friday around lunchtime (chicago time)
>
> > > > >> > On Mar 1, 6:31 pm, "mr.freeze"  wrote:
>
> > > > >> > > When is a good time for an IRC discussion?
>
> > > > >> > > On Feb 25, 8:22 pm, mdipierro  wrote:
>
> > > > >> > > > When I am back home Perhaps we should an IRC discussion on 
> > > > >> > > > this. Email
> > > > >> > > > will not do. Start preparing your proposals.
>
> > > > >> > > > On Feb 25, 4:34 pm, pistacchio  wrote:
>
> > > > >> > > > > i'm late in the whole "plugin" discussion, i didn't really 
> > > > >> > > > > follow it
> > > > >> > > > > from start (being new to web2py).
> > > > >> > > > > my only question is: what is the _scope_ of plugins? as i 
> > > > >> > > > > got it
> > > > >> > > > > correctly, there's an ongoing debate on the form of plugins, 
> > > > >> > > > > classes
> > > > >> > > > > vs directories.
>
> > > > >> > > > > if we're talking about small things like "display the last 
> > > > >> > > > > post from
> > > > >> > > > > twitterplugin" or "contact formplugin" or "openid 
> > > > >> > > > > authentication
> > > > >> > > > >plugin", the class thing may fit. but if we're talking about 
> > > > >> > > > >wider
> > > > >> > > > > things like "the blogplugin" or "the forumplugin", i really 
> > > > >> > > > > wonder
> > > > >> > > > > how they could implemented without having their own directory
> > > > >> > > > > structure.
>
> > > > >> > > > > On 24 Feb, 01:37, "mr.freeze"  wrote:
>
> > > > >> > > > > > Is thepluginsystemconsidered backwards compatible at this 
> > > > >> > > > > > point? I
> > > > >> > > > > > am considering converting some modules into plugins but 
> > > > >> > > > > > want to know
> > > > >> > > > > > if they API is stable.
>
> > > > >> > > > > > Also, is the naming convention of 'db' for your database 
> > > > >> > > > > > still
> > > > >> > > > > > required for thepluginsystem?
>
> > > > >> > > > > > ---
> > > > >> > > > > > I predict that in the year 2015, web2py will gain self 
> > > > >> > > > > > awareness and
> > > > >> > > > > > attempt to take over the world under the name PyNet.
>
> > > > > --
> > > > > 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...@googlegroups.com.
> > > > > For more options, visit this group 
> > > > > athttp://groups.google.com/group/web2py?hl=en.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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
> > night?
>
> > On Mar 2, 10:44 am, Thadeus Burgess  wrote:
>
> > > I too am swamped during the days. I would have to get permission from
> > > the powers at be to participant in an afternoon chat.
>
> > > Evenings would be best, the later the better. I just moved, so I have
> > > not got my PC back up and running (hopefully I will by Friday)
>
> > > -Thadeus
>
> > > On Tue, Mar 2, 2010 at 6:22 AM, mdipierro  wrote:
> > > > Late evening is also an option, any day. Week-end are worse option.
>
> > > > On Mar 1, 11:04 pm, "mr.freeze"  wrote:
> > > >> Would it be possible to do in the evening or on the weekend? I'm hosed
> > > >> during business hours (even lunch). No worries if not, I can just send
> > > >> you my notes on some discoveries I've made while coding my own folder
> > > >> basedpluginsystem.
>
> > > >> On Mar 1, 10:31 pm, mdipierro  wrote:
>
> > > >> > It is a bad week. Probably Friday around lunchtime (chicago time)
>
> > > >> > On Mar 1, 6:31 pm, "mr.freeze"  wrote:
>
> > > >> > > When is a good time for an IRC discussion?
>
> > > >> > > On Feb 25, 8:22 pm, mdipierro  wrote:
>
> > > >> > > > When I am back home Perhaps we should an IRC discussion on this. 
> > > >> > > > Email
> > > >> > > > will not do. Start preparing your proposals.
>
> > > >> > > > On Feb 25, 4:34 pm, pistacchio  wrote:
>
> > > >> > > > > i'm late in the whole "plugin" discussion, i didn't really 
> > > >> > > > > follow it
> > > >> > > > > from start (being new to web2py).
> > > >> > > > > my only question is: what is the _scope_ of plugins? as i got 
> > > >> > > > > it
> > > >> > > > > correctly, there's an ongoing debate on the form of plugins, 
> > > >> > > > > classes
> > > >> > > > > vs directories.
>
> > > >> > > > > if we're talking about small things like "display the last 
> > > >> > > > > post from
> > > >> > > > > twitterplugin" or "contact formplugin" or "openid 
> > > >> > > > > authentication
> > > >> > > > >plugin", the class thing may fit. but if we're talking about 
> > > >> > > > >wider
> > > >> > > > > things like "the blogplugin" or "the forumplugin", i really 
> > > >> > > > > wonder
> > > >> > > > > how they could implemented without having their own directory
> > > >> > > > > structure.
>
> > > >> > > > > On 24 Feb, 01:37, "mr.freeze"  wrote:
>
> > > >> > > > > > Is thepluginsystemconsidered backwards compatible at this 
> > > >> > > > > > point? I
> > > >> > > > > > am considering converting some modules into plugins but want 
> > > >> > > > > > to know
> > > >> > > > > > if they API is stable.
>
> > > >> > > > > > Also, is the naming convention of 'db' for your database 
> > > >> > > > > > still
> > > >> > > > > > required for thepluginsystem?
>
> > > >> > > > > > ---
> > > >> > > > > > I predict that in the year 2015, web2py will gain self 
> > > >> > > > > > awareness and
> > > >> > > > > > attempt to take over the world under the name PyNet.
>
> > > > --
> > > > 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...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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.

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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
>     script: $PYTHON_LIB/google/appengine/ext/deferred/deferred.py
>     login: admin
>
> The article also says "You can't call a method in the request handler
> module" - what does that correspond to in web2py?
>
> Any other advice about using Deferred / Task Queues through web2py
> would be welcome.
>
> Richard

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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 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 release of first HL7 ( health level 7
> >> > protocol) open source
> >> > code and the code can be found athttp://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, professor of computer science at De Paul, the
> >> > creator of web2py and Dr. Debebe Asefa. This is really the
> >> > effort of the the two indviduals using their times and
> >> > resources. Feel free to comment on the code and suggest what
> >> > you want to see including your wish lists, i.e., what fucntions you
> >> > want to see. The goal is to create plaform without any limitations.
> >> > This the first release, subsequent releases will have all suggestions
> >> > and new uncovered functions.
>
> > --
> > 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...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/web2py?hl=en.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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 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 release of first HL7 ( health level 7
>> > protocol) open source
>> > code and the code can be found athttp://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, professor of computer science at De Paul, the
>> > creator of web2py and Dr. Debebe Asefa. This is really the
>> > effort of the the two indviduals using their times and
>> > resources. Feel free to comment on the code and suggest what
>> > you want to see including your wish lists, i.e., what fucntions you
>> > want to see. The goal is to create plaform without any limitations.
>> > This the first release, subsequent releases will have all suggestions
>> > and new uncovered functions.
>
> --
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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 release of first HL7 ( health level 7
> > protocol) open source
> > code and the code can be found athttp://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, professor of computer science at De Paul, the
> > creator of web2py and Dr. Debebe Asefa. This is really the
> > effort of the the two indviduals using their times and
> > resources. Feel free to comment on the code and suggest what
> > you want to see including your wish lists, i.e., what fucntions you
> > want to see. The goal is to create plaform without any limitations.
> > This the first release, subsequent releases will have all suggestions
> > and new uncovered functions.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 free 'prototyping' tool, and I
> wish you every success in making sense of it all.

This is dangerously teetering on "name callng" - please be careful.

Everyone has the right to their opinion, strong or otherwise - there
is not need to attack / call names.

As for "plain english" - while I do not want anything with this
"marketing" discussion (I have seen this repeat over the years, to the
same benefit - none useful which I can discern) - I would agree that I
read the post which this original comment was directed towards, and
too had trouble finding "the point" --- but I suspect it was because
that post too, perhaps,

was littered with inuendos:

- streets ahead/behind ?  not sure what you were driving at;
- evolving faster than corporations?   maybe, but how is that relevant
to this discussion, what was the point?  (I could not tell - nor do I
care to hear the answer)
- "always up the the individual" --- this looked like a sideways
attack to me;  again, not sure for what point / purpose (to try to
socially "sensor" John, because you were uncomfortable with what he
said?)
- "profound gravitas":you seem to be asking, somewhat indirectly
the poster to stay out of your thread.

I am not interested in your response, nor do I need one.

But for the community at large, I would poitn out:

Despite your taste / distaste with the way the "maybe you had a
point"  response was posted - nevertheless, it seems to have som
merit.
Name calling,  "cat fighting" I (for one) definitely do not welcome -
here nor anywhere.

Reign yourselves in - a community works by listening, acceptance, and
tolerance - even, and most especially in the face of disagreements.

- Yarko
>
> -David

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



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.
>
> Dreamhost seems to be a bit touchy on which ports you I can use to run
> web2py on. (ie none of 8000, 8001, 8080, 8081, etc seemed to work)
> But I just picked a random number and it seems to work like a charm.
>
> I'll have to add this to Dreamhost's wiki.
>
> Thanks a bunch,
> Jesse
>
> On Mar 6, 7:04 pm, Kuba Kucharski  wrote:
>> let's get you through it.
>>
>> for development I use two instances of web2py.
>>
>> one:
>>
>> python web2py.py -i public_ip -p 80 -a ""
>>
>> two:
>>
>> python web2py.py -i public_ip -p 8001 -a "password"
>>
>> one instance serves my beta testers and users, the second on runs just for me
>>
>> then I do:
>>
>> ssh -L 8001:127.0.0.1:8001 k...@server
>>
>> and type 127.0.0.1:8001 in my browser. I promise you it will work.
>>
>> the first "8001" is my local port on my desktop
>> the :127.0.0.1:8001 part is where I estabilished my web2py instance on
>> the server. that is all.
>>
>> happy hacking.
>>
>> --
>> Kuba
>
> --
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>



-- 
Frank Church

===
http://devblog.brahmancreations.com

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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.com/HLv3
>
> Massimo
>
> On Mar 7, 1:26 pm, dbb  wrote:
>
> > This announcement of the release of first HL7 ( health level 7
> > protocol) open source
> > code and the code can be found athttp://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, professor of computer science at De Paul, the
> > creator of web2py and Dr. Debebe Asefa. This is really the
> > effort of the the two indviduals using their times and
> > resources. Feel free to comment on the code and suggest what
> > you want to see including your wish lists, i.e., what fucntions you
> > want to see. The goal is to create plaform without any limitations.
> > This the first release, subsequent releases will have all suggestions
> > and new uncovered functions.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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: admin

The article also says "You can't call a method in the request handler
module" - what does that correspond to in web2py?

Any other advice about using Deferred / Task Queues through web2py
would be welcome.

Richard

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 it be better?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 and served after processing in  another view, yielded
> perfectly readable text with all the non-ascii characters perfectly
> displayed (german alphabet, russian alphabet, etc ...) in the  version
> 1.67.1 of Web2py.
>
> However  in the version 1.76.3 the non-ascii characters are displayed
> as question marks instead of characters.
>
>  - Have I done something wrong ?
>  - has the way Web2py deals with unicode changed ?
>  - is there a bug ?
>
> Thanks,
> Serge Hulne

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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-ascii characters perfectly
displayed (german alphabet, russian alphabet, etc ...) in the  version
1.67.1 of Web2py.

However  in the version 1.76.3 the non-ascii characters are displayed
as question marks instead of characters.

 - Have I done something wrong ?
 - has the way Web2py deals with unicode changed ?
 - is there a bug ?

Thanks,
Serge Hulne

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 release of first HL7 ( health level 7
> protocol) open source
> code and the code can be found athttp://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, professor of computer science at De Paul, the
> creator of web2py and Dr. Debebe Asefa. This is really the
> effort of the the two indviduals using their times and
> resources. Feel free to comment on the code and suggest what
> you want to see including your wish lists, i.e., what fucntions you
> want to see. The goal is to create plaform without any limitations.
> This the first release, subsequent releases will have all suggestions
> and new uncovered functions.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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,
professor of computer science at De Paul, the creator of web2py and
Dr. Debebe Asefa. This is really the effort of the the two indviduals
using their times and resources. Feel free to comment on the code and
suggest what you want to see including your wish lists, i.e., what
fucntions you want to see. The goal is to create plaform without any
limitations. This the first release, subsequent releases will have all
suggestions and new uncovered functions.

Best regards:

Debebe Asefa

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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. Massimo, professor of computer science at De Paul, the
creator of web2py and Dr. Debebe Asefa. This is really the
effort of the the two indviduals using their times and
resources. Feel free to comment on the code and suggest what
you want to see including your wish lists, i.e., what fucntions you
want to see. The goal is to create plaform without any limitations.
This the first release, subsequent releases will have all suggestions
and new uncovered functions.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 knowledgeable about this kind of thing and seriously he's
your man for any questions about wsgi.

> Or I guess I could simply use another solution to Apache.
> Any suggestions?

Others have also spoken enthusiastically about Lighttpd / Nginx in
terms of speed,  and a smaller memory footprint too, so try searching
the group. See these for example:

http://www.web2pyslices.com/main/slices/take_slice/57

Nginx:  
http://groups.google.com/group/web2py/browse_thread/thread/3c5d897149a3f1eb/679bdb2954ffec15#679bdb2954ffec15

HTH
-David

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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-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, DeutscheBank etc).
> On my day-by-day work I use the Java Programming language, but I like a lot
> explore different approaches.
>
> I have used django python 0.9x for developing two web sites.
> Anyway after leaving the project alone for a while, I find very difficult to
> learn back the django framework.
>
> So I am trying to use web2py for prototyping my ideas.
> I have written two small blog entries:
>
> http://gioorgi.com/2010/web2py-absolute-trouble-shooter/http://gioorgi.com/2009/web2py/
>
> The web2py approach is very promising in my own opinion, and I will keep
> following  the mailing list in the future.
>
> My free time is very limited but I will try to contribute to the web2py
> community,
> as I have done on other open source project like Squeak Smalltalk.
> So, nice to meet you :)
>
> --
> Giovanni Giorgi
> Solution Architect & Team Leaderhttp://gioorgi.com/

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 rows:
>                 print row['name']
>
> ([name] is unicode field)
>
> Error traceback
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 173, in restricted
>   File "E:/Web2py/web2py_win/applications/init/controllers/
> default.py", line 211, in 
>   File "gluon/globals.py", line 96, in 
>   File "E:/Web2py/web2py_win/applications/init/controllers/
> default.py", line 209, in dshuyen
>   File "encodings\cp437.pyc", line 12, in encode
> UnicodeEncodeError: 'charmap' codec can't encode character u'\u1ed1'
> in position 8: character maps to 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 you can safely build upon.

I think using a CSS framework is getting to be inevitable these days.
Most designers will have pieced together their own, but IMO that's not
a good idea for programmers -- it's so easy to lose a couple of hours
fiddling with CSS,  especially regular gotchas like a div slipping
down the page in IE but which behaves perfectly well in FF -- we just
don't need it!  I can see why Massimo must have given it some thought
and then gone back to a good old table!

In my mind,  the main question is:  is there any kind of standard
which gives immediate access to lots of templates.  If not,  then the
second question is:  what is light, simple,  and well supported enough
to include?

I think Blueprint or the full YUI is probably overkill.  However,  I
would just mention code.google.com/p/the-golden-grid/ with which I was
also very impressed for basic page layout.  The author has a great
philosophy and it's so light and simple (is 1K small enough?!) that it
could easily be included with Web2py for the basic page divs.  And,
if anyone doesn't like it,  it's just as easy to tear up and
replace :-)

-David

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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=common.headers)
>   File "C:\web2py\gluon\sqlhtml.py", line 1104, in __init__
>   File "C:\web2py\gluon\sql.py", line 2676, in formatter
>   File "C:\web2py_1.76.1\gluon\validators.py", line 2237, in formatter
>     return self.other.formatter(value)
>   File "C:\web2py_1.76.1\gluon\validators.py", line 1969, in formatter
>     y = '%.4i' % value.year
> AttributeError: 'str' object has no attribute 'year'
>
> I tried to reproduce this error in a clean environment created with
> 1.76.1 and I get the same error.
> Here is the code I use:
>
> Database:
> db.define_table('atable',
>     Field('birth', 'date', default=None, writable=False),
>     )
>
> db.atable.birth.requires=IS_NULL_OR(IS_DATE())
> db.atable.birth.writable = True
>
> monthday = lambda value: value and '%i/%i' % (value.month, value.day)
> db.atable.birth.represent = monthday
>
> Controler:
>     query = db.atable.id==1
>     rows = db(query).select(db.atable.id, db.atable.birth)
>     table = SQLTABLE(rows)
>
> If you just use a crud.update, everything works fine, and the field
> representation is correct.
>
> However, when you try to use a TABLE to display a list of all records,
> before going to the edit section, it seems the validator formatter
> property is getting in the way.
>
> Thank you for your help,
> FG

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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). I don't think that will work.

Guess I could just take 32 bits python, run Apache/Web2py in 32 bits
and have my engine as a separate 64 bit executable which would
communicate with web2py using IPCs (I'm thinking of pipes or sockets).

But this doesn't seem entierely satisfying (I'm unsure of the overhead
for the IPCs in terms of performance).

Or I guess I could simply use another solution to Apache. I was
considering Apache, because thats what the ops guys had setup at my
two previous places of employment, but perhaps there could be
something simpler that could get the job done (especially since I'm
more of a programmer than a sys admin, learning Apache in itself would
be an overhead).

Any suggestions?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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=common.headers)
  File "C:\web2py\gluon\sqlhtml.py", line 1104, in __init__
  File "C:\web2py\gluon\sql.py", line 2676, in formatter
  File "C:\web2py_1.76.1\gluon\validators.py", line 2237, in formatter
return self.other.formatter(value)
  File "C:\web2py_1.76.1\gluon\validators.py", line 1969, in formatter
y = '%.4i' % value.year
AttributeError: 'str' object has no attribute 'year'

I tried to reproduce this error in a clean environment created with
1.76.1 and I get the same error.
Here is the code I use:

Database:
db.define_table('atable',
Field('birth', 'date', default=None, writable=False),
)

db.atable.birth.requires=IS_NULL_OR(IS_DATE())
db.atable.birth.writable = True

monthday = lambda value: value and '%i/%i' % (value.month, value.day)
db.atable.birth.represent = monthday

Controler:
query = db.atable.id==1
rows = db(query).select(db.atable.id, db.atable.birth)
table = SQLTABLE(rows)

If you just use a crud.update, everything works fine, and the field
representation is correct.

However, when you try to use a TABLE to display a list of all records,
before going to the edit section, it seems the validator formatter
property is getting in the way.

Thank you for your help,
FG

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 restricted
  File "E:/Web2py/web2py_win/applications/init/controllers/
default.py", line 211, in 
  File "gluon/globals.py", line 96, in 
  File "E:/Web2py/web2py_win/applications/init/controllers/
default.py", line 209, in dshuyen
  File "encodings\cp437.pyc", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u1ed1'
in position 8: character maps to 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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.vim.org/scripts/script.php?script_id=2981
http://www.vim.org/scripts/script.php?script_id=1658
http://vim-taglist.sourceforge.net/

if you have questions about the plug-ins feel free to ask

In my .vimrc I got
" 4 spaces for tab in python sts for deleting 4 spaces on backspace
autocmd FileType python set ai sw=4 sts=4 et

" open new tab with ctrl+t circle with ctrl+j ctrl+h
:nmap  :tabnew
:imap  :tabnew
:map  gT
:map  gt

"let / search ignore the case when everything is in lower case ...
nice
set ignorecase
set smartcase


On Mar 3, 2:17 am, snfctech  wrote:
> I saw a few folks got Wingware and some other IDE's working with code-
> completion - but has anybody got it working for VIM, such as with
> omnicomplete?  If so, please let me know how you did it.  Probably
> should go on the wiki.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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 and definition
> lists (well, let's leave that for now!).
>
> If we achieved 1. and 2. we could all build layouts to a similar
> standard. I wonder whether Wordpress has standard div names we could
> adopt?  Or maybe one of the other popular CMSs or frameworks which has
> lots of template writers (Joomla, Drupal).  With CSS it helps if we
> could all sing off the same 'sheet'.
>
> -David

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 master degree on Information Technology on 2000,
> I have worked as Software Architect for financial institutions (like
> Unicredit Bank, DeutscheBank etc).
> On my day-by-day work I use the Java Programming language, but I like a lot
> explore different approaches.
>
> I have used django python 0.9x for developing two web sites.
> Anyway after leaving the project alone for a while, I find very difficult to
> learn back the django framework.
>
> So I am trying to use web2py for prototyping my ideas.
> I have written two small blog entries:
>
> http://gioorgi.com/2010/web2py-absolute-trouble-shooter/http://gioorgi.com/2009/web2py/
>
> The web2py approach is very promising in my own opinion, and I will keep
> following  the mailing list in the future.
>
> My free time is very limited but I will try to contribute to the web2py
> community,
> as I have done on other open source project like Squeak Smalltalk.
> So, nice to meet you :)
>
> --
> Giovanni Giorgi
> Solution Architect & Team Leaderhttp://gioorgi.com/

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 and definition
lists (well, let's leave that for now!).

If we achieved 1. and 2. we could all build layouts to a similar
standard. I wonder whether Wordpress has standard div names we could
adopt?  Or maybe one of the other popular CMSs or frameworks which has
lots of template writers (Joomla, Drupal).  With CSS it helps if we
could all sing off the same 'sheet'.

-David

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 an id number.  If you do not have a 'title' field,
then use whatever else would be meaningful e.g. '%(name)s'.

-David

On Mar 7, 8:32 am, Felix  wrote:
> 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 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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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, DeutscheBank etc).
On my day-by-day work I use the Java Programming language, but I like a lot
explore different approaches.


I have used django python 0.9x for developing two web sites.
Anyway after leaving the project alone for a while, I find very difficult to
learn back the django framework.

So I am trying to use web2py for prototyping my ideas.
I have written two small blog entries:

http://gioorgi.com/2010/web2py-absolute-trouble-shooter/
http://gioorgi.com/2009/web2py/


The web2py approach is very promising in my own opinion, and I will keep
following  the mailing list in the future.

My free time is very limited but I will try to contribute to the web2py
community,
as I have done on other open source project like Squeak Smalltalk.
So, nice to meet you :)


-- 
Giovanni Giorgi
Solution Architect & Team Leader
http://gioorgi.com/

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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
> pulldown affair. This is cumbersome to use when there are many users
> and many groups. It takes too many user selects and group selects and
> submits when assigning even one user to multiple groups.
>
> Therefore, I am building a custom interface. First, I select a user
> from a users=crud.select(...) list. Then, I want a custom form that
> shows the user name followed by a checklist of all the groups to which
> the user could potentially belong. Groups to which the user already
> belongs will have their checkbox checked in the form.
>
> It seems like this is such a typical thing to want to do that there
> should be something built-in to do it already. Or that someone has a
> slice for it or a plugin. Massimo's plugin  
> http://web2py.com/plugins/default/multiselect
> seems like it could do the trick, but I can't seem to get it to work
> for me in this case since auth_membership looks like a black box to
> me. Any suggestions for how to go about doing what I want to do?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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 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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



[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
> layout)
>
> 1) So far using a wordpress-like css would be my preferred choice.
> 2) The problems is that we cannot package too many files with the
> scaffolding app because they scare people away.
> What about include in admin a plugin to download "layout" plugins from
> the web (including image preview of the layout)?
> It would be easy to do within the current plugin system. We could have
> a blueprint plugin and a jquery.ui themes plugin for example.
>
> Massimo
>
> On Mar 6, 9:58 am, FaustCoder  wrote:
>
> > +2
>
> > On Mar 6, 8:55 am, "mr.freeze"  wrote:
>
> > > They are under the Creative Commons Attribution 2.5 license - free for
> > > use commercially or non-commercially provided you put a link somewhere
> > > in the template back to freecsstemplates.org. Even this can be
> > > bypassed with the author's permission. They can be modified and
> > > redistributed. That doesn't seem restrictive.
>
> > > On Mar 6, 2:01 am, mdipierro  wrote:
>
> > > > The problem here is legal. We cannot distributed with the scaffolding
> > > > app, page templates that have a restrictive license. The current
> > > > template is not great but is made of images and css that are public
> > > > domain so no problem is you build on those.
>
> > > > I proposed wordpress theme for admin (and admin only) because
> > > > wordpress is GPL therefore it is compatible with admin. We could not
> > > > use wordpress theme for the scaffoling app because it would restrict
> > > > users.
>
> > > > On Mar 6, 12:08 am, Jason Brower  wrote:
>
> > > > > But then this isn't automated. First time I have seen it, so if it's 
> > > > > in
> > > > > the application built in I missed it. And let's not forget lots of us,
> > > > > like me don't have internet all the time.
> > > > > BR,
> > > > > Jason
>
> > > > > On Fri, 2010-03-05 at 20:27 -0800, mdipierro wrote:
> > > > > > Why when they can already chose hundreds from web2py.com/layouts
> > > > > > What somebody should actually do is go over them all and delete 
> > > > > > some.
> > > > > > Some do not look very nice because tha conversion process broke 
> > > > > > them.
>
> > > > > > Massimo
>
> > > > > > On Mar 5, 10:24 pm, weheh  wrote:
> > > > > > > +1
>
> > > > > > > On Mar 5, 11:19 pm, "mr.freeze"  wrote:
>
> > > > > > > > Idea: tweak 10 (or more) of the best gpl css templates we can 
> > > > > > > > find to
> > > > > > > > work with web2py and give people a choice of templates when they
> > > > > > > > create an app.  Also, change admin to use one of these.  I 
> > > > > > > > think the
> > > > > > > > welcome and admin apps look too utilitarian and web 1.0 (no 
> > > > > > > > offense to
> > > > > > > > whoever designed them).
>
> > > > > > > > Thoughts?
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.