[newmaint-site] nm.debian.org updates
Enrico Zini
enrico at enricozini.org
Sun Aug 31 16:34:12 UTC 2014
Hello,
I have done a lot of work on nm.debian.org, mostly refactoring and unit
testing, with the goal of finally allowing site logins to anyone with an
alioth account.
This is a summary of what I have done:
- refactored the permission code: computing who-can-do-what-to-whom now
happens backend.models.*VisitorPermissions and all views just use
that;
- extensive unit testing of site permissions. 50Kb of compact unit
testing code written during debconf;
- ported code to Django class-based views, abstracting common
permission checks to mixins;
- redone advocacy implementation to allow advocating also for DMs and
guest accounts (currently only starting a process is implemented);
- switched from django user profiles to a custom user model, with
automatic database migration (requires python-django-south >= 1.0).
I may have broken something: if you find glitches, please let me know.
Enrico
--
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/newmaint-site/attachments/20140831/c8494e22/attachment.sig>
More information about the newmaint-site
mailing list