Commit Graph

16 Commits (2b98712aa89add53ded9d17d7644b4cba82e57b9)

Author SHA1 Message Date
Jan Dittberner d22f31e823 Fix copyright headers in Go files 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
2 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
3 years ago
Jan Dittberner 03827874cf Configure golangci-lint and apply suggestions 4 years ago
Jan Dittberner 29a7a1c90c Apply Apache License 2.0 5 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 5d68bae54f Use assets for mail templates 6 years ago
Jan Dittberner 9b07f3e538 Fix compile errors with pinned dependency versions 7 years ago
Jan Dittberner 4d23b6a48f Switch to more flexible go-logging
This commit switches from loggo to the more flexible go-logging
framework. Logs of severity INFO or higher are now written to a separate
boardvoting.log file.

Errors during execution of mail templates are now logged.

A reasoning for the vote result is now logged and put into the mail
notification when a decision is closed.
7 years ago
Jan Dittberner 5a449926f4 Use loggo for logging 7 years ago
Jan Dittberner fd0a8ed972 Run goose migration on application startup 7 years ago
Jan Dittberner 12dd0717ad Refactor notifications to use a cleaner interface 7 years ago
Jan Dittberner 8d1f18e16d Implement direct voting 7 years ago
Jan Dittberner 2cac50ee86 Implement proxy voting 7 years ago
Jan Dittberner b6ad5d8ad3 Implement reminder job 7 years ago
Jan Dittberner 2de96dc13d Implement vote closing, refactor notifications 7 years ago