vikunja/pkg/db/fixtures
kolaente ecd4d786f7 feat(mcp): expose remaining v1 resources via mcp tools
Registers tasks, labels, teams, task_comments and task_assignees through
the MCP tool surface, completing the v1 resource list from the plan:

  * tasks    : create / read_one / update / delete (read_all omitted;
               models.Task.ReadAll is a stub — TaskCollection is OOS)
  * labels   : full CRUD
  * teams    : full CRUD
  * tasks_comments  : full CRUD, install-time gated on
                      config.ServiceEnableTaskComments
  * tasks_assignees : create / read_all / delete only (REST exposes no
                      read_one or update)

Per-resource input wrappers carry the path-param fields (task_id,
user_id) explicitly so MCP callers can provide them as JSON args.
installToolsForToken fans out to one installer per resource; the
generics-bound addTool keeps per-(resource, op) call sites at compile
time. The api_tokens.yml fixture extends token 11 to cover the new
scopes; token count stays at 5 for user 1 so existing token-listing
tests are unaffected.

Integration tests per resource cover tools/list visibility, at least
one successful create or read_all, and a permission denial scenario.
2026-05-27 00:11:29 +02:00
..
api_tokens.yml feat(mcp): expose remaining v1 resources via mcp tools 2026-05-27 00:11:29 +02:00
buckets.yml fix(views): update test fixtures for new structure 2024-03-19 00:47:51 +01:00
favorites.yml fix: fetch all tasks for all projects 2023-05-24 15:52:33 +02:00
files.yml Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
label_tasks.yml fix(labels): derive label max permission from accessible tasks only 2026-04-09 15:43:04 +00:00
labels.yml fix(labels): derive label max permission from accessible tasks only 2026-04-09 15:43:04 +00:00
license_status.yml feat(license): add runtime state snapshot and reload helpers 2026-04-20 18:55:06 +00:00
link_shares.yml feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
oauth_codes.yml feat: add OAuth 2.0 authorization code model and migration 2026-03-27 23:05:04 +00:00
project_views.yml feat: support filter_include_nulls in project view configuration 2026-04-28 14:16:51 +00:00
projects.yml test(fixtures): add child project for reparent escalation tests 2026-04-09 16:47:35 +00:00
reactions.yml feat: emoji reactions for tasks and comments (#2196) 2024-03-12 19:25:58 +00:00
saved_filters.yml fix(filter): translate all tests 2024-03-09 19:06:35 +01:00
sessions.yml feat: add Session model with CRUD, permissions, and cleanup cron 2026-02-25 10:30:25 +01:00
subscriptions.yml fix(subscriptions): correctly inherit subscriptions 2024-09-03 22:04:11 +02:00
task_assignees.yml Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_attachments.yml test: add attachment fixture on inaccessible task for IDOR test 2026-03-23 16:34:07 +00:00
task_buckets.yml feat(tasks): add tests for moving a task out of the done bucket 2024-06-18 13:40:41 +02:00
task_comments.yml feat: emoji reactions for tasks and comments (#2196) 2024-03-12 19:25:58 +00:00
task_positions.yml fix(views): update test fixtures for new structure 2024-03-19 00:47:51 +01:00
task_relations.yml fix: use recursive CTE in accessibleProjectIDsSubquery for inherited project permissions 2026-04-05 12:20:35 +00:00
task_reminders.yml test: add task #47 with reminders outside window for bug #2245 2026-02-19 12:40:29 +01:00
tasks.yml feat(tasks): enforce unique (project_id, index) via migration 2026-04-11 20:44:28 +00:00
team_members.yml fix: use recursive CTE in accessibleProjectIDsSubquery for inherited project permissions 2026-04-05 12:20:35 +00:00
team_projects.yml fix: use recursive CTE in accessibleProjectIDsSubquery for inherited project permissions 2026-04-05 12:20:35 +00:00
teams.yml fix: use recursive CTE in accessibleProjectIDsSubquery for inherited project permissions 2026-04-05 12:20:35 +00:00
totp.yml fix: update TOTP reuse test to use user10 matching rebased fixture 2026-03-23 10:34:49 +00:00
user_tokens.yml test: verify CalDAV token auth bypasses TOTP check 2026-03-20 12:22:27 +00:00
users.yml feat(user): always include own bots in user search 2026-05-01 14:44:10 +00:00
users_projects.yml test: add failing test for project background delete with read-only access 2026-03-20 11:41:28 +00:00
webhooks.yml test: add BasicAuth credentials to webhook fixture 2026-03-23 16:35:47 +00:00