Wolvan
f68ff6dbd2
Implement favicon and embbed icon
...
Thanks to Shydale for lending me their OC checkbox.
She a cute.
2022-02-02 22:13:07 +01:00
Wolvan
59a2733df6
Use git commit hash instead of version for dev
...
This way people can go straight to the commit that has caused the dev
page to be built and it is clear what version the site is based on.
2022-01-30 19:24:54 +01:00
Wolvan
59f1c7db6e
Appease crawlers and embbeders
...
`<meta>` tags have been added to relay information for websites trying
to pull information from the page (like discord) as well as web crawlers
to index the page.
2022-01-30 17:46:59 +01:00
Wolvan
afc7bbad01
Implement header based safety features
...
Using the `helmet` package, a certain set of security critical headers
are set to prevent XSS attacks and the like.
2022-01-30 16:59:11 +01:00
Wolvan
26a42333fe
Add QR Code to poll pages
...
This way, people can easily just use their QR readers to reach the
voting page. The QR is constructed via Google Charts API and the URL is
based on the HOST header of the request.
2022-01-30 16:49:05 +01:00
Wolvan
ce2601642b
Add version of software to footer
...
The version also includes a link to the github repo tag of that
version's release build.
2022-01-12 19:53:30 +01:00
Wolvan
9e706fb484
Make header backlink to home
2022-01-11 22:05:37 +01:00
Wolvan
927d2666e9
Satisfy tests to npm i
doesn't fail
2022-01-06 21:28:32 +01:00
Wolvan
e9aaedb494
Implement auto update
...
Every 5 seconds the system attempts to fetch the most recent vote state
of the poll and display it to the user.
2022-01-06 20:44:29 +01:00
Wolvan
dca2cc3eeb
Create results page
...
The page displays the amount of votes, percentage and bars for quick
visual comparison, as well as a pie chart created with google charts.
2022-01-06 19:52:53 +01:00
Wolvan
e83766309a
First steps towards functional frontend
...
Polls and their results can now be accessed as long as they are found on
the backend.
2021-12-29 18:21:22 +01:00