Skip to content

Commit a3f5c04

Browse files
author
Richard Jones
committed
ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER
1 parent 63eb54a commit a3f5c04

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

roundup/mailgw.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373
an exception, the original message is bounced back to the sender with the
7474
explanatory message given in the exception.
7575
76-
$Id: mailgw.py,v 1.46 2002-01-02 02:31:38 richard Exp $
76+
$Id: mailgw.py,v 1.47 2002-01-02 02:32:38 richard Exp $
7777
'''
7878

7979

@@ -387,7 +387,7 @@ def handle_message(self, message):
387387
#
388388

389389
# Don't create users if ANONYMOUS_REGISTER is denied
390-
if self.ANONYMOUS_ACCESS == 'deny':
390+
if self.ANONYMOUS_REGISTER == 'deny':
391391
create = 0
392392
else:
393393
create = 1
@@ -708,6 +708,21 @@ def parseContent(content, blank_line=re.compile(r'[\r\n]+\s*[\r\n]+'),
708708

709709
#
710710
# $Log: not supported by cvs2svn $
711+
# Revision 1.46 2002/01/02 02:31:38 richard
712+
# Sorry for the huge checkin message - I was only intending to implement #496356
713+
# but I found a number of places where things had been broken by transactions:
714+
# . modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename
715+
# for _all_ roundup-generated smtp messages to be sent to.
716+
# . the transaction cache had broken the roundupdb.Class set() reactors
717+
# . newly-created author users in the mailgw weren't being committed to the db
718+
#
719+
# Stuff that made it into CHANGES.txt (ie. the stuff I was actually working
720+
# on when I found that stuff :):
721+
# . #496356 ] Use threading in messages
722+
# . detectors were being registered multiple times
723+
# . added tests for mailgw
724+
# . much better attaching of erroneous messages in the mail gateway
725+
#
711726
# Revision 1.45 2001/12/20 15:43:01 rochecompaan
712727
# Features added:
713728
# . Multilink properties are now displayed as comma separated values in

roundup/templates/classic/interfaces.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: interfaces.py,v 1.10 2001-12-20 15:43:01 rochecompaan Exp $
18+
# $Id: interfaces.py,v 1.11 2002-01-02 02:32:38 richard Exp $
1919

2020
import instance_config
2121
from roundup import cgi_client, mailgw
@@ -38,10 +38,18 @@ class MailGW(mailgw.MailGW):
3838
ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
3939
ADMIN_EMAIL = instance_config.ADMIN_EMAIL
4040
MAILHOST = instance_config.MAILHOST
41-
ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS
41+
ANONYMOUS_REGISTER = instance_config.ANONYMOUS_REGISTER
4242

4343
#
4444
# $Log: not supported by cvs2svn $
45+
# Revision 1.10 2001/12/20 15:43:01 rochecompaan
46+
# Features added:
47+
# . Multilink properties are now displayed as comma separated values in
48+
# a textbox
49+
# . The add user link is now only visible to the admin user
50+
# . Modified the mail gateway to reject submissions from unknown
51+
# addresses if ANONYMOUS_ACCESS is denied
52+
#
4553
# Revision 1.9 2001/11/26 23:00:53 richard
4654
# This config stuff is getting to be a real mess...
4755
#

roundup/templates/extended/interfaces.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: interfaces.py,v 1.14 2001-12-20 15:43:01 rochecompaan Exp $
18+
# $Id: interfaces.py,v 1.15 2002-01-02 02:32:38 richard Exp $
1919

2020
import instance_config
2121
from roundup import cgi_client, mailgw
@@ -38,10 +38,18 @@ class MailGW(mailgw.MailGW):
3838
ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
3939
ADMIN_EMAIL = instance_config.ADMIN_EMAIL
4040
MAILHOST = instance_config.MAILHOST
41-
ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS
41+
ANONYMOUS_REGISTER = instance_config.ANONYMOUS_REGISTER
4242

4343
#
4444
# $Log: not supported by cvs2svn $
45+
# Revision 1.14 2001/12/20 15:43:01 rochecompaan
46+
# Features added:
47+
# . Multilink properties are now displayed as comma separated values in
48+
# a textbox
49+
# . The add user link is now only visible to the admin user
50+
# . Modified the mail gateway to reject submissions from unknown
51+
# addresses if ANONYMOUS_ACCESS is denied
52+
#
4553
# Revision 1.13 2001/11/26 23:00:53 richard
4654
# This config stuff is getting to be a real mess...
4755
#

0 commit comments

Comments
 (0)