Enables multi-user project collaboration mirroring the shared calendar pattern. Includes ProjectMember model with permission levels, task assignment with auto-membership, optimistic locking, field allowlist for assignees, disconnect cascade, delta polling for projects and calendars, and full frontend integration with share sheet, assignment picker, permission gating, and notification handling. Migrations: 057 (indexes + version + comment user_id), 058 (project_members), 059 (project_task_assignments) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
55 lines
1.7 KiB
Python
55 lines
1.7 KiB
Python
from app.models.settings import Settings
|
|
from app.models.todo import Todo
|
|
from app.models.calendar import Calendar
|
|
from app.models.calendar_event import CalendarEvent
|
|
from app.models.reminder import Reminder
|
|
from app.models.project import Project
|
|
from app.models.project_task import ProjectTask
|
|
from app.models.person import Person
|
|
from app.models.location import Location
|
|
from app.models.task_comment import TaskComment
|
|
from app.models.user import User
|
|
from app.models.session import UserSession
|
|
from app.models.ntfy_sent import NtfySent
|
|
from app.models.totp_usage import TOTPUsage
|
|
from app.models.backup_code import BackupCode
|
|
from app.models.system_config import SystemConfig
|
|
from app.models.audit_log import AuditLog
|
|
from app.models.notification import Notification
|
|
from app.models.connection_request import ConnectionRequest
|
|
from app.models.user_connection import UserConnection
|
|
from app.models.calendar_member import CalendarMember
|
|
from app.models.event_lock import EventLock
|
|
from app.models.event_invitation import EventInvitation, EventInvitationOverride
|
|
from app.models.project_member import ProjectMember
|
|
from app.models.project_task_assignment import ProjectTaskAssignment
|
|
|
|
__all__ = [
|
|
"Settings",
|
|
"Todo",
|
|
"Calendar",
|
|
"CalendarEvent",
|
|
"Reminder",
|
|
"Project",
|
|
"ProjectTask",
|
|
"Person",
|
|
"Location",
|
|
"TaskComment",
|
|
"User",
|
|
"UserSession",
|
|
"NtfySent",
|
|
"TOTPUsage",
|
|
"BackupCode",
|
|
"SystemConfig",
|
|
"AuditLog",
|
|
"Notification",
|
|
"ConnectionRequest",
|
|
"UserConnection",
|
|
"CalendarMember",
|
|
"EventLock",
|
|
"EventInvitation",
|
|
"EventInvitationOverride",
|
|
"ProjectMember",
|
|
"ProjectTaskAssignment",
|
|
]
|