7dbef080b1
Update README
2022-03-21 12:43:30 +01:00
3a25296b37
Handle client certificate failures
2022-03-21 12:18:55 +01:00
0c2fbf9d54
Wrap error when db connection closing fails
2022-03-21 12:18:20 +01:00
623bdf6d56
Replace magic numbers with constants
...
- use strconv.Atoi and strconv.Itoa where appropriate
- use constants for number base and size
- use constant for reminder job interval
2022-03-21 12:16:24 +01:00
63c748bb1d
Update golangci-lint configuration
...
- replace deprecated linters
- add more linters
2022-03-21 12:14:25 +01:00
a9290b9717
Update to go 1.17, remove duplicate go-mail
...
- update module to go 1.17 level
- ran go mod tidy
- bump go version in Jenkinsfile
- drop github.com/go-mail/mail
2022-03-21 12:12:09 +01:00
c3adfd9e8b
Add short section explaining the project ideas
2021-04-17 21:08:48 +02:00
975f3c0837
Adapt Makefile and boardvoting.go to new ldflags
2021-04-14 19:02:44 +02:00
4d87e35ec2
Add nfpms configuration
2021-04-14 18:37:17 +02:00
806d706d4f
Add goreleaser config
2021-04-14 18:37:17 +02:00
32f271ca7a
Remove old assets, improve Makefile
2021-03-14 18:10:51 +01:00
96797ec4ef
Remove space character from go version
2021-03-07 20:28:01 +01:00
fdc5c5cc61
Use tools section for Jenkins
2021-03-07 20:22:06 +01:00
23d586e99d
Attempt to define pipeline for go1.16
2021-03-07 19:58:57 +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
03827874cf
Configure golangci-lint and apply suggestions
2021-01-09 15:49:19 +01:00
594df29dc1
Explicitly define timeouts for http and https
2020-04-26 13:18:58 +02:00
bf67dfbc10
Remove call to deprecated BuildNameToCertificate
2020-04-26 13:18:01 +02:00
e6fb26e5ef
Fix Goland warnings caused by large assets.go
2020-04-26 13:17:24 +02:00
b0aa52fc24
Fix issue with stricter template syntax
2020-04-26 13:16:47 +02:00
03247b420d
Update go.mod for Go 1.14
2020-04-26 13:16:22 +02:00
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.
2020-04-14 23:25:11 +02:00
6c9bf09f1a
Add missing newline in README
2019-08-12 15:19:22 +02:00
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.
2019-08-03 01:39:55 +02:00
1f32b6d25b
Add icon images
2019-08-02 23:55:51 +02:00
96089d49df
Improve documentation
...
- fix parameter name in curl invocation
- add default port of Python aoismtpd
2019-08-02 22:42:09 +02:00
fc9d0042c0
Remove .htaccess from PHP age
2019-07-31 18:37:46 +02:00
6ff78cde48
Initialize logger with timestamps
2019-07-31 17:45:05 +02:00
41a8261552
Ensure that the application can start with a new database
...
This commit changes the NewDB function to run migrations before preparing
SQL statements.
2019-07-31 17:42:12 +02:00
56741a1089
Add documentation for how to setup and use the software
2019-07-31 17:31:44 +02:00
c55617edc0
Remove unused MigrationsPath config parameter
2019-07-31 17:31:22 +02:00
29a7a1c90c
Apply Apache License 2.0
2019-07-31 17:30:58 +02:00
eaced9af06
Remove unused styles.css file
2019-07-31 17:29:41 +02:00
4266620eff
Update to latest jQuery and Semantic-UI
2019-07-31 15:04:39 +02:00
a69e017ead
Update semantic UI to 2.4.2
2019-07-31 14:48:02 +02:00
2d7f0cc0e3
Modernize Go code
...
- switch from go-logging to logrus
- handle all errors
- use gomail's NewDialer instead of deprecated NewPlainDialer
2019-07-31 14:14:21 +02:00
870e3ab1d2
Update .gitignore
2019-07-31 14:09:02 +02:00
2a6debbf33
Fix syntax error
2019-07-31 12:47:34 +02:00
317aa7a91a
Build go-bindata before building the application
2019-07-31 12:46:33 +02:00
0aa9ef7b5d
Simplify Jenkinsfile
2019-07-31 12:35:54 +02:00
93f5305d8e
Switch to go modules
2019-07-31 11:59:57 +02:00
fd2f3a6e5d
Ignore count of applied migrations from migrate.Exec
2018-03-31 10:50:31 +02:00
5977eb5a7a
Implement CSRF protection
2018-03-31 10:50:06 +02:00
33f75bdf1d
Remove unused goose dependency constraints
2018-03-31 09:24:03 +02:00
8cf5ad44a4
Include $GOPATH in $PATH
2018-03-29 22:12:09 +02:00
369c9dab16
Install the go-bindata binary before build
2018-03-29 22:08:59 +02:00
431fba6120
Make sure go-bindata is installed before building
2018-03-29 22:07:50 +02:00
e8720798fb
Only archive the cacert-boardvoting binary and the config example
2018-03-29 22:04:03 +02:00
4f013ebf3f
Update dependencies
2018-03-29 22:02:21 +02:00
5d68bae54f
Use assets for mail templates
2018-03-29 22:00:56 +02:00