The CAS provider applicance should be here.
http://mdp.cti.depaul.edu/appliances/default/index (https://
www.web2py.com/cas)
https://mdp.cti.depaul.edu/cas (http://en.wikipedia.org/wiki/
Central_Authentication_Service).
But I am not able to find it?
Try list argument in left join:
left =[ ... , ... ]
On Jun 9, 7:59 am, Peter Etchells wrote:
> When trying the example in the new slide show:
> ...db = SQLDB('sqlite://storage.sqlite')
>
> db.define_table('dog',
> SQLField('name'),
> SQLField('father_id','reference dog'),
> SQLFi
On Jun 8, 5:29 am, mdipierro wrote:
> Hi Richard,
>
> the gmail authentication is not based on open-id (yet). it presents
> you with a standard login form. It tried to log you in via the normal
> auth_user table. It it fails, it tried to verify your password using
> the gmail smtp service. If tha
e’)
On Jun 3, 2:47 pm, mdipierro wrote:
> no. it is correct as it is.
>
> On Jun 3, 7:41 am, notabene wrote:
>
> > Page 84:
> > Example:
> > db(db.product.id>10).update(product=db.product.price+20)
>
> > Should be ():
> > db(db.product.id>10
Page 84:
Example:
db(db.product.id>10).update(product=db.product.price+20)
Should be ():
db(db.product.id>10).update(db.product.price=db.product.price+20)
On Jun 3, 5:52 am, mdipierro wrote:
> http://www.web2py.com/examples/static/cookbook2.pdf
--~--~-~--~~~---~
Hi web2py-folks!
I am missing 3 legged auth of user, through consumer, to service
provider?
Web2py has most of the basic elements for building a service-provider
application. E.g. REST, json, xml. xml-rpc etc.
As I see it - the only (?) missing element is Auth (/Oauth).
In a service-architectu
(Python 2.6.2):
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
Traceback (most recent call last):
File "./web2py.py", line 16, in
import gluon.import_all
File "/home/hosts/googleappengine/web2py-
I am perfectly happy with the free version. When users login they are
redirected to mydomain.rpx.com. As I understand the paid versions
instead redirects to e.g. rpx.mydomain which is hosted at rpx.
The pro version eventually aggregates some social-data on the user.
On Apr 30, 6:52 pm, Joe Barn
I have extended the auth -module with rpx functionality
http://rpxauth.googlecode.com/
It includes the posibility of having more (openid) identities attached
to the user.
I would like to have it integrated directly in web2py!?
On 30 Apr., 07:00, mdipierro wrote:
> I was about to include googl
On 27 Apr., 07:04, mdipierro wrote:
> Should we rewrite the welcome app using these so that we can use
> jquery themes?
>
> Can you help?
>
> Massimo
Your AJAX application http://www.web2py.com/events/default/index is
very nice and innovative. It uses the JQuery Accordion. I have
modified it to
Hint
You could save session-records to the database and se who has recently
started a session (Modified Datetime). But it is difficult to notify
the user - except when he calls a controller/function.
On Apr 14, 9:40 am, Marco Prosperi wrote:
> hi all, how can I verify if there are users current
Hint:
I don't believe You can notify user's - except if You have a
javascript, which pulls notifications (if any) from the server (with
certain intervals).
Regards Niels Bjerre
On Apr 14, 9:40 am, Marco Prosperi wrote:
> hi all, how can I verify if there are users currently connected to my
>
Very nice and cool!
Because of the static height (style="height: 35px;" in views/default/
index.html) it only works for me when moving the div/window away from
the left column.
is jDiv and the new web2py_ajax.html finding its to web2py or a svn
repository?
Niels
On 6 Apr., 08:09, mdipierro w
I am working on an extension to auth that allows single signon from
OpenID, Google, Yahoo, AOL, Facebook , MySpace and Windows Live.
It use the RPX service from JanRain and allows consolidation of
different identities as a single user.
RPX has an ajax signin popup. Look here: https://rpxnow.com/
On 30 Mar., 09:13, Yarko Tymciurak wrote:
> On Mon, Mar 30, 2009 at 1:58 AM, notabene wrote:
>
> > Thumbs up. Very good idea!
>
> > We have had the discussion around MVC. And the conclusion were, that
> > there is no clear-cut border between MVC. No perfect or true
Thumbs up. Very good idea!
We have had the discussion around MVC. And the conclusion were, that
there is no clear-cut border between MVC. No perfect or true division.
(Java-) scripting functionality in controllers can ease the way for
AJAX forms and functionality in views.
On 30 Mar., 06:15, md
Thats it - Thank You!
On 23 Mar., 18:57, DenesL wrote:
> Try:
>
> META(**{'_http-equiv':'content-type','_content':'text/
> html','_charset':'utf-8'})
>
> note: you need the dictionary syntax since _http-equiv is an invalid
> identifier in Python and can not be used as a keyword argument.
--~--~-
META('',_http-equiv='content-type',_content='text/html',
_charset='utf-8')
or
TAG.meta('',_http-equiv='content-type',_content='text/html',
_charset='utf-8')
or
META(_charset='utf-8')
returns
SyntaxError: tags cannot have components
--~--~-~--~~~---~--~~
You recei
Or rather:
db.executesql('START TRANSACTION;')
db.executesql('Insert into ;')
db.commit()
On Mar 22, 4:42 pm, notabene wrote:
> Or run db.executesql('Insert into ')?
>
> On Mar 22, 4:04 pm, mdipierro wrote:
>
> > You have to loop a
Or run db.executesql('Insert into ')?
On Mar 22, 4:04 pm, mdipierro wrote:
> You have to loop and commit each of them.
>
> On Mar 22, 6:14 am, phneoix wrote:
>
> > hi,
> > i would like to know whether it is possible to store multiple
> > records in storage and commit them all at once to t
Hi Massimo
Thank You for Your great work. I have the impression that You are a
"one-man army", that design, develop, make documentation, teach and
support.
But (always a but?) if I may suggest an improvement: When You get
these questions. Why not refer to the best available documentation? In
thi
Thanks!
I will look into it.
On 4 Mar., 14:42, mdipierro wrote:
> On Mar 4, 2:50 am, notabene wrote:
>
> > I am wondering:
>
> > How does CAS and the new Auth module relate?
>
> For now they do not relate although it would be nice to rewrite CAS on
> Auth and ma
I am wondering:
How does CAS and the new Auth module relate?
I am having more domains pointing to different paths on the same
web2py-instance. I want a coherent user-table, login, authentication
and authorization on all URL's on the web2py-instance. (No login when
changing domain).
Any hints?
-
gt; an error ticket which facebook ineterprets as invalid format. use
> admin and browse for recent errors.
>
> On Feb 27, 10:29 am, notabene wrote:
>
> > I use Your facebook application:
>
> > views/layout.html:
>
> >
> > {{if response.flash:}}{{=response.
imo
>
> On Feb 27, 4:14 am, notabene wrote:
>
> > Might be very usefull.
>
> > I get this error:
>
> > FBML Error (line 88): illegal tag "body" under "fb:canvas"
>
> > Using /facebook/default/index
>
> > controller/default:
>
Might be very usefull.
I get this error:
FBML Error (line 88): illegal tag "body" under "fb:canvas"
Using /facebook/default/index
controller/default:
from applications.facebook.modules.facebook import *
facebook_settings.FACEBOOK_API_KEY = 'da74af75965cb6cxxx'
facebook_settings.FACEBO
Integrated Authentication and Authorization Infrastructure systems
tend to be very complex.
The standard I suppose is defined by OASIS in the "Security Assertion
Markup Language" (SAML http://en.wikipedia.org/wiki/SAML).
An easy demo of the User-experience is given here:
http://www.switch.ch/aa
That's better. Thank You.
By the way. Remember to install python-profiler.
Niels
On Feb 11, 10:55 am, Douglas Soares de Andrade
wrote:
> Em Quarta-feira 11 Fevereiro 2009, às 05:02:16, Wes James escreveu:
>
>
>
> > Massimo,
>
> > I just downloaded trunk and tried starting as normal and get:
>
to a string, sqlitke keeps the data as int. Now web2py thinks is a
> string and sqlite stores an int.
>
> do not change field types in sqlite if you have data stored.
>
> Massimo
>
> On Feb 3, 7:53 am, notabene wrote:
>
> > I am still mystified, but found a Work around
to a string, sqlitke keeps the data as int. Now web2py thinks is a
> string and sqlite stores an int.
>
> do not change field types in sqlite if you have data stored.
>
> Massimo
>
> On Feb 3, 7:53 am, notabene wrote:
>
> > I am still mystified, but found a Work around
I am still mystified, but found a Work around by:
exporting, deleting and importing csv-file
On Feb 3, 8:36 am, notabene wrote:
> record from arrdato:
> arrdato.id arrdato.uuid arrdato.arrid arrdato.stedid
> arrdato.arrangid
> arrdato.postnr
> 1190 11
I am still mystified, but found a Work around by:
exporting, deleting and importing csv-file
On Feb 3, 8:36 am, notabene wrote:
> record from arrdato:
> arrdato.id arrdato.uuid arrdato.arrid arrdato.stedid
> arrdato.arrangid
> arrdato.postnr
> 1190 11
record from arrdato:
arrdato.id arrdato.uuidarrdato.arrid arrdato.stedid arrdato.arrangid
arrdato.postnr
119011902 1
3 3740
I can select it by id, uuid and postnr, but not by:
arrid,stedid,arrangid!
The probl
Problem trying to access record id on update-form
form=SQLFORM(db.arr,rows[0],fields=fields)
if form.accepts(request.vars,session):
session.flash="Record updated (%s)" % (form.vars.id)
Flash result for id: None
I can access other variables e.g form.vars.name but NOT: form.vars.id
I am puz
ORDER BY MAX(table.field) DESC ...". Are you
> saying it does not or are you mixing ~ with raw sql?
>
> On Jan 22, 8:01 am, notabene wrote:
>
> > DESC: ORDER BY ~MAX(arrstart) result in a strange sorting!
> > ASC: ORDER BY MAX(arrstart) works as expected:
> > I
SELECT arrdato.arrid, MAX(arrstart), COUNT(arrid) FROM arrdato WHERE
((arrdato.stedid=1 OR arrdato.arrangid=1) AND
arrdato.arrstart<'2009-01-22 14:00:21') GROUP BY arrdato.arrid ORDER
BY ~MAX(arrstart) LIMIT 10 OFFSET 0;
Result
[(3, u'2009-01-20 14:53:46', 1), (4, u'2009-01-14 16:56:11', 1), (5,
DESC: ORDER BY ~MAX(arrstart) result in a strange sorting!
ASC: ORDER BY MAX(arrstart) works as expected:
I can insert DESC in raw sql, but howto specify in db.select?
SELECT arrdato.arrid, MAX(arrstart), COUNT(arrid) FROM arrdato WHERE
((arrdato.stedid=1 OR arrdato.arrangid=1) AND
arrdato.arrst
On Jan 15, 7:01 am, MadWalker wrote:
> hi,
>
> is it able to set a key column on a table to be unique
> like for example; user name
> if not,
> is there another way to do it?
>
> Good day,
> Madwalker
in model file:
db.define_table('table'
db.field('name','string',unique=True))
#FORM VA
On Jan 13, 11:00 am, vihang wrote:
> hi,
>
> I am trying to execute this
>
> def add():
> return dict(form=t2.create(db.Accomodation, onaccept=lambda form:\
> t2.add_access(db.Accomodation,form.vars.id)\
> and db.listing_owner.insert(person_id=t2.person_id,
> Accomodation_id=form.vars
Dont work for me:
form=t2.create(db.arr,vars={'name':'Test'})
name is a string-field in db.arr
I use latest version of web2py and t2/t3
I don't understand??!
On 8 Dec. 2008, 23:15, mdipierro wrote:
> t2.createuses but differs from SQLFORM. You should use:
>
> form =t2.create(db.mytable,vars={
On Jan 6, 5:34 am, Jonathan Benn wrote:
> Hi Notabene,
>
> On Jan 4, 6:25 pm, notabene wrote:
>
> > The log only has warnings of "no cache.disk". Sorry!
>
> It sounds like something is seriously broken in your code base. Here's
> what I suggest:
On Jan 4, 12:26 pm, Jonathan Benn wrote:
> Hi Notabene,
>
> On Jan 3, 6:10 pm, notabene wrote:
>
> > > > Any ideas on this? Ideas for debugging?
>
> I haven't encountered this issue myself.
>
> Have you looked at the logs? Try logging in tohttp://app
On 3 Jan., 15:49, Zoom.Quiet wrote:
> On Sat, Jan 3, 2009 at 22:46, notabene wrote:
>
> > My application works locally on dev_appserver.py but not in the cloud
> > on GAE.
>
> > All requests are redirected to the error function.
>
> > response._vars, respon
My application works locally on dev_appserver.py but not in the cloud
on GAE.
All requests are redirected to the error function.
response._vars, response.vars, response.args, request.vars are all
empty
Any ideas on this? Ideas for debugging?
Regards Niels Bjerre
--~--~-~--~~---
rsion. This is only a problem with
> trunk not with the stable version.
>
> On Jan 2, 8:41 am, mdipierro wrote:
>
> > which version? 1.55 or earlier?
>
> > Massimo
>
> > On Jan 2, 8:20 am, notabene wrote:
>
> > > Can anyone help with this t2.create
Version 1.55rc3
On 2 Jan., 15:41, mdipierro wrote:
> which version? 1.55 or earlier?
>
> Massimo
>
> On Jan 2, 8:20 am, notabene wrote:
>
> > Can anyone help with this t2.create() error?
>
> > "invalid select attribute"
> > Works in web2py -
Can anyone help with this t2.create() error?
"invalid select attribute"
Works in web2py - fails in gae (dev_appserver)
I did not define an (options) widget.
ERROR2009-01-02 13:44:41,426 main.py] Traceback (most recent call
last):
File "/home/nb/web2py/gluon/restricted.py", line 62, in
res
te)
>
> http://groups.google.com/group/web2py/browse_thread/thread/a67e2aa251...
>
> Hope that helps.
>
> Yarko
>
> On Tue, Dec 30, 2008 at 9:13 AM, notabene wrote:
>
> > Thank You very much for Your suggestions.
>
> > But ...
>
> > The copy function w
quest.vars,session): return HTML(BODY(SCRIPT
> ('window.close()')))
> return HTML(BODY(form))
>
> Massimo
> On Dec 28, 6:36 am, notabene wrote:
>
> > I need 2 patterns - and I believe they would be usefull in general:
> > - t2.copy to supplement insert, upda
I need 2 patterns - and I believe they would be usefull in general:
- t2.copy to supplement insert, update, delete.
- a popup page - attached by an edit or search button to a field -
which can be customized to supply the field-content.
I am not that experienced in web2py and python, and would app
form=t2.create(db.test, onaccept=trigger)
As I understand 'onaccept' is an "after-insert" trigger. It does not
matter if I change form.vars in this trigger.
Are there any models for "before-update" and "before-insert" in T3?
(other than copying and modifiing code from T3.)
How do i pre-populate
le(' | '.join([k for k in self.ks if k!
> ='id']),None,None))
>
> Let me know if this fixes it. Mind that you will have to also add the
> indices to index.yaml
>
> Massimo
>
> On Dec 15, 12:59 am, notabene wrote:
>
> > db.define_table('a
It works on web2py - but not on GAE?
On Dec 15, 7:59 am, notabene wrote:
> db.define_table('adr',
> SQLField
> ('name','string',length=32,required=True,requires=IS_NOT_EMPTY()),
>
> db.define_table('arr',
> SQLField
> (
elect
items,tablename,fields=self._select(*fields,**attributes)
File "/home/hosts/googleappengine/web2py/gluon/contrib/gql.py", line
415, in _select
orders = attributes['orderby'].name.split("|")
AttributeError: 'str' object has no attribute
Web2py (and T2) handles references nicely with a select input-field
Goggle AppEngine does not support joins.
I can use IS_IN_DB - but only to select the ID
Any suggestions on how to support the references in GAE?
Maybe a variation of the t2.tag_widget using a select field and saving
the ID?
--
That fixed it
Thank You very much!
On Dec 10, 5:06 am, mdipierro <[EMAIL PROTECTED]> wrote:
> I think I fixed this in trunk. Can you try it please?
>
> Massimo
>
> On Dec 9, 12:03 pm, notabene <[EMAIL PROTECTED]> wrote:
>
> > I have a table with a dateti
I have a table with a datetime field and a time-field ("varighed").
Problem:
The table can create records - but when updating through
T2.form.accepts it fails
It only fails on GAE. I can se that GAE internally saves the time
field as a date-field?
any ideas is appreaciated!
Traceback (most
On Dec 8, 3:12 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> somewhere yin your model you need
>
> session.connect(request,response,db)
Thanks
I forgot db-sessions in the init-application which redirect to main
apllication.
I like the T3 interface very much.
I guess it's still possible to complete
On 8 Dec., 02:42, mdipierro <[EMAIL PROTECTED]> wrote:
> I posted yet another version of T3. This one can handle/upload static
> files and has a version of appadmin that works on GAE (when the
> expression has an equivalent on GAE)
>
> Should this new version of appadmin be made standard?
>
> It i
On 24 Okt., 05:19, mdipierro <[EMAIL PROTECTED]> wrote:
> Why does this not work on gae?
>
> def urlopen(url):
> try:
> from google.appengine.api.urlfetch import fetch
> if url.find('?')>=0:
> url,payload=url.split('?')
> return f
60 matches
Mail list logo