discourse/plugins/discourse-post-voting
Jarek Radosz a54e3208cb
DEV: Hand-pick Rails/WhereNot autofixes (#35117)
We can't enable `Rails/WhereNot` lint/autofix, because it would break
code that uses mini_sql instead of AR (which rubocop, and tbh also we,
can't easily differentiate)

Those are safe because they either:
* are executed in AR model scope definitions
* are clearly chained starting from a AR model
* are less-clearly chained, but still can be traced to a AR model/scope

---------

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2025-10-03 13:29:22 +02:00
..
app FEATURE: Add site setting to allow comments to be disabled in discourse-post-voting plugin (#33775) 2025-07-23 11:03:01 +08:00
assets FIX: post voting comments editing UX (#35108) 2025-10-01 11:31:19 +02:00
config Update translations (#35065) 2025-09-30 16:06:14 +02:00
db/migrate
extensions
lib/post_voting DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
spec DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
test/javascripts/acceptance FIX: post voting comments editing UX (#35108) 2025-10-01 11:31:19 +02:00
plugin.rb DEV: Remove obsolete register_svg_icon checks (#35067) 2025-09-30 15:51:44 +02:00
README.md

Discourse Post Voting

Discourse Post Voting allows the creation of topics with votable posts.

image

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.