Commit Graph

386 Commits

Author SHA1 Message Date
renovate ea5dd87b12 Update github.com/gordonklaus/ineffassign commit hash to 8eed68e (#755)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#755
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-04 20:13:00 +00:00
renovate c842b70cb5 Update module magefile/mage to v1.11.0 (#754)
continuous-integration/drone/push Build is passing Details
Update module magefile/mage to v1.11.0

Reviewed-on: vikunja/api#754
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-29 09:52:09 +00:00
renovate 8c97f45cb7 Update module mattn/go-sqlite3 to v1.14.6 (#751)
continuous-integration/drone/push Build is passing Details
Update module mattn/go-sqlite3 to v1.14.6

Reviewed-on: vikunja/api#751
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-27 14:06:16 +00:00
renovate b8312469d7 Update module cweill/gotests to v1.6.0 (#752)
continuous-integration/drone/push Build is passing Details
Update module cweill/gotests to v1.6.0

Reviewed-on: vikunja/api#752
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-27 01:17:05 +00:00
konrad 8d1a09b5a2 Use db sessions everywere (#750)
continuous-integration/drone/push Build is failing Details
Fix lint

Fix lint

Fix loading tasks with search

Fix loading lists

Fix loading task

Fix loading lists and namespaces

Fix tests

Fix user commands

Fix upload

Fix migration handlers

Fix all manual root handlers

Fix session in avatar

Fix session in list duplication & routes

Use sessions in migration code

Make sure the openid stuff uses a session

Add alias for db type in db package

Use sessions for file

Use a session for everything in users

Use a session for everything in users

Make sure to use a session everywhere in models

Create new session from db

Add session handling for user list

Add session handling for unsplash

Add session handling for teams and related

Add session handling for tasks and related entities

Add session handling for task reminders

Add session handling for task relations

Add session handling for task comments

Add session handling for task collections

Add session handling for task attachments

Add session handling for task assignees

Add session handling for saved filters

Add session handling for namespace and related types

Add session handling for namespace and related types

Add session handling for list users

Add session handling for list tests

Add session handling to list teams and related entities

Add session handling for link shares and related entities

Add session handling for labels and related entities

Add session handling for kanban and related entities

Add session handling for bulk task and related entities

Add session handling for lists and related entities

Add session configuration for web handler

Update web handler

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#750
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-23 15:32:28 +00:00
renovate 111efd5fae Update golang.org/x/crypto commit hash to eec23a3 (#749)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to eec23a3

Reviewed-on: vikunja/api#749
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-21 19:17:02 +00:00
konrad b2e4fde63a Add email reminders (#743)
continuous-integration/drone/push Build is passing Details
Fix tests

Expose email reminder setting through jwt

Set reminders on by default

Fix lint

Make user email configurable

Expose email reminder setting through /info

Don't try to send any reminders if none were found

More spacing for buttons

Fix db time format

Enable reminders by default

Make emails look more like the frontend

Add config to disable it

Add sending emaisl

Add getting all task users and reminding them

Add getting the next reminder in a cron

Move task reminder to separate file

Add cron

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#743
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 23:21:17 +00:00
kolaente 7dc2abb8e5
Make the debian repo structure for buster instead of strech
continuous-integration/drone/push Build is passing Details
2020-12-18 23:33:23 +01:00
renovate 8a6f8922f8 Update module go-redis/redis/v8 to v8.4.4 (#742)
continuous-integration/drone/push Build is passing Details
Update module go-redis/redis/v8 to v8.4.4

Reviewed-on: vikunja/api#742
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-18 16:51:46 +00:00
renovate f15a8baee3 Update module ulule/limiter/v3 to v3.8.0 (#699)
continuous-integration/drone/push Build is passing Details
fmt

Upgrade redis client to v8 everywhere

Update module ulule/limiter/v3 to v3.8.0

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#699
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-18 15:21:21 +00:00
konrad f5b5204776 Add Microsoft Todo migration (#737)
continuous-integration/drone/push Build is passing Details
Add more logs

Fix lint

Generate docs

Add swagger docs

Add microsoft todo parsing logic

go mod tidy

Add basic test structure

Add more fields to tasks

rename microsoft todo package

Add getting microsoft todo data

Add structs and helper methods

Add microsoft todo config and routes

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#737
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 11:12:05 +00:00
renovate 25deb24849 Update module prometheus/client_golang to v1.9.0 (#735)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v1.9.0

Reviewed-on: vikunja/api#735
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-17 20:06:30 +00:00
renovate d91c2e10b0 Update golang.org/x/crypto commit hash to 9d13527 (#736)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 9d13527

Reviewed-on: vikunja/api#736
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-17 16:29:18 +00:00
konrad 9f3d898150 Add trello migration (#734)
continuous-integration/drone/push Build is passing Details
Fix tests for background images

Generate docs

Fix lint

Do the swag

Add more logging

Remove the default bucket if it was empty

Add launch.json

Make importing backgrounds work

Add comment

Fix getting task attachments

Fix getting trello token

Add trello migration routes and status

Add support for converting checklists

Add test for attachments

Add the actual conversion

Add Trello conversion test

Add migration function stubs

Add basic trello migration structure

Add trello migration config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#734
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-17 13:44:04 +00:00
renovate a7c585e086 Update golang.org/x/crypto commit hash to 8b5274c (#733)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to 8b5274c

Reviewed-on: vikunja/api#733
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-16 23:48:56 +00:00
renovate 1e020c9c50 Update golang.org/x/crypto commit hash to 5f87f34 (#729)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 5f87f34

Reviewed-on: vikunja/api#729
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 21:18:12 +00:00
renovate d1e7d5116a Update golang.org/x/term commit hash to 2321bbc (#731)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/term commit hash to 2321bbc

Reviewed-on: vikunja/api#731
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 15:37:42 +00:00
renovate da064e9429 Update golang.org/x/lint commit hash to 83fdc39 (#728)
continuous-integration/drone/push Build was killed Details
Update golang.org/x/lint commit hash to 83fdc39

Reviewed-on: vikunja/api#728
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 15:37:22 +00:00
renovate 67faa26cbc Update golang.org/x/image commit hash to 35266b9 (#727)
continuous-integration/drone/push Build was killed Details
Update golang.org/x/image commit hash to 35266b9

Reviewed-on: vikunja/api#727
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 13:13:57 +00:00
renovate b0b6d5926b Update golang.org/x/term commit hash to ee85cb9 (#726)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/term commit hash to ee85cb9

Reviewed-on: vikunja/api#726
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 12:05:59 +00:00
renovate 22b626c9e0 Update golang.org/x/sync commit hash to 09787c9 (#725)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/sync commit hash to 09787c9

Reviewed-on: vikunja/api#725
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 09:54:29 +00:00
renovate eeb0006531 Update golang.org/x/oauth2 commit hash to 08078c5 (#722)
continuous-integration/drone/push Build was killed Details
Update golang.org/x/oauth2 commit hash to 08078c5

Reviewed-on: vikunja/api#722
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-09 22:10:52 +00:00
renovate 9db56f86ca Update module spf13/afero to v1.5.1 (#730)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.5.1

Reviewed-on: vikunja/api#730
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-09 18:27:42 +00:00
renovate c71265aafe Update module spf13/afero to v1.5.0 (#724)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.5.0

Reviewed-on: vikunja/api#724
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-08 17:21:55 +00:00
renovate 24c8792150 Update module getsentry/sentry-go to v0.9.0 (#723)
continuous-integration/drone/push Build is failing Details
Update module getsentry/sentry-go to v0.9.0

Reviewed-on: vikunja/api#723
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-08 14:02:53 +00:00
renovate 2f69c6342a Update module src.techknowlogick.com/xgo to v1.2.0+1.15.6 (#720)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xgo to v1.2.0+1.15.6

Reviewed-on: vikunja/api#720
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-07 15:49:23 +00:00
renovate c99ed212da Update module swaggo/swag to v1.7.0 (#721)
continuous-integration/drone/push Build was killed Details
Update module swaggo/swag to v1.7.0

Reviewed-on: vikunja/api#721
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-07 15:49:08 +00:00
renovate c8af41738c Update golang.org/x/crypto commit hash to be400ae (#719)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to be400ae

Reviewed-on: vikunja/api#719
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-03 18:39:55 +00:00
renovate f3801843a4 Update golang.org/x/oauth2 commit hash to 0b49973 (#718)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/oauth2 commit hash to 0b49973

Reviewed-on: vikunja/api#718
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-03 06:47:02 +00:00
renovate 08430f1951 Update golang.org/x/crypto commit hash to c8d3bf9 (#710)
continuous-integration/drone/push Build is passing Details
Change terminal package

Update golang.org/x/crypto commit hash to c8d3bf9

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#710
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-02 21:33:03 +00:00
renovate 80ce8f80ba Update module lib/pq to v1.9.0 (#717)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.9.0

Reviewed-on: vikunja/api#717
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-02 07:04:04 +00:00
renovate 87048818ce Update golang.org/x/oauth2 commit hash to 9fd6049 (#714)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/oauth2 commit hash to 9fd6049

Reviewed-on: vikunja/api#714
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-26 20:27:19 +00:00
konrad 2b5c9ae7a8 Authentication with OpenID Connect providers (#713)
continuous-integration/drone/push Build is passing Details
Add config docs

Lint

Move provider-related stuff to separate file

Refactor getting auth providers

Fix tests

Fix user tests

Fix openid tests

Add swagger docs

Fix lint

Fix lint issues

Fix checking if the user already exists

Make sure to create a new namespace for new users

Docs

Add tests for openid

Remove unnessecary err check

Consistently return nil users if creating a new user failed

Move sending confirmation email to separate function

Better variable names

Move checks to separate functions

Refactor creating user into seperate file

Fix creating new local users

Test creating new users from different issuers

Generate a random username right away if no preferred username has been given

Add todo

Cache openid providers

Add getting int clientids

Fix migration

Move creating tokens to auth package

Add getting or creating a third party user

Add parsing claims

Add retreiving auth tokens

Add token callback from openid package

Add check for provider key

Add routes

Start adding openid auth handler

Add config for openid auth

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#713
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:58 +00: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
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
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
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
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
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
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
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
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
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
renovate 089d156259 Update golang.org/x/crypto commit hash to eb9a90e (#669)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to eb9a90e

Reviewed-on: vikunja/api#669
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-01 21:09:37 +00:00
renovate dd589022e4 Update golang.org/x/crypto commit hash to afb6bcd (#668)
continuous-integration/drone/push Build was killed Details
Update golang.org/x/crypto commit hash to afb6bcd

Reviewed-on: vikunja/api#668
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-30 17:18:49 +00:00
renovate b850f65295 Update golang.org/x/sync commit hash to 3042136 (#667)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/sync commit hash to 3042136

Reviewed-on: vikunja/api#667
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-30 14:44:18 +00:00
renovate dd5d64da3e Update golang.org/x/image commit hash to e162460 (#665)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/image commit hash to e162460

Reviewed-on: vikunja/api#665
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-27 13:35:07 +00:00
renovate f8c135f22e Update golang.org/x/image commit hash to a67d67e (#664)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/image commit hash to a67d67e

Reviewed-on: vikunja/api#664
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-27 07:12:14 +00:00
renovate a6fdf114d1 Update golang.org/x/image commit hash to 4578eab (#663)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/image commit hash to 4578eab

Reviewed-on: vikunja/api#663
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-24 09:01:34 +00:00
renovate ca1b33d24d Update github.com/asaskevich/govalidator commit hash to 7a23bdc (#657)
continuous-integration/drone/push Build is passing Details
Update github.com/asaskevich/govalidator commit hash to 7a23bdc

Reviewed-on: vikunja/api#657
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 11:27:58 +00:00
renovate c98b9bbee6 Update golang.org/x/image commit hash to e59bae6 (#659)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/image commit hash to e59bae6

Reviewed-on: vikunja/api#659
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 11:27:43 +00:00
renovate 19a0a85c73 Update github.com/jgautheron/goconst commit hash to 8f5268c (#658)
continuous-integration/drone/push Build is passing Details
Update github.com/jgautheron/goconst commit hash to 8f5268c

Reviewed-on: vikunja/api#658
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 10:25:10 +00:00
renovate 77122b8f1b Update module iancoleman/strcase to v0.1.2 (#660)
continuous-integration/drone/push Build is passing Details
Update module iancoleman/strcase to v0.1.2

Reviewed-on: vikunja/api#660
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 07:59:24 +00:00
renovate 436af467d6 Update module mattn/go-sqlite3 to v1.14.3 (#661)
continuous-integration/drone/push Build is passing Details
Update module mattn/go-sqlite3 to v1.14.3

Reviewed-on: vikunja/api#661
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 07:12:18 +00:00
renovate 04130e4ea3 Update module spf13/afero to v1.4.0 (#662)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.4.0

Reviewed-on: vikunja/api#662
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-09-23 05:05:58 +00:00
konrad d359130bcf Switch to mage (#651)
continuous-integration/drone/push Build is failing Details
Add comment about magefile compile

Switch make to mage commands in drone

Fix misspell

Update docs

Add general release command

Add reprepro command

Make sure the filename contains the proper version

Add deb package building

Add zip command

Preserve file permissions when copying files

Fix release:os-package

Make sure to not create checksums of directories

Cleanup

Only compress what upx is able to compress

Add check command

Add release:os-package command

Add copy command

Add comments

Add compress step

Move releasing binaries to a more general function and add ones of linux + darwin

Add release:windows command

Add release:dir command

Add namespaces for commands

Reorder

Add command to run all checks at once

Add goconst-check

Add gosec-check

Add static-check

Add gocyclo-check

Add ineffasign-check

Add misspell-check

Add command to check for swagger docs regeneration

Add comments

Add command to generate swagger docs

Reorder

Add check for installing golint before running it

Add fmt check command

Add fmt command

Use runAndStreamOutput everywhere

Add aliases and comments

Add todo

Reorder

Add test coverage command

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#651
2020-09-03 15:13:19 +00:00
renovate 05099e1784 Update module spf13/afero to v1.3.5 (#650)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.5

Reviewed-on: vikunja/api#650
2020-09-02 21:19:34 +00:00
renovate 79970ebb4a Update module labstack/echo/v4 to v4.1.17 (#646)
continuous-integration/drone/push Build is passing Details
Update module labstack/echo/v4 to v4.1.17

Reviewed-on: vikunja/api#646
2020-08-31 09:19:49 +00:00
renovate 27b4086351 Update module iancoleman/strcase to v0.1.1 (#645)
continuous-integration/drone/push Build is passing Details
Update module iancoleman/strcase to v0.1.1

Reviewed-on: vikunja/api#645
2020-08-30 08:18:18 +00:00
renovate ae7eafd6ad Update module mattn/go-sqlite3 to v1.14.2 (#647)
continuous-integration/drone/push Build is passing Details
Update module mattn/go-sqlite3 to v1.14.2

Reviewed-on: vikunja/api#647
2020-08-30 08:17:50 +00:00
renovate 21b5aee054 Update github.com/c2h5oh/datasize commit hash to 48ed595 (#644)
continuous-integration/drone/push Build is passing Details
Update github.com/c2h5oh/datasize commit hash to 48ed595

Reviewed-on: vikunja/api#644
2020-08-25 16:06:32 +00:00
renovate 2b34a8d4e6 Update github.com/shurcooL/vfsgen commit hash to 0d455de (#642)
continuous-integration/drone/push Build is passing Details
Update github.com/shurcooL/vfsgen commit hash to 0d455de

Reviewed-on: vikunja/api#642
2020-08-24 20:00:48 +00:00
renovate b4771c1bce Update golang.org/x/crypto commit hash to 5c72a88 (#640)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 5c72a88

Reviewed-on: vikunja/api#640
2020-08-20 23:09:04 +00:00
renovate c83858bf7e Update module mattn/go-sqlite3 to v1.14.1 (#638)
continuous-integration/drone/push Build is passing Details
Update module mattn/go-sqlite3 to v1.14.1

Reviewed-on: vikunja/api#638
2020-08-20 20:46:16 +00:00
renovate 08b8964b3d Update github.com/asaskevich/govalidator commit hash to 29e1ff8 (#639)
continuous-integration/drone/push Build is passing Details
Update github.com/asaskevich/govalidator commit hash to 29e1ff8

Reviewed-on: vikunja/api#639
2020-08-20 12:10:36 +00:00
renovate ebd71d1f04 Update module iancoleman/strcase to v0.1.0 (#636)
continuous-integration/drone/push Build is passing Details
Update module iancoleman/strcase to v0.1.0

Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/api#636
2020-08-19 08:31:41 +00:00
renovate a61ab0c5cf Update github.com/asaskevich/govalidator commit hash to 50839af (#637)
continuous-integration/drone/push Build is passing Details
Update github.com/asaskevich/govalidator commit hash to 50839af

Reviewed-on: vikunja/api#637
2020-08-18 18:07:45 +00:00
renovate 14c27600d8 Update github.com/asaskevich/govalidator commit hash to df4adff (#552)
continuous-integration/drone/push Build is passing Details
Update github.com/asaskevich/govalidator commit hash to df4adff

Reviewed-on: vikunja/api#552
2020-08-17 13:48:12 +00:00
renovate 0169ecc37e Update module 4d63.com/tz to v1.2.0 (#631)
continuous-integration/drone/push Build is passing Details
Update module 4d63.com/tz to v1.2.0

Reviewed-on: vikunja/api#631
2020-08-13 08:38:01 +00:00
kolaente 4a70c81b33
Make sure to require admin rights when modifying list/namespace users to be consistent with teams
continuous-integration/drone/push Build is passing Details
Signed-off-by: kolaente <k@knt.li>
2020-08-12 18:20:47 +02:00
renovate 5e84ce639f Update module src.techknowlogick.com/xgo to v1.1.0+1.15.0 (#630)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xgo to v1.1.0+1.15.0

Reviewed-on: vikunja/api#630
2020-08-12 09:27:43 +00:00
renovate 6c45388da9 Update module imdario/mergo to v0.3.11 (#629)
continuous-integration/drone/push Build is passing Details
Update module imdario/mergo to v0.3.11

Reviewed-on: vikunja/api#629
2020-08-11 20:12:50 +00:00
konrad bd8c1c3bb7 Return rights when reading a single item (#626)
continuous-integration/drone/push Build is passing Details
Fix lint

Update docs

Fix loading all rights (list & namespace)

Add tests

Update web framework

Make tests run again

Update all calls to CanRead methods

Update task attachment & task comment & task rights to return the max right

Update team rights to return the max right

Update namespace rights to return the max right

Update list rights to return the max right

Update link share rights to return the max right

Update label rights to return the max right

Update web dependency

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#626
2020-08-10 12:11:43 +00:00
renovate 28b8cabea5 Update module spf13/afero to v1.3.4 (#628)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.4

Reviewed-on: vikunja/api#628
2020-08-10 07:26:50 +00:00
renovate 7c91803056 Update module go-testfixtures/testfixtures/v3 to v3.4.0 (#627)
continuous-integration/drone/push Build is passing Details
Update module go-testfixtures/testfixtures/v3 to v3.4.0

Reviewed-on: vikunja/api#627
2020-08-09 20:18:27 +00:00
renovate b375e1d043 Update github.com/gordonklaus/ineffassign commit hash to e36bfde (#625)
continuous-integration/drone/push Build is passing Details
Update github.com/gordonklaus/ineffassign commit hash to e36bfde

Reviewed-on: vikunja/api#625
2020-08-09 09:18:55 +00:00
konrad dfb7730b63 More avatar providers (#622)
continuous-integration/drone/push Build is passing Details
Don't fail if the last avatar file does not exist when deleting it

Fix lint

Remove old global avatar setting and update docs

Generate docs

Invalidate the avatar cache when uploading a new one

Add debug logs

Add caching for upload avatars

Add cache locks

Fix encoding

Resize the uploaded image to a max of 1024 pixels

Remove the old uploaded avatar if one already exists

Add mimetype check for images

Set avatar provider to upload when uploading an avatar

Add upload avatar provider

Make font size smaller to let the initials still look good in smaller sizes

Add debug log

Add cache and resizing of initials avatars

Make font size depend on avatar size

Add drawing initials avatar

Add initials provider

Make the initials avatar provider the default

Add routes

Add user avatar settings handler methods

Add user avatar provider field

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#622
2020-08-02 17:16:58 +00:00
renovate c9117dd037 Update module spf13/afero to v1.3.3 (#623)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.3

Reviewed-on: vikunja/api#623
2020-08-02 14:11:50 +00:00
renovate 0ba6ae7a18 Update module spf13/viper to v1.7.1 (#620)
continuous-integration/drone/push Build is passing Details
Update module spf13/viper to v1.7.1

Reviewed-on: vikunja/api#620
2020-08-01 06:24:46 +00:00
renovate 25ecc4a510 Update golang.org/x/crypto commit hash to 123391f (#619)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 123391f

Reviewed-on: vikunja/api#619
2020-07-29 06:39:36 +00:00
renovate 259c2195dc Update module lib/pq to v1.8.0 (#618)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.8.0

Reviewed-on: vikunja/api#618
2020-07-28 06:44:54 +00:00
renovate 5f8872f8cc Update module getsentry/sentry-go to v0.7.0 (#617)
continuous-integration/drone/push Build is failing Details
Update module getsentry/sentry-go to v0.7.0

Reviewed-on: vikunja/api#617
2020-07-21 13:02:45 +00:00
renovate 5794ede6f6 Update module lib/pq to v1.7.1 (#616)
continuous-integration/drone/push Build is failing Details
Update module lib/pq to v1.7.1

Reviewed-on: vikunja/api#616
2020-07-20 17:37:08 +00:00
renovate f8d84139fa Update module imdario/mergo to v0.3.10 (#615)
continuous-integration/drone/push Build is passing Details
Update module imdario/mergo to v0.3.10

Reviewed-on: vikunja/api#615
2020-07-18 16:52:05 +00:00
kolaente d3964ff4bd
Update xgo to v1.0.0+1.14.6
continuous-integration/drone/push Build is passing Details
2020-07-18 18:42:34 +02:00
renovate 7207aa60fb Update module src.techknowlogick.com/xgo to v1 (#613)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xgo to v1

Reviewed-on: vikunja/api#613
2020-07-15 06:32:48 +00:00
renovate 2b9af951bf Update src.techknowlogick.com/xgo commit hash to 96de19c (#612)
continuous-integration/drone/push Build is passing Details
Update src.techknowlogick.com/xgo commit hash to 96de19c

Reviewed-on: vikunja/api#612
2020-07-14 19:58:42 +00:00
renovate c84efcbbcc Update src.techknowlogick.com/xgo commit hash to 7c2e3c9 (#611)
continuous-integration/drone/push Build is passing Details
Update src.techknowlogick.com/xgo commit hash to 7c2e3c9

Reviewed-on: vikunja/api#611
2020-07-14 17:59:50 +00:00
renovate 222582fb0c Update module spf13/afero to v1.3.2 (#610)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.2

Reviewed-on: vikunja/api#610
2020-07-14 13:19:46 +00:00
renovate 3a9360a57b Update golang.org/x/crypto commit hash to 948cd5f (#609)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 948cd5f

Reviewed-on: vikunja/api#609
2020-07-10 08:21:21 +00:00
renovate dd3c4cd032 Update golang.org/x/crypto commit hash to ab33eee (#608)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to ab33eee

Reviewed-on: vikunja/api#608
2020-07-08 07:12:16 +00:00
kolaente 1c93aab7e0
Fix not loading timezones on all operating systems
continuous-integration/drone/push Build is passing Details
2020-06-30 09:55:46 +02:00
renovate 53c4637fb6 Update module spf13/afero to v1.3.1 (#602)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.1

Reviewed-on: vikunja/api#602
2020-06-28 18:25:51 +00:00
renovate b55b21373c Update module swaggo/swag to v1.6.7 (#601)
continuous-integration/drone/push Build is passing Details
Update module swaggo/swag to v1.6.7

Reviewed-on: vikunja/api#601
2020-06-28 14:11:17 +00:00
kolaente f30e720c7b
Update dependency github.com/mattn/go-sqlite3 to v1.14.0
continuous-integration/drone/push Build encountered an error Details
2020-06-28 13:05:33 +02:00
renovate 57c84f3adc Update module go-testfixtures/testfixtures/v3 to v3.3.0 (#600)
continuous-integration/drone/push Build is passing Details
Update module go-testfixtures/testfixtures/v3 to v3.3.0

Reviewed-on: vikunja/api#600
2020-06-28 07:23:55 +00:00
renovate 780a654f65 Update github.com/shurcooL/vfsgen commit hash to 92b8a71 (#599)
continuous-integration/drone/push Build was killed Details
Update github.com/shurcooL/vfsgen commit hash to 92b8a71

Reviewed-on: vikunja/api#599
2020-06-27 18:50:08 +00:00
renovate 922c41236c Update module prometheus/client_golang to v1.7.1 (#597)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v1.7.1

Reviewed-on: vikunja/api#597
2020-06-24 05:41:09 +00:00
renovate 7b31301f09 Update golang.org/x/crypto commit hash to 75b2880 (#596)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 75b2880

Reviewed-on: vikunja/api#596
2020-06-23 05:55:37 +00:00
konrad d02d413c5e Sentry integration (#591)
continuous-integration/drone/push Build is passing Details
Use sentry echo integration to send errors

Only capture errors not already handled by echo

Add sentry panic handler

Add sentry library

Add sentry init

Add sentry config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#591
2020-06-19 18:47:15 +00:00
renovate c51662c270 Update module src.techknowlogick.com/xormigrate to v1.3.0 (#590)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xormigrate to v1.3.0

Reviewed-on: vikunja/api#590
2020-06-18 18:51:06 +00:00
kolaente ad6ef03c0c
Update xorm.io/xorm 1.0.1 -> 1.0.2
continuous-integration/drone/push Build is failing Details
2020-06-18 19:22:43 +02:00
kolaente 5930d5aabf
Update web handler
continuous-integration/drone/push Build is failing Details
2020-06-18 18:48:48 +02:00
renovate b7c8c1f533 Update module prometheus/client_golang to v1.7.0 (#589)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v1.7.0

Reviewed-on: vikunja/api#589
2020-06-17 21:24:13 +00:00
renovate bf41b2ed9f Update module spf13/afero to v1.3.0 (#588)
continuous-integration/drone/push Build is passing Details
Update module spf13/afero to v1.3.0

Reviewed-on: vikunja/api#588
2020-06-17 16:52:36 +00:00
renovate bd11c9650e Update module lib/pq to v1.7.0 (#581)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.7.0

Reviewed-on: vikunja/api#581
2020-06-08 21:17:38 +00:00
renovate 8ef2da8f5f Update module stretchr/testify to v1.6.1 (#580)
continuous-integration/drone/push Build is passing Details
Update module stretchr/testify to v1.6.1

Reviewed-on: vikunja/api#580
2020-06-05 13:26:48 +00:00
renovate 60e802d77f Update module go-redis/redis/v7 to v7.4.0 (#579)
continuous-integration/drone/push Build is failing Details
Update module go-redis/redis/v7 to v7.4.0

Reviewed-on: vikunja/api#579
2020-06-05 13:26:35 +00:00
renovate 966acf51d8 Update golang.org/x/crypto commit hash to 70a84ac (#578)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to 70a84ac

Reviewed-on: vikunja/api#578
2020-06-05 13:26:21 +00:00
renovate b5b84e6bbd Update golang.org/x/crypto commit hash to 279210d (#577)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 279210d

Reviewed-on: vikunja/api#577
2020-06-03 08:53:09 +00:00
renovate f72aa4e52f Update src.techknowlogick.com/xgo commit hash to a09175e (#576)
continuous-integration/drone/push Build is passing Details
Update src.techknowlogick.com/xgo commit hash to a09175e

Reviewed-on: vikunja/api#576
2020-06-02 07:33:43 +00:00
renovate d9f1d456d3 Update src.techknowlogick.com/xgo commit hash to eeb7c0a (#575)
continuous-integration/drone/push Build encountered an error Details
Update src.techknowlogick.com/xgo commit hash to eeb7c0a

Reviewed-on: vikunja/api#575
2020-06-02 06:39:25 +00:00
renovate 67f4c9f941 Update module src.techknowlogick.com/xormigrate to v1.2.1 (#574)
continuous-integration/drone/push Build is passing Details
Update module src.techknowlogick.com/xormigrate to v1.2.1

Reviewed-on: vikunja/api#574
2020-06-01 10:33:58 +00:00
kolaente a525787ab7
Update and fix staticcheck
continuous-integration/drone/push Build is passing Details
2020-05-29 22:15:21 +02:00
renovate 54b18b3c59 Update module lib/pq to v1.6.0 (#572)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.6.0

Reviewed-on: vikunja/api#572
2020-05-29 17:47:28 +00:00
renovate 9ea1104764 Update module stretchr/testify to v1.6.0 (#570)
continuous-integration/drone/push Build is failing Details
Update module stretchr/testify to v1.6.0

Reviewed-on: vikunja/api#570
2020-05-29 09:37:34 +00:00
konrad e5e30d0915 List Backgrounds (#568)
continuous-integration/drone/push Build is failing Details
Return the updated list when setting a list background

Add swagger docs for unsplash methods

Add unsplash info to search results

Fix misspell

Fix lint

Add rights check for setting and getting backgrounds

Show unsplash information when loading a single list

Make application id for pingbacks configurable

Remove old backgrounds when setting a new one

Return 404 if the list does not have a background

Implement getting list backgrounds

Implement actually setting a photo from unsplash as list background

go mod tidy

Add migration for background file id

Roughly implement setting a list background from unsplash

Implement saving a background

Add migration for unsplash photo table

Add unsplash search

Fix parsing page param

Fix parsing page param

Fix background config

Add unsplash wrapper library

Add enabled background providers to info endpoint

Add config options for backgrounds

Add unsplash background provider

Add routing handler for backgrounds

Add basic background provider interface

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#568
2020-05-26 20:07:55 +00:00
renovate b0948a37d4 Update module go-redis/redis/v7 to v7.3.0 (#565)
continuous-integration/drone/push Build is passing Details
Update module go-redis/redis/v7 to v7.3.0

Reviewed-on: vikunja/api#565
2020-05-21 08:56:39 +00:00
renovate 851f0d6c08 Update src.techknowlogick.com/xgo commit hash to 209a5cf (#523)
continuous-integration/drone/push Build was killed Details
Update src.techknowlogick.com/xgo commit hash to 209a5cf

Reviewed-on: vikunja/api#523
2020-05-15 13:28:38 +00:00
renovate 4533ac6b28 Update module spf13/cobra to v1 (#511)
continuous-integration/drone/push Build is passing Details
Update module spf13/cobra to v1

Reviewed-on: vikunja/api#511
2020-05-14 19:09:06 +00:00
renovate 55cd74efca Update module go-testfixtures/testfixtures/v3 to v3.2.0 (#505)
continuous-integration/drone/push Build is passing Details
Update module go-testfixtures/testfixtures/v3 to v3.2.0

Reviewed-on: vikunja/api#505
2020-05-11 10:10:15 +00:00
renovate a9d0079bf3 Update golang.org/x/crypto commit hash to 06a226f (#504)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 06a226f

Reviewed-on: vikunja/api#504
2020-05-11 09:02:23 +00:00
renovate def2362682 Update module spf13/viper to v1.7.0 (#494)
continuous-integration/drone/push Build is passing Details
Update module spf13/viper to v1.7.0

Reviewed-on: vikunja/api#494
2020-05-09 13:44:17 +00:00
renovate f30e405229 Update module lib/pq to v1.5.2 (#491)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.5.2

Reviewed-on: vikunja/api#491
2020-05-08 13:23:26 +00:00
renovate 60f343a926 Update module lib/pq to v1.5.1 (#485)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.5.1

Reviewed-on: vikunja/api#485
2020-05-05 08:59:08 +00:00
renovate 23950c0602 Update module lib/pq to v1.5.0 (#476)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.5.0

Reviewed-on: vikunja/api#476
2020-05-03 18:14:57 +00:00
renovate 19a05a7c2c Update golang.org/x/crypto commit hash to 4b2356b (#475)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 4b2356b

Reviewed-on: vikunja/api#475
2020-05-01 10:06:00 +00:00
renovate 299e856736 Update module prometheus/client_golang to v1.6.0 (#463)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v1.6.0

Reviewed-on: vikunja/api#463
2020-04-28 18:50:58 +00:00
renovate 6d95dc16c2 Update golang.org/x/crypto commit hash to 729f1e8 (#458)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 729f1e8

Reviewed-on: vikunja/api#458
2020-04-27 18:56:31 +00:00
renovate 711124f5c0 Update module go-testfixtures/testfixtures/v3 to v3.1.2 (#457)
continuous-integration/drone/push Build is passing Details
Update module go-testfixtures/testfixtures/v3 to v3.1.2

Reviewed-on: vikunja/api#457
2020-04-27 09:10:08 +00:00
renovate 2b1fc441e6 Update golang.org/x/crypto commit hash to 4bdfaf4 (#438)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 4bdfaf4

Reviewed-on: vikunja/api#438
2020-04-24 15:23:22 +00:00
renovate 4f1c0d99ea Update golang.org/x/crypto commit hash to 44a6062 (#429)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 44a6062

Reviewed-on: vikunja/api#429
2020-04-22 22:49:56 +00:00
renovate f0792cfb0b Update module lib/pq to v1.4.0 (#428)
continuous-integration/drone/push Build is passing Details
Update module lib/pq to v1.4.0

Reviewed-on: vikunja/api#428
2020-04-22 10:16:38 +00:00
renovate dece744685 Update golang.org/x/crypto commit hash to 3c4aac8 (#419)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to 3c4aac8

Reviewed-on: vikunja/api#419
2020-04-21 07:41:16 +00:00
renovate c69f0bf3cb Update golang.org/x/crypto commit hash to a76a400 (#411)
continuous-integration/drone/push Build is failing Details
Update golang.org/x/crypto commit hash to a76a400

Reviewed-on: vikunja/api#411
2020-04-20 20:58:32 +00:00
konrad 24904585a2 Add 2fa for authentification (#383)
continuous-integration/drone/push Build is passing Details
Fix user tests

Add swagger docs

Fix lint

Add totp check when logging in

Make totp enrollment work

Add migration for totp table

go mod vendor

Add routes for totp routes

Add route handler for totp routes

Add basic implementation to enroll a user in totp

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#383
2020-04-17 19:25:35 +00:00
renovate 12e18de8ad Update golang.org/x/crypto commit hash to 0848c95 (#371)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 0848c95

Reviewed-on: vikunja/api#371
2020-04-15 06:48:46 +00:00
kolaente 025b00247d
Fix replace statements for tail
continuous-integration/drone/push Build is passing Details
2020-04-14 21:37:00 +02:00
kolaente 81990f3f80
Update xorm redis cacher to use the xorm logger instead of a special seperate one
continuous-integration/drone/push Build is failing Details
2020-04-13 23:18:33 +02:00
kolaente 9559a68416
Update module prometheus/client_golang to v1
continuous-integration/drone/push Build is failing Details
2020-04-12 22:06:24 +02:00
konrad d28f005552 Update xorm to v1 (#323)
continuous-integration/drone/push Build is failing Details
Fix limit for databases other than sqlite

go mod tidy && go mod vendor

Remove unneeded break statements

Make everything work with the new xorm version

Fix xorm logging

Fix lint

Fix redis init

Fix using id field

Fix database init for testing

Change default database log level

Add xorm logger

Use const for postgres

go mod tidy

Merge branch 'master' into update/xorm

# Conflicts:
#	go.mod
#	go.sum
#	vendor/modules.txt

go mod vendor

Fix loading fixtures for postgres

Go mod vendor1

Update xorm to version 1

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#323
2020-04-12 17:29:24 +00:00
renovate 713560702b Update module go-redis/redis to v7 (#309)
continuous-integration/drone/push Build is passing Details
Update module go-redis/redis to v7

Reviewed-on: vikunja/api#309
2020-04-11 21:43:04 +00:00
konrad 0ba121fdfb Task filters (#243)
continuous-integration/drone/push Build is passing Details
Fix not returning errors

Fix integration tests

Add more tests

Make task filtering actually work

Change tests

Fix using filter conditions

Fix test

Remove unused fields

Fix static check

Remove start and end date fields on task collection

Fix misspell

add filter logic when getting tasks

Add parsing filter query parameters into task filters

Start adding support for filters

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#243
2020-04-11 14:20:33 +00:00
kolaente 0e2449482f
Fix dependencies
continuous-integration/drone/push Build is passing Details
2020-04-09 23:06:57 +02:00
renovate 8d1a3f4fd7 Update module spf13/viper to v1.6.3 (#291)
continuous-integration/drone/push Build is failing Details
Update module spf13/viper to v1.6.3

Reviewed-on: vikunja/api#291
2020-04-09 20:29:11 +00:00
renovate 7abac07837 Update src.techknowlogick.com/xgo commit hash to bb0faa3 (#279)
continuous-integration/drone/push Build is passing Details
Update src.techknowlogick.com/xgo commit hash to bb0faa3

Reviewed-on: vikunja/api#279
2020-04-09 04:36:03 +00:00
renovate 15d718fb1a Update module go-redis/redis to v7 (#277)
continuous-integration/drone/push Build is passing Details
Update module go-redis/redis to v7

Reviewed-on: vikunja/api#277
2020-04-09 04:35:36 +00:00
renovate 4ca3f714ea Update module stretchr/testify to v1.5.1 (#274)
continuous-integration/drone/push Build is passing Details
Update module stretchr/testify to v1.5.1

Reviewed-on: vikunja/api#274
2020-04-08 20:30:48 +00:00
renovate 6d1b123a25 Update module spf13/cobra to v0.0.7 (#271)
continuous-integration/drone/push Build is passing Details
Update module spf13/cobra to v0.0.7

Reviewed-on: vikunja/api#271
2020-04-08 19:44:10 +00:00
renovate 13ebb98644 Update module spf13/viper to v1.6.2 (#272)
continuous-integration/drone/push Build is passing Details
Update module spf13/viper to v1.6.2

Reviewed-on: vikunja/api#272
2020-04-08 18:43:35 +00:00
renovate dda558fe1c Update module prometheus/client_golang to v0.9.4 (#245)
continuous-integration/drone/push Build is passing Details
Update module prometheus/client_golang to v0.9.4

Reviewed-on: vikunja/api#245
2020-04-07 20:42:06 +00:00
renovate 76f19db6e7 Update module labstack/echo/v4 to v4.1.16 (#241)
continuous-integration/drone/push Build is passing Details
Update module labstack/echo/v4 to v4.1.16

Reviewed-on: vikunja/api#241
2020-04-07 18:59:53 +00:00
renovate f776b799b8 Update module olekukonko/tablewriter to v0.0.4 (#240)
continuous-integration/drone/push Build is passing Details
Update module olekukonko/tablewriter to v0.0.4

Reviewed-on: vikunja/api#240
2020-04-07 16:58:27 +00:00
renovate 746a443660 Update module imdario/mergo to v0.3.9 (#238)
continuous-integration/drone/push Build is passing Details
Update module imdario/mergo to v0.3.9

Reviewed-on: vikunja/api#238
2020-04-07 16:05:10 +00:00
renovate 026d3dc80d Update module go-redis/redis to v6.15.7 (#234)
continuous-integration/drone/push Build is passing Details
Update module go-redis/redis to v6.15.7

Reviewed-on: vikunja/api#234
2020-04-07 12:31:33 +00:00
renovate fd7dd47d5e Update github.com/gordonklaus/ineffassign commit hash to 7953dde (#233)
continuous-integration/drone/push Build is passing Details
Update github.com/gordonklaus/ineffassign commit hash to 7953dde

Reviewed-on: vikunja/api#233
2020-04-07 12:30:57 +00:00
renovate 1e5a1b4892 Update github.com/shurcooL/httpfs commit hash to 8d4bc4b (#229)
continuous-integration/drone/push Build is passing Details
Update github.com/shurcooL/httpfs commit hash to 8d4bc4b

Reviewed-on: vikunja/api#229
2020-04-07 08:39:00 +00:00
renovate c7f6748761 Update github.com/jgautheron/goconst commit hash to cda7ea3 (#228)
continuous-integration/drone/push Build is passing Details
Update github.com/jgautheron/goconst commit hash to cda7ea3

Reviewed-on: vikunja/api#228
2020-04-07 08:38:00 +00:00
renovate 7efa0069cb Update golang.org/x/crypto commit hash to 056763e (#222)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/crypto commit hash to 056763e

Update golang.org/x/lint commit hash to 738671d (#223)

Update golang.org/x/lint commit hash to 738671d

Reviewed-on: vikunja/api#223

Update src.techknowlogick.com/xgo commit hash to c43d4c4 (#224)

Update src.techknowlogick.com/xgo commit hash to c43d4c4

Reviewed-on: vikunja/api#224

Reviewed-on: vikunja/api#222
2020-04-07 08:37:20 +00:00
renovate 424cf80e5c Update golang.org/x/lint commit hash to 738671d (#223)
continuous-integration/drone/push Build is passing Details
Update golang.org/x/lint commit hash to 738671d

Reviewed-on: vikunja/api#223
2020-04-07 07:29:05 +00:00
renovate 1448d9de98 Update src.techknowlogick.com/xgo commit hash to c43d4c4 (#224)
continuous-integration/drone/push Build is passing Details
Update src.techknowlogick.com/xgo commit hash to c43d4c4

Reviewed-on: vikunja/api#224
2020-04-07 07:28:48 +00:00
renovate cbf01e118a Update github.com/c2h5oh/datasize commit hash to 28bbd47 (#212)
continuous-integration/drone/push Build is passing Details
Update github.com/c2h5oh/datasize commit hash to 28bbd47

Reviewed-on: vikunja/api#212
2020-04-06 20:28:57 +00:00
konrad 4472020ee9 Add workaround for timezones on windows (#151)
continuous-integration/drone/push Build is passing Details
Add workaround for timezones on windows

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#151
2020-03-09 22:41:08 +00:00
jtojnar ce5be947b4 Add postgres support (#135)
continuous-integration/drone/push Build is passing Details
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: vikunja/api#135
2020-02-16 21:42:04 +00:00
konrad caf91d1904 Update xorm to use the new import path (#133)
continuous-integration/drone/push Build is passing Details
Fix ineffassign

Fix getting all labels including the ones not associated to a task

Signed-off-by: kolaente <k@knt.li>

Fix logging sql queries

Signed-off-by: kolaente <k@knt.li>

Start fixing getting all labels

Update xormigrate

Update xorm to use the new import path

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#133
2020-02-14 16:34:25 +00:00
kolaente 1c3b35fa6f
Add more logging to web handler methods
continuous-integration/drone/push Build is passing Details
2020-02-08 22:45:38 +01:00
konrad a464d1760c Add logging for invalid model errors (#126)
continuous-integration/drone/push Build was killed Details
Add logging for invalid model errors

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#126
2020-01-26 19:40:23 +00:00
konrad 402cef3c15 Add option to disable registration (#117)
continuous-integration/drone/push Build is passing Details
2019-12-30 23:27:02 +00:00
konrad d8399e374c Sort Order for tasks (#110)
continuous-integration/drone/push Build is passing Details
2019-12-07 14:30:51 +00:00
konrad 7e4deab8f7 Task collection improvements (#109)
continuous-integration/drone/push Build is passing Details
2019-12-01 13:38:11 +00:00
konrad 8948a5f219 Improve pagination (#105)
continuous-integration/drone/push Build is passing Details
2019-10-23 21:11:40 +00:00
kolaente b81cd6128a
Fixed error when setting max file size on 32-Bit systems
continuous-integration/drone/push Build is failing Details
2019-10-18 17:30:25 +02:00
konrad 2169464983 Task Attachments (#104)
continuous-integration/drone/push Build is failing Details
2019-10-16 20:52:29 +00:00
konrad 4327a559e5 feature/rate-limit (#91)
continuous-integration/drone/push Build is passing Details
2019-07-21 21:27:30 +00:00
konrad 50ca8bd28e Statically compile templates in the final binary (#84)
continuous-integration/drone/push Build is failing Details
2019-07-11 19:10:42 +00:00
kolaente f1d21ea52b
Use the auth methods to get IDs to avoid unneeded casts
continuous-integration/drone/push Build is passing Details
2019-06-28 10:21:48 +02:00
kolaente fc3c5f2187
Updated the web handler with updated param binder
continuous-integration/drone/push Build is passing Details
2019-06-28 09:13:17 +02:00
kolaente 5d3b6573ca
Updated echo to use the latest version
continuous-integration/drone/push Build is failing Details
2019-06-28 09:01:50 +02:00
konrad 16825ba7c6 Update echo (#82)
continuous-integration/drone/push Build is failing Details
2019-06-22 21:51:58 +00:00
konrad 24ce940885 Put reminders in an extra table (#75)
continuous-integration/drone/push Build is passing Details
2019-05-25 07:33:57 +00:00
kolaente 6b348fad04
Used one branch for both fixes in caldav-go
continuous-integration/drone/push Build is passing Details
2019-05-24 20:01:59 +02:00