Commit graph

4 commits

Author SHA1 Message Date
7ec9e393e0 Add separate protected resource page
This commit adds a separate protected resource page to demonstrate how
to selectively require logins.

Add code to improve client performance by providing modification timestamps
and Cache-Control headers for embedded static files.
2023-08-03 16:46:28 +02:00
0a4cc75bd3 HTML improvements
- link from logo to start page
- move common page header to templates/base.gohtml
2023-08-03 13:04:10 +02:00
9ad06a2935 Improve token handling
- add identity information to the index page
- let the session expire when the token expires
2023-07-30 16:48:26 +02:00
25b101afae Modernize demo application
- add linter config and fix golangci-lint warnings
- rename module to match new repository location
- use embedded resources for static assets, templates and translations
- recommend mkcert in README
- require at least Go 1.19
- update and tidy dependencies
- update copyright information
- improve Makefile, add lint and static asset targets
2023-07-29 17:46:33 +02:00