Commit Graph

131 Commits (c3adfd9e8ba594753176c38771794a1f05aef467)
 

Author SHA1 Message Date
Jan Dittberner c3adfd9e8b Add short section explaining the project ideas 3 years ago
Jan Dittberner 975f3c0837 Adapt Makefile and boardvoting.go to new ldflags 3 years ago
Jan Dittberner 4d87e35ec2 Add nfpms configuration 3 years ago
Jan Dittberner 806d706d4f Add goreleaser config 3 years ago
Jan Dittberner 32f271ca7a Remove old assets, improve Makefile 3 years ago
Jan Dittberner 96797ec4ef Remove space character from go version 3 years ago
Jan Dittberner fdc5c5cc61 Use tools section for Jenkins 3 years ago
Jan Dittberner 23d586e99d Attempt to define pipeline for go1.16 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 03827874cf Configure golangci-lint and apply suggestions 4 years ago
Jan Dittberner 594df29dc1 Explicitly define timeouts for http and https 4 years ago
Jan Dittberner bf67dfbc10 Remove call to deprecated BuildNameToCertificate 4 years ago
Jan Dittberner e6fb26e5ef Fix Goland warnings caused by large assets.go 4 years ago
Jan Dittberner b0aa52fc24 Fix issue with stricter template syntax 4 years ago
Jan Dittberner 03247b420d Update go.mod for Go 1.14 4 years ago
Jan Dittberner 58898b29a7 Add new table user_roles
This commit adds a new database table user_roles to prepare for the
introduction of a voter management system. All existing enabled voters
are added to the VOTER role.
4 years ago
Jan Dittberner 6c9bf09f1a Add missing newline in README 5 years ago
Jan Dittberner ea9641cfb1 Refine HTML layout
This commit improves the page structure and unifies the layout. Some
reusable parts of the HTML code have been moved into
page_fragments.html.
5 years ago
Jan Dittberner 1f32b6d25b Add icon images 5 years ago
Jan Dittberner 96089d49df Improve documentation
- fix parameter name in curl invocation
- add default port of Python aoismtpd
5 years ago
Jan Dittberner fc9d0042c0 Remove .htaccess from PHP age 5 years ago
Jan Dittberner 6ff78cde48 Initialize logger with timestamps 5 years ago
Jan Dittberner 41a8261552 Ensure that the application can start with a new database
This commit changes the NewDB function to run migrations before preparing
SQL statements.
5 years ago
Jan Dittberner 56741a1089 Add documentation for how to setup and use the software 5 years ago
Jan Dittberner c55617edc0 Remove unused MigrationsPath config parameter 5 years ago
Jan Dittberner 29a7a1c90c Apply Apache License 2.0 5 years ago
Jan Dittberner eaced9af06 Remove unused styles.css file 5 years ago
Jan Dittberner 4266620eff Update to latest jQuery and Semantic-UI 5 years ago
Jan Dittberner a69e017ead Update semantic UI to 2.4.2 5 years ago
Jan Dittberner 2d7f0cc0e3 Modernize Go code
- switch from go-logging to logrus
- handle all errors
- use gomail's NewDialer instead of deprecated NewPlainDialer
5 years ago
Jan Dittberner 870e3ab1d2 Update .gitignore 5 years ago
Jan Dittberner 2a6debbf33 Fix syntax error 5 years ago
Jan Dittberner 317aa7a91a Build go-bindata before building the application 5 years ago
Jan Dittberner 0aa9ef7b5d Simplify Jenkinsfile 5 years ago
Jan Dittberner 93f5305d8e Switch to go modules 5 years ago
Jan Dittberner fd2f3a6e5d Ignore count of applied migrations from migrate.Exec 6 years ago
Jan Dittberner 5977eb5a7a Implement CSRF protection 6 years ago
Jan Dittberner 33f75bdf1d Remove unused goose dependency constraints 6 years ago
Jan Dittberner 8cf5ad44a4 Include $GOPATH in $PATH 6 years ago
Jan Dittberner 369c9dab16 Install the go-bindata binary before build 6 years ago
Jan Dittberner 431fba6120 Make sure go-bindata is installed before building 6 years ago
Jan Dittberner e8720798fb Only archive the cacert-boardvoting binary and the config example 6 years ago
Jan Dittberner 4f013ebf3f Update dependencies 6 years ago
Jan Dittberner 5d68bae54f Use assets for mail templates 6 years ago
Jan Dittberner 94dcb5bd75 Use static assets for HTML templates
- implement custom http.Filesystem boardvoting.AssetFS
- replace "footer" and "header" with "footer.html" and "header.html"
- change renderTemplate to use Assets
- use boardvoting.GetAssetFS() with http.Fileserver
6 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 aea93c328e Update dependencies 7 years ago
Jan Dittberner e5d0b98514 Improve denied error page and output current authenticated user 7 years ago
Jan Dittberner a30a29a4e6 Remove duplicate jenkins- from BUILD id 7 years ago
Jan Dittberner 8943fafeca Use a Jenkins build number for build id 7 years ago