Commit Graph

190 Commits

Author SHA1 Message Date
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