Commit Graph

4 Commits (c1c9ed5dec5c4948c90549ce3f12b7308f62119b)

Author SHA1 Message Date
Jan Dittberner c1c9ed5dec Fix golangci-lint warnings 2 years ago
Jan Dittberner 7f0b52c5b5 Fix linter warnings 2 years ago
Jan Dittberner 368bd8eefb Remove old code
- remove the old code and its dependencies
- perform some refactoring and fix notifications
- add TODO tags for observed shortcomings
- rename voters.go to users.go
- implement health check for SMTP connection
2 years ago
Jan Dittberner 335ce16547 Add tests for handlers and middleware
- drop migration 2022052601_drop_unused_decisions_colums because it was implicitly part of an earlier migration
- add /health endpoint for database health check
- add tests for the health check endpoint
- add tests for middleware secureHeaders, logRequest and tryAuthenticate
- add models.UserModel.CreateUser method
2 years ago