summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4c3617)
raw | patch | inline | side by side (parent: a4c3617)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 17 Aug 2001 00:08:10 +0000 (00:08 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 17 Aug 2001 00:08:10 +0000 (00:08 +0000) |
edit. change notes weren't being saved. bleah. hackish.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@239 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@239 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index e029d41ba2b53836e1ac923caeacffbc09298c22..c9ebcefb88e3c537a5c6d9eaa3c6c9d86c5ffc10 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.21 2001-08-15 23:43:18 richard Exp $
+# $Id: cgi_client.py,v 1.22 2001-08-17 00:08:10 richard Exp $
import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes
link = self.db.classes[link]
link.set(nodeid, **{property: nid})
+ # TODO: this should be an auditor
# see if we want to send a message to the nosy list...
props = cl.getprops()
- # don't do the message thing if there's no nosy list, or the editor
- # of the node is the only person on the nosy list - they're already
- # aware of the change.
+ # don't do the message thing if there's no nosy list
nosy = 0
if props.has_key('nosy'):
nosy = cl.get(nid, 'nosy')
- uid = self.getuid()
- if len(nosy) == 1 and uid in nosy:
- nosy = 0
+ nosy = len(nosy)
if (nosy and props.has_key('messages') and
isinstance(props['messages'], hyperdb.Multilink) and
props['messages'].classname == 'msg'):
#
# $Log: not supported by cvs2svn $
+# Revision 1.21 2001/08/15 23:43:18 richard
+# Fixed some isFooTypes that I missed.
+# Refactored some code in the CGI code.
+#
# Revision 1.20 2001/08/12 06:32:36 richard
# using isinstance(blah, Foo) now instead of isFooType
#