Jan Dittberner
5d68bae54f
Use assets for mail templates
7 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
7 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
7 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
Jan Dittberner
ace63025ea
Fix missing single quote
7 years ago
Jan Dittberner
4afeb6ddfc
Change to build directory inside shell blocks
7 years ago
Jan Dittberner
06e0a52737
Move environment declaration to stage blocks
7 years ago
Jan Dittberner
3fb815f6f1
Define target build directory environment variable
7 years ago
Jan Dittberner
ebb15fc538
Reduce shell calls to single steps
7 years ago
Jan Dittberner
9398d90a38
Use temporary path for gopath
7 years ago
Jan Dittberner
9b07f3e538
Fix compile errors with pinned dependency versions
7 years ago
Jan Dittberner
c62801fcb7
Add direct call to dep
7 years ago
Jan Dittberner
91e6d9ad29
Set PATH to include gocode/bin
7 years ago
Jan Dittberner
58aed9abd1
Use dep in Jenkinsfile
7 years ago
Jan Dittberner
bf511ae4db
Add dep dependency management
...
This commit introduces dependency management using
https://github.com/golang/dep to make builds reproducible.
7 years ago
Jan Dittberner
aff6bf1fff
Add Jenkinsfile to enable Jenkins build
7 years ago
Jan Dittberner
14ed5a5020
Change motion content formatting
...
Use a linebreak sensitive paragraph instead of <pre> for motion content
output.
7 years ago
Jan Dittberner
c48bd9e356
Use Semantic UI for all HTML templates
8 years ago
Jan Dittberner
1c989fdfa3
Work on Semantic UI theming
8 years ago
Jan Dittberner
2a38b6bcad
Add jQuery and Semantic-UI for theming
8 years ago
Jan Dittberner
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.
8 years ago
Jan Dittberner
eec8620e49
Make compilation more verbose
8 years ago
Jan Dittberner
5a449926f4
Use loggo for logging
8 years ago
Jan Dittberner
fd0a8ed972
Run goose migration on application startup
8 years ago
Jan Dittberner
c6b1435875
Add goose database migrations
8 years ago
Jan Dittberner
dad5d58158
Remove PHP code
8 years ago
Jan Dittberner
8d0e0eeb1b
Use INSERT OR REPLACE to allow changing votes
8 years ago
Jan Dittberner
12dd0717ad
Refactor notifications to use a cleaner interface
8 years ago
Jan Dittberner
8d1f18e16d
Implement direct voting
8 years ago
Jan Dittberner
2cac50ee86
Implement proxy voting
8 years ago
Jan Dittberner
b6ad5d8ad3
Implement reminder job
8 years ago
Jan Dittberner
dcdd5f715f
Implement decision closing job
8 years ago
Jan Dittberner
2de96dc13d
Implement vote closing, refactor notifications
8 years ago
Jan Dittberner
0ce9ad6dcc
Implement withdraw motion
8 years ago
Jan Dittberner
bc194e8943
Implement motion editing
8 years ago
Jan Dittberner
cc0f5c0b7b
Implement motion creation mail template
8 years ago
Jan Dittberner
bcfbad42b6
Add version and build number output
8 years ago
Jan Dittberner
471daf12ea
Partialy add new motion creation
8 years ago
Jan Dittberner
57e3d53245
Hide own votes link if no voter is authenticated
8 years ago
Jan Dittberner
e0be1a6aa5
Switch to context API
8 years ago
Jan Dittberner
6fe515ea52
Implement proper model, actions and template structure
8 years ago
Jan Dittberner
f4360b98c8
Implement more RESTful URLs for motions
...
This commit implements URLs /motions/ and /motions/{:tag} handlers.
8 years ago
Jan Dittberner
74987ce184
Initial Go code for reimplementation
8 years ago
Jan Dittberner
37c6f2efe6
Rewrap database.sql for better readability
8 years ago
Jan Dittberner
47b09aee9c
Add code from real production environment
...
This commit uses the code running on webmail.cacert.org:/var/www/board
8 years ago
Markus Warg
41a02ba6b5
remove dummy file
14 years ago
Markus Warg
3b805f58b6
Merge ssh://git-cacert.it-sls.de/var/cache/git/cacert-boardvoting
14 years ago