mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 02:51:10 +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 | ||
| extensions | ||
| lib | ||
| spec | ||
| test/javascripts/acceptance | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Post Voting
Discourse Post Voting allows the creation of topics with votable posts.
Please refer to https://meta.discourse.org/t/227808 for more info!
Contributions
Special thanks to Pavilion for building https://github.com/paviliondev/discourse-question-answer which this plugin took inspirations from.
