86 Commits

Author SHA1 Message Date
1982a45392
Holefully solve #27 by voiding html form submit action 2022-03-26 15:06:28 +01:00
3cfe42023b
Work around pywebpush issue #130 by copying claims before passing 2021-11-03 12:35:33 +01:00
e043f475da
allow manual reset of save push sub data 2021-11-03 10:10:27 +01:00
aef2a1ae60
Remove weird backslash from start page 2021-10-30 20:47:07 +02:00
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
01089aaf12
Fix bug that didn't display 3G conformity in view 2021-10-30 19:47:45 +02:00
9c0aa29bff
Convert "tested" checkbox into "3G" box 2021-10-14 13:45:00 +02:00
404a995e4f
also fade tested entries 2021-10-11 19:39:07 +02:00
062330bcaa
Bump version to 1.1.0 2021-06-12 13:55:43 +02:00
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
711fbfd821
Update docs 2021-06-11 01:28:56 +02:00
3a872bceb2
Enable Docker container to generate its own VAPID credentials 2021-06-11 01:06:59 +02:00
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
618f00a09a
Send notifications N hours after arrival, polling once per hour 2021-06-10 23:14:15 +02:00
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
e521edd62b
Add basic webpush backend functionality and endpoints for testing 2021-06-08 00:48:11 +02:00
e7a3a0a673
Update config to search non-repo local files (in /etc) first
In order to allow for secrets in the local config file that should be
nowhere near a public repo
2021-06-08 00:47:00 +02:00
c70a419160
Minor cleanup/fixes 2021-06-07 17:41:04 +02:00
cb6568ea46
Allow giving test result even on retroactive arrivals (Resolves #25) 2021-05-27 16:26:25 +02:00
73241c4116
Split down files and add question about covid-test 2021-04-12 21:22:51 +02:00
4e26bbd6f2 Add CSV Export (resolves #24) 2021-01-13 13:47:13 +01:00
a5acdc53a1 Add automatic entry deletion after a specified amount of time. 2021-01-13 00:32:26 +01:00
09a4bcb201 Docker usually requires sudo 2020-12-15 23:58:15 +01:00
5c58abd977 Unify qotes and file perms in setup.py 2020-12-15 23:48:34 +01:00
2241b3c2d0 Switch from os to pathlib because it's more modern i guess?
(Resolves #19)
2020-12-15 23:40:38 +01:00
ca8f962102 Expose/import more conservatively (Resolves #20) 2020-12-15 23:31:12 +01:00
8c5e359f5b Add customization manual (Resolves #18) 2020-12-15 23:18:59 +01:00
5bb7df157c Mark implausibly long stays and fix very short stays 2020-12-14 19:58:24 +01:00
db5fec8616 Fix not all dashes being replaced with spaces 2020-12-12 00:16:35 +01:00
c05a4fba79 Dataview: Non-ended attendance blocks end in present
(not end of view, which might be in the future)
2020-12-09 17:52:48 +01:00
dda00b4ece Dataview: Hide row if no attendance in given timeframe 2020-12-09 17:49:53 +01:00
82e354f381 Add option to abort signin on error and notification if signin is likely
a double signin. Resolves #17.
2020-12-09 17:19:04 +01:00
76eba15dd6 Make header scroll padding very large so the headers always have enough
room to scroll with the content, even if it overflows a lot
2020-12-09 16:23:30 +01:00
847c79fcfb Fix iOS Safari button look (hopefully) 2020-12-09 16:17:58 +01:00
d368097a8d Bump version to 1.0.0 2020-12-09 16:17:44 +01:00
e8a11ecd95 Clarify README docker instructions 2020-12-07 18:28:22 +01:00
4140799e50 Fix docker container signalling 2020-12-07 17:46:50 +01:00
2b28478323 Bump version to 1.0.0 2020-12-07 16:30:10 +01:00
d35e60a32d Update docker to obtain cert at runtime, not buildtime
since the latter doesn't work
2020-12-07 16:17:42 +01:00
7ba6a2d429 Add docker instructions 2020-12-07 14:22:47 +01:00
79d4af32ac Add working Dockerfile and various configs 2020-12-06 11:55:59 +01:00
7f53165704 Fix copyright symbol 2020-12-05 19:42:55 +01:00
cd87a41940 View: Minor CSS adjustments for visuals 2020-12-05 19:40:54 +01:00
34b1e2ad20 Add door sign generator (resolves #10) 2020-12-05 19:26:47 +01:00
fade25b71d Skip DB search on /data for efficiency on default case 2020-12-05 16:50:35 +01:00
6aed013796 Improve and clean up README 2020-12-05 16:22:53 +01:00
02a07bf76a Move view to view.html for easier routing in nginx 2020-12-03 23:34:14 +01:00
b753feaaeb Change file paths tonew name 2020-12-03 23:19:32 +01:00
d3c0aba10a Add info to 'home page' (resolve #16) 2020-12-03 22:28:14 +01:00
97fa628968 Fix config 2020-12-03 22:28:08 +01:00