From 13846ea4ce4bacfadda6f86c5e48e5e76e13db07 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 9 Mar 2026 01:17:05 +0000 Subject: 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. --- internal/api/server.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/api/server.go') 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) -- cgit v1.2.3