43af5b29f6
feat: add code-first API support for projects, milestones, proposes, tasks
...
- Projects: get/update/delete/members endpoints now accept project_code
- Milestones: all project-scoped and top-level endpoints accept milestone_code
- Proposes: all endpoints accept project_code and propose_code
- Tasks: code-first support for all CRUD + transition + take + search
- Schemas: add code/type/due_date/project_code/milestone_code/taken_by fields
- All endpoints use id-or-code lookup helpers for backward compatibility
- Milestone serializer now includes milestone_code and code fields
- Task serializer enriches responses with project_code, milestone_code, taken_by
Addresses TODO §2.1: code-first API support across CLI-targeted resources
2026-03-21 18:12:04 +00:00
9e14df921e
feat: add modal-edit permissions for projects milestones and tasks
2026-03-16 18:13:54 +00:00
214a9b109d
refactor: replace issues backend with milestone tasks
2026-03-16 13:22:14 +00:00
7b2ac29f2c
fix: cascade delete milestones/issues, clean references
2026-03-12 12:55:14 +00:00
50f5e360e4
fix: prevent deleting project owner
2026-03-12 12:47:15 +00:00
d1f9129922
fix: import check_permission
2026-03-12 12:42:50 +00:00
9254723f2c
fix: import Role model
2026-03-12 12:19:14 +00:00
afd769bc12
fix: create_project auto-add member use role_id
2026-03-12 12:16:39 +00:00
818dbf12b9
fix: add member.remove permission check
2026-03-12 12:13:14 +00:00
ace0707394
fix: member/milestone endpoints - role_id column, schema fixes
2026-03-12 12:00:37 +00:00
2f659e1430
feat: add project creation permission (admin only), add milestones API with RBAC
2026-03-12 11:04:04 +00:00
1eb90cd61c
fix: project create schema - owner_name auto-fill from owner_id, sub/related projects as list
2026-03-12 10:52:46 +00:00
e5775bb9c8
feat: add project code generation + remove issues/milestones from nav
2026-03-12 09:25:26 +00:00
a21026ac09
fix: enforce missing RBAC checks on issue/comment updates and deletes
2026-03-11 10:43:31 +00:00
3cf2b1bc49
feat: auto activity logging on issue create/delete, fix schema db.add bug
2026-02-27 09:39:39 +00:00
6d58ee779c
feat: RBAC module + project endpoints protected (admin/mgr roles)
2026-02-24 04:16:32 +00:00
f60dc68b22
refactor: split monolithic main.py into FastAPI routers (v0.2.0)
...
- app/api/deps.py: shared auth dependencies
- app/api/routers/auth.py: login, me
- app/api/routers/issues.py: CRUD, transition, assign, relations, tags, batch, search
- app/api/routers/projects.py: CRUD, members, worklog summary
- app/api/routers/users.py: CRUD, worklogs
- app/api/routers/comments.py: CRUD
- app/api/routers/webhooks.py: CRUD, logs, retry
- app/api/routers/misc.py: API keys, activity, milestones, notifications, worklogs, export, dashboard
- main.py: 1165 lines → 51 lines
- Version bump to 0.2.0
2026-02-23 15:14:46 +00:00