Prioritise localStorage
over cookies
storage driver for local user data (votes, locale). LocalStorage will be used in first place when available.
Do not update to this version on an actively running project.
Fix a rare race condition which in some cases could cause the application to miss already published elements on application start.
Preventing elements revoke upon history re-fetching
Method LViS.User.login()
replaces LViS.User.signIn()
Method LViS.User.login()
(former LViS.User.signIn()
) supports success and failure callbacks
setDelay() method fixes
elements UUIDs is used instead of IDs
History is refetched on reconnect
two new interfaces of LViS.Sync.setDelay() method
Fixed validation of nonexistant option vote
Removed support of a Combipoll element
Added new reveal results mode "always" for regular poll, prediction and trivia elements
Added max votes per option setting for regular poll, prediction and trivia elements
Changed the way of distribution: private registry https://npm.monterosa.co is used instead of public npmjs.com
A performance problem was fixed. In some cases, specifically when using events in on demand mode, internal message queue processing would be done more frequently than it should have. This is now fixed.
Prioritise localStorage
over cookies
storage driver for local user data (votes, locale). LocalStorage will be used in first place when available.
Do not update to this version on an actively running project.
A performance problem was fixed. In some cases, specifically when using events in on demand mode, internal message queue processing would be done more frequently than it should have. This is now fixed.
getResultsPerSource
method returns null if results haven't been revealed yet
fixes a problem with votes breakdown percentage calculation for some very rare cases with extreme dis-balance of votes between different answer options
fixes a problem with setDelay
which may result in incorrect order of elements if setDelay
is called multiple times with different values
Fixes field requires_validated_user
handling
Fixes max per option exceed validation message
Implemented max votes per option setting for regular polls, predictions and trivia
Combines multivote validations for prediction, quiz and regular poll
Added support for new results reveal mode "always"
Added support for flexible poll
LViS API 22.3.0
Removes deprecated regular poll vote()
method alternative syntaxes
Removes deprecated callback function in LViS.setEvent method
Fixes addDemographicsCounter()
deprecation message
internal scheduled runs prioritized to run first in order to update internal statuses before user scheduled runs
Simplifies addDemographicsCounter call
Elements re-sorted by publish time on element update
Publish time of Data element can be updated
Implements LViS.Run.next() method
Enmasse API 3.12.0
Using Date.next() inside library for a better synchronization
More precise handling of a delay change
Fixes handling of updated_at time on element update
Added elements getUpdatedAt() method
A bugfix, which prevents the API from triggering LViS.Event.ON_UPDATE
and ON_REVOKE
JavaScript events before LViS.Event.ON_READY
. Previously there was a condition for a short space of time after Element end when this was possible for users who just opened the client App.
Adds possibility to force secure connection
Fixed proxy connection
Do not throw ON_ERROR upon double initialisation
API reinitialisation is forbidden
Fixes bug when poll can't be revealed
Improves Sync and Connection Adaptor modules
LViS.Listings.getCurrent()
now also returns events start time of which is equal to current time
API initial load is improved by loading project settings in parallel
Removes deprecated LViS.Event.ON_ELEMENT_CREATE event
Fixes handling Data elements with duration on event stop
Fixes XHR error handling
New Enmasse API 3.10.4
Infrastructure scripts improvements
Fixes state determination for newly created durationable data elements
Removes forgotten console.log call
Event's data from messaging server have priority over history feed
All JSONP feeds replaced with CORS/JSON
New Enmasse API 3.10.1
New Enmasse API 3.10.0
Library can be included as npm package
Massive changes were made to convert ES3/5 code to ES2015 using modules and modern class system
A lot of custom written or outdated libraries were replaced with widely supported npm packages
Event state was incorrectly resolved during switch between active and finished state
Fixed handling of LViS Event readiness state
Preventing double triggering of LViS Event finished
state
Fixes LViS.Sync.setDelay()
method edge case
LViS.Sync.setDelay()
allows to force an event reset
More strict vote validations in multi-vote poll
Introduces LViS.Event::getOriginalStartAt()
method
Removes unnecessary jQuery dependency
Fixes LViS Event
readiness handling
Other minor bug fixes
Introduces new LViS.Event::isReady()
method
Fixes double call of LViS.Event.ON_READY
on set delay
LViS.Event.ON_ELEMENT_CREATE
event is deprecated, introduced LViS.Event.ON_ELEMENT_CREATE
event instead
Ignoring non integer votes in multi-vote elements
Changing default delay in Studio reloads event and project listings
Limit user delay by Number.MAX_SAFE_INTEGER
Other minor bug fixes
New handling mechanics for set event, based on LViS.Event.ON_READY
instead of a callback
New JavaScript events: LViS.Event.ON_READY, LViS.Event.ON_NOT_READY
Bugfix: preventing setting the same delay value multiple times
Adding better support for On-Demand content through ability to re-synchronize LViS content when a user fast forwards and rewinds on-demand content.
Fixes validation for multi-voting elements
Empty votes are ignored
Adds multi-voting
Using event extra time instead of project level extra time
Bugfix: /fb/ message handling for final results
Bugfix: forcing element duration change on stop
Bugfix: two JS events of LViS.Event class had the same name
Bugfix: forcing use of http(s) protocols for all loading files
Handle elements update
Fixes event emitter
New Enmasse library v3.8.2
New Enmasse library v3.8.1
Selected language is preserved between sessions
LViS.Storage stores data against project UUID
Fixes results processing for Revealable elements
Fixes the way data in old format is handled
Adds support for multisource vote