discourse/plugins/poll
David Taylor 26b7f8a63b
DEV: Improve add_to_serializer include_* options (#21220)
- Move the old '`define_include_method`' arg to a `respect_plugin_enabled` kwarg

- Introduce an `include_condition` kwarg which can be passed a lambda with inclusion logic. Lambda will be run via `instance_exec` in the context of the serializer instance

This is backwards compatible - old-style invocations will trigger a deprecation message
2023-04-24 12:17:51 +01:00
..
app DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
assets UX: Vertical alignment issues on mobile (#21118) 2023-04-17 22:51:13 +05:30
config Update translations (#20861) 2023-04-05 09:12:48 +02:00
db/migrate DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
jobs/regular DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
lib FIX: Ensure poll extraction is not attempted if post body is absent (#19718) 2023-01-13 01:47:44 +00:00
spec FEATURE: Add `in:polls` filter to search (#19885) 2023-01-18 14:55:20 -05:00
test/javascripts DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
plugin.rb DEV: Improve add_to_serializer include_* options (#21220) 2023-04-24 12:17:51 +01:00