summaryrefslogtreecommitdiffstats
path: root/lib/redmine/notifiable.rb
blob: fa192ab25d6f584ccbda77ea77af702cf6479a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Redmine
  class Notifiable
    CoreNotifications = [
                         'issue_added',
                         'issue_updated',
                         'news_added',
                         'document_added',
                         'file_added',
                         'message_posted',
                         'wiki_content_added',
                         'wiki_content_updated'
                        ]

    # TODO: Plugin API for adding a new notification?
    def self.all
      CoreNotifications
    end
  end
end