Releases: FriendsOfFlarum/polls
2.2.7
2.2.6
2.2.5
2.2.4
What's Changed
- fix: deleting images does not have any permission checks by @imorland in #94
- Minor Cleanup by @DavideIadeluca in #95
Full Changelog: 2.2.3...2.2.4
2.2.3
2.2.2
- Add settings & permissions for image upload functionality
- Bring back use of image URLs instead of just uploading images
- 2.2.1 Fix issues when editing post polls (not global ones, introduced in v2.2.0)
- 2.2.1 Revert layout of post polls back to <2.2.0
Full Changelog: 2.2.0...2.2.2
Originally published May 20th
2.2.0
2.1.2
2.0.1
- Add setting to change max options allowed in polls (#70)
- Fix poll end date set to
0
(start of Unix time is 1970) when editing a poll before posting (@"Wlork"#p216743) - Add 'hide votes' option until poll has ended (#2)
- Nobody can see vote count or voters if the poll has not ended (this includes admin & owner for now)
- Fix poll end date being able to be set past 2038 -- SQL column currently maxes out at 2038/01/18
- Convert poll options into single
settings
column- Since we don't query DB using these options, they can just be a JSON field to decrease the amt of columns
- The old columns will remain until it's clear that the migration works well and that they can be removed w/o issue
Full Changelog: 2.0.0...2.0.1
2.0.0
🛑 BACKUP BEFORE UPGRADING TO THIS VERSION 🛑
This version contains database refactors that make the data incompatible with 1.x
if you try to downgrade.
If you encounter errors, you WILL need to have a backup of all the polls tables available to go back to 1.4.2
. Permission names have also changed, so a backup of group_permissions
would also be helpful.
Upgrading
Save a backup of your database -- mostly the polls
, poll_votes
, poll_options
, and group_permissions
tables -- before continuing. If you don't have any polls in your forum and haven't configured polls permissions, you can skip this step.
The migration process will delete polls in discussions that don't have associated first posts (discussion's first_post_id = null
and no post exists with number = 1
). These polls would not have been visible in v1, and so removing them should (theoretically) not cause any visible data loss - check the Flarum log after migrating to see if any polls were deleted.
composer require fof/polls
php flarum migrate
php flarum cache:clear
What's Changed
- Drop flatpickr by @dsevillamartin in #72
- Move posts to polls by @dsevillamartin in #73
- More features & breaking v2 changes by @dsevillamartin in #74
- Move voters button next to heading & fix no permission error after poll ends
- Create endpoint for new poll to add to existing post (#67, #16)
- Drop 'newPollVote' websocket message (#38)
- Drop ReFlar/polls database compatibility (#37)
- Don't show poll if post is hidden unless revealing content, adjust some styling
- Separate edit permission into own polls & polls in own posts
Full Changelog: 1.4.2...2.0.0