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
bf511ae4db
Add dep dependency management
...
This commit introduces dependency management using
https://github.com/golang/dep to make builds reproducible.
2017-08-27 15:52:55 +02:00
aff6bf1fff
Add Jenkinsfile to enable Jenkins build
2017-05-14 19:49:12 +02:00
14ed5a5020
Change motion content formatting
...
Use a linebreak sensitive paragraph instead of <pre> for motion content
output.
2017-05-14 15:01:12 +02:00
c48bd9e356
Use Semantic UI for all HTML templates
2017-04-30 02:37:29 +02:00
1c989fdfa3
Work on Semantic UI theming
2017-04-29 22:17:58 +02:00
2a38b6bcad
Add jQuery and Semantic-UI for theming
2017-04-22 21:24:52 +02:00
4d23b6a48f
Switch to more flexible go-logging
...
This commit switches from loggo to the more flexible go-logging
framework. Logs of severity INFO or higher are now written to a separate
boardvoting.log file.
Errors during execution of mail templates are now logged.
A reasoning for the vote result is now logged and put into the mail
notification when a decision is closed.
2017-04-22 20:07:39 +02:00
eec8620e49
Make compilation more verbose
2017-04-22 14:36:05 +02:00
5a449926f4
Use loggo for logging
2017-04-22 00:14:38 +02:00
fd0a8ed972
Run goose migration on application startup
2017-04-22 00:14:38 +02:00
c6b1435875
Add goose database migrations
2017-04-22 00:14:35 +02:00
dad5d58158
Remove PHP code
2017-04-22 00:14:11 +02:00
8d0e0eeb1b
Use INSERT OR REPLACE to allow changing votes
2017-04-22 00:14:11 +02:00
12dd0717ad
Refactor notifications to use a cleaner interface
2017-04-22 00:14:11 +02:00
8d1f18e16d
Implement direct voting
2017-04-22 00:14:11 +02:00
2cac50ee86
Implement proxy voting
2017-04-22 00:14:08 +02:00
b6ad5d8ad3
Implement reminder job
2017-04-22 00:12:38 +02:00
dcdd5f715f
Implement decision closing job
2017-04-22 00:12:38 +02:00
2de96dc13d
Implement vote closing, refactor notifications
2017-04-22 00:12:38 +02:00
0ce9ad6dcc
Implement withdraw motion
2017-04-22 00:12:38 +02:00
bc194e8943
Implement motion editing
2017-04-22 00:12:38 +02:00
cc0f5c0b7b
Implement motion creation mail template
2017-04-22 00:12:38 +02:00
bcfbad42b6
Add version and build number output
2017-04-22 00:12:32 +02:00
471daf12ea
Partialy add new motion creation
2017-04-22 00:12:32 +02:00
57e3d53245
Hide own votes link if no voter is authenticated
2017-04-22 00:12:31 +02:00
e0be1a6aa5
Switch to context API
2017-04-22 00:12:24 +02:00
6fe515ea52
Implement proper model, actions and template structure
2017-04-22 00:12:24 +02:00
f4360b98c8
Implement more RESTful URLs for motions
...
This commit implements URLs /motions/ and /motions/{:tag} handlers.
2017-04-22 00:12:24 +02:00
74987ce184
Initial Go code for reimplementation
2017-04-15 19:23:40 +02:00
37c6f2efe6
Rewrap database.sql for better readability
2017-04-15 19:23:05 +02:00