OpenSlides/openslides/utils
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 Add code 2011-07-31 10:46:29 +02:00
access_permissions.py number poll candidates depending on setting 2020-03-17 07:24:40 +01:00
arguments.py use f-string syntax for strings 2019-01-18 17:37:36 +01:00
auth.py added vote per user table and progress for polls 2020-03-17 07:24:39 +01:00
autoupdate.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
cache_providers.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
cache.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
constants.py saml 2019-10-21 13:34:01 +02:00
consumer_autoupdate_strategy.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
consumers.py (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00
exceptions.py Use python3 2014-08-24 21:21:11 +02:00
locking.py Adding a second optional redis for read only accesses 2019-12-03 12:30:31 +01:00
logging.py Logging prefix and handling redis connection errors 2019-09-02 08:09:28 +02:00
main.py Load configs before models 2020-04-27 09:41:23 +02:00
manager.py generate less queries in the autoupdate system 2020-03-17 07:24:36 +01:00
middleware.py Major cache rewrite: 2019-08-08 08:35:02 +02:00
migrations.py Fix 'errors' 2019-01-30 12:18:59 +01:00
models.py Small improvements and first attempt to make to poll progress responsive 2020-05-29 15:46:19 +02:00
plugins.py Run black 2019-01-08 21:51:52 +01:00
projector.py (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00
redis_connection_pool.py Adding a second optional redis for read only accesses 2019-12-03 12:30:31 +01:00
redis.py Synchronize autoupdate code in the client 2020-05-22 15:23:53 +02:00
rest_api.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
schema_version.py Logging prefix and handling redis connection errors 2019-09-02 08:09:28 +02:00
settings.py.tpl added jitsi settings to template and readme 2020-05-14 19:41:35 +02:00
startup.py saml 2019-10-21 13:34:01 +02:00
stats.py fixed formatting after flake update 2020-05-13 16:16:03 +02:00
timing.py (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00
utils.py Fix assignment access permissions 2020-03-17 07:24:37 +01:00
validate.py adds more permissive html validation 2020-04-16 10:26:48 +02:00
views.py Log APIExceptions on the server 2020-05-25 09:16:37 +02:00
websocket_client_messages.py (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00
websocket.py (WIP) Ordered and delayed autoupdates: 2020-05-27 16:05:27 +02:00