0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/poll
Jarek Radosz 8b0ac62422
DEV: Add plugin APIs for extending models (#41655)
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`.
2026-07-24 13:44:01 +02:00
..
app FEATURE: Record who closed a poll (#40989) 2026-06-29 12:22:43 +02:00
assets DEV: Add plugin APIs for extending models (#41655) 2026-07-24 13:44:01 +02:00
config I18N: Update translations (#41904) 2026-07-22 11:22:30 +02:00
db/migrate FEATURE: Record who closed a poll (#40989) 2026-06-29 12:22:43 +02:00
jobs/regular
lib FEATURE: Record who closed a poll (#40989) 2026-06-29 12:22:43 +02:00
spec DEV: add clean_up_inactive_users_query modifier for plugins to extend query for inactive users (#41372) 2026-07-06 09:39:11 -07:00
test/javascripts DEV: Remove rich_editor site setting (#41873) 2026-07-23 19:49:20 -03:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: add clean_up_inactive_users_query modifier for plugins to extend query for inactive users (#41372) 2026-07-06 09:39:11 -07:00
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00