Commit Graph

10 Commits (47af34f1cd1b1860d0804e5c8addf24963e7bfd2)

Author SHA1 Message Date
Jan Dittberner d22f31e823 Fix copyright headers in Go files 2 years ago
Jan Dittberner 623bdf6d56 Replace magic numbers with constants
- use strconv.Atoi and strconv.Itoa where appropriate
- use constants for number base and size
- use constant for reminder job interval
2 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 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 2cac50ee86 Implement proxy voting 7 years ago
Jan Dittberner b6ad5d8ad3 Implement reminder job 7 years ago
Jan Dittberner dcdd5f715f Implement decision closing job 7 years ago