Commit Graph

38 Commits

Author SHA1 Message Date
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
e9b1786188
Regenerate swagger docs
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-09-04 13:15:46 +02: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
11722bf029
Add update route to toggle team member admin status
Some checks failed
continuous-integration/drone/push Build is failing
2020-08-05 17:21:17 +02: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
3b2289c8fa
Fix swagger docs
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 16:25:46 +02: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
720df3cbed Add task identifier (#115)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 22:28:45 +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
d8399e374c Sort Order for tasks (#110)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 14:30:51 +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
1272255975 Added percent done to tasks (#102)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-21 10:52:10 +00:00
8d5a2685c4 Fixed labels being displayed multiple times if they were associated with more than one task (#99)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 15:52:09 +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
208eb4e68c
Fixed swaggerdocs of description fields
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-21 23:57:19 +02: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
9bc09ebbe5
Fixed user sharing not working
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-04 19:45:09 +02:00
7acf318b28 Fixed duedate spelling issue (#79)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-31 08:10:56 +00:00
f638fae4fd Add the md5-hashed user email to user objects for use with gravatar (#78)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-31 07:24:59 +00:00
50d1f29125 Use the username instead of a user when adding a user to a team or giving it rights (#76)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-25 09:47:16 +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
24704bd4ed
Added color field to tasks
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-30 11:26:37 +02:00
ed671baf8f
Fixed listID not being returned in tasks
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-23 21:53:37 +02:00
6bab8fb769
Updated and re-enabled statickcheck 2019-04-23 10:34:06 +02:00
19faee0102 Hide a users email everywhere (#69)
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-01 18:19:55 +00:00
72e64f7203
Fixed swagger docs for bulk label tasks
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-21 18:42:21 +01:00
25999d9b69
Fixed swagger docs for task labels
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-21 07:40:56 +01:00
65f428fe78
Updated swagger docs
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-08 15:41:46 +01:00
1b84292332 Fix lint errs (#59)
All checks were successful
continuous-integration/drone/push Build is passing
2019-02-18 19:32:41 +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