Commit Graph

931 Commits

Author SHA1 Message Date
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
0fb2edf051 Saved filters (#655)
All checks were successful
continuous-integration/drone/push Build is passing
Fix updating saved filters

Fix filter not loadable because of missing param declaration

Add fancy special cases for postgres exists in db

Add special case for postgrs json

Add read one test

Add rights tests

Fix lint

Fixed getting a single saved filter from db

Add tests for the usual crud methods

Add test stubs and TODOs

Add test for converting saved filter ids to list ids and vice versa

Add test fixture for saved filters and fix existing tests

Fix exposed json variables of filters

Fix creating saved filters table for tests

Add getting saved filters as pseudo namespace

Cleanup

Refactor getting all namespaces to use a map for easier handling of pseudo namespaces

Add custom erros for saved filters

Swagger docs

Fix lint

Add routes for saved filters

Add alias for mage build

Add method to get a saved filter from the lists endpoint

Add getting tasks from a saved filter

Add create, update, delete, read one methods

Add rights methods for saved filters

Fix docs minLength

Add saved filters column

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#655
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-09-26 21:02:17 +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
7e6e44e787
Replace renovate tokens with env
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-22 22:25:23 +02:00
9e7ca8df51
Update renovate token
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-22 21:42:40 +02:00
6bdddd462a Favorite lists (#654)
All checks were successful
continuous-integration/drone/push Build is passing
Add tests

Remove the favorites pseudo namespace if there are no lists or tasks favorited

Regenerate swagger docs

Fix favorite lists not being updated because of nonexisting users (the favorite list does not have one)

Make the pseudo favorites list always favorited

Add favorited lists to the favorites pseudo namespace

Add favorite field to list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#654
2020-09-06 14:20:16 +00:00
e5559137dd Favorite tasks (#653)
All checks were successful
continuous-integration/drone/push Build is passing
Fixed namespace tests

Add test for favorite tasks

Fix favorite tasks not being updated

Fix integration tests

Fix lint

Return a pseudo namespace and list for favorites

Make sure users can only see their favorites

Add condition show tasks from the favorites list

Regenerate swagger docs

Add favorite field to task

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#653
2020-09-05 20:16:02 +00:00
ecf09e17a8
Only check if a bucket limit is exceeded when moving a task between buckets
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-04 22:01:33 +02:00
14d706c91e Kanban bucket limits (#652)
All checks were successful
continuous-integration/drone/push Build is passing
Fix integration tests

Generate swagger docs

Add test for moving a task between buckets

Add check for bucket limit when updating a task

Add fixture to ensure a bucket with a high limit will never exceed the limit

Refactor bucket limit check into seperate function

Add test for creating and fix

Fix unexported field

Add error in case a task was added to a bucket which has its limit already exceeded

Add migration to add new task field

Add limit field to buckets

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#652
2020-09-04 14:37:56 +00:00
5317a89623
Make sure to copy the permissions as well when moving files
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-04 14:00:54 +02:00
e9b1786188
Regenerate swagger docs
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-09-04 13:15:46 +02:00
313289d28d
Add rootpath to deb command to not include everything in the deb file
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-04 10:42:32 +02:00
05e237560d
Add mage command to create a new migration
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-04 10:15:33 +02:00
e4dd314079
Add caldav enabled/disabled to /info endpoint
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-04 09:58:42 +02:00
118c7f25b5
Fix release commands in drone
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-03 22:46:41 +02:00
b64a80da0b
Make sure built binary files are executable when compressing with upx 2020-09-03 22:45:04 +02:00
bb26c9d97c
Make sure to only initialize all variables when needed
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 22:14:30 +02:00
edf3854632
Add github sponsor link
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 21:59:17 +02:00
19a66450ec
Fix building for darwin with mage
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 21:22:41 +02:00
3a839dfb86
Add util function to move files
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 20:42:26 +02:00
78b261e440
Skip directories when moving build release artefacts in drone
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 18:08:57 +02:00
471d1b0ec5
Fix dockerimage build
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-09-03 18:08:26 +02:00
58dfbe13ed
Add FreeBSD guide to installation docs
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:44:44 +02:00
1a4eef1056
Add toc to docs
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:34:44 +02:00
8da7db3e26
Cleanup references to make
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:18:41 +02: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
d88551e99d
Add dav proxy directions to example proxy configurations
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-20 14:08:35 +02: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
fa718e2576
Fix token renew for link shares
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-18 16:55:44 +02:00
c517a87b85
Don't add a subtask to the top level of tasks to not add it twice in the list
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:30:24 +02:00
28fd0e91ee
Mention client_max_body_size in nginx proxy settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:15:48 +02: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
dedce20780
"Fix" gocyclo
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-16 23:48:34 +02:00
a58b932743
Work around tasks with attachments not being duplicated
Some checks failed
continuous-integration/drone/push Build is failing
2020-08-16 23:44:16 +02:00