Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(calendar): resolve conflicts and bound feed generation

Tin2dd905ee1ac9
diff --cc apps/api/drizzle/0053_calendar_feeds.sql
index a60e7b882,000000000..a60e7b882
mode 100644,000000..100644
--- a/apps/api/drizzle/0053_calendar_feeds.sql
+++ b/apps/api/drizzle/0053_calendar_feeds.sql
diff --cc apps/api/drizzle/meta/0053_snapshot.json
index 000000000,000000000..02e7d7547
new file mode 100644
--- /dev/null
+++ b/apps/api/drizzle/meta/0053_snapshot.json
@@@ -1,0 -1,0 +1,4887 @@@
++{
++ "id": "0e589edc-d90f-4d1d-b5eb-e85c5f6f582e",
++ "prevId": "1c0d3b45-514c-4937-80da-fee76b2f6d38",
++ "version": "7",
++ "dialect": "postgresql",
++ "tables": {
++ "public.account": {
++ "name": "account",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "account_id": {
++ "name": "account_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "provider_id": {
++ "name": "provider_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "access_token": {
++ "name": "access_token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "refresh_token": {
++ "name": "refresh_token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "id_token": {
++ "name": "id_token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "access_token_expires_at": {
++ "name": "access_token_expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "refresh_token_expires_at": {
++ "name": "refresh_token_expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "scope": {
++ "name": "scope",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "password": {
++ "name": "password",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ }
++ },
++ "indexes": {
++ "account_userId_idx": {
++ "name": "account_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "account_user_id_user_id_fk": {
++ "name": "account_user_id_user_id_fk",
++ "tableFrom": "account",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.activity": {
++ "name": "activity",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "type": {
++ "name": "type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "content": {
++ "name": "content",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "event_data": {
++ "name": "event_data",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "external_user_name": {
++ "name": "external_user_name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "external_user_avatar": {
++ "name": "external_user_avatar",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "external_source": {
++ "name": "external_source",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "external_url": {
++ "name": "external_url",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "activity_task_id_idx": {
++ "name": "activity_task_id_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "activity_userId_idx": {
++ "name": "activity_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "activity_task_id_task_id_fk": {
++ "name": "activity_task_id_task_id_fk",
++ "tableFrom": "activity",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "activity_user_id_user_id_fk": {
++ "name": "activity_user_id_user_id_fk",
++ "tableFrom": "activity",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "set null",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "activity_task_external_source_external_url_unique": {
++ "name": "activity_task_external_source_external_url_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "task_id",
++ "external_source",
++ "external_url"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.apikey": {
++ "name": "apikey",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "config_id": {
++ "name": "config_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'default'"
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "start": {
++ "name": "start",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "reference_id": {
++ "name": "reference_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "prefix": {
++ "name": "prefix",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "key": {
++ "name": "key",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "refill_interval": {
++ "name": "refill_interval",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "refill_amount": {
++ "name": "refill_amount",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "last_refill_at": {
++ "name": "last_refill_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "enabled": {
++ "name": "enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": true
++ },
++ "rate_limit_enabled": {
++ "name": "rate_limit_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": true
++ },
++ "rate_limit_time_window": {
++ "name": "rate_limit_time_window",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 86400000
++ },
++ "rate_limit_max": {
++ "name": "rate_limit_max",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 10
++ },
++ "request_count": {
++ "name": "request_count",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 0
++ },
++ "remaining": {
++ "name": "remaining",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "last_request": {
++ "name": "last_request",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "permissions": {
++ "name": "permissions",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "metadata": {
++ "name": "metadata",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "apikey_configId_idx": {
++ "name": "apikey_configId_idx",
++ "columns": [
++ {
++ "expression": "config_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "apikey_key_idx": {
++ "name": "apikey_key_idx",
++ "columns": [
++ {
++ "expression": "key",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "apikey_referenceId_idx": {
++ "name": "apikey_referenceId_idx",
++ "columns": [
++ {
++ "expression": "reference_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "apikey_userId_idx": {
++ "name": "apikey_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "apikey_reference_id_user_id_fk": {
++ "name": "apikey_reference_id_user_id_fk",
++ "tableFrom": "apikey",
++ "tableTo": "user",
++ "columnsFrom": [
++ "reference_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ },
++ "apikey_user_id_user_id_fk": {
++ "name": "apikey_user_id_user_id_fk",
++ "tableFrom": "apikey",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.asset": {
++ "name": "asset",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "activity_id": {
++ "name": "activity_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "object_key": {
++ "name": "object_key",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "filename": {
++ "name": "filename",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "mime_type": {
++ "name": "mime_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "size": {
++ "name": "size",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "kind": {
++ "name": "kind",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'image'"
++ },
++ "surface": {
++ "name": "surface",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'description'"
++ },
++ "created_by": {
++ "name": "created_by",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "asset_workspaceId_idx": {
++ "name": "asset_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "asset_projectId_idx": {
++ "name": "asset_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "asset_taskId_idx": {
++ "name": "asset_taskId_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "asset_activityId_idx": {
++ "name": "asset_activityId_idx",
++ "columns": [
++ {
++ "expression": "activity_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "asset_createdBy_idx": {
++ "name": "asset_createdBy_idx",
++ "columns": [
++ {
++ "expression": "created_by",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "asset_workspace_id_workspace_id_fk": {
++ "name": "asset_workspace_id_workspace_id_fk",
++ "tableFrom": "asset",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "asset_project_id_project_id_fk": {
++ "name": "asset_project_id_project_id_fk",
++ "tableFrom": "asset",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "asset_task_id_task_id_fk": {
++ "name": "asset_task_id_task_id_fk",
++ "tableFrom": "asset",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "asset_activity_id_activity_id_fk": {
++ "name": "asset_activity_id_activity_id_fk",
++ "tableFrom": "asset",
++ "tableTo": "activity",
++ "columnsFrom": [
++ "activity_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "asset_created_by_user_id_fk": {
++ "name": "asset_created_by_user_id_fk",
++ "tableFrom": "asset",
++ "tableTo": "user",
++ "columnsFrom": [
++ "created_by"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "set null",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "asset_object_key_unique": {
++ "name": "asset_object_key_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "object_key"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.billing_event": {
++ "name": "billing_event",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "event_type": {
++ "name": "event_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "processed_at": {
++ "name": "processed_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.billing_reminder_sent": {
++ "name": "billing_reminder_sent",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "reminder_type": {
++ "name": "reminder_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "trial_ends_at": {
++ "name": "trial_ends_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "billing_reminder_sent_workspaceId_idx": {
++ "name": "billing_reminder_sent_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "billing_reminder_sent_userId_idx": {
++ "name": "billing_reminder_sent_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "billing_reminder_sent_user_id_user_id_fk": {
++ "name": "billing_reminder_sent_user_id_user_id_fk",
++ "tableFrom": "billing_reminder_sent",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "billing_reminder_sent_workspace_id_workspace_id_fk": {
++ "name": "billing_reminder_sent_workspace_id_workspace_id_fk",
++ "tableFrom": "billing_reminder_sent",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "billing_reminder_sent_user_type_unique": {
++ "name": "billing_reminder_sent_user_type_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "user_id",
++ "reminder_type"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.calendar_feed": {
++ "name": "calendar_feed",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "token": {
++ "name": "token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "label_ids": {
++ "name": "label_ids",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "time_zone": {
++ "name": "time_zone",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'UTC'"
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "calendar_feed_project_id_idx": {
++ "name": "calendar_feed_project_id_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "calendar_feed_project_id_project_id_fk": {
++ "name": "calendar_feed_project_id_project_id_fk",
++ "tableFrom": "calendar_feed",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "calendar_feed_token_unique": {
++ "name": "calendar_feed_token_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "token"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.column": {
++ "name": "column",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "slug": {
++ "name": "slug",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "position": {
++ "name": "position",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 0
++ },
++ "icon": {
++ "name": "icon",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "color": {
++ "name": "color",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "is_final": {
++ "name": "is_final",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "column_projectId_idx": {
++ "name": "column_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "column_project_id_project_id_fk": {
++ "name": "column_project_id_project_id_fk",
++ "tableFrom": "column",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.comment": {
++ "name": "comment",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "content": {
++ "name": "content",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "comment_task_idx": {
++ "name": "comment_task_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "comment_user_idx": {
++ "name": "comment_user_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "comment_task_id_task_id_fk": {
++ "name": "comment_task_id_task_id_fk",
++ "tableFrom": "comment",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "comment_user_id_user_id_fk": {
++ "name": "comment_user_id_user_id_fk",
++ "tableFrom": "comment",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.custom_field_definition": {
++ "name": "custom_field_definition",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "type": {
++ "name": "type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "required": {
++ "name": "required",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "default_value": {
++ "name": "default_value",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "options": {
++ "name": "options",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "position": {
++ "name": "position",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 0
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "custom_field_def_projectId_idx": {
++ "name": "custom_field_def_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "custom_field_definition_project_id_project_id_fk": {
++ "name": "custom_field_definition_project_id_project_id_fk",
++ "tableFrom": "custom_field_definition",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.custom_field_value": {
++ "name": "custom_field_value",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "field_id": {
++ "name": "field_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "value": {
++ "name": "value",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "custom_field_value_taskId_idx": {
++ "name": "custom_field_value_taskId_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "custom_field_value_fieldId_idx": {
++ "name": "custom_field_value_fieldId_idx",
++ "columns": [
++ {
++ "expression": "field_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "custom_field_value_task_id_task_id_fk": {
++ "name": "custom_field_value_task_id_task_id_fk",
++ "tableFrom": "custom_field_value",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "custom_field_value_field_id_custom_field_definition_id_fk": {
++ "name": "custom_field_value_field_id_custom_field_definition_id_fk",
++ "tableFrom": "custom_field_value",
++ "tableTo": "custom_field_definition",
++ "columnsFrom": [
++ "field_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "custom_field_value_task_field_unique": {
++ "name": "custom_field_value_task_field_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "task_id",
++ "field_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.device_code": {
++ "name": "device_code",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "device_code": {
++ "name": "device_code",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_code": {
++ "name": "user_code",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "status": {
++ "name": "status",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "last_polled_at": {
++ "name": "last_polled_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "polling_interval": {
++ "name": "polling_interval",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "client_id": {
++ "name": "client_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "scope": {
++ "name": "scope",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "device_code_device_code_uidx": {
++ "name": "device_code_device_code_uidx",
++ "columns": [
++ {
++ "expression": "device_code",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": true,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "device_code_user_code_uidx": {
++ "name": "device_code_user_code_uidx",
++ "columns": [
++ {
++ "expression": "user_code",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": true,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "device_code_user_id_idx": {
++ "name": "device_code_user_id_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "device_code_user_id_user_id_fk": {
++ "name": "device_code_user_id_user_id_fk",
++ "tableFrom": "device_code",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.external_link": {
++ "name": "external_link",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "integration_id": {
++ "name": "integration_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "resource_type": {
++ "name": "resource_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "external_id": {
++ "name": "external_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "url": {
++ "name": "url",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "title": {
++ "name": "title",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "metadata": {
++ "name": "metadata",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "external_link_taskId_idx": {
++ "name": "external_link_taskId_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "external_link_integrationId_idx": {
++ "name": "external_link_integrationId_idx",
++ "columns": [
++ {
++ "expression": "integration_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "external_link_externalId_idx": {
++ "name": "external_link_externalId_idx",
++ "columns": [
++ {
++ "expression": "external_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "external_link_resourceType_idx": {
++ "name": "external_link_resourceType_idx",
++ "columns": [
++ {
++ "expression": "resource_type",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "external_link_task_id_task_id_fk": {
++ "name": "external_link_task_id_task_id_fk",
++ "tableFrom": "external_link",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "external_link_integration_id_integration_id_fk": {
++ "name": "external_link_integration_id_integration_id_fk",
++ "tableFrom": "external_link",
++ "tableTo": "integration",
++ "columnsFrom": [
++ "integration_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.github_import": {
++ "name": "github_import",
++ "schema": "",
++ "columns": {
++ "integration_id": {
++ "name": "integration_id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "run_id": {
++ "name": "run_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "state": {
++ "name": "state",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {
++ "github_import_integration_id_integration_id_fk": {
++ "name": "github_import_integration_id_integration_id_fk",
++ "tableFrom": "github_import",
++ "tableTo": "integration",
++ "columnsFrom": [
++ "integration_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.github_integration": {
++ "name": "github_integration",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "repository_owner": {
++ "name": "repository_owner",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "repository_name": {
++ "name": "repository_name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "installation_id": {
++ "name": "installation_id",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "is_active": {
++ "name": "is_active",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {
++ "github_integration_project_id_project_id_fk": {
++ "name": "github_integration_project_id_project_id_fk",
++ "tableFrom": "github_integration",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "github_integration_project_id_unique": {
++ "name": "github_integration_project_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "project_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.integration": {
++ "name": "integration",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "type": {
++ "name": "type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "config": {
++ "name": "config",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "is_active": {
++ "name": "is_active",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "integration_projectId_idx": {
++ "name": "integration_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "integration_type_idx": {
++ "name": "integration_type_idx",
++ "columns": [
++ {
++ "expression": "type",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "integration_project_id_project_id_fk": {
++ "name": "integration_project_id_project_id_fk",
++ "tableFrom": "integration",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "integration_project_type_unique": {
++ "name": "integration_project_type_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "project_id",
++ "type"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.invitation": {
++ "name": "invitation",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "email": {
++ "name": "email",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "role": {
++ "name": "role",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "team_id": {
++ "name": "team_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "status": {
++ "name": "status",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'pending'"
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "inviter_id": {
++ "name": "inviter_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ }
++ },
++ "indexes": {
++ "invitation_workspaceId_idx": {
++ "name": "invitation_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "invitation_email_idx": {
++ "name": "invitation_email_idx",
++ "columns": [
++ {
++ "expression": "email",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "invitation_inviterId_idx": {
++ "name": "invitation_inviterId_idx",
++ "columns": [
++ {
++ "expression": "inviter_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "invitation_workspace_id_workspace_id_fk": {
++ "name": "invitation_workspace_id_workspace_id_fk",
++ "tableFrom": "invitation",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ },
++ "invitation_inviter_id_user_id_fk": {
++ "name": "invitation_inviter_id_user_id_fk",
++ "tableFrom": "invitation",
++ "tableTo": "user",
++ "columnsFrom": [
++ "inviter_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.job_lease": {
++ "name": "job_lease",
++ "schema": "",
++ "columns": {
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "owner": {
++ "name": "owner",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.label": {
++ "name": "label",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "color": {
++ "name": "color",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "deletion_started_at": {
++ "name": "deletion_started_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "label_task_id_idx": {
++ "name": "label_task_id_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "label_workspace_id_idx": {
++ "name": "label_workspace_id_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "label_workspace_cascade_idx": {
++ "name": "label_workspace_cascade_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "name",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "where": "\"label\".\"task_id\" is not null",
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "label_workspace_name_unique": {
++ "name": "label_workspace_name_unique",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "name",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": true,
++ "where": "\"label\".\"task_id\" is null",
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "label_task_id_task_id_fk": {
++ "name": "label_task_id_task_id_fk",
++ "tableFrom": "label",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "label_workspace_id_workspace_id_fk": {
++ "name": "label_workspace_id_workspace_id_fk",
++ "tableFrom": "label",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "label_task_name_unique": {
++ "name": "label_task_name_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "task_id",
++ "name"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.mcp_oauth_state": {
++ "name": "mcp_oauth_state",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "kind": {
++ "name": "kind",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "key": {
++ "name": "key",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "payload": {
++ "name": "payload",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "mcp_oauth_state_kind_key_uidx": {
++ "name": "mcp_oauth_state_kind_key_uidx",
++ "columns": [
++ {
++ "expression": "kind",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "key",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": true,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "mcp_oauth_state_expiresAt_idx": {
++ "name": "mcp_oauth_state_expiresAt_idx",
++ "columns": [
++ {
++ "expression": "expires_at",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.notification": {
++ "name": "notification",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "title": {
++ "name": "title",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "content": {
++ "name": "content",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "type": {
++ "name": "type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'info'"
++ },
++ "event_data": {
++ "name": "event_data",
++ "type": "jsonb",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "is_read": {
++ "name": "is_read",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": false
++ },
++ "resource_id": {
++ "name": "resource_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "resource_type": {
++ "name": "resource_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp with time zone",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp with time zone",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "notification_userId_idx": {
++ "name": "notification_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "notification_user_id_user_id_fk": {
++ "name": "notification_user_id_user_id_fk",
++ "tableFrom": "notification",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.workspace_role": {
++ "name": "workspace_role",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "role": {
++ "name": "role",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "permission": {
++ "name": "permission",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "workspace_role_workspaceId_idx": {
++ "name": "workspace_role_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "workspace_role_role_idx": {
++ "name": "workspace_role_role_idx",
++ "columns": [
++ {
++ "expression": "role",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "workspace_role_workspace_id_workspace_id_fk": {
++ "name": "workspace_role_workspace_id_workspace_id_fk",
++ "tableFrom": "workspace_role",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.project": {
++ "name": "project",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "slug": {
++ "name": "slug",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "icon": {
++ "name": "icon",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false,
++ "default": "'Layout'"
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "description": {
++ "name": "description",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "is_public": {
++ "name": "is_public",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": false
++ },
++ "archived_at": {
++ "name": "archived_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "last_task_number": {
++ "name": "last_task_number",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 0
++ },
++ "position": {
++ "name": "position",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 0
++ },
++ "background_object_key": {
++ "name": "background_object_key",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "background_mime_type": {
++ "name": "background_mime_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "background_version": {
++ "name": "background_version",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "project_workspaceId_position_idx": {
++ "name": "project_workspaceId_position_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "position",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "project_workspace_id_workspace_id_fk": {
++ "name": "project_workspace_id_workspace_id_fk",
++ "tableFrom": "project",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "project_workspace_id_id_unique": {
++ "name": "project_workspace_id_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "workspace_id",
++ "id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.session": {
++ "name": "session",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "token": {
++ "name": "token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "ip_address": {
++ "name": "ip_address",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "user_agent": {
++ "name": "user_agent",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "active_organization_id": {
++ "name": "active_organization_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "active_team_id": {
++ "name": "active_team_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "impersonated_by": {
++ "name": "impersonated_by",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "session_userId_idx": {
++ "name": "session_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "session_user_id_user_id_fk": {
++ "name": "session_user_id_user_id_fk",
++ "tableFrom": "session",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "session_token_unique": {
++ "name": "session_token_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "token"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.task_relation": {
++ "name": "task_relation",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "source_task_id": {
++ "name": "source_task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "target_task_id": {
++ "name": "target_task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "relation_type": {
++ "name": "relation_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "task_relation_source_idx": {
++ "name": "task_relation_source_idx",
++ "columns": [
++ {
++ "expression": "source_task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "task_relation_target_idx": {
++ "name": "task_relation_target_idx",
++ "columns": [
++ {
++ "expression": "target_task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "task_relation_source_task_id_task_id_fk": {
++ "name": "task_relation_source_task_id_task_id_fk",
++ "tableFrom": "task_relation",
++ "tableTo": "task",
++ "columnsFrom": [
++ "source_task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "task_relation_target_task_id_task_id_fk": {
++ "name": "task_relation_target_task_id_task_id_fk",
++ "tableFrom": "task_relation",
++ "tableTo": "task",
++ "columnsFrom": [
++ "target_task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.task_reminder_sent": {
++ "name": "task_reminder_sent",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "reminder_type": {
++ "name": "reminder_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "task_reminder_sent_taskId_idx": {
++ "name": "task_reminder_sent_taskId_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "task_reminder_sent_task_id_task_id_fk": {
++ "name": "task_reminder_sent_task_id_task_id_fk",
++ "tableFrom": "task_reminder_sent",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "task_reminder_sent_task_type_unique": {
++ "name": "task_reminder_sent_task_type_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "task_id",
++ "reminder_type"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.task": {
++ "name": "task",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "position": {
++ "name": "position",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 0
++ },
++ "number": {
++ "name": "number",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 1
++ },
++ "assignee_id": {
++ "name": "assignee_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "title": {
++ "name": "title",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "description": {
++ "name": "description",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "status": {
++ "name": "status",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'to-do'"
++ },
++ "column_id": {
++ "name": "column_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "priority": {
++ "name": "priority",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'low'"
++ },
++ "start_date": {
++ "name": "start_date",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "due_date": {
++ "name": "due_date",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "task_projectId_idx": {
++ "name": "task_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "task_dueDate_idx": {
++ "name": "task_dueDate_idx",
++ "columns": [
++ {
++ "expression": "due_date",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "task_assigneeId_idx": {
++ "name": "task_assigneeId_idx",
++ "columns": [
++ {
++ "expression": "assignee_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "task_columnId_idx": {
++ "name": "task_columnId_idx",
++ "columns": [
++ {
++ "expression": "column_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "task_project_id_project_id_fk": {
++ "name": "task_project_id_project_id_fk",
++ "tableFrom": "task",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "task_assignee_id_user_id_fk": {
++ "name": "task_assignee_id_user_id_fk",
++ "tableFrom": "task",
++ "tableTo": "user",
++ "columnsFrom": [
++ "assignee_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "set null",
++ "onUpdate": "cascade"
++ },
++ "task_column_id_column_id_fk": {
++ "name": "task_column_id_column_id_fk",
++ "tableFrom": "task",
++ "tableTo": "column",
++ "columnsFrom": [
++ "column_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "set null",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "task_project_number_unique": {
++ "name": "task_project_number_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "project_id",
++ "number"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.team": {
++ "name": "team",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "team_workspaceId_idx": {
++ "name": "team_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "team_workspace_id_workspace_id_fk": {
++ "name": "team_workspace_id_workspace_id_fk",
++ "tableFrom": "team",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.team_member": {
++ "name": "team_member",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "team_id": {
++ "name": "team_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {
++ "teamMember_teamId_idx": {
++ "name": "teamMember_teamId_idx",
++ "columns": [
++ {
++ "expression": "team_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "teamMember_userId_idx": {
++ "name": "teamMember_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "team_member_team_id_team_id_fk": {
++ "name": "team_member_team_id_team_id_fk",
++ "tableFrom": "team_member",
++ "tableTo": "team",
++ "columnsFrom": [
++ "team_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ },
++ "team_member_user_id_user_id_fk": {
++ "name": "team_member_user_id_user_id_fk",
++ "tableFrom": "team_member",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.time_entry": {
++ "name": "time_entry",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "task_id": {
++ "name": "task_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "description": {
++ "name": "description",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "start_time": {
++ "name": "start_time",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "end_time": {
++ "name": "end_time",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "duration": {
++ "name": "duration",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": false,
++ "default": 0
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "time_entry_taskId_idx": {
++ "name": "time_entry_taskId_idx",
++ "columns": [
++ {
++ "expression": "task_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "time_entry_userId_idx": {
++ "name": "time_entry_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "time_entry_task_id_task_id_fk": {
++ "name": "time_entry_task_id_task_id_fk",
++ "tableFrom": "time_entry",
++ "tableTo": "task",
++ "columnsFrom": [
++ "task_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "time_entry_user_id_user_id_fk": {
++ "name": "time_entry_user_id_user_id_fk",
++ "tableFrom": "time_entry",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "set null",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.trial_grant": {
++ "name": "trial_grant",
++ "schema": "",
++ "columns": {
++ "email_hash": {
++ "name": "email_hash",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "trial_ends_at": {
++ "name": "trial_ends_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.user": {
++ "name": "user",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "email": {
++ "name": "email",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "email_verified": {
++ "name": "email_verified",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "image": {
++ "name": "image",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "locale": {
++ "name": "locale",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "is_anonymous": {
++ "name": "is_anonymous",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": false
++ },
++ "role": {
++ "name": "role",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "banned": {
++ "name": "banned",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": false,
++ "default": false
++ },
++ "ban_reason": {
++ "name": "ban_reason",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "ban_expires": {
++ "name": "ban_expires",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "user_email_unique": {
++ "name": "user_email_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "email"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.user_avatar": {
++ "name": "user_avatar",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "mime_type": {
++ "name": "mime_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "size": {
++ "name": "size",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "data": {
++ "name": "data",
++ "type": "bytea",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "user_avatar_userId_idx": {
++ "name": "user_avatar_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "user_avatar_user_id_user_id_fk": {
++ "name": "user_avatar_user_id_user_id_fk",
++ "tableFrom": "user_avatar",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "user_avatar_user_id_unique": {
++ "name": "user_avatar_user_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "user_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.user_notification_preference": {
++ "name": "user_notification_preference",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "email_enabled": {
++ "name": "email_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "ntfy_enabled": {
++ "name": "ntfy_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "ntfy_server_url": {
++ "name": "ntfy_server_url",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "ntfy_topic": {
++ "name": "ntfy_topic",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "ntfy_token": {
++ "name": "ntfy_token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "gotify_enabled": {
++ "name": "gotify_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "gotify_server_url": {
++ "name": "gotify_server_url",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "gotify_token": {
++ "name": "gotify_token",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "webhook_enabled": {
++ "name": "webhook_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "webhook_url": {
++ "name": "webhook_url",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "webhook_secret": {
++ "name": "webhook_secret",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "task_assignment_enabled": {
++ "name": "task_assignment_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": true
++ },
++ "task_comment_enabled": {
++ "name": "task_comment_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": true
++ },
++ "task_status_change_enabled": {
++ "name": "task_status_change_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": true
++ },
++ "due_date_reminder_enabled": {
++ "name": "due_date_reminder_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": true
++ },
++ "due_date_reminder_lead_time_minutes": {
++ "name": "due_date_reminder_lead_time_minutes",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 1440
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {
++ "user_notification_preference_user_id_user_id_fk": {
++ "name": "user_notification_preference_user_id_user_id_fk",
++ "tableFrom": "user_notification_preference",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "user_notification_preference_user_id_unique": {
++ "name": "user_notification_preference_user_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "user_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.user_notification_workspace_project": {
++ "name": "user_notification_workspace_project",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "workspace_rule_id": {
++ "name": "workspace_rule_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "user_notification_workspace_project_ruleId_idx": {
++ "name": "user_notification_workspace_project_ruleId_idx",
++ "columns": [
++ {
++ "expression": "workspace_rule_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "user_notification_workspace_project_projectId_idx": {
++ "name": "user_notification_workspace_project_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "user_notification_workspace_project_workspaceId_projectId_idx": {
++ "name": "user_notification_workspace_project_workspaceId_projectId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "unwp_workspaceId_workspaceRuleId_idx": {
++ "name": "unwp_workspaceId_workspaceRuleId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ },
++ {
++ "expression": "workspace_rule_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "user_notification_workspace_project_workspace_id_workspace_id_fk": {
++ "name": "user_notification_workspace_project_workspace_id_workspace_id_fk",
++ "tableFrom": "user_notification_workspace_project",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "user_notification_workspace_project_workspace_id_workspace_rule_id_user_notification_workspace_rule_workspace_id_id_fk": {
++ "name": "user_notification_workspace_project_workspace_id_workspace_rule_id_user_notification_workspace_rule_workspace_id_id_fk",
++ "tableFrom": "user_notification_workspace_project",
++ "tableTo": "user_notification_workspace_rule",
++ "columnsFrom": [
++ "workspace_id",
++ "workspace_rule_id"
++ ],
++ "columnsTo": [
++ "workspace_id",
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "user_notification_workspace_project_workspace_id_project_id_project_workspace_id_id_fk": {
++ "name": "user_notification_workspace_project_workspace_id_project_id_project_workspace_id_id_fk",
++ "tableFrom": "user_notification_workspace_project",
++ "tableTo": "project",
++ "columnsFrom": [
++ "workspace_id",
++ "project_id"
++ ],
++ "columnsTo": [
++ "workspace_id",
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "user_notification_workspace_project_rule_project_unique": {
++ "name": "user_notification_workspace_project_rule_project_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "workspace_rule_id",
++ "project_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.user_notification_workspace_rule": {
++ "name": "user_notification_workspace_rule",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "is_active": {
++ "name": "is_active",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": true
++ },
++ "email_enabled": {
++ "name": "email_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "ntfy_enabled": {
++ "name": "ntfy_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "gotify_enabled": {
++ "name": "gotify_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "webhook_enabled": {
++ "name": "webhook_enabled",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "project_mode": {
++ "name": "project_mode",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'all'"
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "user_notification_workspace_rule_userId_idx": {
++ "name": "user_notification_workspace_rule_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "user_notification_workspace_rule_workspaceId_idx": {
++ "name": "user_notification_workspace_rule_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "user_notification_workspace_rule_user_id_user_id_fk": {
++ "name": "user_notification_workspace_rule_user_id_user_id_fk",
++ "tableFrom": "user_notification_workspace_rule",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "user_notification_workspace_rule_workspace_id_workspace_id_fk": {
++ "name": "user_notification_workspace_rule_workspace_id_workspace_id_fk",
++ "tableFrom": "user_notification_workspace_rule",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "user_notification_workspace_rule_user_workspace_unique": {
++ "name": "user_notification_workspace_rule_user_workspace_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "user_id",
++ "workspace_id"
++ ]
++ },
++ "user_notification_workspace_rule_workspace_id_id_unique": {
++ "name": "user_notification_workspace_rule_workspace_id_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "workspace_id",
++ "id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.verification": {
++ "name": "verification",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "identifier": {
++ "name": "identifier",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "value": {
++ "name": "value",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "expires_at": {
++ "name": "expires_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "verification_identifier_idx": {
++ "name": "verification_identifier_idx",
++ "columns": [
++ {
++ "expression": "identifier",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.workflow_rule": {
++ "name": "workflow_rule",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "project_id": {
++ "name": "project_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "integration_type": {
++ "name": "integration_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "event_type": {
++ "name": "event_type",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "column_id": {
++ "name": "column_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "workflow_rule_projectId_idx": {
++ "name": "workflow_rule_projectId_idx",
++ "columns": [
++ {
++ "expression": "project_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "workflow_rule_columnId_idx": {
++ "name": "workflow_rule_columnId_idx",
++ "columns": [
++ {
++ "expression": "column_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "workflow_rule_project_id_project_id_fk": {
++ "name": "workflow_rule_project_id_project_id_fk",
++ "tableFrom": "workflow_rule",
++ "tableTo": "project",
++ "columnsFrom": [
++ "project_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ },
++ "workflow_rule_column_id_column_id_fk": {
++ "name": "workflow_rule_column_id_column_id_fk",
++ "tableFrom": "workflow_rule",
++ "tableTo": "column",
++ "columnsFrom": [
++ "column_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.workspace": {
++ "name": "workspace",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "name": {
++ "name": "name",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "slug": {
++ "name": "slug",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "logo": {
++ "name": "logo",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "metadata": {
++ "name": "metadata",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "description": {
++ "name": "description",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ }
++ },
++ "indexes": {},
++ "foreignKeys": {},
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "workspace_slug_unique": {
++ "name": "workspace_slug_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "slug"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.workspace_billing": {
++ "name": "workspace_billing",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "founding_free": {
++ "name": "founding_free",
++ "type": "boolean",
++ "primaryKey": false,
++ "notNull": true,
++ "default": false
++ },
++ "trial_ends_at": {
++ "name": "trial_ends_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "creem_customer_id": {
++ "name": "creem_customer_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "creem_subscription_id": {
++ "name": "creem_subscription_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "creem_product_id": {
++ "name": "creem_product_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "plan": {
++ "name": "plan",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "billing_interval": {
++ "name": "billing_interval",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "status": {
++ "name": "status",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "seats": {
++ "name": "seats",
++ "type": "integer",
++ "primaryKey": false,
++ "notNull": true,
++ "default": 1
++ },
++ "current_period_end": {
++ "name": "current_period_end",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "canceled_at": {
++ "name": "canceled_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": false
++ },
++ "created_at": {
++ "name": "created_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ },
++ "updated_at": {
++ "name": "updated_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "now()"
++ }
++ },
++ "indexes": {
++ "workspace_billing_workspaceId_idx": {
++ "name": "workspace_billing_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "workspace_billing_workspace_id_workspace_id_fk": {
++ "name": "workspace_billing_workspace_id_workspace_id_fk",
++ "tableFrom": "workspace_billing",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "cascade"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {
++ "workspace_billing_workspace_id_unique": {
++ "name": "workspace_billing_workspace_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "workspace_id"
++ ]
++ },
++ "workspace_billing_creem_subscription_id_unique": {
++ "name": "workspace_billing_creem_subscription_id_unique",
++ "nullsNotDistinct": false,
++ "columns": [
++ "creem_subscription_id"
++ ]
++ }
++ },
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ },
++ "public.workspace_member": {
++ "name": "workspace_member",
++ "schema": "",
++ "columns": {
++ "id": {
++ "name": "id",
++ "type": "text",
++ "primaryKey": true,
++ "notNull": true
++ },
++ "workspace_id": {
++ "name": "workspace_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "user_id": {
++ "name": "user_id",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true
++ },
++ "role": {
++ "name": "role",
++ "type": "text",
++ "primaryKey": false,
++ "notNull": true,
++ "default": "'member'"
++ },
++ "joined_at": {
++ "name": "joined_at",
++ "type": "timestamp",
++ "primaryKey": false,
++ "notNull": true
++ }
++ },
++ "indexes": {
++ "workspace_member_workspaceId_idx": {
++ "name": "workspace_member_workspaceId_idx",
++ "columns": [
++ {
++ "expression": "workspace_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ },
++ "workspace_member_userId_idx": {
++ "name": "workspace_member_userId_idx",
++ "columns": [
++ {
++ "expression": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nulls": "last"
++ }
++ ],
++ "isUnique": false,
++ "concurrently": false,
++ "method": "btree",
++ "with": {}
++ }
++ },
++ "foreignKeys": {
++ "workspace_member_workspace_id_workspace_id_fk": {
++ "name": "workspace_member_workspace_id_workspace_id_fk",
++ "tableFrom": "workspace_member",
++ "tableTo": "workspace",
++ "columnsFrom": [
++ "workspace_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ },
++ "workspace_member_user_id_user_id_fk": {
++ "name": "workspace_member_user_id_user_id_fk",
++ "tableFrom": "workspace_member",
++ "tableTo": "user",
++ "columnsFrom": [
++ "user_id"
++ ],
++ "columnsTo": [
++ "id"
++ ],
++ "onDelete": "cascade",
++ "onUpdate": "no action"
++ }
++ },
++ "compositePrimaryKeys": {},
++ "uniqueConstraints": {},
++ "policies": {},
++ "checkConstraints": {},
++ "isRLSEnabled": false
++ }
++ },
++ "enums": {},
++ "schemas": {},
++ "sequences": {},
++ "roles": {},
++ "policies": {},
++ "views": {},
++ "_meta": {
++ "columns": {},
++ "schemas": {},
++ "tables": {}
++ }
++}
diff --cc apps/api/drizzle/meta/_journal.json
index ac05e4b83,572a1ed82..4edeb1e76
--- a/apps/api/drizzle/meta/_journal.json
+++ b/apps/api/drizzle/meta/_journal.json
@@@ -362,9 -362,16 +362,23 @@@
{
"idx": 51,
"version": "7",
- "when": 1790158381998,
- "tag": "0051_calendar_feeds",
+ "when": 1790370789562,
+ "tag": "0051_modern_corsair",
+ "breakpoints": true
+ },
+ {
+ "idx": 52,
+ "version": "7",
+ "when": 1790405156847,
+ "tag": "0052_dear_beyonder",
+ "breakpoints": true
++ },
++ {
++ "idx": 53,
++ "version": "7",
++ "when": 1790406015959,
++ "tag": "0053_calendar_feeds",
+ "breakpoints": true
}
]
}
diff --cc apps/api/src/calendar-feed/ical.ts
index 0d5b89b7b,000000000..4ca9c23a4
mode 100644,000000..100644
--- a/apps/api/src/calendar-feed/ical.ts
+++ b/apps/api/src/calendar-feed/ical.ts
@@@ -1,106 -1,0 +1,159 @@@
- type CalendarTask = {
++export type CalendarTask = {
+ id: string;
+ title: string;
+ description: string | null;
+ startDate: Date | null;
+ dueDate: Date | null;
+ createdAt: Date;
+ updatedAt: Date;
+};
+
+function escapeText(value: string) {
+ return value
+ .replaceAll("\\", "\\\\")
+ .replace(/\r\n|\r|\n/g, "\\n")
+ .replaceAll(";", "\\;")
+ .replaceAll(",", "\\,");
+}
+
+// RFC 5545 limits physical lines to 75 octets, including continuation spaces.
+function foldLine(line: string) {
+ const lines: string[] = [];
+ let current = "";
+ let bytes = 0;
+ for (const character of line) {
+ const size = Buffer.byteLength(character, "utf8");
+ if (bytes + size > 75) {
+ lines.push(current);
+ current = " ";
+ bytes = 1;
+ }
+ current += character;
+ bytes += size;
+ }
+ lines.push(current);
+ return lines.join("\r\n");
+}
+
+function timestamp(date: Date) {
+ return date
+ .toISOString()
+ .replace(/[-:]/g, "")
+ .replace(/\.\d{3}Z$/, "Z");
+}
+
+function calendarDate(date: Date, formatter: Intl.DateTimeFormat) {
+ const parts = formatter.formatToParts(date);
+ return ["year", "month", "day"]
+ .map((type) => parts.find((part) => part.type === type)?.value)
+ .join("");
+}
+
+function nextDay(date: string) {
+ const day = new Date(
+ `${date.slice(0, 4)}-${date.slice(4, 6)}-${date.slice(6, 8)}T00:00:00Z`,
+ );
+ day.setUTCDate(day.getUTCDate() + 1);
+ return day.toISOString().slice(0, 10).replaceAll("-", "");
+}
+
- export function buildCalendar({
- name,
- timeZone,
- tasks,
- }: {
- name: string;
- timeZone: string;
- tasks: CalendarTask[];
- }) {
- const formatter = new Intl.DateTimeFormat("en-US", {
- timeZone,
- year: "numeric",
- month: "2-digit",
- day: "2-digit",
- });
- const lines = [
++function calendarHeader(name: string) {
++ return [
+ "BEGIN:VCALENDAR",
+ "VERSION:2.0",
+ "PRODID:-//Kaneo//Calendar Feed//EN",
+ "CALSCALE:GREGORIAN",
+ `X-WR-CALNAME:${escapeText(name)}`,
+ ];
- for (const task of tasks) {
++}
++
++function eventFormatter(timeZone: string) {
++ const formatter = new Intl.DateTimeFormat("en-US", {
++ timeZone,
++ year: "numeric",
++ month: "2-digit",
++ day: "2-digit",
++ });
++ return (task: CalendarTask) => {
+ const scheduledDate = task.startDate ?? task.dueDate;
- if (!scheduledDate) continue;
++ if (!scheduledDate) return [];
+ const start = calendarDate(scheduledDate, formatter);
+ const due = calendarDate(task.dueDate ?? scheduledDate, formatter);
- lines.push(
++ return [
+ "BEGIN:VEVENT",
+ `UID:${task.id}@kaneo`,
+ `DTSTAMP:${timestamp(task.updatedAt)}`,
+ `CREATED:${timestamp(task.createdAt)}`,
+ `LAST-MODIFIED:${timestamp(task.updatedAt)}`,
+ `DTSTART;VALUE=DATE:${start}`,
+ // Task due dates are inclusive; iCalendar's DTEND is exclusive.
+ `DTEND;VALUE=DATE:${nextDay(due < start ? start : due)}`,
+ `SUMMARY:${escapeText(task.title)}`,
+ ...(task.description
+ ? [`DESCRIPTION:${escapeText(task.description)}`]
+ : []),
+ "TRANSP:TRANSPARENT",
+ "END:VEVENT",
- );
++ ];
++ };
++}
++
++function serializeLines(lines: string[]) {
++ return lines.length ? `${lines.map(foldLine).join("\r\n")}\r\n` : "";
++}
++
++export function buildCalendar({
++ name,
++ timeZone,
++ tasks,
++}: {
++ name: string;
++ timeZone: string;
++ tasks: CalendarTask[];
++}) {
++ const event = eventFormatter(timeZone);
++ return serializeLines([
++ ...calendarHeader(name),
++ ...tasks.flatMap(event),
++ "END:VCALENDAR",
++ ]);
++}
++
++export function streamCalendar({
++ name,
++ timeZone,
++ tasks,
++}: {
++ name: string;
++ timeZone: string;
++ tasks: AsyncIterable<CalendarTask>;
++}) {
++ const event = eventFormatter(timeZone);
++ const encoder = new TextEncoder();
++ async function* chunks() {
++ yield encoder.encode(serializeLines(calendarHeader(name)));
++ for await (const task of tasks) {
++ yield encoder.encode(serializeLines(event(task)));
++ }
++ yield encoder.encode("END:VCALENDAR\r\n");
+ }
- lines.push("END:VCALENDAR");
- return `${lines.map(foldLine).join("\r\n")}\r\n`;
++ const iterator = chunks();
++ return new ReadableStream<Uint8Array>(
++ {
++ async pull(controller) {
++ try {
++ const result = await iterator.next();
++ if (result.done) controller.close();
++ else controller.enqueue(result.value);
++ } catch (error) {
++ await iterator.return();
++ controller.error(error);
++ }
++ },
++ async cancel() {
++ await iterator.return();
++ },
++ },
++ { highWaterMark: 0 },
++ );
+}
diff --cc apps/api/src/calendar-feed/index.ts
index 5753e491e,000000000..87d77456f
mode 100644,000000..100644
--- a/apps/api/src/calendar-feed/index.ts
+++ b/apps/api/src/calendar-feed/index.ts
@@@ -1,164 -1,0 +1,164 @@@
+import {
+ apiRouter,
+ type BaseVariables,
+ createRoute,
+ errorResponse,
+ jsonResponse,
+ z,
+} from "../openapi";
+import {
+ hasWorkspacePermission,
+ requireWorkspacePermission,
+} from "../utils/require-workspace-permission";
+import { workspaceAccess } from "../utils/workspace-access-middleware";
+import { calendarFeedSchema } from "./response";
+import {
+ calendarFeedDeleteParam,
+ calendarFeedProjectParam,
+ calendarFeedTokenParam,
+ createCalendarFeedBody,
+} from "./schema";
+import {
+ createCalendarFeed,
+ getCalendarFeed,
+ listCalendarFeeds,
+ revokeCalendarFeed,
+} from "./service";
+
+const sharingMiddleware = [
+ workspaceAccess.fromProject("projectId"),
+ requireWorkspacePermission({ project: ["share"] }),
+];
+const managementErrors = {
+ 400: errorResponse("Invalid request or unknown project"),
+ 401: errorResponse("Authentication required"),
+ 403: errorResponse(
+ "No workspace access or missing project sharing permission",
+ ),
+};
+
+export const publicCalendarFeed = apiRouter().openapi(
+ createRoute({
+ method: "get",
+ path: "/{token}/calendar.ics",
+ operationId: "getCalendarFeed",
+ tags: ["Calendar feeds"],
+ summary: "Subscribe to a calendar feed",
+ description:
- "Read scheduled project tasks using a secret calendar feed link. Anyone with the link can read matching task titles, descriptions, and dates.",
++ "Read scheduled project tasks using a secret calendar feed link. Anyone with the link can read matching task titles, descriptions, and dates. Responses are streamed; descriptions longer than 4096 characters and titles or calendar names longer than 1024 characters are truncated with an ellipsis.",
+ security: [],
+ request: { params: calendarFeedTokenParam },
+ responses: {
+ 200: {
+ description: "iCalendar feed",
+ content: { "text/calendar": { schema: z.string() } },
+ },
+ 400: errorResponse("Invalid feed token"),
+ 404: errorResponse("Calendar feed not found or revoked"),
+ },
+ }),
+ async (c) => {
+ c.header("Cache-Control", "private, no-store");
+ c.header("X-Content-Type-Options", "nosniff");
+ c.header("Content-Type", "text/calendar; charset=utf-8");
+ c.header("Content-Disposition", 'inline; filename="kaneo.ics"');
+ return c.body(await getCalendarFeed(c.req.valid("param").token), 200);
+ },
+);
+
+const calendarFeed = apiRouter<BaseVariables & { workspaceId: string }>()
+ .openapi(
+ createRoute({
+ method: "get",
+ path: "/project/{projectId}",
+ operationId: "listCalendarFeeds",
+ tags: ["Calendar feeds"],
+ summary: "List project calendar feeds",
+ description:
+ "List secret calendar subscription links. Requires project sharing permission.",
+ middleware: sharingMiddleware,
+ request: { params: calendarFeedProjectParam },
+ responses: {
+ 200: jsonResponse("Calendar feeds", z.array(calendarFeedSchema)),
+ ...managementErrors,
+ },
+ }),
+ async (c) => {
+ c.header("Cache-Control", "private, no-store");
+ return c.json(
+ await listCalendarFeeds(c.req.valid("param").projectId),
+ 200,
+ );
+ },
+ )
+ .openapi(
+ createRoute({
+ method: "post",
+ path: "/project/{projectId}",
+ operationId: "createCalendarFeed",
+ tags: ["Calendar feeds"],
+ summary: "Create a calendar feed",
+ description:
+ "Create a calendar subscription matching any selected label. Tasks need a start or due date. All-day dates use the supplied time zone. Creating a missing workspace label definition also requires label:create permission.",
+ middleware: sharingMiddleware,
+ request: {
+ params: calendarFeedProjectParam,
+ body: {
+ required: true,
+ content: { "application/json": { schema: createCalendarFeedBody } },
+ },
+ },
+ responses: {
+ 201: jsonResponse("Calendar feed created", calendarFeedSchema),
+ ...managementErrors,
+ 403: errorResponse(
+ "No workspace access, missing project:share permission, or missing label:create permission for a new workspace label definition",
+ ),
+ },
+ }),
+ async (c) => {
+ const { labelIds, timeZone } = c.req.valid("json");
+ c.header("Cache-Control", "private, no-store");
+ return c.json(
+ await createCalendarFeed(
+ c.req.valid("param").projectId,
+ c.get("workspaceId"),
+ labelIds,
+ timeZone,
+ await hasWorkspacePermission(c, { label: ["create"] }),
+ ),
+ 201,
+ );
+ },
+ )
+ .openapi(
+ createRoute({
+ method: "delete",
+ path: "/project/{projectId}/{id}",
+ operationId: "revokeCalendarFeed",
+ tags: ["Calendar feeds"],
+ summary: "Revoke a calendar feed",
+ description:
+ "Revoke a calendar subscription link, preventing further access through it.",
+ middleware: sharingMiddleware,
+ request: { params: calendarFeedDeleteParam },
+ responses: {
+ 200: jsonResponse(
+ "Calendar feed revoked",
+ z.object({ success: z.boolean() }),
+ ),
+ 404: errorResponse("Calendar feed not found in this project"),
+ ...managementErrors,
+ },
+ }),
+ async (c) =>
+ c.json(
+ await revokeCalendarFeed(
+ c.req.valid("param").projectId,
+ c.req.valid("param").id,
+ ),
+ 200,
+ ),
+ );
+
+export default calendarFeed;
diff --cc apps/api/src/calendar-feed/service.ts
index f72fc8178,000000000..d8f75d96a
mode 100644,000000..100644
--- a/apps/api/src/calendar-feed/service.ts
+++ b/apps/api/src/calendar-feed/service.ts
@@@ -1,173 -1,0 +1,235 @@@
+import { randomBytes } from "node:crypto";
- import { and, asc, eq, inArray, isNotNull, isNull, or } from "drizzle-orm";
++import { setImmediate } from "node:timers/promises";
++import {
++ and,
++ asc,
++ eq,
++ exists,
++ gt,
++ inArray,
++ isNotNull,
++ isNull,
++ or,
++ type SQLWrapper,
++ sql,
++} from "drizzle-orm";
+import { HTTPException } from "hono/http-exception";
+import db from "../database";
+import {
+ calendarFeedTable,
+ labelTable,
+ projectTable,
+ taskTable,
+} from "../database/schema";
- import { buildCalendar } from "./ical";
++import { boundedTaskRead } from "../task/bounded-read";
++import { type CalendarTask, streamCalendar } from "./ical";
++
++export const CALENDAR_TASK_BATCH_SIZE = 50;
++export const CALENDAR_DESCRIPTION_CHARACTERS = 4096;
++const CALENDAR_TITLE_CHARACTERS = 1024;
++
++// Limit text in PostgreSQL so oversized descriptions never enter API memory.
++function excerpt(column: SQLWrapper, characters: number) {
++ return sql<string>`case when char_length(${column}) > ${characters}
++ then left(${column}, ${characters}) || '…'
++ else ${column} end`;
++}
+
+export async function createCalendarFeed(
+ projectId: string,
+ workspaceId: string,
+ labelIds: string[],
+ timeZone: string,
+ canCreateLabels: boolean,
+) {
+ return db.transaction(async (tx) => {
+ const ids = [...new Set(labelIds)];
+ const labels = await tx
+ .select({
+ id: labelTable.id,
+ name: labelTable.name,
+ color: labelTable.color,
+ })
+ .from(labelTable)
+ .where(
+ and(
+ eq(labelTable.workspaceId, workspaceId),
+ inArray(labelTable.id, ids),
+ isNull(labelTable.deletionStartedAt),
+ ),
+ );
+ if (labels.length !== ids.length) {
+ throw new HTTPException(400, {
+ message: "Select labels from this workspace",
+ });
+ }
+ // Task assignments are disposable. Older workspaces may have no definition,
+ // so materialize one and keep subscriptions tied to that persistent row.
+ const definitions = [
+ ...new Map(labels.map((label) => [label.name, label])).values(),
+ ].sort((a, b) => a.name.localeCompare(b.name));
+ if (canCreateLabels) {
+ await tx
+ .insert(labelTable)
+ .values(
+ definitions.map(({ name, color }) => ({
+ name,
+ color,
+ workspaceId,
+ taskId: null,
+ })),
+ )
+ .onConflictDoNothing({
+ target: [labelTable.workspaceId, labelTable.name],
+ where: isNull(labelTable.taskId),
+ });
+ }
+ const roots = await tx
+ .select({ id: labelTable.id })
+ .from(labelTable)
+ .where(
+ and(
+ eq(labelTable.workspaceId, workspaceId),
+ inArray(
+ labelTable.name,
+ definitions.map((label) => label.name),
+ ),
+ isNull(labelTable.taskId),
+ isNull(labelTable.deletionStartedAt),
+ ),
+ )
+ .orderBy(asc(labelTable.name));
+ if (roots.length !== definitions.length) {
+ if (!canCreateLabels) {
+ throw new HTTPException(403, {
+ message:
+ "Creating a workspace label definition requires label:create permission",
+ });
+ }
+ throw new HTTPException(400, {
+ message: "Select labels that are not being deleted",
+ });
+ }
+ const [feed] = await tx
+ .insert(calendarFeedTable)
+ .values({
+ projectId,
+ labelIds: roots.map((label) => label.id),
+ timeZone,
+ token: randomBytes(32).toString("hex"),
+ })
+ .returning();
+ return feed;
+ });
+}
+
+export function listCalendarFeeds(projectId: string) {
+ return db
+ .select()
+ .from(calendarFeedTable)
+ .where(eq(calendarFeedTable.projectId, projectId))
+ .orderBy(asc(calendarFeedTable.createdAt), asc(calendarFeedTable.id));
+}
+
+export async function revokeCalendarFeed(projectId: string, id: string) {
+ const [feed] = await db
+ .delete(calendarFeedTable)
+ .where(
+ and(
+ eq(calendarFeedTable.projectId, projectId),
+ eq(calendarFeedTable.id, id),
+ ),
+ )
+ .returning({ id: calendarFeedTable.id });
+ if (!feed)
+ throw new HTTPException(404, { message: "Calendar feed not found" });
+ return { success: true };
+}
+
+export async function getCalendarFeed(token: string) {
+ const [record] = await db
- .select({ feed: calendarFeedTable, project: projectTable })
++ .select({
++ feed: calendarFeedTable,
++ project: {
++ id: projectTable.id,
++ workspaceId: projectTable.workspaceId,
++ name: excerpt(projectTable.name, CALENDAR_TITLE_CHARACTERS),
++ },
++ })
+ .from(calendarFeedTable)
+ .innerJoin(projectTable, eq(projectTable.id, calendarFeedTable.projectId))
+ .where(eq(calendarFeedTable.token, token));
+ if (!record)
+ throw new HTTPException(404, { message: "Calendar feed not found" });
+ const { feed, project } = record;
+ // Resolve IDs on every refresh so renaming a label preserves subscriptions.
+ // Missing/deleted labels must never broaden a feed to all project tasks.
+ const labels = feed.labelIds.length
+ ? await db
+ .select({ name: labelTable.name })
+ .from(labelTable)
+ .where(
+ and(
+ eq(labelTable.workspaceId, project.workspaceId),
+ inArray(labelTable.id, feed.labelIds),
+ ),
+ )
+ : [];
- const tasks = labels.length
- ? await db
- .selectDistinct({
- id: taskTable.id,
- title: taskTable.title,
- description: taskTable.description,
- startDate: taskTable.startDate,
- dueDate: taskTable.dueDate,
- createdAt: taskTable.createdAt,
- updatedAt: taskTable.updatedAt,
- })
- .from(taskTable)
- .innerJoin(labelTable, eq(labelTable.taskId, taskTable.id))
- .where(
- and(
- eq(taskTable.projectId, project.id),
- eq(labelTable.workspaceId, project.workspaceId),
- inArray(
- labelTable.name,
- labels.map((label) => label.name),
++ async function* tasks(): AsyncGenerator<CalendarTask> {
++ if (!labels.length) return;
++ let after: string | undefined;
++ while (true) {
++ const page: CalendarTask[] = await boundedTaskRead((tx) =>
++ tx
++ .select({
++ id: taskTable.id,
++ title: excerpt(taskTable.title, CALENDAR_TITLE_CHARACTERS),
++ description: excerpt(
++ taskTable.description,
++ CALENDAR_DESCRIPTION_CHARACTERS,
+ ),
- or(isNotNull(taskTable.startDate), isNotNull(taskTable.dueDate)),
- ),
- )
- .orderBy(asc(taskTable.id))
- : [];
- return buildCalendar({ name: project.name, timeZone: feed.timeZone, tasks });
++ startDate: taskTable.startDate,
++ dueDate: taskTable.dueDate,
++ createdAt: taskTable.createdAt,
++ updatedAt: taskTable.updatedAt,
++ })
++ .from(taskTable)
++ .where(
++ and(
++ eq(taskTable.projectId, project.id),
++ after ? gt(taskTable.id, after) : undefined,
++ or(isNotNull(taskTable.startDate), isNotNull(taskTable.dueDate)),
++ exists(
++ tx
++ .select({ id: labelTable.id })
++ .from(labelTable)
++ .where(
++ and(
++ eq(labelTable.taskId, taskTable.id),
++ eq(labelTable.workspaceId, project.workspaceId),
++ inArray(
++ labelTable.name,
++ labels.map((label) => label.name),
++ ),
++ ),
++ ),
++ ),
++ ),
++ )
++ .orderBy(asc(taskTable.id))
++ .limit(CALENDAR_TASK_BATCH_SIZE),
++ );
++ yield* page;
++ const last = page.at(-1);
++ if (!last || page.length < CALENDAR_TASK_BATCH_SIZE) return;
++ after = last.id;
++ // Let pending requests run even when the subscriber consumes immediately.
++ await setImmediate();
++ }
++ }
++ return streamCalendar({
++ name: project.name,
++ timeZone: feed.timeZone,
++ tasks: tasks(),
++ });
+}
diff --cc apps/docs/openapi.json
index d570d4a49,9c404d5cb..a7e3a72aa
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@@ -732,41 -701,109 +701,144 @@@
"lastTaskNumber"
]
},
+ "ProjectListItem": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Project"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "statistics": {
+ "$ref": "#/components/schemas/ProjectStatistics"
+ },
+ "archivedTasks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BoardTask"
+ },
+ "description": "Always empty."
+ },
+ "plannedTasks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BoardTask"
+ },
+ "description": "Always empty."
+ },
+ "columns": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BoardColumn"
+ },
+ "description": "Always empty."
+ }
+ },
+ "required": [
+ "statistics",
+ "archivedTasks",
+ "plannedTasks",
+ "columns"
+ ]
+ }
+ ]
+ },
+ "ProjectStatistics": {
+ "type": "object",
+ "properties": {
+ "completionPercentage": {
+ "type": "number"
+ },
+ "totalTasks": {
+ "type": "number"
+ },
+ "dueDate": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "description": "The soonest due date among the project's open tasks."
+ }
+ },
+ "required": [
+ "completionPercentage",
+ "totalTasks",
+ "dueDate"
+ ]
+ },
+ "ProjectBackgroundUpload": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "uploadUrl": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "headers": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "key",
+ "uploadUrl",
+ "version",
+ "headers"
+ ]
+ },
+ "ProjectBackgroundFinalize": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ]
+ },
+ "CalendarFeed": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "projectId": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "labelIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "timeZone": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "id",
+ "projectId",
+ "token",
+ "labelIds",
+ "timeZone",
+ "createdAt"
+ ]
+ },
"TaskDescriptionMatches": {
"type": "object",
"properties": {
@@@ -3886,60 -4029,6 +4064,60 @@@
}
}
},
+ "/calendar-feed/{token}/calendar.ics": {
+ "get": {
+ "operationId": "getCalendarFeed",
+ "tags": [
+ "Calendar feeds"
+ ],
+ "summary": "Subscribe to a calendar feed",
- "description": "Read scheduled project tasks using a secret calendar feed link. Anyone with the link can read matching task titles, descriptions, and dates.",
++ "description": "Read scheduled project tasks using a secret calendar feed link. Anyone with the link can read matching task titles, descriptions, and dates. Responses are streamed; descriptions longer than 4096 characters and titles or calendar names longer than 1024 characters are truncated with an ellipsis.",
+ "security": [],
+ "parameters": [
+ {
+ "schema": {
+ "type": "string",
+ "pattern": "^[a-f0-9]{64}$"
+ },
+ "required": true,
+ "name": "token",
+ "in": "path"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "iCalendar feed",
+ "content": {
+ "text/calendar": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid feed token",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Calendar feed not found or revoked",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/auth/get-session": {
"get": {
"operationId": "getSession",
@@@ -6889,247 -7204,208 +7293,449 @@@
}
}
},
+ "/project/{id}/background-upload": {
+ "put": {
+ "operationId": "uploadProjectBackground",
+ "tags": [
+ "Projects"
+ ],
+ "summary": "Prepare project background upload",
+ "description": "Create a presigned background image upload URL for a project.",
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "id",
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "contentType": {
+ "type": "string"
+ },
+ "size": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "contentType",
+ "size"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Background image upload URL",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProjectBackgroundUpload"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid image upload request, or unknown project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Missing or invalid credentials"
+ },
+ "403": {
+ "description": "No workspace access, or missing project:update permission",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Project not found",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "503": {
+ "description": "Image uploads are not configured",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/project/{id}/background-upload/finalize": {
+ "post": {
+ "operationId": "finalizeProjectBackgroundUpload",
+ "tags": [
+ "Projects"
+ ],
+ "summary": "Finalize project background upload",
+ "description": "Save an uploaded image as the project's board background.",
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "id",
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "contentType": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "size": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "key",
+ "contentType",
+ "version",
+ "size"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Finalized project background",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProjectBackgroundFinalize"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid image upload request, or unknown project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Missing or invalid credentials"
+ },
+ "403": {
+ "description": "No workspace access, or missing project:update permission",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Project not found",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Failed to save the project background",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/calendar-feed/project/{projectId}": {
+ "get": {
+ "operationId": "listCalendarFeeds",
+ "tags": [
+ "Calendar feeds"
+ ],
+ "summary": "List project calendar feeds",
+ "description": "List secret calendar subscription links. Requires project sharing permission.",
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "projectId",
+ "in": "path"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Calendar feeds",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CalendarFeed"
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid request or unknown project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication required",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "No workspace access or missing project sharing permission",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "post": {
+ "operationId": "createCalendarFeed",
+ "tags": [
+ "Calendar feeds"
+ ],
+ "summary": "Create a calendar feed",
+ "description": "Create a calendar subscription matching any selected label. Tasks need a start or due date. All-day dates use the supplied time zone. Creating a missing workspace label definition also requires label:create permission.",
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "projectId",
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "labelIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1
+ },
+ "minItems": 1,
+ "maxItems": 100
+ },
+ "timeZone": {
+ "type": "string",
+ "default": "UTC"
+ }
+ },
+ "required": [
+ "labelIds"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "Calendar feed created",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CalendarFeed"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid request or unknown project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication required",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "No workspace access, missing project:share permission, or missing label:create permission for a new workspace label definition",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/calendar-feed/project/{projectId}/{id}": {
+ "delete": {
+ "operationId": "revokeCalendarFeed",
+ "tags": [
+ "Calendar feeds"
+ ],
+ "summary": "Revoke a calendar feed",
+ "description": "Revoke a calendar subscription link, preventing further access through it.",
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "projectId",
+ "in": "path"
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "required": true,
+ "name": "id",
+ "in": "path"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Calendar feed revoked",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid request or unknown project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication required",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "No workspace access or missing project sharing permission",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Calendar feed not found in this project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/task/{id}/description": {
"get": {
"operationId": "getTaskDescriptionPage",
diff --cc apps/web/src/routeTree.gen.ts
index 8312d8135,99e489847..f127b4e8c
--- a/apps/web/src/routeTree.gen.ts
+++ b/apps/web/src/routeTree.gen.ts
@@@ -1045,8 -1124,22 +1146,23 @@@ const LayoutAuthenticatedDashboardSetti
LayoutAuthenticatedDashboardSettingsAccountRouteChildren,
)
+ interface LayoutAuthenticatedDashboardSettingsAdminRouteChildren {
+ LayoutAuthenticatedDashboardSettingsAdminUsersRoute: typeof LayoutAuthenticatedDashboardSettingsAdminUsersRoute
+ }
+
+ const LayoutAuthenticatedDashboardSettingsAdminRouteChildren: LayoutAuthenticatedDashboardSettingsAdminRouteChildren =
+ {
+ LayoutAuthenticatedDashboardSettingsAdminUsersRoute:
+ LayoutAuthenticatedDashboardSettingsAdminUsersRoute,
+ }
+
+ const LayoutAuthenticatedDashboardSettingsAdminRouteWithChildren =
+ LayoutAuthenticatedDashboardSettingsAdminRoute._addFileChildren(
+ LayoutAuthenticatedDashboardSettingsAdminRouteChildren,
+ )
+
interface LayoutAuthenticatedDashboardSettingsProjectsRouteChildren {
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute
diff --cc i18n/az-AZ.json
index 5422dd5c1,02296b8fd..07efcea7b
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/de-DE.json
index 0eccf0355,d769af2eb..d7231587a
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@@ -1423,36 -1560,46 +1560,74 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Kalender-Feeds",
+ "subtitle": "Abonniere geplante Projektaufgaben in deiner Kalender-App.",
+ "createTitle": "Kalender-Feed erstellen",
+ "filterHint": "Enthält Aufgaben mit einem Start- oder Fälligkeitsdatum und mindestens einem der ausgewählten Labels.",
+ "labels": "Labels",
+ "selectLabels": "Labels suchen und auswählen…",
+ "noLabels": "Keine Labels gefunden.",
+ "timeZoneHint": "Ganztägige Termine verwenden {{timeZone}}.",
+ "accessHint": "Jeder mit einem Feed-Link kann die Titel, Beschreibungen und Termine der passenden Aufgaben lesen. Widerrufe einen Link, um den künftigen Zugriff zu beenden.",
+ "create": "Feed erstellen",
+ "creating": "Wird erstellt…",
+ "created": "Kalender-Feed erstellt.",
+ "createError": "Kalender-Feed konnte nicht erstellt werden.",
+ "activeFeeds": "Aktive Feeds",
+ "subscribeHint": "Kopiere einen Link und füge ihn als Kalenderabonnement hinzu. Änderungen erscheinen, sobald deine Kalender-App den Feed aktualisiert.",
+ "empty": "Noch keine Kalender-Feeds.",
+ "feedUrl": "Kalender-Feed-URL",
+ "copy": "Link kopieren",
+ "copied": "Kalender-Feed-Link kopiert.",
+ "copyError": "Link konnte nicht kopiert werden. Wähle die URL aus und kopiere sie manuell.",
+ "revoke": "Widerrufen",
+ "revoked": "Kalender-Feed widerrufen.",
+ "revokeError": "Kalender-Feed konnte nicht widerrufen werden.",
+ "loadError": "Kalender-Feeds oder Labels konnten nicht geladen werden. Bitte versuche es erneut.",
+ "deletedLabel": "Gelöschtes Label",
+ "permissionRequired": "Du benötigst die Berechtigung zum Teilen von Projekten, um Kalender-Feeds zu verwalten."
}
},
"navigation": {
diff --cc i18n/el-GR.json
index 600549db8,5eb3e8704..d9ac6574c
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/en-US.json
index 7d506c610,bea6816ef..972c57260
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@@ -1424,35 -1562,44 +1562,72 @@@
"branch": "Branch",
"merged": "Merged",
"draft": "Draft",
- "open": "Open"
+ "open": "Open",
+ "addResource": "Add resource",
+ "url": "URL",
+ "titleOptional": "Title (optional)",
+ "cancel": "Cancel",
+ "adding": "Adding...",
+ "empty": "No resources linked to this task.",
+ "remove": "Remove {{title}}",
+ "removeError": "Failed to remove the resource link."
+ },
+ "security": "Security",
+ "securityPage": {
+ "pageTitle": "Security",
+ "title": "Security",
+ "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Password",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "currentPassword": "Current password",
+ "newPassword": "New password",
+ "confirmPassword": "Confirm new password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "updateSuccess": "Password updated.",
+ "updateError": "Failed to update password.",
+ "noPassword": {
+ "title": "Password change isn't available",
+ "description": "Your account signs in with a different method, so there is no password to change."
+ },
+ "validation": {
+ "currentRequired": "Enter your current password.",
+ "tooShort": "New password must be at least 8 characters.",
+ "confirmRequired": "Confirm your new password.",
+ "mismatch": "Passwords do not match.",
+ "sameAsCurrent": "New password must be different from your current password."
+ }
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/es-ES.json
index f89fb57f9,2bd93d610..d42b3db5e
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@@ -1424,36 -1481,128 +1481,156 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/fr-FR.json
index f78e262bf,7a25ff319..364e23327
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@@ -1402,58 -1459,150 +1459,178 @@@
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
- "createError": "Failed to create custom field.",
- "createSuccess": "Custom field created.",
- "creating": "Creating...",
- "defaultLabel": "Default",
- "defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
- "deleteError": "Failed to delete custom field.",
- "deleteSuccess": "Custom field deleted.",
- "deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
- "namePlaceholder": "Field name",
- "noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
- "required": "Required",
- "typePlaceholder": "Select field type",
+ "addButton": "Ajouter",
+ "createError": "Échec de la création du champ personnalisé.",
+ "createSuccess": "Champ personnalisé créé.",
+ "creating": "Création...",
+ "defaultLabel": "Par défaut",
+ "defaultValuePlaceholder": "Valeur par défaut",
+ "deleteButton": "Supprimer",
+ "deleteError": "Échec de la suppression du champ personnalisé.",
+ "deleteSuccess": "Champ personnalisé supprimé.",
+ "deleting": "Suppression...",
+ "empty": "Aucun champ personnalisé configuré pour le moment.",
+ "loading": "Chargement...",
+ "namePlaceholder": "Nom du champ",
+ "noOptionsPlaceholder": "Aucune option",
+ "optionsPlaceholder": "Options séparées par des virgules",
+ "required": "Requis",
+ "typePlaceholder": "Sélectionner un type de champ",
"types": {
- "boolean": "Boolean",
+ "boolean": "Booléen",
"date": "Date",
- "dropdown": "Dropdown",
- "number": "Number",
- "text": "Text"
+ "dropdown": "Sélecteur",
+ "number": "Nombre",
+ "text": "Texte",
+ "multiselect": "Sélection multiple"
+ },
+ "availableOptions": "Options disponibles",
+ "clearDefault": "Effacer",
+ "defaultValues": "{{count}} par défaut",
+ "moreOptions": "+{{hiddenCount}} de plus",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Échec du réagencement des champs",
+ "selectPlaceholder": "Sélectionner une option"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/hi-IN.json
index df1204274,87e5bef47..9e596a734
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/id-ID.json
index e85f51a99,3d9ba83ea..8729e8462
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@@ -1422,36 -1479,124 +1479,152 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/it-IT.json
index ecc9fd0f5,bf3a79ccf..06a91bf68
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@@ -1424,36 -1481,128 +1481,156 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/ja-JP.json
index b9abc736a,239ad0d3b..05eace695
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@@ -1422,36 -1479,124 +1479,152 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/ko-KR.json
index fbdcd4150,a42f728c1..0ba6c5d2c
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@@ -1422,36 -1479,124 +1479,152 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/mk-MK.json
index 71f51c35b,453c6db43..5c4eca955
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/nl-NL.json
index ccc95fb44,0d7f23b14..1e12e6f98
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/pl-PL.json
index eb0b92bcb,b561471b4..8806bd7b3
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@@ -1903,36 -1960,130 +1960,158 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_few": "{{count}} matching users",
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_few": "{{count}} registered users",
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"tasks": {
diff --cc i18n/pt-BR.json
index 2c0d2263c,cb0b917a5..32b76462a
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@@ -1424,36 -1481,128 +1481,156 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/ru-RU.json
index 29a4aece8,94d201aed..d7f24a5b9
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@@ -1433,36 -1490,130 +1490,158 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_few": "{{count}} matching users",
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_few": "{{count}} registered users",
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/schema.json
index ccf55952a,c699cfa9b..3da74af09
--- a/i18n/schema.json
+++ b/i18n/schema.json
@@@ -3862,6 -4374,6 +4374,30 @@@
"optionsPlaceholder": {
"type": "string"
},
++ "selectPlaceholder": {
++ "type": "string"
++ },
++ "defaultValues": {
++ "type": "string"
++ },
++ "defaultValues_zero": {
++ "type": "string"
++ },
++ "defaultValues_one": {
++ "type": "string"
++ },
++ "defaultValues_two": {
++ "type": "string"
++ },
++ "defaultValues_few": {
++ "type": "string"
++ },
++ "defaultValues_many": {
++ "type": "string"
++ },
++ "defaultValues_other": {
++ "type": "string"
++ },
"required": {
"type": "string"
},
@@@ -3898,6 -4410,6 +4434,39 @@@
"deleteError": {
"type": "string"
},
++ "reorderError": {
++ "type": "string"
++ },
++ "moreOptions": {
++ "type": "string"
++ },
++ "clearDefault": {
++ "type": "string"
++ },
++ "options": {
++ "type": "string"
++ },
++ "options_zero": {
++ "type": "string"
++ },
++ "options_one": {
++ "type": "string"
++ },
++ "options_two": {
++ "type": "string"
++ },
++ "options_few": {
++ "type": "string"
++ },
++ "options_many": {
++ "type": "string"
++ },
++ "options_other": {
++ "type": "string"
++ },
++ "availableOptions": {
++ "type": "string"
++ },
"types": {
"type": "object",
"additionalProperties": false,
@@@ -3916,9 -4428,9 +4485,22 @@@
},
"boolean": {
"type": "string"
++ },
++ "multiselect": {
++ "type": "string"
}
},
-- "required": ["text", "number", "date", "dropdown", "boolean"]
++ "required": [
++ "text",
++ "number",
++ "date",
++ "dropdown",
++ "boolean",
++ "multiselect"
++ ]
++ },
++ "multiple": {
++ "type": "string"
}
},
"required": [
@@@ -3927,6 -4439,6 +4509,7 @@@
"noOptionsPlaceholder",
"defaultValuePlaceholder",
"optionsPlaceholder",
++ "selectPlaceholder",
"required",
"addButton",
"creating",
@@@ -3939,7 -4451,7 +4522,12 @@@
"deleting",
"deleteSuccess",
"deleteError",
-- "types"
++ "reorderError",
++ "moreOptions",
++ "clearDefault",
++ "availableOptions",
++ "types",
++ "multiple"
]
},
"githubIntegration": {
@@@ -5676,128 -6188,162 +6264,274 @@@
},
"open": {
"type": "string"
- }
- },
- "required": [
- "resources",
- "issue",
- "branch",
- "merged",
- "draft",
- "open"
- ]
- },
- "calendarFeeds": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "title": {
- "type": "string"
},
- "subtitle": {
+ "addResource": {
"type": "string"
},
- "createTitle": {
+ "url": {
"type": "string"
},
- "filterHint": {
+ "titleOptional": {
"type": "string"
},
- "labels": {
+ "cancel": {
"type": "string"
},
- "selectLabels": {
+ "adding": {
"type": "string"
},
- "noLabels": {
+ "empty": {
"type": "string"
},
- "timeZoneHint": {
+ "remove": {
"type": "string"
},
- "accessHint": {
+ "removeError": {
"type": "string"
- },
- "create": {
+ }
+ },
+ "required": [
+ "resources",
+ "issue",
+ "branch",
+ "merged",
+ "draft",
+ "open",
+ "addResource",
+ "url",
+ "titleOptional",
+ "cancel",
+ "adding",
+ "empty",
+ "remove",
+ "removeError"
+ ]
+ },
+ "security": {
+ "type": "string"
+ },
+ "securityPage": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "pageTitle": {
"type": "string"
},
- "creating": {
+ "title": {
"type": "string"
},
- "created": {
+ "subtitle": {
"type": "string"
},
- "createError": {
+ "sectionTitle": {
"type": "string"
},
- "activeFeeds": {
+ "sectionSubtitle": {
"type": "string"
},
- "subscribeHint": {
+ "currentPassword": {
"type": "string"
},
- "empty": {
+ "newPassword": {
"type": "string"
},
- "feedUrl": {
+ "confirmPassword": {
"type": "string"
},
- "copy": {
+ "currentPasswordPlaceholder": {
"type": "string"
},
- "copied": {
+ "newPasswordPlaceholder": {
"type": "string"
},
- "copyError": {
+ "confirmPasswordPlaceholder": {
"type": "string"
},
- "revoke": {
+ "submit": {
"type": "string"
},
- "revoked": {
+ "submitting": {
"type": "string"
},
- "revokeError": {
+ "updateSuccess": {
"type": "string"
},
- "loadError": {
+ "updateError": {
"type": "string"
},
- "deletedLabel": {
- "type": "string"
+ "noPassword": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "required": ["title", "description"]
},
- "permissionRequired": {
- "type": "string"
- }
- },
- "required": [
+ "validation": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "currentRequired": {
+ "type": "string"
+ },
+ "tooShort": {
+ "type": "string"
+ },
+ "confirmRequired": {
+ "type": "string"
+ },
+ "mismatch": {
+ "type": "string"
+ },
+ "sameAsCurrent": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "currentRequired",
+ "tooShort",
+ "confirmRequired",
+ "mismatch",
+ "sameAsCurrent"
+ ]
+ }
+ },
+ "required": [
+ "pageTitle",
+ "title",
+ "subtitle",
+ "sectionTitle",
+ "sectionSubtitle",
+ "currentPassword",
+ "newPassword",
+ "confirmPassword",
+ "currentPasswordPlaceholder",
+ "newPasswordPlaceholder",
+ "confirmPasswordPlaceholder",
+ "submit",
+ "submitting",
+ "updateSuccess",
+ "updateError",
+ "noPassword",
+ "validation"
+ ]
++ },
++ "calendarFeeds": {
++ "type": "object",
++ "additionalProperties": false,
++ "properties": {
++ "title": {
++ "type": "string"
++ },
++ "subtitle": {
++ "type": "string"
++ },
++ "createTitle": {
++ "type": "string"
++ },
++ "filterHint": {
++ "type": "string"
++ },
++ "labels": {
++ "type": "string"
++ },
++ "selectLabels": {
++ "type": "string"
++ },
++ "noLabels": {
++ "type": "string"
++ },
++ "timeZoneHint": {
++ "type": "string"
++ },
++ "accessHint": {
++ "type": "string"
++ },
++ "create": {
++ "type": "string"
++ },
++ "creating": {
++ "type": "string"
++ },
++ "created": {
++ "type": "string"
++ },
++ "createError": {
++ "type": "string"
++ },
++ "activeFeeds": {
++ "type": "string"
++ },
++ "subscribeHint": {
++ "type": "string"
++ },
++ "empty": {
++ "type": "string"
++ },
++ "feedUrl": {
++ "type": "string"
++ },
++ "copy": {
++ "type": "string"
++ },
++ "copied": {
++ "type": "string"
++ },
++ "copyError": {
++ "type": "string"
++ },
++ "revoke": {
++ "type": "string"
++ },
++ "revoked": {
++ "type": "string"
++ },
++ "revokeError": {
++ "type": "string"
++ },
++ "loadError": {
++ "type": "string"
++ },
++ "deletedLabel": {
++ "type": "string"
++ },
++ "permissionRequired": {
++ "type": "string"
++ }
++ },
++ "required": [
+ "title",
+ "subtitle",
+ "createTitle",
+ "filterHint",
+ "labels",
+ "selectLabels",
+ "noLabels",
+ "timeZoneHint",
+ "accessHint",
+ "create",
+ "creating",
+ "created",
+ "createError",
+ "activeFeeds",
+ "subscribeHint",
+ "empty",
+ "feedUrl",
+ "copy",
+ "copied",
+ "copyError",
+ "revoke",
+ "revoked",
+ "revokeError",
+ "loadError",
+ "deletedLabel",
+ "permissionRequired"
+ ]
}
},
"required": [
@@@ -5833,7 -6381,8 +6569,9 @@@
"tasksImportExport",
"workflowEditor",
"externalLinks",
+ "security",
- "securityPage"
++ "securityPage",
+ "calendarFeeds"
]
},
"navigation": {
@@@ -8560,58 -9493,106 +9682,117 @@@
"type": "object",
"additionalProperties": false,
"properties": {
- "label": {
- "type": "string"
- },
- "empty": {
- "type": "string"
+ "table": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "addColumnBefore": {
+ "type": "string"
+ },
+ "addColumnAfter": {
+ "type": "string"
+ },
+ "deleteColumn": {
+ "type": "string"
+ },
+ "addRowBefore": {
+ "type": "string"
+ },
+ "addRowAfter": {
+ "type": "string"
+ },
+ "deleteRow": {
+ "type": "string"
+ },
+ "deleteTable": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "addColumnBefore",
+ "addColumnAfter",
+ "deleteColumn",
+ "addRowBefore",
+ "addRowAfter",
+ "deleteRow",
+ "deleteTable"
+ ]
}
},
- "required": ["label", "empty"]
+ "required": ["table"]
},
- "update": {
++ "customFields": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
- "success": {
- "type": "string"
- },
- "error": {
++ "ariaLabel": {
+ "type": "string"
+ }
+ },
- "required": ["success", "error"]
++ "required": ["ariaLabel"]
+ },
- "contextMenu": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "copyLink": {
- "type": "string"
- },
- "copyLinkSuccess": {
- "type": "string"
- }
- },
- "required": ["copyLink", "copyLinkSuccess"]
+ "descriptionSearchLoading": {
+ "type": "string"
},
- "actions": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "archive": {
- "type": "string"
- },
- "markAsPlanned": {
- "type": "string"
- },
- "delete": {
- "type": "string"
- }
- },
- "required": ["archive", "markAsPlanned", "delete"]
+ "descriptionSearchError": {
+ "type": "string"
},
- "bulk": {
+ "descriptionRetry": {
+ "type": "string"
+ },
+ "descriptionLoading": {
+ "type": "string"
+ },
+ "descriptionLoadError": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "status",
+ "priority",
+ "boardSearchPlaceholder",
+ "view",
+ "common",
+ "detail",
+ "entity",
+ "relations",
+ "subtasks",
+ "properties",
+ "move",
+ "popover",
+ "backlog",
+ "sort",
+ "boardFilters",
+ "calendar",
+ "gantt",
+ "delete",
+ "duplicate",
+ "archive",
+ "listView",
+ "kanban",
+ "pr",
+ "assignee",
+ "dueDate",
+ "labels",
+ "update",
+ "contextMenu",
+ "actions",
+ "bulk",
+ "editor",
++ "customFields",
+ "descriptionSearchLoading",
+ "descriptionSearchError",
+ "descriptionRetry",
+ "descriptionLoading",
+ "descriptionLoadError"
+ ]
+ },
+ "invitations": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "email": {
"type": "object",
"additionalProperties": false,
"properties": {
diff --cc i18n/tr-TR.json
index 9cbb15a65,e0794982a..c9595bc0b
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@@ -1423,36 -1480,126 +1480,154 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/uk-UA.json
index 7ce594563,b63d71cc8..a322aa3be
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@@ -1425,36 -1482,130 +1482,158 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_few": "{{count}} matching users",
+ "searchCount_many": "{{count}} matching users",
+ "searchCount_one": "{{count}} matching user",
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_few": "{{count}} registered users",
+ "userCount_many": "{{count}} registered users",
+ "userCount_one": "{{count}} registered user",
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/vi-VN.json
index 48012a9bf,ebc646436..2cb9ce8b9
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@@ -1422,36 -1479,124 +1479,152 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc i18n/zh-CN.json
index c7f54c6bb,d240bc4c1..9bda63fbd
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@@ -1422,36 -1479,124 +1479,152 @@@
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
- "text": "Text"
+ "text": "Text",
+ "multiselect": "Multi-Select"
+ },
+ "availableOptions": "Available options",
+ "clearDefault": "Clear",
+ "defaultValues": "{{count}} default(s)",
+ "moreOptions": "+{{hiddenCount}} more",
+ "multiple": "Multiple",
+ "options": "{{count}} option(s)",
+ "reorderError": "Failed to reorder fields",
+ "selectPlaceholder": "Select option(s)"
+ },
+ "administration": "Administration",
+ "adminUsers": {
+ "actions": {
+ "deactivate": "Deactivate account",
+ "edit": "Edit account",
+ "open": "Actions for {{name}}",
+ "reactivate": "Reactivate account"
+ },
+ "clearSearch": "Clear search",
+ "columns": {
+ "actions": "Actions",
+ "joined": "Joined",
+ "role": "Global role",
+ "status": "Status",
+ "user": "User"
+ },
+ "confirm": {
+ "deactivate": {
+ "action": "Deactivate account",
+ "description": "{{name}} will be signed out and unable to sign in until an administrator reactivates the account.",
+ "title": "Deactivate this account?"
+ },
+ "delete": {
+ "action": "Delete permanently",
+ "description": "This permanently deletes {{name}}, their sessions, memberships, and associated data. This cannot be undone.",
+ "title": "Permanently delete this account?"
+ },
+ "reactivate": {
+ "action": "Reactivate account",
+ "description": "{{name}} will be able to sign in and access their workspaces again.",
+ "title": "Reactivate this account?"
+ },
+ "working": "Working…"
+ },
+ "directoryTitle": "User directory",
+ "edit": {
+ "description": "Update this account's identity and instance-wide access.",
+ "email": "Email address",
+ "name": "Full name",
+ "role": "Global role",
+ "save": "Save changes",
+ "saving": "Saving…",
+ "selfRoleHint": "You cannot change your own global role.",
+ "title": "Edit user"
+ },
+ "emptyDescription": "Try another name or email address.",
+ "emptyTitle": "No users found",
+ "instanceBadge": "Instance",
+ "loadError": "Users could not be loaded.",
+ "next": "Next",
+ "pagination": "Page {{current}} of {{total}}",
+ "previous": "Previous",
+ "refreshing": "Refreshing users",
+ "retry": "Retry",
+ "roles": {
+ "admin": "Instance admin",
+ "user": "User"
+ },
+ "searchCount_other": "{{count}} matching users",
+ "searchLabel": "Search users",
+ "searchPlaceholder": "Search name or email…",
+ "status": {
+ "active": "Active",
+ "deactivated": "Deactivated"
+ },
+ "subtitle": "Manage every account registered on this Kaneo instance.",
+ "title": "User management",
+ "toast": {
+ "actionError": "Failed to update user status",
+ "deactivated": "User deactivated",
+ "deleted": "User deleted",
+ "reactivated": "User reactivated",
+ "updated": "User updated",
+ "updateError": "Failed to update user"
+ },
+ "userCount_other": "{{count}} registered users",
+ "you": "(you)"
+ },
+ "security": "Security",
+ "securityPage": {
+ "confirmPassword": "Confirm new password",
+ "confirmPasswordPlaceholder": "Re-enter your new password",
+ "currentPassword": "Current password",
+ "currentPasswordPlaceholder": "Enter your current password",
+ "newPassword": "New password",
+ "newPasswordPlaceholder": "Enter a new password",
+ "noPassword": {
+ "description": "Your account signs in with a different method, so there is no password to change.",
+ "title": "Password change isn't available"
+ },
+ "pageTitle": "Security",
+ "sectionSubtitle": "Change the password you use to sign in.",
+ "sectionTitle": "Password",
+ "submit": "Update password",
+ "submitting": "Updating...",
+ "subtitle": "Manage your password and account security.",
+ "title": "Security",
+ "updateError": "Failed to update password.",
+ "updateSuccess": "Password updated.",
+ "validation": {
+ "confirmRequired": "Confirm your new password.",
+ "currentRequired": "Enter your current password.",
+ "mismatch": "Passwords do not match.",
+ "tooShort": "New password must be at least 8 characters.",
+ "sameAsCurrent": "New password must be different from your current password."
}
+ },
+ "calendarFeeds": {
+ "title": "Calendar feeds",
+ "subtitle": "Subscribe to scheduled project tasks in your calendar app.",
+ "createTitle": "Create a calendar feed",
+ "filterHint": "Include tasks with a start or due date and at least one of the selected labels.",
+ "labels": "Labels",
+ "selectLabels": "Search and select labels…",
+ "noLabels": "No labels found.",
+ "timeZoneHint": "All-day dates use {{timeZone}}.",
+ "accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
+ "create": "Create feed",
+ "creating": "Creating…",
+ "created": "Calendar feed created.",
+ "createError": "Could not create the calendar feed.",
+ "activeFeeds": "Active feeds",
+ "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
+ "empty": "No calendar feeds yet.",
+ "feedUrl": "Calendar feed URL",
+ "copy": "Copy link",
+ "copied": "Calendar feed link copied.",
+ "copyError": "Could not copy the link. Select the URL and copy it manually.",
+ "revoke": "Revoke",
+ "revoked": "Calendar feed revoked.",
+ "revokeError": "Could not revoke the calendar feed.",
+ "loadError": "Could not load calendar feeds or labels. Please try again.",
+ "deletedLabel": "Deleted label",
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds."
}
},
"navigation": {
diff --cc tests/api-integration/calendar-feed.test.ts
index 5e48a446e,000000000..55ff55b62
mode 100644,000000..100644
--- a/tests/api-integration/calendar-feed.test.ts
+++ b/tests/api-integration/calendar-feed.test.ts
@@@ -1,385 -1,0 +1,435 @@@
+import { eq } from "drizzle-orm";
+import { beforeEach, describe, expect, it } from "vitest";
++import {
++ CALENDAR_DESCRIPTION_CHARACTERS,
++ CALENDAR_TASK_BATCH_SIZE,
++} from "../../apps/api/src/calendar-feed/service";
+import db, { schema } from "../../apps/api/src/database";
+import { calendarFeedTable } from "../../apps/api/src/database/schema";
+import { createApp } from "../../apps/api/src/index";
+import updateLabel from "../../apps/api/src/label/controllers/update-label";
+import { mockAnonymousSession, mockAuthenticatedSession } from "./helpers/auth";
+import { resetTestDatabase } from "./helpers/database";
+import {
+ createProjectFixture,
+ createWorkspaceMember,
+} from "./helpers/fixtures";
+
+async function setup(role = "owner") {
+ const member = await createWorkspaceMember({ role });
+ const { project } = await createProjectFixture({
+ workspaceId: member.workspace.id,
+ });
+ const labels = await db
+ .insert(schema.labelTable)
+ .values(
+ ["Release", "Maintenance"].map((name) => ({
+ name,
+ color: "gray",
+ workspaceId: member.workspace.id,
+ })),
+ )
+ .returning();
+ const session = mockAuthenticatedSession(member.user);
+ const { app } = createApp();
+ const endpoint = `/api/calendar-feed/project/${project.id}`;
+ const create = (
+ body: unknown = {
+ labelIds: labels.map((label) => label.id),
+ timeZone: "Europe/Berlin",
+ },
+ ) =>
+ app.request(endpoint, {
+ method: "POST",
+ headers: { "content-type": "application/json" },
+ body: JSON.stringify(body),
+ });
+ return { member, project, labels, session, app, endpoint, create };
+}
+
+type Feed = typeof calendarFeedTable.$inferSelect;
+const feedPath = (feed: Feed) =>
+ `/api/calendar-feed/${feed.token}/calendar.ics`;
+
+describe("API integration: calendar feeds", () => {
+ beforeEach(resetTestDatabase);
+
+ it("creates distinct persistent subscriptions and exposes only scheduled matching project tasks without a session", async () => {
+ const { member, project, labels, session, app, create, endpoint } =
+ await setup();
+ const { project: otherProject } = await createProjectFixture({
+ workspaceId: member.workspace.id,
+ });
+ const tasks = await db
+ .insert(schema.taskTable)
+ .values([
+ {
+ title: "Both labels",
+ projectId: project.id,
+ number: 1,
+ startDate: new Date("2026-09-22T22:00:00Z"),
+ dueDate: new Date("2026-09-24T22:00:00Z"),
+ },
+ {
+ title: "Only maintenance",
+ projectId: project.id,
+ number: 2,
+ dueDate: new Date("2026-09-25T22:00:00Z"),
+ },
+ {
+ title: "Start only",
+ projectId: project.id,
+ number: 3,
+ startDate: new Date("2026-09-27T22:00:00Z"),
+ },
+ { title: "Unscheduled", projectId: project.id, number: 4 },
+ {
+ title: "No matching label",
+ projectId: project.id,
+ number: 5,
+ dueDate: new Date(),
+ },
+ {
+ title: "Another project",
+ projectId: otherProject.id,
+ number: 1,
+ dueDate: new Date(),
+ },
+ ])
+ .returning();
+ await db.insert(schema.labelTable).values([
+ ...tasks
+ .filter((task) => task.title !== "No matching label")
+ .map((task) => ({
+ name:
+ task.title === "Only maintenance" ? labels[1].name : labels[0].name,
+ color: "gray",
+ workspaceId: member.workspace.id,
+ taskId: task.id,
+ })),
+ {
+ name: labels[1].name,
+ color: "gray",
+ workspaceId: member.workspace.id,
+ taskId: tasks[0].id,
+ },
+ ]);
+ const created = await create();
+ expect(created.status).toBe(201);
+ const feed = (await created.json()) as Feed;
+ expect(feed.token).toMatch(/^[a-f0-9]{64}$/);
+ const second = (await (await create()).json()) as Feed;
+ expect(second.token).not.toBe(feed.token);
+ expect(await (await app.request(endpoint)).json()).toHaveLength(2);
+ session.mockResolvedValue(null);
+ const response = await app.request(feedPath(feed));
+ expect(response.status).toBe(200);
+ expect(response.headers.get("content-type")).toBe(
+ "text/calendar; charset=utf-8",
+ );
+ expect(response.headers.get("cache-control")).toBe("private, no-store");
+ const ics = await response.text();
+ expect(ics.match(/BEGIN:VEVENT/g)).toHaveLength(3);
+ for (const title of ["Both labels", "Only maintenance", "Start only"])
+ expect(ics).toContain(`SUMMARY:${title}`);
+ for (const title of ["Unscheduled", "No matching label", "Another project"])
+ expect(ics).not.toContain(title);
+ expect(ics).toContain(
+ "DTSTART;VALUE=DATE:20260923\r\nDTEND;VALUE=DATE:20260926",
+ );
+ await db
+ .update(schema.taskTable)
+ .set({ title: "Rescheduled", dueDate: new Date("2026-10-01T22:00:00Z") })
+ .where(eq(schema.taskTable.id, tasks[0].id));
+ const refreshed = await (await app.request(feedPath(feed))).text();
+ expect(refreshed).toContain("SUMMARY:Rescheduled");
+ expect(refreshed).toContain(`UID:${tasks[0].id}@kaneo`);
+ expect(refreshed).toContain("DTEND;VALUE=DATE:20261003");
+ await db
+ .update(schema.taskTable)
+ .set({ projectId: otherProject.id, number: 10 })
+ .where(eq(schema.taskTable.id, tasks[0].id));
+ expect(await (await app.request(feedPath(feed))).text()).not.toContain(
+ "Rescheduled",
+ );
+ });
+
++ it("streams every task across batches once and bounds oversized Unicode text", async () => {
++ const { member, project, labels, app, create } = await setup();
++ const count = CALENDAR_TASK_BATCH_SIZE * 2 + 3;
++ const description =
++ "🚀".repeat(CALENDAR_DESCRIPTION_CHARACTERS) + "omitted".repeat(150_000);
++ const tasks = await db
++ .insert(schema.taskTable)
++ .values(
++ Array.from({ length: count }, (_, i) => ({
++ title: i === 0 ? "T".repeat(1100) : `Task ${i}`,
++ description:
++ i === 0 ? description : i === 1 ? "Short description" : null,
++ projectId: project.id,
++ number: i + 1,
++ dueDate: new Date("2026-09-23T00:00:00Z"),
++ })),
++ )
++ .returning();
++ await db.insert(schema.labelTable).values(
++ tasks.flatMap((task) =>
++ labels.map((label) => ({
++ name: label.name,
++ color: "gray",
++ workspaceId: member.workspace.id,
++ taskId: task.id,
++ })),
++ ),
++ );
++ const feed = (await (await create()).json()) as Feed;
++ const response = await app.request(feedPath(feed));
++ expect(response.status).toBe(200);
++ const text = await response.text();
++ const unfolded = text.replaceAll("\r\n ", "");
++ expect(text.match(/BEGIN:VEVENT/g)).toHaveLength(count);
++ for (const task of tasks)
++ expect(unfolded.split(`UID:${task.id}@kaneo\r\n`)).toHaveLength(2);
++ expect(unfolded).toContain(
++ `DESCRIPTION:${"🚀".repeat(CALENDAR_DESCRIPTION_CHARACTERS)}…\r\n`,
++ );
++ expect(unfolded).toContain("DESCRIPTION:Short description\r\n");
++ expect(unfolded).toContain(`SUMMARY:${"T".repeat(1024)}…\r\n`);
++ expect(unfolded).not.toContain("omitted");
++ expect(Buffer.byteLength(text)).toBeLessThan(100_000);
++ expect(text.endsWith("END:VCALENDAR\r\n")).toBe(true);
++ });
++
+ it("preserves label renames and never broadens the feed when labels are deleted", async () => {
+ const { member, project, labels, app, create } = await setup();
+ const [task] = await db
+ .insert(schema.taskTable)
+ .values({
+ title: "Release task",
+ projectId: project.id,
+ dueDate: new Date(),
+ })
+ .returning();
+ await db.insert(schema.labelTable).values({
+ name: labels[0].name,
+ color: "gray",
+ workspaceId: member.workspace.id,
+ taskId: task.id,
+ });
+ const feed = (await (
+ await create({ labelIds: [labels[0].id] })
+ ).json()) as Feed;
+ await updateLabel(labels[0].id, "Renamed", "gray");
+ expect(await (await app.request(feedPath(feed))).text()).toContain(
+ "SUMMARY:Release task",
+ );
+ await db
+ .delete(schema.labelTable)
+ .where(eq(schema.labelTable.id, labels[0].id));
+ const result = await (await app.request(feedPath(feed))).text();
+ expect(result).toContain("BEGIN:VCALENDAR");
+ expect(result).not.toContain("BEGIN:VEVENT");
+ });
+
+ it.each([true, false])(
+ "keeps feeds stable after a task label is removed (workspace definition: %s)",
+ async (hasDefinition) => {
+ const { member, project, labels, app, create } = await setup();
+ const tasks = await db
+ .insert(schema.taskTable)
+ .values([
+ {
+ title: "Original assignment",
+ projectId: project.id,
+ number: 1,
+ dueDate: new Date(),
+ },
+ {
+ title: "Remaining assignment",
+ projectId: project.id,
+ number: 2,
+ dueDate: new Date(),
+ },
+ ])
+ .returning();
+ const copies = await db
+ .insert(schema.labelTable)
+ .values(
+ tasks.map((task) => ({
+ name: labels[0].name,
+ color: "gray",
+ workspaceId: member.workspace.id,
+ taskId: task.id,
+ })),
+ )
+ .returning();
+ if (!hasDefinition)
+ await db
+ .delete(schema.labelTable)
+ .where(eq(schema.labelTable.id, labels[0].id));
+ const response = await create({ labelIds: [copies[0].id, copies[1].id] });
+ expect(response.status).toBe(201);
+ const feed = (await response.json()) as Feed;
+ const root = await db.query.labelTable.findFirst({
+ where: eq(schema.labelTable.id, feed.labelIds[0]),
+ });
+ expect(root?.taskId).toBeNull();
+ expect(root?.name).toBe(labels[0].name);
+ expect(feed.labelIds).toHaveLength(1);
+ if (hasDefinition) expect(root?.id).toBe(labels[0].id);
+ await updateLabel(copies[0].id, "Unrelated", "gray");
+ expect(await (await app.request(feedPath(feed))).text()).toContain(
+ "SUMMARY:Remaining assignment",
+ );
+ await db
+ .delete(schema.labelTable)
+ .where(eq(schema.labelTable.id, copies[0].id));
+ expect(await (await app.request(feedPath(feed))).text()).toContain(
+ "SUMMARY:Remaining assignment",
+ );
+ await updateLabel(feed.labelIds[0], "Renamed workspace label", "gray");
+ expect(await (await app.request(feedPath(feed))).text()).toContain(
+ "SUMMARY:Remaining assignment",
+ );
+ },
+ );
+
+ it("requires label creation permission only when a workspace definition is missing", async () => {
+ const { member, project, labels, create } =
+ await setup("calendar-publisher");
+ const [role] = await db
+ .insert(schema.workspaceRoleTable)
+ .values({
+ workspaceId: member.workspace.id,
+ role: "calendar-publisher",
+ permission: JSON.stringify({ project: ["share"] }),
+ })
+ .returning();
+ expect((await create({ labelIds: [labels[0].id] })).status).toBe(201);
+ const [task] = await db
+ .insert(schema.taskTable)
+ .values({ title: "Legacy assignment", projectId: project.id })
+ .returning();
+ const [copy] = await db
+ .insert(schema.labelTable)
+ .values({
+ name: "Legacy",
+ color: "gray",
+ workspaceId: member.workspace.id,
+ taskId: task.id,
+ })
+ .returning();
+ expect((await create({ labelIds: [copy.id] })).status).toBe(403);
+ expect(
+ await db
+ .select()
+ .from(schema.labelTable)
+ .where(eq(schema.labelTable.name, "Legacy")),
+ ).toHaveLength(1);
+ await db
+ .update(schema.workspaceRoleTable)
+ .set({
+ permission: JSON.stringify({ project: ["share"], label: ["create"] }),
+ })
+ .where(eq(schema.workspaceRoleTable.id, role.id));
+ expect((await create({ labelIds: [copy.id] })).status).toBe(201);
+ });
+
+ it("revokes one link without affecting others and cascades project deletion", async () => {
+ const { app, project, endpoint, create } = await setup();
+ const first = (await (await create()).json()) as Feed;
+ const second = (await (await create()).json()) as Feed;
+ expect(
+ (await app.request(`${endpoint}/${first.id}`, { method: "DELETE" }))
+ .status,
+ ).toBe(200);
+ expect((await app.request(feedPath(first))).status).toBe(404);
+ expect((await app.request(feedPath(second))).status).toBe(200);
+ await db
+ .delete(schema.projectTable)
+ .where(eq(schema.projectTable.id, project.id));
+ expect((await app.request(feedPath(second))).status).toBe(404);
+ expect(await db.select().from(calendarFeedTable)).toHaveLength(0);
+ });
+
+ it.each(["member", "viewer"])(
+ "denies feed creation, listing, and revocation to %s roles",
+ async (role) => {
+ const { app, endpoint, create } = await setup(role);
+ expect((await create()).status).toBe(403);
+ expect((await app.request(endpoint)).status).toBe(403);
+ expect(
+ (await app.request(`${endpoint}/anything`, { method: "DELETE" }))
+ .status,
+ ).toBe(403);
+ },
+ );
+
+ it("rejects unauthenticated management requests and invalid secret links", async () => {
+ mockAnonymousSession();
+ const { app } = createApp();
+ for (const method of ["GET", "POST", "DELETE"]) {
+ const path = `/api/calendar-feed/project/missing${method === "DELETE" ? "/feed" : ""}`;
+ expect((await app.request(path, { method })).status).toBe(401);
+ }
+ expect(
+ (await app.request(`/api/calendar-feed/${"a".repeat(64)}/calendar.ics`))
+ .status,
+ ).toBe(404);
+ expect(
+ (await app.request("/api/calendar-feed/invalid/calendar.ics")).status,
+ ).toBe(400);
+ });
+
+ it("rejects foreign-workspace labels, empty selections, and invalid time zones", async () => {
+ const { create, labels } = await setup();
+ const foreign = await createWorkspaceMember();
+ const [foreignLabel] = await db
+ .insert(schema.labelTable)
+ .values({
+ name: "Foreign",
+ color: "gray",
+ workspaceId: foreign.workspace.id,
+ })
+ .returning();
+ for (const body of [
+ { labelIds: [foreignLabel.id] },
+ { labelIds: [] },
+ { labelIds: ["missing"] },
+ { labelIds: [labels[0].id], timeZone: "Not/A_Zone" },
+ { labelIds: Array(101).fill(labels[0].id) },
+ ])
+ expect((await create(body)).status).toBe(400);
+ const response = await create({ labelIds: [labels[0].id, labels[0].id] });
+ expect(response.status).toBe(201);
+ expect(((await response.json()) as Feed).labelIds).toEqual([labels[0].id]);
+ });
+
+ it("does not allow a project or workspace ID to authorize another project's feed", async () => {
+ const { app, endpoint, create, session } = await setup();
+ const feed = (await (await create()).json()) as Feed;
+ const outsider = await createWorkspaceMember({ role: "owner" });
+ const { project: outsiderProject } = await createProjectFixture({
+ workspaceId: outsider.workspace.id,
+ });
+ session.mockRestore();
+ mockAuthenticatedSession(outsider.user);
+ expect(
+ (await app.request(`${endpoint}?workspaceId=${outsider.workspace.id}`))
+ .status,
+ ).toBe(403);
+ expect(
+ (
+ await app.request(
+ `/api/calendar-feed/project/${outsiderProject.id}/${feed.id}`,
+ { method: "DELETE" },
+ )
+ ).status,
+ ).toBe(404);
+ expect(
+ (await app.request(`${endpoint}/${feed.id}`, { method: "DELETE" }))
+ .status,
+ ).toBe(403);
+ expect((await app.request(feedPath(feed))).status).toBe(200);
+ });
+});
diff --cc tests/api/calendar-feed/ical.test.ts
index a8a1c9a32,000000000..2a23c8492
mode 100644,000000..100644
--- a/tests/api/calendar-feed/ical.test.ts
+++ b/tests/api/calendar-feed/ical.test.ts
@@@ -1,96 -1,0 +1,152 @@@
+import { describe, expect, it } from "vitest";
- import { buildCalendar } from "../../../apps/api/src/calendar-feed/ical";
++import {
++ buildCalendar,
++ streamCalendar,
++} from "../../../apps/api/src/calendar-feed/ical";
+
+const task: Parameters<typeof buildCalendar>[0]["tasks"][number] = {
+ id: "task-1",
+ title: "Deploy",
+ description: null,
+ startDate: null,
+ dueDate: new Date("2026-09-23T00:00:00Z"),
+ createdAt: new Date("2026-09-01T12:00:00Z"),
+ updatedAt: new Date("2026-09-22T10:30:00Z"),
+};
+const calendar = (tasks = [task], timeZone = "UTC") =>
+ buildCalendar({ name: "Changes", timeZone, tasks });
+
+describe("iCalendar serialization", () => {
+ it("exports an inclusive all-day range with stable identity and revision timestamps", () => {
+ const result = calendar([
+ { ...task, startDate: new Date("2026-09-21T00:00:00Z") },
+ ]);
+ expect(result).toContain("UID:task-1@kaneo\r\n");
+ expect(result).toContain(
+ "DTSTART;VALUE=DATE:20260921\r\nDTEND;VALUE=DATE:20260924",
+ );
+ expect(result).toContain("DTSTAMP:20260922T103000Z");
+ expect(result).toContain("LAST-MODIFIED:20260922T103000Z");
+ expect(result).toBe(
+ calendar([{ ...task, startDate: new Date("2026-09-21T00:00:00Z") }]),
+ );
+ });
+
+ it("handles due-only, start-only, unscheduled, and reversed legacy dates", () => {
+ expect(calendar()).toContain(
+ "DTSTART;VALUE=DATE:20260923\r\nDTEND;VALUE=DATE:20260924",
+ );
+ expect(
+ calendar([{ ...task, dueDate: null, startDate: task.dueDate }]),
+ ).toContain("DTEND;VALUE=DATE:20260924");
+ expect(calendar([{ ...task, dueDate: null }])).not.toContain(
+ "BEGIN:VEVENT",
+ );
+ expect(
+ calendar([{ ...task, startDate: new Date("2026-09-30T00:00:00Z") }]),
+ ).toContain("DTEND;VALUE=DATE:20261001");
+ });
+
+ it("keeps local dates across UTC offsets and daylight saving changes", () => {
+ const result = calendar(
+ [
+ {
+ ...task,
+ startDate: new Date("2026-10-24T22:00:00Z"),
+ dueDate: new Date("2026-10-25T23:00:00Z"),
+ },
+ ],
+ "Europe/Berlin",
+ );
+ expect(result).toContain(
+ "DTSTART;VALUE=DATE:20261025\r\nDTEND;VALUE=DATE:20261027",
+ );
+ expect(
+ calendar(
+ [{ ...task, dueDate: new Date("2026-01-01T02:00:00Z") }],
+ "America/Los_Angeles",
+ ),
+ ).toContain("DTSTART;VALUE=DATE:20251231\r\nDTEND;VALUE=DATE:20260101");
+ });
+
+ it("escapes text and prevents newlines from injecting calendar properties", () => {
+ const result = buildCalendar({
+ name: "Changes, ops; team",
+ timeZone: "UTC",
+ tasks: [
+ {
+ ...task,
+ title: "A\\B, C; D\r\nEND:VEVENT",
+ description: "First\rSecond\nThird",
+ },
+ ],
+ });
+ expect(result).toContain("X-WR-CALNAME:Changes\\, ops\\; team");
+ expect(result).toContain("SUMMARY:A\\\\B\\, C\\; D\\nEND:VEVENT\r\n");
+ expect(result).toContain("DESCRIPTION:First\\nSecond\\nThird");
+ expect(result.match(/\r\nEND:VEVENT/g)).toHaveLength(1);
+ });
+
+ it("folds at 75 UTF-8 octets without splitting characters and uses CRLF", () => {
+ const title = "Änderung 日本語 🚀 ".repeat(20);
+ const result = calendar([{ ...task, title }]);
+ for (const line of result.split("\r\n"))
+ expect(Buffer.byteLength(line)).toBeLessThanOrEqual(75);
+ expect(result.replaceAll("\r\n ", "")).toContain(`SUMMARY:${title}\r\n`);
+ expect(result.replaceAll("\r\n", "")).not.toMatch(/[\r\n]/);
+ expect(result.endsWith("END:VCALENDAR\r\n")).toBe(true);
+ });
+});
++
++describe("calendar streaming", () => {
++ it("matches the calendar format and reads tasks only as requested", async () => {
++ let reads = 0;
++ let closed = false;
++ async function* tasks() {
++ try {
++ for (let i = 0; i < 100; i++) {
++ reads++;
++ yield { ...task, id: String(i) };
++ }
++ } finally {
++ closed = true;
++ }
++ }
++ const stream = streamCalendar({
++ name: "Changes",
++ timeZone: "UTC",
++ tasks: tasks(),
++ });
++ const reader = stream.getReader();
++ expect(reads).toBe(0);
++ const header = await reader.read();
++ expect(new TextDecoder().decode(header.value)).toContain("BEGIN:VCALENDAR");
++ expect(reads).toBe(0);
++ const first = await reader.read();
++ expect(new TextDecoder().decode(first.value)).toContain("UID:0@kaneo");
++ expect(reads).toBe(1);
++ await reader.cancel();
++ expect(closed).toBe(true);
++ expect(reads).toBe(1);
++
++ async function* oneTask() {
++ yield task;
++ }
++ expect(
++ await new Response(
++ streamCalendar({ name: "Changes", timeZone: "UTC", tasks: oneTask() }),
++ ).text(),
++ ).toBe(calendar());
++ });
++
++ it("fails the response instead of completing a partial calendar when a batch fails", async () => {
++ async function* tasks() {
++ yield task;
++ throw new Error("Batch failed");
++ }
++ const response = new Response(
++ streamCalendar({ name: "Changes", timeZone: "UTC", tasks: tasks() }),
++ );
++ await expect(response.text()).rejects.toThrow("Batch failed");
++ });
++});