Commit Graph

5 Commits

Author SHA1 Message Date
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