Commit graph

27 commits

Author SHA1 Message Date
SachaG
50fba6b0a3 viewableBy -> canRead 2018-06-22 20:55:22 +09:00
SachaG
861e65e641 Refactor connectors code to avoid repeating getSetting 2018-03-03 11:39:56 +09:00
SachaG
39f31a041a add missing await (fix https://github.com/VulcanJS/Vulcan-Starter/issues/24); get rid of extra db call 2018-03-03 10:34:39 +09:00
SachaG
270c6b4215 Use connectors and await/async 2018-02-18 15:26:59 +09:00
SachaG
faf92b3650 Use better API (create, update, delete, find, get) 2018-02-12 18:55:37 +09:00
SachaG
6af995664b Use connectors and async/await in vulcan:voting 2018-02-11 13:18:06 +09:00
SachaG
71e60cac35 Calculate baseScore before db operation instead of using $inc 2018-01-30 11:59:33 +09:00
SachaG
5e41fe9333 Add updateDocument option to optionally disable voting side effects on current document (not used yet) 2018-01-30 11:59:06 +09:00
SachaG
c0c1ab4414 Only default score/baseScore to 0 if empty (although in practice, they should always be empty) 2018-01-30 11:56:35 +09:00
Luca Hagel
feb3914834 Remove/ignore undef/unused vars 2018-01-29 03:55:57 +01:00
Sacha Greif
479ab08e1f
Merge pull request #1843 from MHerszak/allVotes
revert allVotes
2018-01-27 12:36:57 +09:00
SachaG
13a2453009 Merge branch 'vulcan-updates-jan-2018' of https://github.com/justinr1234/Vulcan into justinr1234-vulcan-updates-jan-2018
# Conflicts:
#	packages/vulcan-forms/lib/components/Form.jsx
#	packages/vulcan-lib/lib/modules/utils.js
2018-01-27 12:30:33 +09:00
Michel Herszak
3d1a62e628 fix allVotes resolveAs 2018-01-26 20:15:47 -07:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
Discordius
7ec9877d7f Fixed voting bugs 2018-01-23 12:35:16 -08:00
SachaG
76dbebe5a1 Add viewableBy to vote schema 2018-01-03 08:56:39 +09:00
Sacha Greif
59ec044d04 Make upvoting own posts/comments sync 2017-10-21 12:49:16 +09:00
SachaG
85506b858f Add "My Reactions" page to Reactions example 2017-10-05 10:16:28 +09:00
SachaG
171969485b Fix score calculation 2017-09-30 08:37:15 +09:00
SachaG
6a9f53e82b Update to Meteor 1.5.2.1 2017-09-29 09:19:23 +09:00
SachaG
d02b07c25d Clean up forum/voting 2017-09-29 07:40:41 +09:00
SachaG
4640dad0b7 Another voting refactor (hopefully the last one…) 2017-09-28 18:15:04 +09:00
SachaG
15ed3c3923 More work on voting 2017-09-27 17:15:49 +02:00
SachaG
8f24b51d77 Return null for currentUserVotes if there is no current user 2017-09-27 09:43:19 +02:00
SachaG
071a0fd720 Big voting refactor 2017-09-25 22:09:09 +02:00
SachaG
63d989d395 More work on making voting package collection-agnostic 2017-09-04 20:56:03 +09:00
SachaG
575bd19f82 Refactor voting package 2017-09-04 20:28:50 +09:00