summaryrefslogtreecommitdiff
path: root/models.go
AgeCommit message (Collapse)Author
2019-07-31Ensure that the application can start with a new databaseJan Dittberner
This commit changes the NewDB function to run migrations before preparing SQL statements.
2019-07-31Apply Apache License 2.0Jan Dittberner
2019-07-31Modernize Go codeJan Dittberner
- switch from go-logging to logrus - handle all errors - use gomail's NewDialer instead of deprecated NewPlainDialer
2018-03-31Ignore count of applied migrations from migrate.ExecJan Dittberner
2018-03-29Embed database migrationsJan Dittberner
- switch from goose to github.com/rubenv/sql-migrate - move assets (static, templates, migrations) to boardvoting package - add generated boardvoting/assets.go - remove unused static files from static directory - add package db with db migration configuration
2017-08-27Fix compile errors with pinned dependency versionsJan Dittberner
2017-04-22Switch to more flexible go-loggingJan Dittberner
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-22Use loggo for logging0.1.0Jan Dittberner
2017-04-22Run goose migration on application startupJan Dittberner
2017-04-22Use INSERT OR REPLACE to allow changing votesJan Dittberner
2017-04-22Implement proxy votingJan Dittberner
2017-04-22Implement reminder jobJan Dittberner
2017-04-22Implement decision closing jobJan Dittberner
2017-04-22Implement vote closing, refactor notificationsJan Dittberner
2017-04-22Implement withdraw motionJan Dittberner
2017-04-22Implement motion editingJan Dittberner
2017-04-22Implement motion creation mail templateJan Dittberner
2017-04-22Partialy add new motion creationJan Dittberner
2017-04-22Switch to context APIJan Dittberner
2017-04-22Implement proper model, actions and template structureJan Dittberner