Commit Graph

27 Commits (main)

Author SHA1 Message Date
Jan Dittberner 4a8307e16a Fix display of user 10 months ago
Jan Dittberner 070bac6314 Fix ui build in Makefile
cacert-boardvoting/pipeline/head This commit looks good Details
1 year ago
Jan Dittberner 3dc3160945 Fix proxy_vote nil pointer dereference 1 year ago
Jan Dittberner f966cbd62f Implement user creation and voter management 2 years ago
Jan Dittberner de4c6faef6 Implement email address deletion 2 years ago
Jan Dittberner 99a2cde144 Improve flash message handling 2 years ago
Jan Dittberner be14a37b4d Implement add email address 2 years ago
Jan Dittberner a5475ec16e Implement user editing 2 years ago
Jan Dittberner 5efc57d2c3 Implement user deletion
- add audit logging for user changes
- refactor model errors into functions
- implement user delete form and submit handlers
2 years ago
Jan Dittberner db52f88e25 Implement user list 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 28ddbd2ce6 Implement motion withdraw 2 years ago
Jan Dittberner c12aaf4d89 Implement proxy voting 2 years ago
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 2b98712aa8 Implement motion editing 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 1695ce0168 Implement small improvements
- fix golangci-lint warnings
- start setup for user management
- nicer formatting of user login information
2 years ago
Jan Dittberner 47092bfa9b Implement flash messages
- configure session cookie security
- setup flash message handling in newTemplateData
- show flash message in base.html
- add flash message for new motion
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 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 4ce321dc36 Implement security headers and HTTPS 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 ec7d2fe324 Start refactoring to packages 2 years ago
Jan Dittberner d7a742d97d Update UI framework
- add package.json for npm/npx
- update to fomantic-ui
- move ui files to ui directory
- add UI build documentation to README.md
- add ui target to Makefile
- add addPrefix handler in boardvoting.go to allow the same /static/
  prefix for static resources
2 years ago