Commit Graph

102 Commits

Author SHA1 Message Date
Max
3a618e384d Add full CRUD for all database tables
New API endpoints:
- /api/meta (GET, POST, DELETE) - Meta key-value store CRUD
- /api/users (GET, PATCH, DELETE) - User admin CRUD

New CLI commands:
- user get/update/delete - Admin user management
- meta list/get/set/delete - Meta key-value management

Tables now with full CRUD:
 tasks - Full CRUD
 projects - Full CRUD
 sprints - Full CRUD
 users - Full CRUD (list, get, create via register, update, delete)
 meta - Full CRUD (list, get, set/create/update, delete)

Internal tables (no public CRUD needed):
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset password flows
2026-02-21 17:45:08 -06:00
Max
7d40459211 Update README with project/sprint CRUD documentation 2026-02-21 17:40:34 -06:00
Max
42188457da Add complete CRUD APIs for projects and sprints
- New API endpoints:
  - GET /api/projects - List projects
  - POST /api/projects - Create project
  - PATCH /api/projects - Update project
  - DELETE /api/projects - Delete project
  - GET /api/sprints - List sprints
  - POST /api/sprints - Create sprint
  - PATCH /api/sprints - Update sprint
  - DELETE /api/sprints - Delete sprint

- Added CLI commands:
  - project create/update/delete
  - sprint create/update/delete

- Updated help text with new commands

Web UI can now do full CRUD on projects/sprints and CLI matches 1:1
2026-02-21 17:40:09 -06:00
Max
b354a0469d Add missing auth commands to CLI
- auth register - POST /api/auth/register
- auth forgot-password - POST /api/auth/forgot-password
- auth reset-password - POST /api/auth/reset-password
- auth account - PATCH /api/auth/account
- auth users - GET /api/auth/users

CLI now has 100% coverage of all API endpoints
2026-02-21 17:35:04 -06:00
Max
2dea56ea39 Add CLI coverage audit script
- New audit-cli-coverage.sh to verify CLI matches API surface area
- Updated README with audit instructions
- Helps ensure Rule 2.5 compliance (CLI sync with web UI)
2026-02-21 17:32:03 -06:00
Max
faeee26222 Add unified CLI and update documentation
- New gantt.sh: Complete CLI covering all API operations
  - Task CRUD (list, get, create, update, delete)
  - Natural language task creation
  - Comments and file attachments
  - Projects, sprints, auth
- Updated README.md with comprehensive coverage matrix
- Documents when to use API vs Supabase direct scripts
2026-02-21 17:28:43 -06:00
Max
98536e368d Add CLI documentation for scripts folder
- Added comprehensive README.md documenting all 3 CLI scripts
- Includes quick start, command reference, examples, workflows
- Documents troubleshooting and common patterns
- No code changes, docs only
2026-02-21 17:25:37 -06:00
Max
70f4d78c0c Add CLI standard documentation for reference 2026-02-21 17:24:23 -06:00
Max
97494a8775 Add CLI tools documentation to README 2026-02-21 17:20:20 -06:00
Max
89e1cbcbb7 Add CLI tools for task CRUD and file attachments 2026-02-21 17:17:24 -06:00
Max
9453f88df4 feat: task search and save feedback fixes
- Add task search with debounce (title + description filtering)
- Add sonner toast library for notifications
- Visual save feedback: spinner → green 'Saved!' → toast confirmation
- Error handling with descriptive toast messages
- Works across Kanban and Backlog views
2026-02-21 16:32:15 -06:00
caa0bf1893 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 16:12:45 -06:00
69984f7d86 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 16:11:23 -06:00
ff3cc87dc8 Fix cookie handling for Vercel serverless 2026-02-21 15:54:32 -06:00
cd0fdfbd60 Add auth debug logging 2026-02-21 15:50:17 -06:00
5b7efa2c18 Fix 413 error - send individual tasks instead of bulk 2026-02-21 15:47:05 -06:00
b3015e8bb8 Add error logging to saveData 2026-02-21 15:43:11 -06:00
06bd8e188e Add debug endpoint 2026-02-21 15:39:44 -06:00
bacca13be5 Fix Supabase env var names to match Vercel 2026-02-21 15:37:21 -06:00
ee8158993f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:37:59 -06:00
bd2261c82f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:19:15 -06:00
3b807aa74d Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:02:06 -06:00
7c1b9d578c Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:59:22 -06:00
82658707a2 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:57:27 -06:00
6f863ba659 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:17:19 -06:00
a62afb95e7 Add forgot password feature with reset flow 2026-02-20 18:51:04 -06:00
ae5c952ab1 Fix TypeScript and ESLint errors for production build 2026-02-20 18:33:52 -06:00
5b3691826b Resolve assignee avatars via user profiles 2026-02-20 15:40:47 -06:00
f4123a2d9a Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-20 13:47:52 -06:00
a353ed0feb Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-20 13:43:41 -06:00
ed1d2d956a Add auth, remember-me sessions, and account settings 2026-02-20 13:12:33 -06:00
dc6722cd3f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-20 12:56:05 -06:00
5ba0edd856 Implement threaded task comments with nested replies 2026-02-20 12:36:12 -06:00
6361ba1bb3 Add URL-based task detail page and route navigation 2026-02-20 12:31:07 -06:00
002f380893 Add task attachments with SQLite persistence 2026-02-20 12:23:58 -06:00
54a1a97e32 Show current status pill on Kanban task cards 2026-02-19 23:56:13 -06:00
301156a4ea Migrate task persistence to SQLite and remove legacy JSON store 2026-02-19 23:34:46 -06:00
eaf01cf634 Finalize sprint/backlog status flow and document current behavior 2026-02-19 23:25:43 -06:00
c5cf7703b8 Improve backlog drag targets and persistent handle visibility 2026-02-19 23:03:49 -06:00
957907c87a Refactor tasks to label workflow and simplify board layout 2026-02-19 22:57:10 -06:00
79bffbf0b8 Add extensive logging to trace data flow and fix API to handle tasks array 2026-02-19 21:05:12 -06:00
30d8d7022b Add detailed logging to updateTask and syncToServer 2026-02-19 21:01:11 -06:00
6ef31132b6 Fix: Always load server data on refresh, don't keep defaults 2026-02-19 20:55:49 -06:00
d8f212cff2 Add debugging logs to syncFromServer 2026-02-19 20:29:32 -06:00
118078fc75 Fix all optional comments references - add null checks everywhere 2026-02-19 20:22:32 -06:00
c0ca8721e8 Add debugging logs to BacklogView 2026-02-19 20:16:45 -06:00
67c6b83a78 Fix undefined comments error in BacklogView 2026-02-19 20:06:24 -06:00
694cb6a793 Fix TypeScript errors causing HTTP 500 2026-02-19 20:03:40 -06:00
1db22ef509 Add Save button to task edit dialog - changes only save when clicked 2026-02-19 20:02:04 -06:00
33d8822b45 Fix date parsing errors in Backlog view 2026-02-19 19:57:44 -06:00