Mercurial > p > roundup > code
diff demo.py @ 2649:1df7d4a41da4
Buncha stuff (sorry about the large checkin):
- Permissions may now be defined on a per-property basis
- added "Create" Permission. Replaces the "Web"- and "Email Registration"
Permissions.
- added option to turn off registration confirmation via email
("instant_registration" in config)
Migrated the user edit/view permission to use check code.
Fixed a buncha stuff in the default templates. Needs a thorough review
though.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 28 Jul 2004 02:29:46 +0000 |
| parents | fe71e108d998 |
| children | 921780161fb9 |
line wrap: on
line diff
--- a/demo.py Tue Jul 27 11:36:01 2004 +0000 +++ b/demo.py Wed Jul 28 02:29:46 2004 +0000 @@ -2,7 +2,7 @@ # # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net) # -# $Id: demo.py,v 1.15 2004-07-27 11:36:01 a1s Exp $ +# $Id: demo.py,v 1.16 2004-07-28 02:29:45 richard Exp $ import sys, os, string, re, urlparse, ConfigParser import shutil, socket, errno, BaseHTTPServer @@ -59,6 +59,7 @@ config['TRACKER_WEB'] = 'http://%s:%s/demo/'%(hostname, port) # write the config + config['INSTANT_REGISTRATION'] = 1 config.save() # open the tracker and initialise
