Commit graph

121 commits

Author SHA1 Message Date
80eeb22f04 Add missing license reference 2019-08-12 19:57:26 +02:00
4963eac036 releasing package cacert-boardvoting version 0.6.0-1 2019-08-03 10:49:33 +02:00
82029e284d New upstream version 2019-08-03 10:39:32 +02:00
f688e42178 Release 0.6.0
- improved web interface
 - removed .htaccess from PHP version
 - better documentation
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl1FRqMACgkQDXkdyNc3
 wdk67AgA5G+Uv776xleDsV+VdWb7wGYoM6NSICzVgca3HBUxSBqeRfGq7pSrWLnv
 QMOuG/p4X1rt0pjJe7e2I2aSeU6SDOoyiY3dZm193MknwgGLihHDj5SwHBdGlUCZ
 MARtnyNNt91YJbaP7UOfCOSjzWBjInBbwbN+zgxiRo1UBnprqrLzjKo77WOpcPJF
 KgOw+nrTJs/ON9/RRDMOXpzwuPSrQXNwdTVToEf3BWoD/GqbLGlkZ5GOzGha5BkY
 zuG8YkR7Sk/0ixitNm+lPB5gwagEx2TBtOZbpzDxZpV+IcdI5Tp7c/1QncbyTpt2
 X9SBdsi3XnXfdixxHwdTvThTX5tblw==
 =tF0N
 -----END PGP SIGNATURE-----

Merge tag '0.6.0' into debian

Release 0.6.0

- improved web interface
- removed .htaccess from PHP version
- better documentation

* tag '0.6.0':
  Refine HTML layout
  Add icon images
  Improve documentation
  Remove .htaccess from PHP age
2019-08-03 10:38:44 +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
adeb998c33 releasing package cacert-boardvoting version 0.5.0-1 2019-08-02 14:12:06 +02:00
ca091d064d Remove Jenkinsfile from debian branch
This commit removes the Jenkinsfile from the debian branch to avoid
building code from this branch.
2019-08-01 14:24:28 +02:00
9f9854c729 Initial debian packaging 2019-08-01 14:21:29 +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
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
2018-03-29 21:26:12 +02: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
aea93c328e Update dependencies 2018-01-14 14:36:48 +01:00
e5d0b98514 Improve denied error page and output current authenticated user 2018-01-14 14:25:41 +01:00
a30a29a4e6 Remove duplicate jenkins- from BUILD id 2017-08-27 22:43:13 +02:00
8943fafeca Use a Jenkins build number for build id 2017-08-27 22:37:30 +02:00
ace63025ea Fix missing single quote 2017-08-27 21:48:10 +02:00
4afeb6ddfc Change to build directory inside shell blocks 2017-08-27 21:46:49 +02:00
06e0a52737 Move environment declaration to stage blocks 2017-08-27 21:44:02 +02:00
3fb815f6f1 Define target build directory environment variable 2017-08-27 21:42:25 +02:00
ebb15fc538 Reduce shell calls to single steps 2017-08-27 21:37:26 +02:00
9398d90a38 Use temporary path for gopath 2017-08-27 21:29:58 +02:00
9b07f3e538 Fix compile errors with pinned dependency versions 2017-08-27 16:30:49 +02:00
c62801fcb7 Add direct call to dep 2017-08-27 16:12:46 +02:00
91e6d9ad29 Set PATH to include gocode/bin 2017-08-27 16:06:03 +02:00
58aed9abd1 Use dep in Jenkinsfile 2017-08-27 15:56:23 +02:00