Commit Graph

58 Commits

Author SHA1 Message Date
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
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
584e3af237 Add proxying gravatar requests for user avatars (#148)
All checks were successful
continuous-integration/drone/push Build is passing
Fix getting avatar based on email

Remove avatarUrl from user struct

Fix staticcheck

Add default avatar size

Add config option for caching avatars

go mod vendor

Add swagger docs

Add proxying gravatar requests for user avatars

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#148
2020-03-01 20:30:37 +00:00
1f039c4cda Task Comments (#138)
All checks were successful
continuous-integration/drone/push Build is passing
Add swagger docs

Add integration tests

Add tests

Add task comment test fixtures

Add config option to enable/disable task comments

Add custom error if a task comment does not exist

Fix lint

Add getting author when getting a single comment

Fix getting comments/comments author

Add rights check to ReadAll

+ actually get the comment author

Add migration and table definitions

Add routes

Add ReadOne method

Add basic crud rights

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

Implement basic crudable functions for task comments

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

Start adding task comments

Signed-off-by: kolaente <k@knt.li>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#138
2020-02-19 21:57:56 +00:00
1f99238019
Update copyright header
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 17:27:45 +01:00
2abb858859 Add rate limit by ip for non-authenticated routes (#127)
All checks were successful
continuous-integration/drone/push Build is passing
Add rate limit by ip for non-authenticated routes

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

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#127
2020-01-26 19:53:47 +00:00
fc65052ba0 Add config options for task attachments (#125)
Some checks reported errors
continuous-integration/drone/push Build was killed
Add config options for task attachments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#125
2020-01-26 19:10:31 +00:00
b2b1546a8f Add config options for cors handling (#124)
Some checks reported errors
continuous-integration/drone/push Build was killed
Add config options for cors handling

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#124
2020-01-26 19:09:54 +00:00
7e9446ea07 Refactor User and DB handling (#123)
All checks were successful
continuous-integration/drone/push Build is passing
fix copyright date

Add more user tests

More user tests

More user tests

Start refactoring user tests

Docs

Fix lint

Fix db fixtures init in tests

Fix models test

Fix loading fixtures

Fix ineffasign

Fix lint

Fix integration tests

Fix init of test engine creation

Fix user related tests

Better handling of creating test enging

Moved all fixtures to db package

Moved all fixtures to db package

Moved user related stuff to seperate package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#123
2020-01-26 17:08:06 +00:00
8c33e24e92 Migration Improvements (#122)
All checks were successful
continuous-integration/drone/push Build is passing
Update swagger docs

Update docs

Let the wunderlist migrator use the registerRoutes function

Add migration status table

Add migration status

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#122
2020-01-20 19:48:46 +00:00
9e39399689 Migration (#120)
Go mod tidy

[skip ci] Add modules/migration to docs

[skip ci] update date

fmt

Merge branch 'master' into feature/migration

# Conflicts:
#	pkg/routes/api/v1/info.go

Add docs on how to create a migrator

Add available migrators to /info endpoint

Return a message once everything was migrated successfully

Add swagger docs for wunderlist migration

Docs for migration [skip ci]

Fix due date fixture in migration test

Fix staticcheck

Fix lint

Logging and cleanup

Make the migrator work with real data

Add routes for migration

Fix misspell

Add method to store a full vikunja structure into vikunja

Add getting all data from wunderlist

Add attachment migration from wunderlist

Add done and done at to wunderlist migrator

Add todo

Add wunderlist auth url implementation

Fix lint

Finish wunderlist migration

Added all structs for the wunderlist migratior

Fix owner field being null for user shared namespaces (#119)

Update copyright year (#118)

Add option to disable registration (#117)

Added migrator interface

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#120
2020-01-19 16:52:16 +00:00
a0c5e4e985 Update copyright year (#118)
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 17:33:22 +00:00
62e550bf35 Add user token renew (#113)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 19:52:04 +00:00
e890001ee1 Consistent copyright text in file headers (#112)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-04 19:39:56 +00:00
7e4deab8f7 Task collection improvements (#109)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-01 13:38:11 +00:00
d96831fe3a Endpoint to get tasks on a list (#108)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-29 22:59:20 +00:00
9be5ab248c Add endpoint to get a single task (#106)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-02 20:33:18 +00:00
8948a5f219 Improve pagination (#105)
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-23 21:11:40 +00:00
2169464983 Task Attachments (#104)
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-16 20:52:29 +00:00
8fe33fd616 Task Relations (#103)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-25 18:44:41 +00:00
6140920cb8 Fixed rate limit panic when authenticatin with a link share auth token (#97)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-08 19:11:42 +00:00
8d57923a7d Sharing of lists via public links (#94)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-31 20:56:41 +00:00
66cdd79666 Refactor ListTask to Task (#92)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-14 20:19:04 +00:00
10fbbe1db6
Moved metrics init to seperate methods
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-21 23:44:12 +02:00
4327a559e5 feature/rate-limit (#91)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-21 21:27:30 +00:00
48826a6ed7 Logger refactoring (#90)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-20 18:12:10 +00:00
12eaddc8ee Added http endpoint to list all users on a list (#87)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-18 16:38:21 +00:00
e2d9de191d /info endpoint (#85)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-15 22:54:38 +00:00
1f1a079fd3 Better config handling with constants (#83)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-06 20:12:26 +00:00
7107d030fc Better caldav support (#73)
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-22 17:48:48 +00:00
de24fcc2f8
Fixed metrics endpoint not working
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-12 16:49:16 +02:00
3d7fd9ca20
Updated libraries
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-07 21:42:24 +02:00
11e7c071ce Updated handler config (#63)
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 09:13:40 +00:00
15ef6deabc Use query params to sort tasks instead of url params (#61)
All checks were successful
continuous-integration/drone/push Build is passing
2019-02-18 18:06:15 +00:00
2d88fad5b1 Huge improvements for docs (#58)
All checks were successful
continuous-integration/drone/push Build is passing
2019-02-17 19:53:04 +00:00
9e635ea54e Improve logging handling (#57)
All checks were successful
continuous-integration/drone/push Build is passing
2019-01-25 11:40:54 +00:00
318920fe29 Improve label handling (#48)
All checks were successful
the build was successful
2019-01-09 23:08:12 +00:00
364a172876 Assignees optimizations (#47)
All checks were successful
the build was successful
2019-01-08 19:13:07 +00:00
607dbd6ae8 API Docs improvements (#46)
All checks were successful
the build was successful
2019-01-03 22:22:06 +00:00
6b40df50d3 Add labels to tasks (#45)
All checks were successful
the build was successful
2018-12-31 01:18:41 +00:00
3814b8a504 Add bulk edit for tasks (#42)
All checks were successful
the build was successful
2018-12-28 21:49:46 +00:00
5a93475be9 Get tasks between a date range (#41)
All checks were successful
the build was successful
2018-12-22 18:06:14 +00:00
cbc5995ad3 Various user fixes (#38)
All checks were successful
the build was successful
2018-12-19 21:05:25 +00:00
ec347a71bc Fix "unexpected EOF" error when using metrics (#35)
All checks were successful
the build was successful
2018-12-17 12:22:06 +00:00
e047673c6b Add prometheus endpoint for getting metrics (#33)
All checks were successful
the build was successful
2018-12-12 22:50:35 +00:00
8e5ff72c4a
fixed path to get all tasks (echo bug)
All checks were successful
the build was successful
2018-12-02 19:31:03 +01:00
cc6b35e314 Priorites for tasks (#31)
All checks were successful
the build was successful
2018-12-02 00:49:30 +00:00