Commit graph

16 commits

Author SHA1 Message Date
d22f31e823 Fix copyright headers in Go files 2022-03-21 13:39:00 +01:00
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
2022-03-21 12:12:09 +01:00
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
2021-03-07 19:42:11 +01:00
03827874cf Configure golangci-lint and apply suggestions 2021-01-09 15:49:19 +01:00
29a7a1c90c Apply Apache License 2.0 2019-07-31 17:30:58 +02:00
2d7f0cc0e3 Modernize Go code
- switch from go-logging to logrus
- handle all errors
- use gomail's NewDialer instead of deprecated NewPlainDialer
2019-07-31 14:14:21 +02:00
5d68bae54f Use assets for mail templates 2018-03-29 22:00:56 +02:00
9b07f3e538 Fix compile errors with pinned dependency versions 2017-08-27 16:30:49 +02:00
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.
2017-04-22 20:07:39 +02:00
5a449926f4 Use loggo for logging 2017-04-22 00:14:38 +02:00
fd0a8ed972 Run goose migration on application startup 2017-04-22 00:14:38 +02:00
12dd0717ad Refactor notifications to use a cleaner interface 2017-04-22 00:14:11 +02:00
8d1f18e16d Implement direct voting 2017-04-22 00:14:11 +02:00
2cac50ee86 Implement proxy voting 2017-04-22 00:14:08 +02:00
b6ad5d8ad3 Implement reminder job 2017-04-22 00:12:38 +02:00
2de96dc13d Implement vote closing, refactor notifications 2017-04-22 00:12:38 +02:00