comparison MoinMoin/events/__init__.py @ 2638:6e84127a1860

Finally all known bugs fixed, OOB is used to send links with jabber. More... Changed the way notifications are called. Notification data is now stored in dicts, instead of separate arguments. This helps extensibility if more extensions like OOB Data are to be added in the future. Also fixed some previously missed bugs.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sun, 05 Aug 2007 22:46:04 +0200
parents f42fb1ae0a38
children c6e39279f83b
comparison
equal deleted inserted replaced
2637:edf9a449fe9d 2638:6e84127a1860
113 113
114 name = u"FileAttachedEvent" 114 name = u"FileAttachedEvent"
115 description = _(u"""A new attachment has been added""") 115 description = _(u"""A new attachment has been added""")
116 req_superuser = False 116 req_superuser = False
117 117
118 def __init__(self, request, pagename, name, size): 118 def __init__(self, request, pagename, filename, size):
119 PageEvent.__init__(self, request) 119 PageEvent.__init__(self, request)
120 self.request = request 120 self.request = request
121 self.pagename = pagename 121 self.pagename = pagename
122 self.name = name 122 self.filename = filename
123 self.size = size 123 self.size = size
124 124
125 125
126 class PageRevertedEvent(PageEvent): 126 class PageRevertedEvent(PageEvent):
127 127