Commit Graph

1699 Commits

Author SHA1 Message Date
kolaente 2a569488d7
chore: release preparations 2022-08-03 20:06:53 +02:00
kolaente 49b3ae82e4
chore: add git-cliff config 2022-08-03 20:06:35 +02:00
kolaente b71e6f8049
fix(docker): use official go image instead of our own to build 2022-08-03 17:54:21 +02:00
kolaente fa82c71f8c
fix(ci): install git in lint step 2022-08-03 17:19:29 +02:00
kolaente 8f473481ac
fix(mage): handle different types of errors 2022-08-03 17:11:17 +02:00
kolaente 51cd2830dd
fix(ci): make sure the linter actually runs 2022-08-03 16:20:49 +02:00
kolaente 430057a404
chore: update golangci-lint 2022-08-03 15:20:11 +02:00
kolaente 7ffe9b625e
fix: switch back to alpine for everything, disable arm 32 docker builds 2022-08-03 14:05:07 +02:00
kolaente d47edac376
feat(mail): don't try to authenticate when no username and password was provided 2022-08-03 13:41:42 +02:00
kolaente aed1ad6d96
fix(ci): sign drone config 2022-08-03 12:57:51 +02:00
kolaente 84bcdbf937
fix: use golang build image to test migrations 2022-08-03 12:57:20 +02:00
kolaente 280ac1164b
fix(docker): switch to debian base image 2022-08-03 12:44:18 +02:00
kolaente b6d7323cdf
fix: use our own build image as base build image 2022-08-02 23:02:01 +02:00
kolaente 59796fd490
fix: switch to buster for build image
The current alpine image does (still) not work on arm. Buster does, so we're just using that.
2022-08-02 22:53:10 +02:00
kolaente 26e2d0bdde
fix: increase test timeout 2022-08-02 22:49:48 +02:00
kolaente 251b877015
chore: use our custom build image to build docker image 2022-08-02 22:01:29 +02:00
renovate b460fa8c82 chore(deps): update module go to 1.18 (#1225)
Reviewed-on: vikunja/api#1225
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-08-02 17:11:06 +00:00
kolaente 77fafd5dc3
fix: lint 2022-08-02 15:07:08 +02:00
kolaente 3688bbde20
fix: don't return email addresses from user search results 2022-08-02 15:02:15 +02:00
kolaente c51ee94ad1
fix: return all users on a list when no search param was provided 2022-08-02 15:02:00 +02:00
kolaente 8f27e7e619
fix: properly decode params in url
Resolves vikunja/api#1224
2022-08-02 14:50:03 +02:00
kolaente 382a7884be
fix: make sure to use user discoverability settings when searching list users
Resolves vikunja/frontend#2196
2022-08-02 13:26:42 +02:00
renovate cd345b62c2 fix(deps): update module github.com/go-testfixtures/testfixtures/v3 to v3.8.1 (#1226)
Reviewed-on: vikunja/api#1226
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-08-01 16:30:31 +00:00
renovate dc2285bcc9 fix(deps): update golang.org/x/sys digest to 1609e55 (#1217)
Reviewed-on: vikunja/api#1217
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-31 18:32:31 +00:00
kolaente 1feb62cc45
fix: lint 2022-07-31 15:50:38 +02:00
kolaente 117f6b38e1
feat: add issue template 2022-07-21 16:50:30 +02:00
kolaente dd461746a6
fix: add validation for negative repeat after values
Partial fix for vikunja/frontend#2179
2022-07-21 15:00:28 +02:00
kolaente 0f555b7ec7
fix: reset id sequence when importing a dump from postgres 2022-07-21 14:54:52 +02:00
renovate f93b68819d fix(deps): update module github.com/spf13/viper to v1.12.0 (#1180)
Reviewed-on: vikunja/api#1180
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-19 15:32:46 +00:00
kolaente 79b31673e2
fix: return 9:00 as default time for reminders if none was set
Resolves vikunja/api#1211
2022-07-19 16:38:48 +02:00
kolaente f8cc67d37f
chore(docs): add frontendurl to all example configs 2022-07-19 16:26:38 +02:00
renovate 6c92859f8c fix(deps): update module github.com/swaggo/swag to v1.8.4 (#1216)
Reviewed-on: vikunja/api#1216
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-19 14:20:58 +00:00
renovate ef6fe9500e fix(deps): update module github.com/spf13/afero to v1.9.2 (#1215)
Reviewed-on: vikunja/api#1215
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-19 11:46:58 +00:00
renovate 8578f3a927 fix(deps): update golang.org/x/oauth2 digest to c8730f7 (#1214)
Reviewed-on: vikunja/api#1214
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-18 20:34:54 +00:00
renovate bfcebc63b7 fix(deps): update golang.org/x/sys digest to c0bba94 (#1206)
Reviewed-on: vikunja/api#1206
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-18 10:00:24 +00:00
renovate 8cafe84170 fix(deps): update golang.org/x/oauth2 digest to 2104d58 (#1204)
Reviewed-on: vikunja/api#1204
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-18 10:00:03 +00:00
renovate f3319e837a fix(deps): update github.com/c2h5oh/datasize digest to 859f65c (#1201)
Reviewed-on: vikunja/api#1201
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-15 06:59:22 +00:00
renovate 7c70b5d4b3 fix(deps): update golang.org/x/sync digest to 0de741c (#1205)
Reviewed-on: vikunja/api#1205
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-15 06:23:11 +00:00
renovate 1eceecf3ab fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.1 (#1208)
Reviewed-on: vikunja/api#1208
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 21:17:31 +00:00
renovate 76fa841e9a fix(deps): update module github.com/spf13/afero to v1.9.0 (#1210)
Reviewed-on: vikunja/api#1210
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 21:16:02 +00:00
renovate 2f601052fd fix(deps): update golang.org/x/crypto digest to 0559593 (#1202)
Reviewed-on: vikunja/api#1202
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 14:15:52 +00:00
renovate 8023674adf fix(deps): update module github.com/yuin/goldmark to v1.4.13 (#1209)
Reviewed-on: vikunja/api#1209
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 12:44:06 +00:00
renovate 560fa187e0 fix(deps): update golang.org/x/image digest to 41969df (#1203)
Reviewed-on: vikunja/api#1203
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 07:03:12 +00:00
renovate a321c3cfb9 fix(deps): update golang.org/x/term digest to 065cf7b (#1207)
Reviewed-on: vikunja/api#1207
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-07-14 07:02:43 +00:00
kolaente 6e15d46a93
fix(restore): use the correct initial migration
Related to vikunja/api#1199
2022-07-13 23:44:21 +02:00
kolaente 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
kolaente 596d2bf676
fix(restore): properly decode notifications json data
Related to vikunja/api#1199
2022-07-13 23:43:20 +02:00
kolaente ac92499b7d
fix(caldav): make sure description is parsed correctly when multiline
Resolves https://github.com/go-vikunja/api/issues/35
2022-07-13 22:47:25 +02:00
kolaente b1892eaf63
fix(mail): set server name in tls config so that sending mail works with skipTlsVerify set to false 2022-07-13 19:57:44 +02:00
Pavle Portic b9793a267b Add exec to run script to run app as PID 1 (#1200)
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