Commit Graph

12 Commits (main)

Author SHA1 Message Date
Jan Dittberner e9af4bfd86 Improve documentation
cacert-boardvoting/pipeline/head This commit looks good Details
2 years ago
Jan Dittberner 070bac6314 Fix ui build in Makefile
cacert-boardvoting/pipeline/head This commit looks good Details
2 years ago
Jan Dittberner 41965ca076 Fix build
cacert-boardvoting/pipeline/head This commit looks good Details
2 years ago
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 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
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
Jan Dittberner 975f3c0837 Adapt Makefile and boardvoting.go to new ldflags 3 years ago
Jan Dittberner 32f271ca7a Remove old assets, improve Makefile 3 years ago
Jan Dittberner 70cc0942ca Upgrade to Go 1.16 and newer libraries
- use embed from the standard library instead of packr
- upgrade to sprig v3
- upgrade gomail version
- use golang-migrate instead of sql-migrate to get embed support
- use statigz to deliver compressed static assets
3 years ago
Jan Dittberner 4dd5e09820 Embed database migrations
- switch from goose to github.com/rubenv/sql-migrate
- move assets (static, templates, migrations) to boardvoting package
- add generated boardvoting/assets.go
- remove unused static files from static directory
- add package db with db migration configuration
6 years ago
Jan Dittberner eec8620e49 Make compilation more verbose 7 years ago
Jan Dittberner bcfbad42b6 Add version and build number output 7 years ago