For now, this is implemented as polling, since there is no infrastructure for running WebSockets or implement Server Side Events.
This commit further makes use of this feature in two ways:
The TimeLeftComponent's time automatically updates if the access_to time changes. This can be useful in exams where a student might get a time extension
This commit adds the ability to push global messages to user groups to view. The global messages are stored in a in-memory via Redis cache, allowing for low-overhead polling
Testi: https://timdevs01-4.it.jyu.fi/view/users/admin-admin/test-polling
Testatut tapaukset:
This commit allows polling for document view info route via a document setting:
For now, this is implemented as polling, since there is no infrastructure for running WebSockets or implement Server Side Events.
This commit further makes use of this feature in two ways: