c3d0733e27
Replace gorilla/csrf with justinas/nosurf
...
- replace dependency for less indirect dependencies
- remove unused configuration options
2022-05-26 17:25:25 +02:00
257a777e03
Add Cache-Control for authenticated pages
2022-05-26 17:05:47 +02:00
1695ce0168
Implement small improvements
...
- fix golangci-lint warnings
- start setup for user management
- nicer formatting of user login information
2022-05-26 16:47:57 +02:00
a1a66b7245
Finish new motion create implementation
...
- rename config block mail_server to mail_config
- rename smtp server settings
- move mail notification settings to mail_config
- improve navigation templates
- prepare routes for user management
2022-05-26 15:27:25 +02:00
47af34f1cd
Use httprouter.NotFound and httprouter.PanicHandler
2022-05-22 15:00:50 +02:00
2ddc013c84
Add panic recovery middleware
2022-05-22 12:19:25 +02:00
c0a73494c3
Add request logging
2022-05-22 12:06:23 +02:00
4ce321dc36
Implement security headers and HTTPS
2022-05-22 11:02:37 +02:00