Commit graph

20 commits

Author SHA1 Message Date
11582d3590 Update linter config and apply suggestions
- remove copyright years (they are in git)
- remove outdated linter bug workarounds
- update .golangci.yml to match current schema (as of golangci-lint 1.59.0)
2024-06-08 12:51:34 +02:00
4a8307e16a Fix display of user 2023-05-12 17:56:17 +02:00
12796486d2 Fix summarizing vote results 2023-05-12 17:51:42 +02:00
c1c9ed5dec Fix golangci-lint warnings 2022-09-26 11:58:36 +02:00
be77e5f05d Make remind voter job useful 2022-06-04 19:30:07 +02:00
5efc57d2c3 Implement user deletion
- add audit logging for user changes
- refactor model errors into functions
- implement user delete form and submit handlers
2022-06-01 18:57:38 +02:00
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
2022-05-29 15:36:27 +02:00
28ddbd2ce6 Implement motion withdraw 2022-05-29 12:01:58 +02:00
c12aaf4d89 Implement proxy voting 2022-05-27 20:45:04 +02:00
0c02daf29a Implement direct voting 2022-05-27 17:40:01 +02:00
164495c818 Improve design
- improve icons
- implement VoteChoice and VoteStatus as real types with Scanner and Value
  methods
2022-05-27 14:42:39 +02:00
b8b6899cf3 Update modified timestamp when updating motion 2022-05-27 13:43:57 +02:00
2b98712aa8 Implement motion editing 2022-05-26 21:04:47 +02:00
1695ce0168 Implement small improvements
- fix golangci-lint warnings
- start setup for user management
- nicer formatting of user login information
2022-05-26 16:47:57 +02:00
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
2022-05-26 15:27:25 +02:00
aa3a1b0cc7 Implement database mapping for vote types 2022-05-22 21:47:27 +02:00
e1af6876c1 Implement new motion form
- add session handler
- add form decoder from go-playground
- implement custom decoder for VoteType
2022-05-22 21:15:54 +02:00
0ad88fe5f4 Implement motion detail view
- add httprouter for parameterized routing
- improve styling
- add routes and handlers
- implement motion detail handler
2022-05-22 14:08:02 +02:00
ff93acb65c Refactorings
- fix typo in nav.html and template functions
- implement template cache and render function
- refactor motion list methods to reduce cyclomatic complexity
2022-05-21 20:49:35 +02:00
ec7623a51a Implement timestamp pagination for motion list 2022-05-21 19:18:17 +02:00
Renamed from internal/models/decisions.go (Browse further)