Commit graph

9 commits

Author SHA1 Message Date
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
2022-03-21 12:16:24 +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
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
2cac50ee86 Implement proxy voting 2017-04-22 00:14:08 +02:00
b6ad5d8ad3 Implement reminder job 2017-04-22 00:12:38 +02:00
dcdd5f715f Implement decision closing job 2017-04-22 00:12:38 +02:00