e327e5e2ee
Fix name of message_id_domain in config example
cacert-boardvoting/pipeline/head This commit looks good
2024-09-21 11:25:38 +02:00
39393eb612
Adapt goreleaser config for gorelease v2.0.0
cacert-boardvoting/pipeline/head This commit looks good
2024-06-08 12:51:34 +02:00
a8f16192a8
Update dependencies
2024-06-08 12:51:34 +02:00
11582d3590
Update linter config and apply suggestions
...
- remove copyright years (they are in git)
- remove outdated linter bug workarounds
- update .golangci.yml to match current schema (as of golangci-lint 1.59.0)
2024-06-08 12:51:34 +02:00
3d16034c44
Add configurable domain part for message ids
...
Fixes #1
2024-06-08 12:51:14 +02:00
20d324f5cb
Fix linter error
...
cacert-boardvoting/pipeline/head This commit looks good
- remove nextPotentialRun.Add that had no effect
2023-05-12 19:18:15 +02:00
4276594f8d
Bump copyright year
cacert-boardvoting/pipeline/head There was a failure building this commit
2023-05-12 17:56:45 +02:00
4a8307e16a
Fix display of user
2023-05-12 17:56:17 +02:00
12796486d2
Fix summarizing vote results
2023-05-12 17:51:42 +02:00
f27f2bf801
Update to go 1.19
...
- update go tool in Jenkinsfile
- update go version in go.mod
- update README.md
- update dependencies
2023-05-12 17:37:04 +02:00
d0052ff3dc
Import go-sqlite3 to fix test
cacert-boardvoting/pipeline/head This commit looks good
2022-10-16 12:05:31 +02:00
c9d3f2a20a
Fix permission issues for unauthenticated users
cacert-boardvoting/pipeline/head This commit looks good
2022-10-16 11:37:51 +02:00
fd287e4f55
Add Gitea URL for goreleaser
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 21:33:55 +02:00
e9af4bfd86
Improve documentation
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 21:31:11 +02:00
bb06fb95a2
Improve packaging
...
cacert-boardvoting/pipeline/head This commit looks good
- gzip the README.md before packaging
- just release the binary
2022-10-15 21:14:16 +02:00
070bac6314
Fix ui build in Makefile
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 20:18:37 +02:00
41965ca076
Fix build
cacert-boardvoting/pipeline/head This commit looks good
2022-10-15 20:04:03 +02:00
c2eef9cf7c
Refactoring away from main package
...
cacert-boardvoting/pipeline/head There was a failure building this commit
This commit is a refactoring of code that has been located in the main
package. We introduce separate packages for the main application, jobs,
notifications, and request handlers.
Dependencies are injected from the main application, this will make
testing easier.
2022-10-15 19:58:58 +02:00
3dc3160945
Fix proxy_vote nil pointer dereference
2022-10-15 15:06:03 +02:00
dbf774b727
Increase timeout for golangci-lint
cacert-boardvoting/pipeline/head This commit looks good
2022-09-26 19:28:25 +02:00
17867421eb
Add Linting and tests to Jenkins pipeline
2022-09-26 19:15:13 +02:00
57fd5364fc
Fix golangci-lint warnings
...
- fix spelling
- mark false positives of bodyclose (see
https://github.com/timakin/bodyclose/issues/30 )
2022-09-26 17:18:09 +02:00
c1c9ed5dec
Fix golangci-lint warnings
2022-09-26 11:58:36 +02:00
c37bfb3b9a
Fix mail config name in example configuration
2022-08-07 13:04:49 +02:00
ff58bf721c
Fix test code
2022-06-04 19:30:58 +02:00
be77e5f05d
Make remind voter job useful
2022-06-04 19:30:07 +02:00
f966cbd62f
Implement user creation and voter management
2022-06-04 19:00:57 +02:00
39bd724381
Switch routing to chi
...
Routing with httprouter and alice became a bit too complex. This commit
replaces the routing and middleware composition with chi.
2022-06-04 14:48:24 +02:00
de4c6faef6
Implement email address deletion
2022-06-04 13:53:07 +02:00
99a2cde144
Improve flash message handling
2022-06-04 13:52:53 +02:00
be14a37b4d
Implement add email address
2022-06-03 20:57:20 +02:00
a5475ec16e
Implement user editing
2022-06-02 23:14:38 +02:00
5efc57d2c3
Implement user deletion
...
- add audit logging for user changes
- refactor model errors into functions
- implement user delete form and submit handlers
2022-06-01 18:57:38 +02:00
db52f88e25
Implement user list
2022-05-29 20:46:52 +02:00
71fc599a10
Fix goreleaser config
2022-05-29 15:51:53 +02:00
c625b6dc9e
Add TODO tags for handlers that have no implementation
2022-05-29 15:47:18 +02:00
7f0b52c5b5
Fix linter warnings
2022-05-29 15:43:45 +02:00
368bd8eefb
Remove old code
...
- remove the old code and its dependencies
- perform some refactoring and fix notifications
- add TODO tags for observed shortcomings
- rename voters.go to users.go
- implement health check for SMTP connection
2022-05-29 15:36:27 +02:00
28ddbd2ce6
Implement motion withdraw
2022-05-29 12:01:58 +02:00
c12aaf4d89
Implement proxy voting
2022-05-27 20:45:04 +02:00
0c02daf29a
Implement direct voting
2022-05-27 17:40:01 +02:00
164495c818
Improve design
...
- improve icons
- implement VoteChoice and VoteStatus as real types with Scanner and Value
methods
2022-05-27 14:42:39 +02:00
b8b6899cf3
Update modified timestamp when updating motion
2022-05-27 13:43:57 +02:00
2b98712aa8
Implement motion editing
2022-05-26 21:04:47 +02:00
335ce16547
Add tests for handlers and middleware
...
- drop migration 2022052601_drop_unused_decisions_colums because it was implicitly part of an earlier migration
- add /health endpoint for database health check
- add tests for the health check endpoint
- add tests for middleware secureHeaders, logRequest and tryAuthenticate
- add models.UserModel.CreateUser method
2022-05-26 19:22:56 +02:00
c3d0733e27
Replace gorilla/csrf with justinas/nosurf
...
- replace dependency for less indirect dependencies
- remove unused configuration options
2022-05-26 17:25:25 +02:00
257a777e03
Add Cache-Control for authenticated pages
2022-05-26 17:05:47 +02:00
d5d7525a31
Tighten http timeout settings
2022-05-26 16:53:52 +02:00
1695ce0168
Implement small improvements
...
- fix golangci-lint warnings
- start setup for user management
- nicer formatting of user login information
2022-05-26 16:47:57 +02:00
47092bfa9b
Implement flash messages
...
- configure session cookie security
- setup flash message handling in newTemplateData
- show flash message in base.html
- add flash message for new motion
2022-05-26 16:30:30 +02:00