discourse/lib/plugin
David Taylor 461b4e5cc6
DEV: Add framework for filtered plugin registers (#9763)
* 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
2020-05-15 14:04:38 +01:00
..
filter_manager.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
filter.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
instance.rb DEV: Add framework for filtered plugin registers (#9763) 2020-05-15 14:04:38 +01:00
metadata.rb Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00