From: richard Date: Wed, 2 Jan 2002 02:32:38 +0000 (+0000) Subject: ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=907c5352cd0d9933b35e4c29ebe67bf1e7adffa9;p=roundup.git ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@488 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/mailgw.py b/roundup/mailgw.py index c250c62..441a56c 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -73,7 +73,7 @@ are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.46 2002-01-02 02:31:38 richard Exp $ +$Id: mailgw.py,v 1.47 2002-01-02 02:32:38 richard Exp $ ''' @@ -387,7 +387,7 @@ Subject was: "%s" # # Don't create users if ANONYMOUS_REGISTER is denied - if self.ANONYMOUS_ACCESS == 'deny': + if self.ANONYMOUS_REGISTER == 'deny': create = 0 else: create = 1 @@ -708,6 +708,21 @@ def parseContent(content, blank_line=re.compile(r'[\r\n]+\s*[\r\n]+'), # # $Log: not supported by cvs2svn $ +# Revision 1.46 2002/01/02 02:31:38 richard +# Sorry for the huge checkin message - I was only intending to implement #496356 +# but I found a number of places where things had been broken by transactions: +# . modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename +# for _all_ roundup-generated smtp messages to be sent to. +# . the transaction cache had broken the roundupdb.Class set() reactors +# . newly-created author users in the mailgw weren't being committed to the db +# +# Stuff that made it into CHANGES.txt (ie. the stuff I was actually working +# on when I found that stuff :): +# . #496356 ] Use threading in messages +# . detectors were being registered multiple times +# . added tests for mailgw +# . much better attaching of erroneous messages in the mail gateway +# # Revision 1.45 2001/12/20 15:43:01 rochecompaan # Features added: # . Multilink properties are now displayed as comma separated values in diff --git a/roundup/templates/classic/interfaces.py b/roundup/templates/classic/interfaces.py index ac2acc7..9fdb5e8 100644 --- a/roundup/templates/classic/interfaces.py +++ b/roundup/templates/classic/interfaces.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: interfaces.py,v 1.10 2001-12-20 15:43:01 rochecompaan Exp $ +# $Id: interfaces.py,v 1.11 2002-01-02 02:32:38 richard Exp $ import instance_config from roundup import cgi_client, mailgw @@ -38,10 +38,18 @@ class MailGW(mailgw.MailGW): ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL ADMIN_EMAIL = instance_config.ADMIN_EMAIL MAILHOST = instance_config.MAILHOST - ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS + ANONYMOUS_REGISTER = instance_config.ANONYMOUS_REGISTER # # $Log: not supported by cvs2svn $ +# Revision 1.10 2001/12/20 15:43:01 rochecompaan +# Features added: +# . Multilink properties are now displayed as comma separated values in +# a textbox +# . The add user link is now only visible to the admin user +# . Modified the mail gateway to reject submissions from unknown +# addresses if ANONYMOUS_ACCESS is denied +# # Revision 1.9 2001/11/26 23:00:53 richard # This config stuff is getting to be a real mess... # diff --git a/roundup/templates/extended/interfaces.py b/roundup/templates/extended/interfaces.py index 8f84e66..b9672bf 100644 --- a/roundup/templates/extended/interfaces.py +++ b/roundup/templates/extended/interfaces.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: interfaces.py,v 1.14 2001-12-20 15:43:01 rochecompaan Exp $ +# $Id: interfaces.py,v 1.15 2002-01-02 02:32:38 richard Exp $ import instance_config from roundup import cgi_client, mailgw @@ -38,10 +38,18 @@ class MailGW(mailgw.MailGW): ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL ADMIN_EMAIL = instance_config.ADMIN_EMAIL MAILHOST = instance_config.MAILHOST - ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS + ANONYMOUS_REGISTER = instance_config.ANONYMOUS_REGISTER # # $Log: not supported by cvs2svn $ +# Revision 1.14 2001/12/20 15:43:01 rochecompaan +# Features added: +# . Multilink properties are now displayed as comma separated values in +# a textbox +# . The add user link is now only visible to the admin user +# . Modified the mail gateway to reject submissions from unknown +# addresses if ANONYMOUS_ACCESS is denied +# # Revision 1.13 2001/11/26 23:00:53 richard # This config stuff is getting to be a real mess... #