Commit graph

14 commits

Author SHA1 Message Date
Dennis Reimann
8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Kukks
6df7ffd7e2 lol windows phone 2020-03-24 08:55:47 +01:00
Umar Bolatov
efda8ff5bd
Specify QR code error correction level explicitly
fix #1332
2020-03-01 14:16:24 -08:00
Nicolas Dorier
be5597085b
Use Safe.Raw and Safe.Json instead of Html.Raw and the JsonHelper, move sanitization at the View level (#960) 2019-08-10 14:05:11 +09:00
nicolas.dorier
4cbcdb8af5
Make sure QRCodes use SVG instead of canvas (QRCodes on Tor does not work because of canvas fingerprinting protections) 2019-07-19 16:27:26 +09:00
nicolas.dorier
f0c106de75
Change the menu nav bar pages by moving the title above the nav pills 2019-06-06 18:29:54 +09:00
nicolas.dorier
16b57f24a2 Fix #383 2018-11-10 23:25:11 +09:00
nicolas.dorier
7a04c2974f Center QR Authenticator QR Code 2018-10-09 23:30:26 +09:00
rockstardev
ce12e87b70 Restoring QR Code for 2Fact authentication, fix #147 2018-05-03 16:13:50 -05:00
lepipele
3b0914e89e Migrating ManageNavPages to new navigation enum 2018-04-19 15:57:23 -05:00
lepipele
3c76dfb584 Migrating to btn-primary
btn-default has been removed in Bootstrap4:
https://github.com/twbs/bootstrap/issues/25029
2018-04-07 23:49:36 -05:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
NicolasDorier
4970c4351c Implement 2FA 2017-09-15 17:25:55 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00