mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 01:10:43 +08:00
Replaces soft-deprecated `modifyClass`/`modifyClassStatic` on models with more intentional plugin API methods: `addModelField`, `addModelAccessor`/`addModelGetter`/`addModelSetter`, `addModelMethod`,`addModelSaveProperty`, and `addModelCallback`. Adds value and behavior transformers for smaller, specific overrides that existing plugins need. This also moves the bundled plugins completely off `modifyClass`. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| jobs/scheduled | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Policy Plugin
Confirm your users have seen or done something with reminders
For more information, please see: https://meta.discourse.org/t/discourse-policy/88557