Commit Graph

85 Commits

Author SHA1 Message Date
Sam f223380910 Refactor plugin, introduce limits, remove supervotes
- Secure the vote / unvote paths
- Improve perf, only ask for voters on click
- Remove all concept of supervotes
- Limit voting to a much saner and smaller number
- Improve rendering
2017-03-02 17:11:02 -05:00
Sam 20be727c7f FEATURE: New API for tag extension
PERF: stop querying category custom fields when rendering home page
FIX: listing votes instead of supervotes
2017-03-01 13:15:22 -05:00
Joe Buhlig 135eaf8a5e Clean up N+1 queries 2016-10-20 09:44:37 -05:00
DiscourseHosting 6aa17eff0c Fix supervotes-left calculation 2016-08-15 20:59:58 +00:00
Joe Buhlig 5d9e7c0112 Added Votes filter for sorting 2016-08-12 11:25:58 -05:00
Guo Xiang Tan 4a169ddfdf Pass user object instead of id.
fixes https://github.com/joebuhlig/discourse-feature-voting/issues/10
2016-06-02 16:44:40 +08:00
Guo Xiang Tan 2ea70e3e26 Remove unnecessary code. 2016-06-02 16:09:46 +08:00
Joe Buhlig 8971211f59 Validate user id exists and log in prompt 2016-05-09 07:04:29 -05:00
Joe Buhlig 533f6c06d3 Catch if no user id 2016-05-07 05:43:13 -05:00
Joe Buhlig 8a0322c6c0 Remove voting indicator on topic list 2016-05-06 10:49:16 -05:00
Joe Buhlig 92b4634c10 Changed method of getting user id 2016-04-29 16:18:04 -05:00
Joe Buhlig 4b5bfb2d58 Scale vote limits with trust levels 2016-04-27 15:41:07 -05:00
Joe Buhlig 630dd75d19 Added setting to hide vote activity 2016-04-26 15:52:35 -05:00
Joe Buhlig d5bb113a1d Added descriptions to voting options 2016-04-26 15:38:16 -05:00
Joe Buhlig f12cef632f Added super vote counts and who super voted 2016-04-25 17:07:51 -05:00
Joe Buhlig ea04eb678a User states carried 2016-04-25 15:06:01 -05:00
Joe Buhlig 3030c47fbb Functional super voting 2016-04-15 16:01:05 -05:00
Joe Buhlig 4c655c1ed9 Added check for category voting enabled 2016-03-24 07:18:14 -05:00
Joe Buhlig d4be161c63 Optimizations 2016-03-18 09:47:42 -05:00
Joe Buhlig 3543ec9330 Check category for custom fields 2016-03-18 09:29:05 -05:00
Joe Buhlig 332948a0a6 Add who voted to vote count 2016-03-17 15:47:02 -05:00
Joe Buhlig 191db1ec62 Added votes to activity page 2016-03-10 14:15:11 -06:00
Joe Buhlig 17d8f9a26c Added check for custom_fields on category 2016-03-10 09:45:13 -06:00
Joe Buhlig 3863e58a0e Preload custom topic field 2016-03-03 11:47:01 -06:00
Joe Buhlig d93f399e77 Added sort ability to topic lists 2016-02-25 11:32:52 -06:00
Joe Buhlig fbb29a3536 Archive and reclaim votes on topic close and open 2016-02-24 14:35:59 -06:00
Joe Buhlig 6d926ab101 Use new event to trigger vote_release 2016-02-24 10:31:47 -06:00
Joe Buhlig 2c66d8dea0 Begin to add vote_limit 2016-02-19 15:17:15 -06:00
Joe Buhlig 61d03a309f Added vote_count to topic list 2016-02-19 12:17:19 -06:00
Joe Buhlig bfdfd09c1f Updated UI and user object on add-subtract 2016-02-19 10:45:17 -06:00
Joe Buhlig 325fa88edb Added ajax calls to button 2016-02-18 10:19:32 -06:00
Joe Buhlig ce8d290549 Added actions to button 2016-02-17 14:07:29 -06:00
Joe Buhlig 1a59d08a12 Added UI boxes 2016-02-17 13:11:37 -06:00
Joe Buhlig c2999ceb71 Added check for voting in template 2016-02-17 11:06:18 -06:00
Joe Buhlig 08c7ed752f Initial commit 2016-02-17 07:20:42 -06:00