Jan Dittberner
47af34f1cd
Use httprouter.NotFound and httprouter.PanicHandler
2 years ago
Jan Dittberner
0ad88fe5f4
Implement motion detail view
...
- add httprouter for parameterized routing
- improve styling
- add routes and handlers
- implement motion detail handler
2 years ago
Jan Dittberner
44a6180a09
Use alice to chain middleware
2 years ago
Jan Dittberner
2ddc013c84
Add panic recovery middleware
2 years ago
Jan Dittberner
c0a73494c3
Add request logging
2 years ago
Jan Dittberner
4ce321dc36
Implement security headers and HTTPS
2 years ago
Jan Dittberner
c4c64d0202
Add output buffering for rendered pages
2 years ago
Jan Dittberner
65cce5b723
Use embedded templates
2 years ago
Jan Dittberner
ff93acb65c
Refactorings
...
- fix typo in nav.html and template functions
- implement template cache and render function
- refactor motion list methods to reduce cyclomatic complexity
2 years ago
Jan Dittberner
ec7623a51a
Implement timestamp pagination for motion list
2 years ago
Jan Dittberner
49295d2caa
Add context to model methods
2 years ago
Jan Dittberner
3346cb5dba
Fix golangci-lint warnings
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
Jan Dittberner
8d0d968441
Start move to new directory structure
...
- create cmd/boardvoting/main.go
- adapt .goreleaser.yml and Makefile to use cmd/boardvoting for the main
package
2 years ago