aboutsummaryrefslogtreecommitdiff
path: root/internal/ui/static/static.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-03-20Enable trusted-typesGravatar jvoisin 1-0/+1
This commit adds a policy, and make use of it in the Content-Security-Policy. I've tested it the best I could, both on a modern browser supporting trusted-types (Chrome) and on one that doesn't (firefox). Thanks to @lweichselbaum for giving me a hand to wrap this up!
2024-03-11jsminifier: set JavaScript versionGravatar Frédéric Guillot 1-1/+3
2024-03-11Make use of HashFromBytes everywhereGravatar jvoisin 1-4/+5
It feels a bit silly to have a function and to not make use of it.
2023-11-06Refactor WebAuthn Javascript codeGravatar Frédéric Guillot 1-3/+1
2023-11-05Add WebAuthn / Passkey integrationGravatar Florian Rüchel 1-0/+3
This is a rebase of #1618 in which @dave-atx added WebAuthn support. Closes #1618
2023-08-10Move internal packages to an internal folderGravatar Frédéric Guillot 1-0/+172
For reference: https://go.dev/doc/go1.4#internalpackages