54348c5891
fix(restore): make sure to reset sequences after importing a dump when using postgres
...
Related to vikunja/api#1199
2022-07-13 23:43:53 +02:00
596d2bf676
fix(restore): properly decode notifications json data
...
Related to vikunja/api#1199
2022-07-13 23:43:20 +02:00
ac92499b7d
fix(caldav): make sure description is parsed correctly when multiline
...
continuous-integration/drone/push Build is passing
Resolves https://github.com/go-vikunja/api/issues/35
2022-07-13 22:47:25 +02:00
b1892eaf63
fix(mail): set server name in tls config so that sending mail works with skipTlsVerify set to false
continuous-integration/drone/push Build is passing
2022-07-13 19:57:44 +02:00
b9793a267b
Add exec to run script to run app as PID 1 ( #1200 )
...
continuous-integration/drone/push Build is failing
When running the docker container, the sh script will run as PID 1 and intercept any external signals (like docker stop) and won't pass it on to the app. Docker will wait for 10 seconds before proceeding to force kill the app, leading to both an unclean shutdown and an unnecessary wait of 10 seconds.
The exec in the script replaces the shell process with the `su` process, which correctly passes on signals to the app process and triggers a regular shutdown when doing a docker stop.
Co-authored-by: Pavle Portic <git@theedgeofrage.com>
Reviewed-on: vikunja/api#1200
Reviewed-by: konrad <k@knt.li>
Co-authored-by: TheEdgeOfRage <git@theedgeofrage.com>
Co-committed-by: TheEdgeOfRage <git@theedgeofrage.com>
2022-07-12 14:02:31 +00:00
c906fc2b07
fix(mail): don't try to authenticate against the mail server when no credentials are provided
...
continuous-integration/drone/push Build is passing
Related to https://github.com/go-vikunja/api/issues/34
2022-07-12 15:46:28 +02:00
4bb77b5539
fix(mail): don't set a username by default
continuous-integration/drone/push Build is passing
2022-07-12 11:49:23 +02:00
5743a4afe5
fix: properly set tls config for mailer
continuous-integration/drone/push Build is passing
2022-07-11 16:10:28 +02:00
62325de9cd
feat: use actual uuids for tasks
continuous-integration/drone/push Build is failing
2022-07-11 14:54:33 +02:00
8759937e3c
feat(docs): add versions explanation
continuous-integration/drone/push Build is passing
2022-07-08 00:14:01 +02:00
5cc4927b9e
fix: add missing error check
continuous-integration/drone/push Build is passing
2022-07-07 23:23:15 +02:00
2b074c60a7
fix(caldav): properly parse durations when returning VTODOs
...
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/frontend/issues/55
2022-07-07 23:20:37 +02:00
f5a4c136fb
fix: cycles in tasks array when memory caching was enabled
...
continuous-integration/drone/push Build is failing
Resolves #1119
2022-07-07 18:34:49 +02:00
230478aae9
fix: remove credential escaping for postgres connections to allow for passwords with special characters
...
continuous-integration/drone/push Build is passing
Resolves https://github.com/go-vikunja/api/issues/22
2022-07-07 18:04:16 +02:00
7e99618319
chore: upgrade trello api wrapper and remove fork
continuous-integration/drone/push Build is failing
2022-07-07 16:21:33 +02:00
73c4c399e5
feat: use embed fs directly to embed the logo in mails
continuous-integration/drone/push Build is failing
2022-07-07 15:54:38 +02:00
25ffa1bc2e
fix: prevent logging openid provider errors twice
continuous-integration/drone/push Build is failing
2022-07-07 15:47:37 +02:00
4429ba2da1
fix(caldav): make sure the caldav tokens of non-local accounts are properly checked
continuous-integration/drone/push Build is failing
2022-07-04 18:08:46 +02:00
db1ccff0de
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.14 ( #1194 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#1194
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-04 14:45:42 +00:00
2c9ab3d86f
fix(deps): update module github.com/go-testfixtures/testfixtures/v3 to v3.8.0 ( #1168 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#1168
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-04 14:45:09 +00:00
951d74b272
fix: go mod tidy
continuous-integration/drone/push Build is passing
2022-06-30 16:41:47 +02:00
a38efef734
fix(docs): clarify frontend requirements to use Vikunja
continuous-integration/drone/push Build is failing
2022-06-30 16:40:38 +02:00
a060cbe820
chore(docs): clarify openid setup with environment variables
continuous-integration/drone/push Build is failing
2022-06-30 16:27:06 +02:00
ad17ff5c32
fix(docs): image urls in synology setup explanation
2022-06-30 16:25:24 +02:00
d0e09d69d0
fix: tests
continuous-integration/drone/push Build is failing
2022-06-30 14:21:17 +00:00
7a30294407
fix: go mod tidy
2022-06-30 14:21:17 +00:00
bc7f6a8586
fix: set the correct go version in go.mod
2022-06-30 14:21:17 +00:00
f30a9d1038
chore(docs): add new mailer option to docs
2022-06-30 14:21:17 +00:00
c62e26b6fe
fix: revert renaming Attachments to Embeds everywhere
2022-06-30 14:21:17 +00:00
f4f8450d16
feat: embed the vikunja logo as inline attachment
2022-06-30 14:21:17 +00:00
30e0e98f77
feat: migrate away from gomail
2022-06-30 14:21:17 +00:00
12557163b2
fix(deps): update module github.com/stretchr/testify to v1.8.0 ( #1191 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1191
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-29 21:36:48 +00:00
8b82aab7aa
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.4.2 ( #1193 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#1193
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-29 18:30:48 +00:00
70018613da
fix(deps): update module github.com/spf13/cobra to v1.5.0 ( #1192 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#1192
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-29 18:30:17 +00:00
01271c4c01
feat: allow only the authors of task comments to edit them
continuous-integration/drone/push Build is passing
2022-06-16 17:38:27 +02:00
d837f8a624
fix: add missing migration
continuous-integration/drone/push Build is passing
2022-06-16 16:56:35 +02:00
8869adfc27
feat: add setting to change overdue tasks reminder email time
continuous-integration/drone/push Build is passing
2022-06-16 16:20:26 +02:00
030bbfa47e
fix(deps): update module github.com/swaggo/swag to v1.8.3 ( #1185 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1185
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-16 12:47:17 +00:00
7eb3b96a44
feat: send overdue tasks email notification at 9:00 in the user's time zone
continuous-integration/drone/push Build is passing
2022-06-12 21:24:28 +02:00
2f25b48869
feat: restrict max avatar size
...
continuous-integration/drone/push Build is passing
resolves #1171
2022-06-12 18:29:12 +02:00
k2s
172a6214d7
fix: VIKUNJA_SERVICE_JWT_SECRET should be VIKUNJA_SERVICE_JWTSECRET ( #1184 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1184
Reviewed-by: konrad <k@knt.li>
Co-authored-by: k2s <k2s@noreply.kolaente.de>
Co-committed-by: k2s <k2s@noreply.kolaente.de>
2022-06-12 12:50:43 +00:00
92a87cfe4f
fix(deps): update module github.com/stretchr/testify to v1.7.2 ( #1182 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1182
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-07 18:10:50 +00:00
163a4624ee
fix(deps): update module github.com/imdario/mergo to v0.3.13 ( #1178 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1178
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-01 20:51:01 +00:00
37a07aa677
fix(deps): update module gopkg.in/yaml.v3 to v3.0.1 ( #1179 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1179
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-01 17:07:40 +00:00
e52c45d5aa
fix: sort tasks logically and consistent across dbms ( #1177 )
...
continuous-integration/drone/push Build is passing
This PR changes the behavoir of sorting tasks. Before, tasks were sorted with null values first. Now, null values are always sorted last which is usually what you want.
Partial fix for https://github.com/go-vikunja/frontend/issues/54
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1177
2022-05-30 20:53:58 +00:00
grahammiln
acaa85083f
feat: ability to serve static files ( #1174 )
...
continuous-integration/drone/push Build is passing
Added the configuration key, `service.staticpath`, to serve files from the configuration path on root (/).
Serving static files allows the api service to also serve the frontend content. This is a simple option for deploying Vikunja without needing any other servers or proxies.
Running a complete instance becomes:
VIKUNJA_SERVICE_STATICPATH=/path/to/frontend ./vikunja
Where `/path/to/frontend` is a copy of Vikunja's frontend static files.
## Implementation
Providing a path, via the configuration or environment, adds a static file middleware to serve the path's contents from root (/).
By default, the configuration path is empty and Vikunja's existing behaviour is unchanged.
Co-authored-by: Graham Miln <graham.miln@dssw.co.uk>
Reviewed-on: vikunja/api#1174
Reviewed-by: konrad <k@knt.li>
Co-authored-by: grahammiln <grahammiln@noreply.kolaente.de>
Co-committed-by: grahammiln <grahammiln@noreply.kolaente.de>
2022-05-23 20:49:28 +00:00
f5ebada913
fix: set derived default values only after reading config from file or env
continuous-integration/drone/push Build is passing
2022-05-23 22:12:15 +02:00
7b10176a10
fix(deps): update module github.com/lib/pq to v1.10.6 ( #1169 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1169
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-16 20:58:16 +00:00
3ab0ac9f27
fix(deps): update module github.com/swaggo/swag to v1.8.2 ( #1167 )
...
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1167
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-15 19:57:00 +00:00
dc5faaf2cf
fix(deps): update module github.com/coreos/go-oidc/v3 to v3.2.0 ( #1164 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1164
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-14 15:09:22 +00:00