summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e5ec2b)
raw | patch | inline | side by side (parent: 1e5ec2b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 23:14:15 +0000 (23:14 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 23:14:15 +0000 (23:14 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2194 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
detectors/fileauditor.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 1e36988c4eebbfd676ac97c71269045e38bc8755..ea8067070ce8f06d29696aafa34d03cca130c1d7 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
2004-??-?? 0.7.0b2
Feature:
- added CSV export to index pages
-- added new reactor, filereactor.py, that works around a bug in IE. See
- filereactor.py for more info.
+- added new auditor, emailauditor.py, that works around a bug in IE. See
+ emailauditor.py for more info.
- added dispatcher functionality - see upgrading.txt for more info
Fixed:
index 606b89c61258ec6d2528e04f6f1feaa4cc523152..30f963604bf3ab01b867c56345c1de1c78464334 100644 (file)
--- a/detectors/fileauditor.py
+++ b/detectors/fileauditor.py
def eml_to_mht(db, cl, nodeid, newvalues):
- '''This reactor fires whenever a new file entity is created.
+ '''This auditor fires whenever a new file entity is created.
If the file is of type message/rfc822, we tack onthe extension .eml.
newvalues['name'] = name + '.mht'
def init(db):
- db.file.react('create', eml_to_mht)
+ db.file.audit('create', eml_to_mht)