Commit Graph

149 Commits

Author SHA1 Message Date
8f6cd3409b Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-27 13:30:46 -06:00
b6499fd9b4 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-27 13:21:41 -06:00
aed00c7825 Add --no-color flag to task.sh CLI for machine-readable output 2026-02-26 19:53:35 -06:00
3bd4419866 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-26 13:22:29 -06:00
b1fb8284b1 fix(api/tasks): apply status and sprintId query filters 2026-02-26 12:16:35 -06:00
Max
be3476fd1a feat: Add machine token auth for cron automation
- Add api_call_machine() function for GANTT_MACHINE_TOKEN auth
- Update api_call() to use machine token when available
- Same pattern applied to both api_client.sh and gantt.sh
- Allows cron jobs to authenticate without cookie-based login
- No breaking changes - cookie auth still works for interactive use
2026-02-26 08:25:29 -06:00
Max
c23d3c4945 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-25 15:40:15 -06:00
Max
51ee798148 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-25 14:17:48 -06:00
Max
5dcac7c9e6 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-25 13:59:10 -06:00
Max
95fe894ed4 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-25 13:36:03 -06:00
Max
c571130029 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-25 08:13:55 -06:00
Max
75aef25ba3 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 20:21:54 -06:00
Max
718683748a Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 18:14:57 -06:00
Max
2f0f11e111 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 17:56:25 -06:00
Max
8d6a108aa2 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 17:55:38 -06:00
Max
8a828e72c8 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 17:53:20 -06:00
Max
7687dfd8a6 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 17:48:19 -06:00
Max
f77932435e Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-24 17:42:28 -06:00
Max
72b77a5e57 Auto-detect current sprint based on date range regardless of status 2026-02-24 13:32:44 -06:00
Max
25fa76e59d Filter out completed sprints from task create/edit dropdowns 2026-02-24 13:19:52 -06:00
Max
51b9da9eb7 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 17:59:23 -06:00
Max
c1ae51b1ec Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 17:36:25 -06:00
Max
5c6bd134bd Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 17:01:26 -06:00
Max
8aaca14e3a updated comments
Signed-off-by: Max <ai-agent@topdoglabs.com>
2026-02-23 16:44:17 -06:00
Max
92adbef66e Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 15:19:22 -06:00
Max
2797256bd7 added project
Signed-off-by: Max <ai-agent@topdoglabs.com>
2026-02-23 14:54:22 -06:00
Max
60aed51f3c Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 08:14:56 -06:00
Max
7259d24b89 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 08:10:33 -06:00
Max
9f0ea70a89 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 08:10:28 -06:00
Max
7d66c99815 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 07:44:31 -06:00
Max
97a8ab1a55 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-23 07:43:18 -06:00
Max
027496baf0 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-22 18:07:15 -06:00
Max
6cdd584b82 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-22 18:02:50 -06:00
Max
ab8cc0a6a1 fixed
Signed-off-by: Max <ai-agent@topdoglabs.com>
2026-02-22 17:56:39 -06:00
Max
b2b2beef2d removed defaults and legacy
Signed-off-by: Max <ai-agent@topdoglabs.com>
2026-02-22 17:48:49 -06:00
Max
eba669f187 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-22 14:55:28 -06:00
Max
29cac07f58 fix issues with timing on sprints
Signed-off-by: Max <ai-agent@topdoglabs.com>
2026-02-22 14:54:05 -06:00
Max
a238cb6138 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-22 14:23:22 -06:00
Max
47724e3fb7 Signed-off-by: Max <ai-agent@topdoglabs.com> 2026-02-22 11:06:33 -06:00
Max
1475a13b4d Add sorting to main Kanban board in page.tsx
- Sprint tasks in main Kanban view now sorted by updatedAt descending
- Fixes issue where Done column tasks weren't sorted properly
- Matches sorting in SprintBoard.tsx and BacklogView.tsx
2026-02-21 22:22:47 -06:00
Max
418bf7a073 Add task sorting by updatedAt (descending) in all views
- BacklogView: Sort current sprint tasks, backlog, and other sprint tasks by last updated
- SprintBoard: Sort sprint tasks by updatedAt descending
- Ensures latest updated tasks appear at top of each section
2026-02-21 22:06:36 -06:00
Max
02d19a1afb Fix sprint timezone bug and add auto-rollover
- Sprint end dates now treated as end-of-day (23:59:59) to handle timezone issues
  where sprints appeared empty before local midnight
- Added auto-rollover: when a sprint ends, incomplete tasks automatically
  move to the next sprint, ended sprint marked as completed
- Applied fix to both main page and BacklogView
2026-02-21 20:47:03 -06:00
Max
bea107b4e9 Update README: Remove user admin and meta documentation 2026-02-21 17:58:40 -06:00
Max
9778c20dbf Remove internal table CRUD APIs
Removed public CRUD for internal tables:
- Deleted /api/meta - internal key-value store
- Deleted /api/users - use auth endpoints instead
- Removed CLI commands: user admin and meta operations

Core app tables with CRUD:
 tasks - Full CRUD
 projects - Full CRUD (list, get, create, update, delete)
 sprints - Full CRUD (list, get, create, update, delete)

Auth tables (internal, no public CRUD):
- users - Managed via /api/auth/* endpoints
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset flow
- meta - Internal use only
2026-02-21 17:57:25 -06:00
Max
b0fc52ade4 Update README with project get and sprint get commands 2026-02-21 17:51:25 -06:00
Max
873712e037 Add individual get endpoints for projects and sprints
New API endpoints:
- GET /api/projects/[id] - Get single project
- GET /api/sprints/[id] - Get single sprint

New CLI commands:
- project get <id> - Get specific project
- sprint get <id> - Get specific sprint

Project and Sprint CRUD now complete:
 list, get, create, update, delete
2026-02-21 17:50:42 -06:00
Max
f24b230703 Update README with user and meta CRUD documentation 2026-02-21 17:45:59 -06:00
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