Modify

Opened 5 years ago

Closed 5 years ago

#5556 closed enhancement (fixed)

[Patch] Specify actions for which notifications are sent

Reported by: rjollos Owned by: rjollos
Priority: normal Component: FullBlogNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It would be nice if one could control the actions for which a notification is sent. Currently, notifications are sent for all of the actions (new, update, comment, delete).

A trac.ini options would be nice:
notify_on_actions = new, update, comment, delete

One or more actions could be specified. If the option is not specified, then the existing behavior of notify on all actions could be followed.

Attachments (1)

notification.patch (1001 bytes) - added by rjollos 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by rjollos

See also #6047.

comment:2 Changed 5 years ago by rjollos

  • Summary changed from Specify actions for which notifications are sent to [Patch] Specify actions for which notifications are sent

The following trac.ini configuration parameter is added in the patch to follow:

notification_actions = post_created, post_updated, post_comment_added, post_deleted

If not specified, then notifications are sent for all actions as is currently done.

Changed 5 years ago by rjollos

comment:3 Changed 5 years ago by rjollos

  • Owner changed from trickie to rjollos

Reassigning ticket since I am now maintainer of the plugin.

comment:4 Changed 5 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

(In [7456]) Allow actions for which notifications are sent to be specified. Fixed #5556

comment:5 Changed 5 years ago by rjollos

  • Resolution fixed deleted
  • Status changed from closed to reopened

Need to backout and reapply previous set of changes since the working copy was not clean when the patch was applied.

comment:6 Changed 5 years ago by rjollos

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [7458]) Allow actions for which notifications are sent to be specified. Fixed #5556

Add Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.