mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 09:03:56 +08:00
461b4e5cc6
* DEV: Add framework for filtered plugin registers Plugins often need to add values to a list, and we need to filter those lists at runtime to ignore values from disabled plugins. This commit provides a re-usable way to do that, which should make it easier to add new registers in future, and also reduce repeated code. Follow-up commits will migrate existing registers to use this new system * DEV: Migrate user and group custom field APIs to plugin registry This gives us a consistent system for checking plugin enabled state, so we are repeating less logic. API changes are backwards compatible |
||
---|---|---|
.. | ||
filter_manager.rb | ||
filter.rb | ||
instance.rb | ||
metadata.rb |