Commit Graph

1038 Commits

Author SHA1 Message Date
kolaente f67fe2ce25
Fix drone badge in README
continuous-integration/drone/push Build is passing Details
2020-11-20 21:54:15 +01:00
renovate 23e84f3fa4 Update github.com/jgautheron/goconst commit hash to ccae5bf (#712)
continuous-integration/drone/push Build is passing Details
Update github.com/jgautheron/goconst commit hash to ccae5bf

Reviewed-on: vikunja/api#712
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-17 16:41:45 +00:00
renovate 70a076c4fe Update module mattn/go-sqlite3 to v1.14.5 (#711)
continuous-integration/drone/push Build encountered an error Details
Update module mattn/go-sqlite3 to v1.14.5

Reviewed-on: vikunja/api#711
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-16 17:21:29 +00:00
renovate 58c3b1616f Update module getsentry/sentry-go to v0.8.0 (#709)
continuous-integration/drone/push Build is passing Details
Update module getsentry/sentry-go to v0.8.0

Reviewed-on: vikunja/api#709
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-16 15:04:57 +00:00
renovate 24d27a93c8 Update module gabriel-vasile/mimetype to v1.1.2 (#708)
continuous-integration/drone/push Build is passing Details
Update module gabriel-vasile/mimetype to v1.1.2

Reviewed-on: vikunja/api#708
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-16 13:56:56 +00:00
renovate 27aa8662c0 Update golang.org/x/crypto commit hash to 0c6587e (#706)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 0c6587e

Reviewed-on: vikunja/api#706
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-12 17:18:23 +00:00
renovate 479f9238ff Update module pquerna/otp to v1.3.0 (#705)
continuous-integration/drone/push Build is passing Details
Update module pquerna/otp to v1.3.0

Reviewed-on: vikunja/api#705
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-11 06:44:30 +00:00
renovate 2b84be5167 Update github.com/jgautheron/goconst commit hash to f8e4fe8 (#703)
continuous-integration/drone/push Build is passing Details
Update github.com/jgautheron/goconst commit hash to f8e4fe8

Reviewed-on: vikunja/api#703
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-08 22:20:54 +00:00
renovate 5d45af707b Update github.com/jgautheron/goconst commit hash to b58d7cf (#702)
continuous-integration/drone/push Build is passing Details
Update github.com/jgautheron/goconst commit hash to b58d7cf

Reviewed-on: vikunja/api#702
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-08 20:46:19 +00:00
renovate e9a8d8c157 Update github.com/gordonklaus/ineffassign commit hash to 3b93a88 (#701)
continuous-integration/drone/push Build is passing Details
Update github.com/gordonklaus/ineffassign commit hash to 3b93a88

Reviewed-on: vikunja/api#701
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-07 10:14:08 +00:00
renovate 1cc49806e0 Update module src.techknowlogick.com/xormigrate to v1.4.0 (#700)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xormigrate to v1.4.0

Reviewed-on: vikunja/api#700
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-06 07:05:39 +00:00
kolaente 316ac0558b
Fix task updated timestamp not being updated in the response after updating a task
continuous-integration/drone/push Build is passing Details
2020-10-25 12:59:28 +01:00
freaktechnik ffce9b51cc Fix completion status in DAV for OpenTasks and multiline descriptions (#697)
continuous-integration/drone/push Build is passing Details
Add tests for multiline descriptions and completed state

Fix caldav descriptions

Fix caldav task complete status for OpenTasks

Co-authored-by: Martin Giger <martin@humanoids.be>
Reviewed-on: vikunja/api#697
Co-Authored-By: freaktechnik <martin@humanoids.be>
Co-Committed-By: freaktechnik <martin@humanoids.be>
2020-10-21 21:03:19 +00:00
renovate 760278fde6 Update module fzipp/gocyclo to v0.3.1 (#696)
continuous-integration/drone/push Build is passing Details
Update module fzipp/gocyclo to v0.3.1

Reviewed-on: vikunja/api#696
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-21 05:09:54 +00:00
kolaente 980fe21050
0.15.1 release preparations
continuous-integration/drone/push Build is passing Details
2020-10-20 20:29:57 +02:00
kolaente 707709deb1
Fix not possible to create tasks if metrics were enabled
continuous-integration/drone/push Build is failing Details
2020-10-20 20:28:44 +02:00
renovate 6270bb3e77 Update golang.org/x/sync commit hash to 67f06af (#695)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/sync commit hash to 67f06af

Reviewed-on: vikunja/api#695
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-20 18:09:29 +00:00
renovate 2c2701c054 Update module swaggo/swag to v1.6.9 (#694)
continuous-integration/drone/push Build is passing Details
Update module swaggo/swag to v1.6.9

Reviewed-on: vikunja/api#694
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-20 16:08:28 +00:00
kolaente 2b8c9c698d
0.15.0 release preparations
continuous-integration/drone/push Build is passing Details
2020-10-19 21:06:31 +02:00
kolaente 80367d60d4
Fix release trigger in drone
continuous-integration/drone/push Build is passing Details
2020-10-19 20:35:23 +02:00
renovate 688ca65edf Update module go-testfixtures/testfixtures/v3 to v3.4.1 (#693)
continuous-integration/drone/push Build is passing Details
Update module go-testfixtures/testfixtures/v3 to v3.4.1

Reviewed-on: vikunja/api#693
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-19 15:39:08 +00:00
freaktechnik dcefc18b98 Add app support info for DAV (#692)
continuous-integration/drone/push Build is passing Details
Add app support info for DAV

Reviewed-on: vikunja/api#692
Co-Authored-By: freaktechnik <martin@humanoids.be>
Co-Committed-By: freaktechnik <martin@humanoids.be>
2020-10-19 12:17:08 +00:00
freaktechnik 214f2f008e Support absolute iCal timestamps in CalDAV requests (#691)
continuous-integration/drone/push Build is passing Details
no need to export from there I think

parse absolute ical timestamps

Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: Martin Giger <martin@humanoids.be>
Reviewed-on: vikunja/api#691
Co-Authored-By: freaktechnik <martin@humanoids.be>
Co-Committed-By: freaktechnik <martin@humanoids.be>
2020-10-19 09:11:15 +00:00
kolaente 004e432e7c
Fix nfpm command in drone
continuous-integration/drone/push Build is passing Details
2020-10-19 07:58:24 +02:00
renovate 47486af06d Update module spf13/cobra to v1.1.1 (#690)
continuous-integration/drone/push Build is failing Details
Update module spf13/cobra to v1.1.1

Reviewed-on: vikunja/api#690
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-18 20:16:25 +00:00
kolaente 8b9b1984fc
Make sure we have go installed when building os packages (for build step dependencies)
continuous-integration/drone/push Build is failing Details
2020-10-18 21:28:33 +02:00
kolaente 6dd7bcb0fe
Make sure we have git installed when building os packages
continuous-integration/drone/push Build is failing Details
2020-10-18 20:29:54 +02:00
kolaente b94950d7c2
Fix trigger for pushing release artifacts to drone
continuous-integration/drone/push Build is failing Details
2020-10-18 13:59:26 +02:00
konrad 618353bf95 Use nfpm to build deb, rpm and apk packages (#689)
continuous-integration/drone/push Build is failing Details
Cleanup

Update docs for deb

Add building os packages to drone

Add apk packages

Replace version and binlocation strings in nfpm config

Make nfpm config replacable

Fix nfpm config

Add nfpm config

go mod tidy

Add nfpm mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#689
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-18 11:41:27 +00:00
freaktechnik 1555081939 fetch tasks for caldav lists (#641)
continuous-integration/drone/push Build is failing Details
Fix shadowed error

Panic if a TaskCollection.ReadAll does not return []*models.Task

Fetch tasks for caldav lists

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: Martin Giger <martin@humanoids.be>
Reviewed-on: vikunja/api#641
Co-Authored-By: freaktechnik <martin@humanoids.be>
Co-Committed-By: freaktechnik <martin@humanoids.be>
2020-10-18 10:40:50 +00:00
renovate 7fe9e6d3f6 Update module swaggo/swag to v1.6.8 (#680)
continuous-integration/drone/push Build is passing Details
Regenerate swagger docs with new swaggo

Update module swaggo/swag to v1.6.8

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#680
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 18:03:05 +00:00
renovate cbba0695a8 Update module fzipp/gocyclo to v0.3.0 (#687)
continuous-integration/drone/push Build is passing Details
Update module fzipp/gocyclo to v0.3.0

Reviewed-on: vikunja/api#687
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 10:26:52 +00:00
renovate 921526e086 Update golang.org/x/crypto commit hash to 9e8e0b3 (#685)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 9e8e0b3

Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/api#685
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 09:34:23 +00:00
konrad 1b21339bf8 Generate config docs from sample config (#684)
continuous-integration/drone/push Build is passing Details
Add docs todo to PR template

Clarify docs

Fix parsing of descriptions and multi-level values

Add method to write out the file

Only render default value for non-top-level values

Remove comment headings from yaml comments

Add printing config

Add basic parsing of sample config with comments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#684
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-17 08:07:39 +00:00
renovate e9d6daa1a3 Update module fzipp/gocyclo to v0.2.0 (#686)
continuous-integration/drone/push Build is failing Details
Update module fzipp/gocyclo to v0.2.0

Reviewed-on: vikunja/api#686
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 08:06:20 +00:00
renovate 8b001313f4 Update golang.org/x/crypto commit hash to 84dcc77 (#678)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to 84dcc77

Reviewed-on: vikunja/api#678
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-16 19:55:20 +00:00
renovate e0c8eca669 Update module prometheus/client_golang to v1.8.0 (#681)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v1.8.0

Reviewed-on: vikunja/api#681
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-15 20:24:03 +00:00
renovate c629130b3b Update module spf13/cobra to v1.1.0 (#679)
continuous-integration/drone/push Build was killed Details
Update module spf13/cobra to v1.1.0

Reviewed-on: vikunja/api#679
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-14 19:16:18 +00:00
kolaente 9252225d7f
Disable gocyclo for migration modules
continuous-integration/drone/push Build is passing Details
Signed-off-by: kolaente <k@knt.li>
2020-10-13 08:05:55 +02:00
kolaente 38b5c7fb6c
Add checks if tasks exist in maps before trying to access them
continuous-integration/drone/push Build is failing Details
Signed-off-by: kolaente <k@knt.li>
2020-10-12 19:33:17 +02:00
kolaente e26df26f78
Fix migrating items with large items from todoist
continuous-integration/drone/push Build is passing Details
see #266
2020-10-12 08:08:52 +02:00
renovate 158e07e581 Update module go-errors/errors to v1.1.1 (#677)
continuous-integration/drone/push Build is passing Details
Update module go-errors/errors to v1.1.1

Reviewed-on: vikunja/api#677
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-11 21:27:42 +00:00
konrad 699d3d6060 Add Golangci Lint (#676)
continuous-integration/drone/push Build is passing Details
Increase golangci timeout

Fix installing golangci-lint in ci

Remove mage targets replaced by golangci

Run golint in ci

Add goheader linter

Enable & fix more linters

Fix lint issues

Add mage target to automagically fix issues found by golangci

golangci-lint run --fix

Add golangci config

Add golangci mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#676
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 20:10:03 +00:00
konrad d56a611be7 Key-Value Storages (#674)
continuous-integration/drone/push Build is passing Details
Fix lint

Add docs for keyvalue config options

Use keyvalue store to cache unsplash photo results

Cleanup

Use keyvalue store for upload avatar

Use keyvalue store for initials avatar

Fix initializing metrics

Use keyvalue for metrics

Add IncryBy and DecrBy methods to increase or decrease a value

Fix lint

Return custom error if a key does not exist

Init keyvalue storage

Follow the keyvalue storage setting for things like cache and other

Add docs

Add configuration of the storage backend

Add redis keyvalue storage implementation

Add doc comments

Add methods to use storage through the package itself

Add memory implementation for keyvalue store

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#674
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-10 16:53:59 +00:00
kolaente bf5d8af3f6
Fix docs index links
continuous-integration/drone/push Build is passing Details
2020-10-10 12:12:54 +02:00
renovate 0769098357 Update golang.org/x/sync commit hash to b3e1573 (#675)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/sync commit hash to b3e1573

Reviewed-on: vikunja/api#675
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-10 07:04:40 +00:00
renovate 71094d981f Update module spf13/afero to v1.4.1 (#673)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.4.1

Reviewed-on: vikunja/api#673
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-06 12:03:14 +00:00
renovate 32d97f1451 Update golang.org/x/crypto commit hash to 7f63de1 (#672)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 7f63de1

Reviewed-on: vikunja/api#672
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-02 18:19:39 +00:00
renovate bf9d1c634a Update module mattn/go-sqlite3 to v1.14.4 (#670)
continuous-integration/drone/push Build is failing Details
Update module mattn/go-sqlite3 to v1.14.4

Reviewed-on: vikunja/api#670
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-02 15:05:51 +00:00
renovate ebd96d7766 Update golang.org/x/crypto commit hash to c90954c (#671)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to c90954c

Reviewed-on: vikunja/api#671
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-02 15:05:32 +00:00