summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-09 01:17:05 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-09 01:17:05 +0000
commit13846ea4ce4bacfadda6f86c5e48e5e76e13db07 (patch)
tree20838cbcbc343e8cd8b8f6bb0f8ad347c3fa52b3 /internal/api
parentf9d2056f4d10fe7dde71f5d17d8e8c473b3a611f (diff)
feat: delete templates feature and allow requeueing BUDGET_EXCEEDED tasks
Removed all template-related code from frontend (tabs, modals, logic) and backend (routes, files, DB table). Updated BUDGET_EXCEEDED tasks to be requeueable with a Restart button. Fixed ReferenceError in isUserEditing for Node.js tests.
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/server.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index 11c9c15..1d87b3f 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -103,11 +103,6 @@ func (s *Server) routes() {
s.mux.HandleFunc("GET /api/executions/{id}/log", s.handleGetExecutionLog)
s.mux.HandleFunc("GET /api/tasks/{id}/logs/stream", s.handleStreamTaskLogs)
s.mux.HandleFunc("GET /api/executions/{id}/logs/stream", s.handleStreamLogs)
- s.mux.HandleFunc("GET /api/templates", s.handleListTemplates)
- s.mux.HandleFunc("POST /api/templates", s.handleCreateTemplate)
- s.mux.HandleFunc("GET /api/templates/{id}", s.handleGetTemplate)
- s.mux.HandleFunc("PUT /api/templates/{id}", s.handleUpdateTemplate)
- s.mux.HandleFunc("DELETE /api/templates/{id}", s.handleDeleteTemplate)
s.mux.HandleFunc("POST /api/tasks/{id}/answer", s.handleAnswerQuestion)
s.mux.HandleFunc("POST /api/tasks/{id}/resume", s.handleResumeTimedOutTask)
s.mux.HandleFunc("POST /api/scripts/{name}", s.handleScript)