Mercurial > p > roundup > code
comparison roundup/admin.py @ 1467:378081f066cc
registration is now a two-step process with confirmation from the
email address supplied in the registration form
fixed [SF#687771] too (now handle all cases of @/:)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 25 Feb 2003 10:19:32 +0000 |
| parents | b953750bdc04 |
| children | 5a01e90b7dc9 |
comparison
equal
deleted
inserted
replaced
| 1466:0c3546479b52 | 1467:378081f066cc |
|---|---|
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 18 # | 18 # |
| 19 # $Id: admin.py,v 1.37 2003-02-15 23:19:01 kedder Exp $ | 19 # $Id: admin.py,v 1.38 2003-02-25 10:19:31 richard Exp $ |
| 20 | 20 |
| 21 '''Administration commands for maintaining Roundup trackers. | 21 '''Administration commands for maintaining Roundup trackers. |
| 22 ''' | 22 ''' |
| 23 | 23 |
| 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil | 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil |
| 326 if not backend: | 326 if not backend: |
| 327 backend = 'anydbm' | 327 backend = 'anydbm' |
| 328 # XXX perform a unit test based on the user's selections | 328 # XXX perform a unit test based on the user's selections |
| 329 | 329 |
| 330 # install! | 330 # install! |
| 331 init.install(tracker_home, template, backend) | 331 init.install(tracker_home, template) |
| 332 init.write_select_db(tracker_home, backend) | |
| 332 | 333 |
| 333 print _(''' | 334 print _(''' |
| 334 You should now edit the tracker configuration file: | 335 You should now edit the tracker configuration file: |
| 335 %(config_file)s | 336 %(config_file)s |
| 336 ... at a minimum, you must set MAILHOST, TRACKER_WEB, MAIL_DOMAIN and | 337 ... at a minimum, you must set MAILHOST, TRACKER_WEB, MAIL_DOMAIN and |
