vikunja-api/pkg/models
konrad bd8c1c3bb7 Return rights when reading a single item (#626)
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: https://kolaente.dev/vikunja/api/pulls/626
2020-08-10 12:11:43 +00:00
..
bulk_task.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
bulk_task_test.go Ensure consistent naming of title fields (#528) 2020-05-16 10:17:44 +00:00
error.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
kanban.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
kanban_rights.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
kanban_test.go Add real buckets for tasks which don't have one (#446) 2020-04-25 20:32:02 +00:00
label.go Fix swagger docs 2020-06-28 16:25:46 +02:00
label_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
label_task.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
label_task_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
label_task_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
label_test.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
link_sharing.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
link_sharing_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
list_duplicate.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list_duplicate_test.go Duplicate Lists (#603) 2020-06-30 20:53:14 +00:00
list_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list_team.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list_team_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
list_test.go Fix creating lists with non ascii characters (#607) 2020-07-07 07:48:12 +00:00
list_users.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list_users_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list_users_rights_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
list_users_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
main_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
message.go Update copyright header 2020-02-07 17:27:45 +01:00
models.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
namespace.go Fix swagger docs 2020-06-28 16:25:46 +02:00
namespace_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
namespace_team.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
namespace_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
namespace_team_rights_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
namespace_team_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
namespace_test.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
namespace_users.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
namespace_users_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
namespace_users_rights_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
namespace_users_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_assignees.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_assignees_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_attachment.go Duplicate Lists (#603) 2020-06-30 20:53:14 +00:00
task_attachment_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_attachment_test.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_collection.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_collection_filter.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_collection_sort.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_collection_sort_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_collection_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_comment_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_comments.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_comments_test.go Make sure the author is returned when creating a new comment 2020-02-25 21:18:42 +01:00
task_relation.go Fix swagger docs 2020-06-28 16:25:46 +02:00
task_relation_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_relation_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
tasks.go More avatar providers (#622) 2020-08-02 17:16:58 +00:00
tasks_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
tasks_test.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
team_members.go Fix updating team admin status 2020-08-05 17:28:11 +02:00
team_members_rights.go Add update route to toggle team member admin status 2020-08-05 17:21:17 +02:00
team_members_test.go Add update route to toggle team member admin status 2020-08-05 17:21:17 +02:00
teams.go Fix swagger docs 2020-06-28 16:25:46 +02:00
teams_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
teams_rights_test.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
teams_test.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
unit_tests.go Kanban (#393) 2020-04-19 07:27:28 +00:00
unsplash.go List Backgrounds (#568) 2020-05-26 20:07:55 +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 Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00