fix: resolve 1.0 audit bugs (closes #104, #105, #106, #107, #108) #109

Merged
sneak merged 6 commits from fix/1.0-audit-bugs into main 2026-02-20 13:47:12 +01:00
Showing only changes of commit ec87915234 - Show all commits

View File

@ -270,6 +270,9 @@ func (h *Handlers) HandleAPIDeleteApp() http.HandlerFunc {
return return
} }
// Stop and remove the Docker container before deleting the DB record
h.cleanupContainer(request.Context(), appID, application.Name)
deleteErr := h.appService.DeleteApp(request.Context(), application) deleteErr := h.appService.DeleteApp(request.Context(), application)
if deleteErr != nil { if deleteErr != nil {
h.log.Error("api: failed to delete app", "error", deleteErr) h.log.Error("api: failed to delete app", "error", deleteErr)