This if from my commit message:
Added some smaller features:
* Configuration for cookie host and path.
* Session cookie now set to expire when the browser closes
* New IdentitySessionExpiredException thrown when the session times
out (identity.session.timeout), the exception includes the userId
from the cookie, so you can pre-populate the field if you want.
* Changed the field of identity.current from userId to id.
* Added identity.current to stdvars as identity.
I've also changed the cookie name from "user_identity" to just
"Identity" and renamed the config variable to fit with all the other
variables. The following are from turbogears/identity/config-
defaults.txt:
# The name of the signed cookie to transmit to the visitor's browser.
identity.session.cookie.name="identity"
# Host name to specify when setting the cookie
identity.session.cookie.host=None
# Specific path for the cookie
identity.session.cookie.path="/"
# Cookie expiration (distinct from session expiration). If not
present, cookie
# will be set to expire when the browser is closed.
identity.session.cookie.timeout=None
I *think* this completes the list of features I intend to add prior
to 0.9. If anyone has any burning desires, please speak up now (and
because I'm so far behind on the mailing list, please email me
directly).
I know there are no tests or documentation yet for the identity
framework. I'll probably solve the documentation problem before the
tests problem. I'm really grooving on using unit-tests for another
Python project I'm working on, but I'm not really certain how I can
make them work here.
I'll also be posting a sample TurboGears project that uses the
identity framework for those of you who are still having problems
getting things to work.
Jeff
--
Jeff Watkins
http://newburyportion.com/
Computers, they're just a fad.