- Added a configurable debounce delay when voting.
- Craft 5 compatibility.
- Improved performance of
sort
method for larger datasets. (thanks @andrewmenich)
- Fixed warning from element queries running before Craft was ready. (thanks @engram-design)
- Fixed typed parameter bug in anonymous voting. (thanks @bilnader)
- Craft 4 compatibility.
- New plugin icon.
- Craft 3.5 is now required.
- Adjusted raw HTML output on settings page.
- Added
elementHistory
method for getting the entire vote history of a specific element. - Added
userHistoryByKey
method for getting the entire vote history of a specific user, organized by the unique key of their votes. - Added
userVote
method for getting the specific vote of a specific user for a specific element.
- Ensure JS gets loaded for containers.
- Fixed a bug which was setting the anonymous history cookie too frequently.
- Added control of the output format of vote values.
- Fixed PHP 7.4 compatibility issues.
- Cache-proof!! Now works flawlessly with caching plugins or native Craft caching.
- Added "Data Preloading" setting, which can be disabled to manually trigger page setup.
- Added ability to vote on behalf of a specific user (via PHP).
- Voting now has a visible impact on the Total Upvotes and Total Downvotes (if they are being displayed).
- Improved the parameters returned when using events.
- Added ability to vote on behalf of a specific user.
- Allow override of
keepVoteLog
.
- Ensure plugins have been loaded before running
init
.
- Patched to run via CLI without errors.
- Fixed bug in
userHistory
variable.
- Fixed "table does not exist" error when installing.
- Craft 3 compatibility.
- Fixed bug in sorting mechanism.
- Respect custom action URL.
- Added "Vote Tally" column to entries index page.
- Added "Total Votes" column to entries index page.
- Added "Total Upvotes" column to entries index page.
- Added "Total Downvotes" column to entries index page.
- Added
totalVotes
variable and service method. - Added
totalUpvotes
variable and service method. - Added
totalDownvotes
variable and service method. - Added events.
- Prevents console conflicts.
- Added
userHistory
variable, to see what specific people have voted on.
- Now accepts an optional "key" parameter, so you can vote on multiple things about the same element.
- Now possible to disable JS and/or CSS.
- Built-in Font Awesome icons (the Font Awesome library is now included by default).
- BREAKING CHANGE: A different technique is in place for overriding default icons.
- Compatible with Craft 2.5.
- Fixed bug occurring when downvoting is disabled.
Initial release.