2005-12-17T00:00:12  <_keturn> I ask because I'm doing User(id=some_id), and it looks like if I don't send a username or an auth_username along with that, the "trusted" attribute is not going to be set.
2005-12-17T00:03:42  <xorAxAx> yep
2005-12-17T00:04:03  <xorAxAx> trusted is just for users who are coming in externally
2005-12-17T00:04:08  <xorAxAx> ThomasWaldmann: is this still true?
2005-12-17T00:05:10  <xorAxAx> [PERIODIC ANNOUNCEMENT] Logs can be found on http://moinmoin.wikiwikiweb.de/MoinMoinChat/Logs/moin-dev
2005-12-17T00:05:50  <ThomasWaldmann> it was used for http auth
2005-12-17T00:06:04  <ThomasWaldmann> code needs review where it should be used now
2005-12-17T00:08:31  *** DasSheep is now known as DeShiiPu
2005-12-17T00:09:07  <xorAxAx> and it needs to be documented ...
2005-12-17T00:11:26  *** DeShiiPu is now known as DeShi-pu
2005-12-17T00:20:26  <_keturn> So, with some of these authentication methods (including OpenID), you don't want it to re-authenticate you on every request.  You want to authenticate once, and stay that way until the end of the session.
2005-12-17T00:20:56  <_keturn> So I think I should setCookie and let auth.moin_cookie do the auth most of the time.
2005-12-17T00:21:41  <xorAxAx> yeah
2005-12-17T00:21:47  <_keturn> The problem is, setCookie is a method of the request object that depends on request.user being set
2005-12-17T00:21:57  <_keturn> request.user is set *after* my auth method returns
2005-12-17T00:22:52  <xorAxAx> yeah, design issue
2005-12-17T00:22:59  <xorAxAx> see how it is worked around in auth.py
2005-12-17T00:25:49  <_keturn> ew.  Um...  how about we make setCookie take an optional user parameter instead?
2005-12-17T00:28:38  <_keturn> or do the setCookie call from somewhere in RequestBase after get_user is called?
2005-12-17T00:29:11  *** DeShi-pu is now known as DasSheep
2005-12-17T01:20:40  *** DasSheep has quit IRC
2005-12-17T01:58:34  * _keturn tries to figure out how to get tla to give him a patch which spans two changesets
2005-12-17T02:08:55  *** nwp_ has quit IRC
2005-12-17T02:28:44  <_keturn> themebase.__init__ blows up real good if the user doesn't have a name set
2005-12-17T02:29:01  <_keturn> err, ThemeBase.username(), rather
2005-12-17T02:39:22  *** starshine is now known as starshine_away
2005-12-17T02:46:44  <_keturn> ok, openid stuff works in some cases now...  don't really have the autocreate case down yet
2005-12-17T09:15:21  <ThomasWaldmann> if you have questions...
2005-12-17T12:26:34  *** Fabi has quit IRC
2005-12-17T12:30:35  *** Fabi has quit IRC
2005-12-17T12:30:35  *** nwp_ has quit IRC
2005-12-17T12:30:35  *** ThomasWaldmann has quit IRC
2005-12-17T12:30:35  *** _keturn has quit IRC
2005-12-17T12:30:35  *** xorAxAx has quit IRC
2005-12-17T12:30:35  *** starshine_away has quit IRC
2005-12-17T12:30:35  *** ChanServ has quit IRC
2005-12-17T12:40:38  *** irc.freenode.net sets mode: +o ChanServ
2005-12-17T12:43:25  *** Fabi has quit IRC
2005-12-17T12:44:29  *** ThomasWaldmann has quit IRC
2005-12-17T12:45:48  *** starshine_away has quit IRC
2005-12-17T12:45:48  *** _keturn has quit IRC
2005-12-17T12:45:48  *** xorAxAx has quit IRC
2005-12-17T12:52:26  *** nwp_ has quit IRC
2005-12-17T12:57:02  *** _keturn has quit IRC
2005-12-17T12:57:02  *** starshine_away has quit IRC
2005-12-17T12:57:02  *** xorAxAx has quit IRC
2005-12-17T17:22:09  *** starshine_away is now known as starshine
2005-12-17T20:57:56  *** starshine is now known as starshine_away

MoinMoin: MoinMoinChat/Logs/moin-dev/2005-12-17 (last edited 2007-10-29 19:06:01 by localhost)