Jan Dittberner
39bd724381
Switch routing to chi
...
Routing with httprouter and alice became a bit too complex. This commit
replaces the routing and middleware composition with chi.
2 years ago
Jan Dittberner
db52f88e25
Implement user list
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
c3d0733e27
Replace gorilla/csrf with justinas/nosurf
...
- replace dependency for less indirect dependencies
- remove unused configuration options
2 years ago
Jan Dittberner
e1af6876c1
Implement new motion form
...
- add session handler
- add form decoder from go-playground
- implement custom decoder for VoteType
2 years ago
Jan Dittberner
0ad88fe5f4
Implement motion detail view
...
- add httprouter for parameterized routing
- improve styling
- add routes and handlers
- implement motion detail handler
2 years ago
Jan Dittberner
44a6180a09
Use alice to chain middleware
2 years ago
Jan Dittberner
01b95f2253
Start notification job refactoring
2 years ago
Jan Dittberner
a5c1a64a3c
Update go and dependency versions
2 years ago
Jan Dittberner
a9290b9717
Update to go 1.17, remove duplicate go-mail
...
- update module to go 1.17 level
- ran go mod tidy
- bump go version in Jenkinsfile
- drop github.com/go-mail/mail
3 years ago
Jan Dittberner
32f271ca7a
Remove old assets, improve Makefile
4 years ago
Jan Dittberner
70cc0942ca
Upgrade to Go 1.16 and newer libraries
...
- use embed from the standard library instead of packr
- upgrade to sprig v3
- upgrade gomail version
- use golang-migrate instead of sql-migrate to get embed support
- use statigz to deliver compressed static assets
4 years ago
Jan Dittberner
03827874cf
Configure golangci-lint and apply suggestions
4 years ago
Jan Dittberner
2d7f0cc0e3
Modernize Go code
...
- switch from go-logging to logrus
- handle all errors
- use gomail's NewDialer instead of deprecated NewPlainDialer
5 years ago
Jan Dittberner
93f5305d8e
Switch to go modules
5 years ago