Commit Graph

18 Commits (0c02daf29a2c8d58a846c75f81f6c338aa9164e3)

Author SHA1 Message Date
Jan Dittberner 0c02daf29a Implement direct voting 2 years ago
Jan Dittberner 164495c818 Improve design
- improve icons
- implement VoteChoice and VoteStatus as real types with Scanner and Value
  methods
2 years ago
Jan Dittberner b8b6899cf3 Update modified timestamp when updating motion 2 years ago
Jan Dittberner 2b98712aa8 Implement motion editing 2 years ago
Jan Dittberner 335ce16547 Add tests for handlers and middleware
- drop migration 2022052601_drop_unused_decisions_colums because it was implicitly part of an earlier migration
- add /health endpoint for database health check
- add tests for the health check endpoint
- add tests for middleware secureHeaders, logRequest and tryAuthenticate
- add models.UserModel.CreateUser method
2 years ago
Jan Dittberner 1695ce0168 Implement small improvements
- fix golangci-lint warnings
- start setup for user management
- nicer formatting of user login information
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 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 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 2b8beadb77 Remove unused Print method 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 933f21a43c Move migrations to internal/migrations 2 years ago