Skip to content

Releases: FriendsOfFlarum/polls

1.0.2

13 Jun 13:54
Compare
Choose a tag to compare
  • Fix Pusher integration
  • Add width transition to active background of poll options

Address inconsistency between frontend and backend abilities

29 May 08:26
Compare
Choose a tag to compare
Bundled output for commit b7ea4d9f0a55e05e2d2f3791dcec2c65885c4819

Includes transpiled JS/TS.

[skip ci]

Flarum/core 1.0 ready

27 May 10:17
Compare
Choose a tag to compare
Bundled output for commit 52e02711a1c5546f35a0def96782789b4f083205

Includes transpiled JS/TS.

[skip ci]

Fix ability to view votes

08 Apr 19:42
eba8556
Compare
Choose a tag to compare
  • Fixed issue introduced in 0.3.3/0.4.0 where having "View results without voting" permission would allow you to see voters of private polls.

Compatible with Flarum beta 16 only.

If you are updating from version 0.3.2 or older, check the update instructions in the 0.4.0 release notes.

Flarum beta 16 compatibility

08 Apr 16:53
0648d70
Compare
Choose a tag to compare
  • Updated deprecated Flarum beta 16 code.
  • Allowed to set "see vote results before voting" permission to guests.

To update, run:

composer require fof/polls:*
php flarum migrate
php flarum fof:polls:refresh

The last command might take longer to run on forums with a large number of polls.

If you use the Polls websocket messages as part of a custom integration, please give us feedback at #38

Performance improvements and new permissions

08 Apr 16:51
f008d8a
Compare
Choose a tag to compare
  • Improved performance by no longer loading the list of all votes all the time
  • Added new permission to see vote results before voting
  • Added new permission to control the ability to change vote
  • Security: when disabling "Allow people to see who voted", the API now no longer returns the details of the votes
  • Security: the vote results are now hidden from the API until the user votes or has the new "see vote results" permission
  • Fixed Pusher integration

This update is compatible with both Flarum beta 15 and 16.

To update, run:

composer require fof/polls:*
php flarum migrate
php flarum fof:polls:refresh

The last command might take longer to run on forums with a large number of polls.

If you use the Polls websocket messages as part of a custom integration, please give us feedback at #38

0.3.2

23 Dec 08:48
Compare
Choose a tag to compare
Bundled output for commit e19fce8b25d8f8e821e736c1c62ef2d40be850b1 [s…

0.3.1

21 Dec 16:48
Compare
Choose a tag to compare
Remove extra ','

0.3.0

16 Dec 11:14
Compare
Choose a tag to compare
Bundled output for commit b95e74527c635a3c603d18b3aad775cce86a836f [s…

0.2.1: Add missing vote permission check. Fixes #28

01 Dec 21:21
02cb46b
Compare
Choose a tag to compare
  • Fix missing permission check when voting via API #28
  • Fix validation and permission errors not appearing on screen
  • Export javascript components for extensibility