Commit Graph

13 Commits (0.8.0)

Author SHA1 Message Date
Jan Dittberner c2eef9cf7c Refactoring away from main package
cacert-boardvoting/pipeline/head There was a failure building this commit Details
This commit is a refactoring of code that has been located in the main
package. We introduce separate packages for the main application, jobs,
notifications, and request handlers.

Dependencies are injected from the main application, this will make
testing easier.
2 years ago
Jan Dittberner c1c9ed5dec Fix golangci-lint warnings 2 years ago
Jan Dittberner 7f0b52c5b5 Fix linter warnings 2 years ago
Jan Dittberner 368bd8eefb Remove old code
- remove the old code and its dependencies
- perform some refactoring and fix notifications
- add TODO tags for observed shortcomings
- rename voters.go to users.go
- implement health check for SMTP connection
2 years ago
Jan Dittberner c3d0733e27 Replace gorilla/csrf with justinas/nosurf
- replace dependency for less indirect dependencies
- remove unused configuration options
2 years ago
Jan Dittberner d5d7525a31 Tighten http timeout settings 2 years ago
Jan Dittberner a1a66b7245 Finish new motion create implementation
- rename config block mail_server to mail_config
- rename smtp server settings
- move mail notification settings to mail_config
- improve navigation templates
- prepare routes for user management
2 years ago
Jan Dittberner aa3a1b0cc7 Implement database mapping for vote types 2 years ago
Jan Dittberner e1af6876c1 Implement new motion form
- add session handler
- add form decoder from go-playground
- implement custom decoder for VoteType
2 years ago
Jan Dittberner 4ce321dc36 Implement security headers and HTTPS 2 years ago
Jan Dittberner 68d6f4bcdc Reimplement decision close job 2 years ago
Jan Dittberner 01b95f2253 Start notification job refactoring 2 years ago
Jan Dittberner ec7d2fe324 Start refactoring to packages 2 years ago