Commit Graph

390 Commits

Author SHA1 Message Date
7b7ccddf51 Update golang.org/x/crypto commit hash to 0c34fe9 (#822)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#822
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-23 19:28:10 +00:00
9d0dcb8d7d Update module spf13/afero to v1.6.0 (#820)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#820
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-21 10:53:41 +00:00
fc4eb8ceb9 Update module prometheus/client_golang to v1.10.0 (#819)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#819
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-18 18:25:48 +00:00
87f7cbfa73 Update golang.org/x/term commit hash to de623e6 (#818)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#818
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-17 21:11:45 +00:00
f8683796e8 Update golang.org/x/crypto commit hash to 513c2a4 (#817)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#817
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-17 21:11:29 +00:00
5e048feedf Update golang.org/x/crypto commit hash to e6e6c4f (#816)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#816
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-15 21:17:14 +00:00
156e50f371 Update golang.org/x/oauth2 commit hash to cd4f82c (#815)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#815
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-14 12:49:05 +00:00
cf2cfde4fc Update module src.techknowlogick.com/xgo to v1.4.0+1.16.2 (#814)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#814
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-12 09:22:48 +00:00
f78bb613e4 Update golang.org/x/oauth2 commit hash to 5366d9d (#813)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#813
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-11 17:19:53 +00:00
3a7678bfb9 Update module gabriel-vasile/mimetype to v1.2.0 (#812)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#812
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-11 14:45:51 +00:00
89d0fbcc7c Update module imdario/mergo to v0.3.12 (#811)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#811
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-10 10:01:42 +00:00
77e9a58a52 Update module labstack/echo/v4 to v4.2.1 (#810)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#810
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-09 12:12:37 +00:00
81665168bc Update module lib/pq to v1.10.0 (#809)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#809
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-03-09 09:49:47 +00:00
c71a1fea82 Update module jgautheron/goconst to v1 (#804)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#804
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-27 14:52:00 +00:00
729cb3de38 Update github.com/gordonklaus/ineffassign commit hash to 2e10b26 (#803)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#803
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-25 22:24:22 +00:00
509f23c550
Fix build
All checks were successful
continuous-integration/drone/push Build is passing
go mod tidy did the trick.
2021-02-20 18:47:02 +01:00
a22dd094c2 Update golang.org/x/image commit hash to ac19c3e (#798)
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: vikunja/api#798
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 17:36:03 +00:00
b6accd7c67 Update golang.org/x/crypto commit hash to 5ea612d (#797)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#797
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 16:56:37 +00:00
393a3bc37a Update golang.org/x/sync commit hash to 036812b (#799)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#799
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 15:28:21 +00:00
b98ac9f551 Update golang.org/x/term commit hash to 6a3ed07 (#800)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#800
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 14:36:49 +00:00
8ab5289c3d Update golang.org/x/oauth2 commit hash to 9bb9049 (#796)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#796
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 07:35:37 +00:00
32cf66e9d5 Update module go-redis/redis/v8 to v8.6.0 (#795)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#795
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-20 07:34:44 +00:00
3afedc25f0 Update golang.org/x/oauth2 commit hash to ba52d33 (#794)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#794
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-18 21:36:56 +00:00
4fc7d1f64f Update golang.org/x/crypto commit hash to b8e89b7 (#793)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#793
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-18 20:58:49 +00:00
0c5c54a267 Update module getsentry/sentry-go to v0.10.0 (#792)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#792
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-18 20:58:27 +00:00
8b2b996e7a Update module src.techknowlogick.com/xgo to v1.3.0+1.16.0 (#791)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#791
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-18 06:42:25 +00:00
2f1a3fea88 Update golang.org/x/oauth2 commit hash to 16ff188 (#789)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#789
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-16 21:06:45 +00:00
d9a57e7ef4 Update golang.org/x/image commit hash to 4410531 (#788)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#788
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-16 06:54:08 +00:00
ddcf7624bd Update golang.org/x/image commit hash to 55ae14f (#787)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#787
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-15 07:27:20 +00:00
618b464ca3 Update module labstack/echo/v4 to v4.2.0 (#785)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#785
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-13 22:46:03 +00:00
448ac314b6 Update module spf13/cobra to v1.1.3 (#784)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#784
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-13 22:43:14 +00:00
d6c6fcadc5 Update golang.org/x/oauth2 commit hash to 6667018 (#783)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#783
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-13 22:39:28 +00:00
5d698f2ff8 Update module olekukonko/tablewriter to v0.0.5 (#782)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#782
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-10 17:47:21 +00:00
7bb3f4c847 Update module spf13/cobra to v1.1.2 (#781)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#781
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-10 06:38:34 +00:00
8cfa2aa480 Update github.com/gordonklaus/ineffassign commit hash to d0e41b2 (#780)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#780
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-09 19:27:41 +00:00
015ca310e9 Add notifications package for easy sending of notifications (#779)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#779
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-07 21:05:09 +00:00
55f9106c9e Update module go-redis/redis/v8 to v8.5.0 (#778)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#778
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-04 18:42:39 +00:00
0ab9ce9ec4 Add events (#777)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#777
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-02 22:48:37 +00:00
34ef1438d8 Update golang.org/x/oauth2 commit hash to 0101308 (#776)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#776
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-02-01 19:29:22 +00:00
fe72f30b24 Update golang.org/x/oauth2 commit hash to f9ce19e (#775)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#775
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-28 14:39:28 +00:00
ef0035d4bd Update module go-redis/redis/v8 to v8.4.11 (#774)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#774
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-26 19:14:03 +00:00
db77de3ae6 Update golang.org/x/oauth2 commit hash to af13f52 (#773)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#773
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-25 22:07:04 +00:00
1c98fecbd9 Update module go-redis/redis/v8 to v8.4.10 (#771)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#771
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-22 08:23:08 +00:00
aadfb8d8f2 Update module go-redis/redis/v8 to v8.4.9 (#770)
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: vikunja/api#770
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-20 20:29:36 +00:00
e9263f92d5 Update module iancoleman/strcase to v0.1.3 (#766)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#766
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-15 06:48:43 +00:00
044a1a9161 Update golang.org/x/oauth2 commit hash to d3ed898 (#765)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#765
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-13 21:25:20 +00:00
10ba7b5b65 Update golang.org/x/oauth2 commit hash to 8b1d76f (#764)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#764
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-13 17:11:55 +00:00
e9a340026d Update module stretchr/testify to v1.7.0 (#763)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#763
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-13 10:22:09 +00:00
64441701fd Update golang.org/x/oauth2 commit hash to 01de73c (#762)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#762
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-12 21:15:21 +00:00
df79173b22 Update module go-testfixtures/testfixtures/v3 to v3.5.0 (#761)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#761
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-11 22:14:13 +00:00
4e137ed72d Update module coreos/go-oidc to v3 (#760)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#760
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-11 22:13:58 +00:00
a840880692 Update module go-redis/redis/v8 to v8.4.8 (#759)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#759
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-10 09:39:21 +00:00
4bb6842fb3 Update module go-redis/redis/v8 to v8.4.7 (#758)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#758
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-09 16:17:01 +00:00
f0af97e411 Update module go-redis/redis/v8 to v8.4.6 (#756)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#756
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-01-09 11:11:07 +00:00
ea5dd87b12 Update github.com/gordonklaus/ineffassign commit hash to 8eed68e (#755)
All checks were successful
continuous-integration/drone/push Build is passing
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
c842b70cb5 Update module magefile/mage to v1.11.0 (#754)
All checks were successful
continuous-integration/drone/push Build is passing
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
8c97f45cb7 Update module mattn/go-sqlite3 to v1.14.6 (#751)
All checks were successful
continuous-integration/drone/push Build is passing
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
b8312469d7 Update module cweill/gotests to v1.6.0 (#752)
All checks were successful
continuous-integration/drone/push Build is passing
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
8d1a09b5a2 Use db sessions everywere (#750)
Some checks failed
continuous-integration/drone/push Build is failing
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
111efd5fae Update golang.org/x/crypto commit hash to eec23a3 (#749)
All checks were successful
continuous-integration/drone/push Build is passing
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
b2e4fde63a Add email reminders (#743)
All checks were successful
continuous-integration/drone/push Build is passing
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
7dc2abb8e5
Make the debian repo structure for buster instead of strech
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-18 23:33:23 +01:00
8a6f8922f8 Update module go-redis/redis/v8 to v8.4.4 (#742)
All checks were successful
continuous-integration/drone/push Build is passing
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
f15a8baee3 Update module ulule/limiter/v3 to v3.8.0 (#699)
All checks were successful
continuous-integration/drone/push Build is passing
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
f5b5204776 Add Microsoft Todo migration (#737)
All checks were successful
continuous-integration/drone/push Build is passing
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
25deb24849 Update module prometheus/client_golang to v1.9.0 (#735)
All checks were successful
continuous-integration/drone/push Build is passing
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
d91c2e10b0 Update golang.org/x/crypto commit hash to 9d13527 (#736)
All checks were successful
continuous-integration/drone/push Build is passing
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
9f3d898150 Add trello migration (#734)
All checks were successful
continuous-integration/drone/push Build is passing
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
a7c585e086 Update golang.org/x/crypto commit hash to 8b5274c (#733)
Some checks failed
continuous-integration/drone/push Build is failing
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
1e020c9c50 Update golang.org/x/crypto commit hash to 5f87f34 (#729)
All checks were successful
continuous-integration/drone/push Build is passing
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
d1e7d5116a Update golang.org/x/term commit hash to 2321bbc (#731)
All checks were successful
continuous-integration/drone/push Build is passing
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
da064e9429 Update golang.org/x/lint commit hash to 83fdc39 (#728)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
67faa26cbc Update golang.org/x/image commit hash to 35266b9 (#727)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
b0b6d5926b Update golang.org/x/term commit hash to ee85cb9 (#726)
All checks were successful
continuous-integration/drone/push Build is passing
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
22b626c9e0 Update golang.org/x/sync commit hash to 09787c9 (#725)
Some checks failed
continuous-integration/drone/push Build is failing
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
eeb0006531 Update golang.org/x/oauth2 commit hash to 08078c5 (#722)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
9db56f86ca Update module spf13/afero to v1.5.1 (#730)
All checks were successful
continuous-integration/drone/push Build is passing
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
c71265aafe Update module spf13/afero to v1.5.0 (#724)
All checks were successful
continuous-integration/drone/push Build is passing
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
24c8792150 Update module getsentry/sentry-go to v0.9.0 (#723)
Some checks failed
continuous-integration/drone/push Build is failing
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
2f69c6342a Update module src.techknowlogick.com/xgo to v1.2.0+1.15.6 (#720)
All checks were successful
continuous-integration/drone/push Build is passing
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
c99ed212da Update module swaggo/swag to v1.7.0 (#721)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
c8af41738c Update golang.org/x/crypto commit hash to be400ae (#719)
All checks were successful
continuous-integration/drone/push Build is passing
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
f3801843a4 Update golang.org/x/oauth2 commit hash to 0b49973 (#718)
All checks were successful
continuous-integration/drone/push Build is passing
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
08430f1951 Update golang.org/x/crypto commit hash to c8d3bf9 (#710)
All checks were successful
continuous-integration/drone/push Build is passing
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
80ce8f80ba Update module lib/pq to v1.9.0 (#717)
All checks were successful
continuous-integration/drone/push Build is passing
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
87048818ce Update golang.org/x/oauth2 commit hash to 9fd6049 (#714)
Some checks failed
continuous-integration/drone/push Build is failing
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
2b5c9ae7a8 Authentication with OpenID Connect providers (#713)
All checks were successful
continuous-integration/drone/push Build is passing
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
23e84f3fa4 Update github.com/jgautheron/goconst commit hash to ccae5bf (#712)
All checks were successful
continuous-integration/drone/push Build is passing
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
70a076c4fe Update module mattn/go-sqlite3 to v1.14.5 (#711)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
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
58c3b1616f Update module getsentry/sentry-go to v0.8.0 (#709)
All checks were successful
continuous-integration/drone/push Build is passing
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
24d27a93c8 Update module gabriel-vasile/mimetype to v1.1.2 (#708)
All checks were successful
continuous-integration/drone/push Build is passing
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
27aa8662c0 Update golang.org/x/crypto commit hash to 0c6587e (#706)
All checks were successful
continuous-integration/drone/push Build is passing
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
479f9238ff Update module pquerna/otp to v1.3.0 (#705)
All checks were successful
continuous-integration/drone/push Build is passing
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
2b84be5167 Update github.com/jgautheron/goconst commit hash to f8e4fe8 (#703)
All checks were successful
continuous-integration/drone/push Build is passing
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
5d45af707b Update github.com/jgautheron/goconst commit hash to b58d7cf (#702)
All checks were successful
continuous-integration/drone/push Build is passing
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
e9a8d8c157 Update github.com/gordonklaus/ineffassign commit hash to 3b93a88 (#701)
All checks were successful
continuous-integration/drone/push Build is passing
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
1cc49806e0 Update module src.techknowlogick.com/xormigrate to v1.4.0 (#700)
All checks were successful
continuous-integration/drone/push Build is passing
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
760278fde6 Update module fzipp/gocyclo to v0.3.1 (#696)
All checks were successful
continuous-integration/drone/push Build is passing
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
6270bb3e77 Update golang.org/x/sync commit hash to 67f06af (#695)
Some checks failed
continuous-integration/drone/push Build is failing
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
2c2701c054 Update module swaggo/swag to v1.6.9 (#694)
All checks were successful
continuous-integration/drone/push Build is passing
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
688ca65edf Update module go-testfixtures/testfixtures/v3 to v3.4.1 (#693)
All checks were successful
continuous-integration/drone/push Build is passing
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
47486af06d Update module spf13/cobra to v1.1.1 (#690)
Some checks failed
continuous-integration/drone/push Build is failing
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
618353bf95 Use nfpm to build deb, rpm and apk packages (#689)
Some checks failed
continuous-integration/drone/push Build is failing
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
7fe9e6d3f6 Update module swaggo/swag to v1.6.8 (#680)
All checks were successful
continuous-integration/drone/push Build is passing
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
cbba0695a8 Update module fzipp/gocyclo to v0.3.0 (#687)
All checks were successful
continuous-integration/drone/push Build is passing
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
921526e086 Update golang.org/x/crypto commit hash to 9e8e0b3 (#685)
All checks were successful
continuous-integration/drone/push Build is passing
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
e9d6daa1a3 Update module fzipp/gocyclo to v0.2.0 (#686)
Some checks failed
continuous-integration/drone/push Build is failing
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
8b001313f4 Update golang.org/x/crypto commit hash to 84dcc77 (#678)
Some checks failed
continuous-integration/drone/push Build is failing
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
e0c8eca669 Update module prometheus/client_golang to v1.8.0 (#681)
All checks were successful
continuous-integration/drone/push Build is passing
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
c629130b3b Update module spf13/cobra to v1.1.0 (#679)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
158e07e581 Update module go-errors/errors to v1.1.1 (#677)
All checks were successful
continuous-integration/drone/push Build is passing
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
0769098357 Update golang.org/x/sync commit hash to b3e1573 (#675)
All checks were successful
continuous-integration/drone/push Build is passing
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
71094d981f Update module spf13/afero to v1.4.1 (#673)
All checks were successful
continuous-integration/drone/push Build is passing
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
32d97f1451 Update golang.org/x/crypto commit hash to 7f63de1 (#672)
All checks were successful
continuous-integration/drone/push Build is passing
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
bf9d1c634a Update module mattn/go-sqlite3 to v1.14.4 (#670)
Some checks failed
continuous-integration/drone/push Build is failing
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
ebd96d7766 Update golang.org/x/crypto commit hash to c90954c (#671)
Some checks failed
continuous-integration/drone/push Build is failing
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
089d156259 Update golang.org/x/crypto commit hash to eb9a90e (#669)
All checks were successful
continuous-integration/drone/push Build is passing
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
dd589022e4 Update golang.org/x/crypto commit hash to afb6bcd (#668)
Some checks reported errors
continuous-integration/drone/push Build was killed
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
b850f65295 Update golang.org/x/sync commit hash to 3042136 (#667)
Some checks failed
continuous-integration/drone/push Build is failing
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
dd5d64da3e Update golang.org/x/image commit hash to e162460 (#665)
All checks were successful
continuous-integration/drone/push Build is passing
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
f8c135f22e Update golang.org/x/image commit hash to a67d67e (#664)
All checks were successful
continuous-integration/drone/push Build is passing
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
a6fdf114d1 Update golang.org/x/image commit hash to 4578eab (#663)
All checks were successful
continuous-integration/drone/push Build is passing
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
ca1b33d24d Update github.com/asaskevich/govalidator commit hash to 7a23bdc (#657)
All checks were successful
continuous-integration/drone/push Build is passing
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
c98b9bbee6 Update golang.org/x/image commit hash to e59bae6 (#659)
All checks were successful
continuous-integration/drone/push Build is passing
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
19a0a85c73 Update github.com/jgautheron/goconst commit hash to 8f5268c (#658)
All checks were successful
continuous-integration/drone/push Build is passing
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
77122b8f1b Update module iancoleman/strcase to v0.1.2 (#660)
All checks were successful
continuous-integration/drone/push Build is passing
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
436af467d6 Update module mattn/go-sqlite3 to v1.14.3 (#661)
All checks were successful
continuous-integration/drone/push Build is passing
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
04130e4ea3 Update module spf13/afero to v1.4.0 (#662)
All checks were successful
continuous-integration/drone/push Build is passing
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
d359130bcf Switch to mage (#651)
Some checks failed
continuous-integration/drone/push Build is failing
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
05099e1784 Update module spf13/afero to v1.3.5 (#650)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.5

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

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

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

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

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

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

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

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

Reviewed-on: vikunja/api#639
2020-08-20 12:10:36 +00:00
ebd71d1f04 Update module iancoleman/strcase to v0.1.0 (#636)
All checks were successful
continuous-integration/drone/push Build is passing
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
a61ab0c5cf Update github.com/asaskevich/govalidator commit hash to 50839af (#637)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/asaskevich/govalidator commit hash to 50839af

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

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

Reviewed-on: vikunja/api#631
2020-08-13 08:38:01 +00:00
4a70c81b33
Make sure to require admin rights when modifying list/namespace users to be consistent with teams
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-12 18:20:47 +02:00
5e84ce639f Update module src.techknowlogick.com/xgo to v1.1.0+1.15.0 (#630)
All checks were successful
continuous-integration/drone/push Build is passing
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
6c45388da9 Update module imdario/mergo to v0.3.11 (#629)
All checks were successful
continuous-integration/drone/push Build is passing
Update module imdario/mergo to v0.3.11

Reviewed-on: vikunja/api#629
2020-08-11 20:12:50 +00:00
bd8c1c3bb7 Return rights when reading a single item (#626)
All checks were successful
continuous-integration/drone/push Build is passing
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
28b8cabea5 Update module spf13/afero to v1.3.4 (#628)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.4

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

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

Reviewed-on: vikunja/api#625
2020-08-09 09:18:55 +00:00
dfb7730b63 More avatar providers (#622)
All checks were successful
continuous-integration/drone/push Build is passing
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