Hey guys,

I made this 'base witty app' (which I'm gonna base future projects on), that
gives you 'long user sessions' (that survive a refresh) and user
authentication.

I'm still working on the admin interface, so you can add and remove users.

It's not as flexible as straight wt. It needs:

 * Cookies enabled on client
 * Postgresql on the server
 * It uses WTemplateWidget a lot
 * It needs a patched 'wt' (basically just so it can write secure cookies)
(patch included in source tree and installation instructions)

But it provides:

 * a nice url friendly login link
 * logout link
 * storing user info in the db (with password hashes (sha1))
 * generating session cookies for the users and remembering who's logged in

I'm currently adding:

 * A user administration interface (add/edit/delete)

Source is on github: https://github.com/matiu2/witty-plus
Installation instructions for ubuntu:
https://github.com/matiu2/witty-plus/blob/master/README.md

Comments/helpers appreciated.

Demo of it running is here: http://barcamp.supa.ws

login is: username: admin
            password: admin

*Just login, look at the nice cookies, and log out please.*

*If you try to play with the user admin interface right now, you'll just
crash it and spoil everyone's fun.*

If you find it's down .. it's because someone tried to play with the user
admin interface.

:)

Kind Regards,
Matthew Sherborne
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to