Skip to content
A plugin to enable automatic subscription to categories based on group membership
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec/components
.travis.yml
CODE_OF_CONDUCT.md
LICENSE
README.md
plugin.rb

README.md

group-category-notification

A plugin to enable automatic subscription to categories based on group membership

Build Status

Usage

This plugin doesn't currently have a UI, interactions must be carried out using rails c.

A category can be added with GroupCategoryNotification.add(group, category), and removed with GroupCategoryNotification.remove(group, category).

Added categories will be automatically watched by all current and future members of that group. A user can still go and set their notification level on that category to something different, and the plugin won't override it.

If a category is removed all users in that group watching the category will have their notification level set to regular on their categories, regardless of their preference.

If a group is removed, all users in that group will have their notification level on previously added categories set to regular, regardless of their preference.

Bug reports

Bug reports should be filed by following the process described here.

Running tests

Clone this plugin into plugins/discourse-group-category-notification in the root of your Discourse source dir.

Use RAILS_ENV=test rake plugin:spec[discourse-group-category-notification] to run the tests.

You can’t perform that action at this time.