Commit Graph

897 Commits

Author SHA1 Message Date
fa28ddc2f7
Fix pagination count for task collection
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-27 19:28:19 +02:00
56dbb564ea
Fix link share creation & creating admin link shares without admin rights
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-27 12:51:09 +02:00
711124f5c0 Update module go-testfixtures/testfixtures/v3 to v3.1.2 (#457)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-testfixtures/testfixtures/v3 to v3.1.2

Reviewed-on: vikunja/api#457
2020-04-27 09:10:08 +00:00
5606f987fa
Add creating a new first bucket when creating a new list
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-26 15:51:59 +02:00
f0cb3b5e36
Fix removing the last bucket
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-26 00:57:47 +02:00
231dc3913f Add real buckets for tasks which don't have one (#446)
All checks were successful
continuous-integration/drone/push Build is passing
Add docs for error code

Add moving new tasks into the default bucket when none was provided

Add moving tasks in default bucket when deleting one

Fix tests again

Add test for removing a bucket

Fix tests

Prevent removing the last bucket

Remove the empty pseudo bucket

Add migration to create a new bucket for each list (and put all tasks in it

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#446
2020-04-25 20:32:02 +00:00
2b1fc441e6 Update golang.org/x/crypto commit hash to 4bdfaf4 (#438)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 4bdfaf4

Reviewed-on: vikunja/api#438
2020-04-24 15:23:22 +00:00
e433289832 Task Position (#412)
All checks were successful
continuous-integration/drone/push Build is passing
Fix misspell

Fix sorting tasks with null values

Fix sorting by priority for postgres

Merge branch 'master' into feature/position

Add community link

Update golang.org/x/crypto commit hash to 44a6062 (#429)

Update golang.org/x/crypto commit hash to 44a6062

Reviewed-on: vikunja/api#429

Update module lib/pq to v1.4.0 (#428)

Update module lib/pq to v1.4.0

Reviewed-on: vikunja/api#428

Fix updating position

Add ordering tasks in buckets by position

Make task sort by string

Merge branch 'master' into feature/position

Update golang.org/x/crypto commit hash to 3c4aac8 (#419)

Update golang.org/x/crypto commit hash to 3c4aac8

Reviewed-on: vikunja/api#419

Merge branch 'master' into feature/position

Fix moving tasks back into the empty (ID: 0) bucket

Add adding a default position when creating new tasks

Update golang.org/x/crypto commit hash to a76a400 (#411)

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

Reviewed-on: vikunja/api#411

Remove unused code

Fix tests

Add migration for position attribute

Add position attribute

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: renovate <renovatebot@kolaente.de>
Reviewed-on: vikunja/api#412
2020-04-24 15:23:03 +00:00
86bdd1e386
Add community link
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-24 13:00:29 +02:00
4f1c0d99ea Update golang.org/x/crypto commit hash to 44a6062 (#429)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 44a6062

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

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

Reviewed-on: vikunja/api#419
2020-04-21 07:41:16 +00:00
68ab6d2e75
Fix moving tasks back into the empty (ID: 0) bucket
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-20 23:08:38 +02:00
c69f0bf3cb Update golang.org/x/crypto commit hash to a76a400 (#411)
Some checks failed
continuous-integration/drone/push Build is failing
Update golang.org/x/crypto commit hash to a76a400

Reviewed-on: vikunja/api#411
2020-04-20 20:58:32 +00:00
59037e4eee
Fix moving tasks in buckets
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-20 18:08:20 +02:00
1bd8348be7
Add categories to error docs
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-19 14:33:51 +02:00
ecdecdd94e Kanban (#393)
All checks were successful
continuous-integration/drone/push Build is passing
Fix tests

Add error docs

Add swagger docs for bucket endpoints

Add integration tests

Fix tests

Fix err shadow

Make sure a bucket and a task belong to the same list when adding or updating a task

Add tests

Add getting users of a bucket

Fix log level when testing

Fix lint

Add migration for buckets

Cleanup/Comments/Reorganization

Add Kanban bucket handling

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#393
2020-04-19 07:27:28 +00:00
28ec44c91f Add moving tasks between lists (#389)
All checks were successful
continuous-integration/drone/push Build is passing
Fix misspell

Add moving tasks between lists

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#389
2020-04-18 12:35:37 +00:00
895d9613b5
Add endpoint to disable totp auth
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-18 01:38:49 +02:00
87d0c9088d
Add endpoint to get the current users totp status
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-18 00:22:59 +02:00
24904585a2 Add 2fa for authentification (#383)
All checks were successful
continuous-integration/drone/push Build is passing
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
1dca8e96a7
Add changing email for users
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-17 16:01:45 +02:00
e1ab2095fa
Update docs theme
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 23:31:36 +02:00
12e18de8ad Update golang.org/x/crypto commit hash to 0848c95 (#371)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 0848c95

Reviewed-on: vikunja/api#371
2020-04-15 06:48:46 +00:00
025b00247d
Fix replace statements for tail
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-14 21:37:00 +02:00
5832991c4d
Fix tests after renaming json fields to snake_case
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 23:27:55 +02:00
81990f3f80
Update xorm redis cacher to use the xorm logger instead of a special seperate one
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 23:18:33 +02:00
368cbdf979
Fix gosec in drone
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 23:04:59 +02:00
b8d7c97eb7
Add gosec static analysis
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 22:30:09 +02:00
fb8ac92abf
Change all json fields to snake_case
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-12 22:48:46 +02:00
0bfb3a4709
Add configuration options for log level
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-12 22:32:21 +02:00
9559a68416
Update module prometheus/client_golang to v1
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-12 22:06:24 +02:00
d28f005552 Update xorm to v1 (#323)
Some checks failed
continuous-integration/drone/push Build is failing
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
713560702b Update module go-redis/redis to v7 (#309)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-redis/redis to v7

Reviewed-on: vikunja/api#309
2020-04-11 21:43:04 +00:00
0ba121fdfb Task filters (#243)
All checks were successful
continuous-integration/drone/push Build is passing
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
0e2449482f
Fix dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-09 23:06:57 +02:00
8d1a3f4fd7 Update module spf13/viper to v1.6.3 (#291)
Some checks failed
continuous-integration/drone/push Build is failing
Update module spf13/viper to v1.6.3

Reviewed-on: vikunja/api#291
2020-04-09 20:29:11 +00:00
1e0f2dde6a Update module go-redis/redis to v6.15.7 (#290)
Some checks reported errors
continuous-integration/drone/push Build was killed
Update module go-redis/redis to v6.15.7

Reviewed-on: vikunja/api#290
2020-04-09 20:28:58 +00:00
7abac07837 Update src.techknowlogick.com/xgo commit hash to bb0faa3 (#279)
All checks were successful
continuous-integration/drone/push Build is passing
Update src.techknowlogick.com/xgo commit hash to bb0faa3

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

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

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

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

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

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

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

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

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

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

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

Reviewed-on: vikunja/api#229
2020-04-07 08:39:00 +00:00