discourse/spec
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
..
components DEV: Add framework for filtered plugin registers (#9763) 2020-05-15 14:04:38 +01:00
fabricators FEATURE: Include optimized thumbnails for topics (#9215) 2020-05-05 09:07:50 +01:00
fixtures FIX: Allow post migrations using `#change` to carry out unsafe migration 2020-05-15 14:23:27 +08:00
helpers DEV: Fix some more flaky tests (#9384) 2020-04-08 12:46:43 +02:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FIX: We need to skip users with associated reviewables when auto-approving (#9080) 2020-03-02 14:33:52 -05:00
integration FIX: Use CDN URLs for topic thumbnails 2020-05-15 13:35:20 +01:00
integrity DEV: Adds an integrity spec for JS constants 2020-05-12 12:23:36 -04:00
jobs PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
lib DEV: Fix broken test due to 9ab5801a1b. 2020-05-15 15:00:04 +08:00
mailers DEV: Add rubocop-rspec (#9288) 2020-03-27 17:35:40 +01:00
models FIX: Always return 0 for non-human user current DraftSequence. 2020-05-15 10:40:36 +08:00
multisite FIX: Change secure media to encompass attachments as well (#9271) 2020-03-26 07:16:02 +10:00
requests DEV: Add framework for filtered plugin registers (#9763) 2020-05-15 14:04:38 +01:00
script/import_scripts FIX: Change base importer to create new Bookmark records (#9603) 2020-05-01 11:34:55 +10:00
serializers DEV: Add framework for filtered plugin registers (#9763) 2020-05-15 14:04:38 +01:00
services PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
support DEV: Use `response.parsed_body` in specs (#9615) 2020-05-07 17:04:12 +02:00
tasks FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb DEV: Reduce repeated code in discourse_plugin_registry (#9705) 2020-05-13 12:25:34 +01:00
swagger_helper.rb DEV: Add rswag to aid in api documention (#9546) 2020-04-27 16:40:07 -06:00