From 18d062fd2d66cf9c52cf4512f596a83ecc71d734 Mon Sep 17 00:00:00 2001 From: ImBenji Date: Wed, 22 Apr 2026 20:50:08 +0100 Subject: [PATCH] add intelligence and SQL tabs to admin interface with corresponding API endpoints --- admin.html | 239 ++++++++++++++++++++++++++++++++++++++++++ config.json | 4 +- docker-compose.yml | 2 + intelligence/db.js | 2 + intelligence/index.js | 4 +- package.json | 3 +- src/db.js | 236 +++++------------------------------------ src/routes/admin.js | 134 +++++++++++++++++++++++ src/routes/dev.js | 32 +++--- 9 files changed, 428 insertions(+), 228 deletions(-) diff --git a/admin.html b/admin.html index 983664b..f715009 100644 --- a/admin.html +++ b/admin.html @@ -247,6 +247,8 @@ + + @@ -320,6 +322,63 @@ + + + + + +