OpenSlides/tests/unit
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
..
agenda (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00
assignments Initial work for supporting voting 2020-03-17 07:24:34 +01:00
config Reworked config 2019-10-21 13:45:06 +02:00
core New Projector 2019-01-19 08:19:40 +01:00
motions Adds reverse relations for motions and blocks 2020-06-02 14:44:56 +02:00
users Added vote weight and fixed named voting 2020-04-07 07:27:54 +02:00
utils Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
__init__.py New Test order. 2015-01-24 18:00:03 +01:00