Discourse plugin which automatically sets category email-in addresses based on their slug
Перейти к файлу
Leo McArdle 77dd2a3e8e
FEATURE: exclude categories from autogenerated email in addresses
https://github.com/mozilla/discourse/issues/20
2019-09-23 13:11:21 +01:00
assets/javascripts/discourse/templates/connectors/category-email-in FEATURE: exclude categories from autogenerated email in addresses 2019-09-23 13:11:21 +01:00
config FEATURE: exclude categories from autogenerated email in addresses 2019-09-23 13:11:21 +01:00
spec/models FEATURE: exclude categories from autogenerated email in addresses 2019-09-23 13:11:21 +01:00
.travis.yml add specs 2019-08-30 17:18:04 +01:00
CODE_OF_CONDUCT.md Add COC and update README with bug reports section 2019-05-29 16:43:00 +01:00
LICENSE Initial commit 2017-02-24 17:34:56 +00:00
README.md FEATURE: exclude categories from autogenerated email in addresses 2019-09-23 13:11:21 +01:00
plugin.rb FEATURE: exclude categories from autogenerated email in addresses 2019-09-23 13:11:21 +01:00

README.md

auto-email-in

Discourse plugin which automatically sets category email-in addresses based on their slug

Build Status

Bug reports

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

Installation

Follow the Discourse Install a Plugin guide.

Usage

Email-in address autogeneration can be disabled on particular categories by opening their category edit modal, going to "Settings", and ticking the "Disable auto-email-in plugin on this category and subcategories" option. Now the email-in address can be manually set, or removed altogether.

If auto_email_in_append is enabled then this plugin won't overwrite existing email-in addresses, but will append newly generated addresses to the chain of possible addresses.

Then, if an admin manually edits the email in value, the generated address will be appended (if it doesn't already exist). This can be used to clear old addresses on categories.

If auto_email_in_append is disabled, then this plugin will overwrite all existing email-in addresses with the ones it generates, and admins won't be able to edit addresses.

Licence

MPL 2.0