Commit graph

12 commits

Author SHA1 Message Date
e9af4bfd86 Improve documentation
All checks were successful
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 21:31:11 +02:00
070bac6314 Fix ui build in Makefile
All checks were successful
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 20:18:37 +02:00
41965ca076 Fix build
All checks were successful
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 20:04:03 +02:00
c2eef9cf7c Refactoring away from main package
Some checks failed
cacert-boardvoting/pipeline/head There was a failure building this commit
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.
2022-10-15 19:58:58 +02:00
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
2022-05-08 19:17:40 +02:00
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
2022-05-08 16:13:50 +02:00
975f3c0837 Adapt Makefile and boardvoting.go to new ldflags 2021-04-14 19:02:44 +02:00
32f271ca7a Remove old assets, improve Makefile 2021-03-14 18:10:51 +01:00
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
2021-03-07 19:42:11 +01:00
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
2018-03-29 20:08:41 +02:00
eec8620e49 Make compilation more verbose 2017-04-22 14:36:05 +02:00
bcfbad42b6 Add version and build number output 2017-04-22 00:12:32 +02:00