equal
deleted
inserted
replaced
16 from cubicweb.selectors import yes |
16 from cubicweb.selectors import yes |
17 from cubicweb.view import Component |
17 from cubicweb.view import Component |
18 from cubicweb.common.mail import format_mail |
18 from cubicweb.common.mail import format_mail |
19 from cubicweb.common.mail import NotificationView |
19 from cubicweb.common.mail import NotificationView |
20 from cubicweb.server.hookhelper import SendMailOp |
20 from cubicweb.server.hookhelper import SendMailOp |
21 |
|
22 parse_message_id = deprecated('parse_message_id is now defined in cubicweb.common.mail')(parse_message_id) |
|
23 |
21 |
24 |
22 |
25 class RecipientsFinder(Component): |
23 class RecipientsFinder(Component): |
26 """this component is responsible to find recipients of a notification |
24 """this component is responsible to find recipients of a notification |
27 |
25 |
124 from cubicweb.hooks.notification import RenderAndSendNotificationView |
122 from cubicweb.hooks.notification import RenderAndSendNotificationView |
125 from cubicweb.common.mail import parse_message_id |
123 from cubicweb.common.mail import parse_message_id |
126 |
124 |
127 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView) |
125 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView) |
128 RenderAndSendNotificationView = class_moved(RenderAndSendNotificationView) |
126 RenderAndSendNotificationView = class_moved(RenderAndSendNotificationView) |
129 parse_message_id = deprecated('parse_message_id is now defined in cubicweb.common.mail') |
127 parse_message_id = deprecated('parse_message_id is now defined in cubicweb.common.mail')(parse_message_id) |
|
128 |