OpenSlides/openslides/poll
FinnStutzenstein c186a575f6
Fixed incomplete autoupdates
A conceptional issue in `get_data_since` leads to incomplete
autoupdates. The behaviour was long time in the code, but only with a
lot of autoupdates (high concurrency) and the autoupdate delay I noticed
the bug during testing. I'm sure, that this issue might have caused
incomplete autoupdates (which the user may experience as "lost
autoupdates") in previous productive instances. Instead of quering a
range (from_change_id to to_change_id) one now can only get data from a
change id up to the max change id in the element cache. The max change
id gets now returned by `get_data_since`.

I also added a get_all_data with the capability of returning the
max_change_id at this point of time.

As a usability-"fix" (more like a fix the result of a bug, not the bug
itself) a refresh button for a poll was added, that issues an autoupdate
for the poll and all options.
2020-06-04 15:16:05 +02:00
..
__init__.py Added Django's application configuration. 2014-12-10 17:16:58 +01:00
access_permissions.py Add global no and abstain to form 2020-03-17 07:24:48 +01:00
models.py added config for default poll type 2020-05-14 07:38:14 +02:00
serializers.py Add global no and abstain to form 2020-03-17 07:24:48 +01:00
views.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00