Commit Graph

8 Commits

Author SHA1 Message Date
Oskar Winkels 3cfe42023b
Work around pywebpush issue #130 by copying claims before passing 2021-11-03 12:35:33 +01:00
Oskar Winkels 215e848efd
Add way for admins to forcibly sign users out at a specific time by clicking implausible entries 2021-10-30 20:45:45 +02:00
Oskar Winkels 9c0aa29bff
Convert "tested" checkbox into "3G" box 2021-10-14 13:45:00 +02:00
Oskar Winkels 39a461df56
Move VAPID public key config to backend for easier config
Also enables the frontend not asking for notiffication permission if it
doesn't need them.
Should also help if it ever needs to be changed to circumvent cache.
2021-06-11 01:57:32 +02:00
Oskar Winkels 4ee4869f82
Minor fixes & improvements
- Move push subscription handling to Notifier class
- Allow duplicate options in config
- Only save subscription in frontend if sub call was successful
2021-06-11 01:04:44 +02:00
Oskar Winkels b8e704c300
Update frontend to allow requesting and receiving notifications
Includes requesting permissions and adding a basic service worker
as well as re-working and restructuring a bunch of the existing logic
for parsing URL parameters, sending data and adding another form field
2021-06-08 00:56:29 +02:00
Oskar Winkels cb6568ea46
Allow giving test result even on retroactive arrivals (Resolves #25) 2021-05-27 16:26:25 +02:00
Oskar Winkels 73241c4116
Split down files and add question about covid-test 2021-04-12 21:22:51 +02:00