vikunja-api/pkg/models
konrad 1f039c4cda Task Comments (#138)
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: https://kolaente.dev/vikunja/api/pulls/138
2020-02-19 21:57:56 +00:00
..
bulk_task.go Update copyright header 2020-02-07 17:27:45 +01:00
bulk_task_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
error.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
label.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
label_rights.go Update xorm to use the new import path (#133) 2020-02-14 16:34:25 +00:00
label_task.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
label_task_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
label_task_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
label_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
link_sharing.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
link_sharing_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
list_rights.go Update xorm to use the new import path (#133) 2020-02-14 16:34:25 +00:00
list_team.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
list_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list_team_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
list_test.go Update copyright header 2020-02-07 17:27:45 +01:00
list_users.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
list_users_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list_users_rights_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
list_users_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
main_test.go Update copyright header 2020-02-07 17:27:45 +01:00
message.go Update copyright header 2020-02-07 17:27:45 +01:00
models.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
namespace.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_rights.go Update xorm to use the new import path (#133) 2020-02-14 16:34:25 +00:00
namespace_team.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
namespace_team_rights_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_team_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
namespace_users.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_users_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
namespace_users_rights_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
namespace_users_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_assignees.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_assignees_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_attachment.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_attachment_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_attachment_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
task_collection.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_collection_sort.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_collection_sort_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_collection_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_comment_rights.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
task_comments.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
task_comments_test.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
task_relation.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
task_relation_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_relation_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
tasks.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
tasks_rights.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
tasks_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
team_members.go Update copyright header 2020-02-07 17:27:45 +01:00
team_members_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
team_members_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
teams.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
teams_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
teams_rights_test.go Return iso dates for everything date related from the api (#130) 2020-02-08 12:48:49 +00:00
teams_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
unit_tests.go Task Comments (#138) 2020-02-19 21:57:56 +00:00
user_list.go Update xorm to use the new import path (#133) 2020-02-14 16:34:25 +00:00
users_list_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00