From a4daafe72af7170ad741d7b8f04c06882c2e8aab Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 17 Feb 2021 23:32:13 -0500 Subject: [PATCH] feature: secret/env editor --- htdocs/index-dev.html | 1 + htdocs/js/pages/admin/APIKeys.js | 6 +- htdocs/js/pages/admin/Activity.js | 18 +- htdocs/js/pages/admin/Categories.js | 6 +- htdocs/js/pages/admin/ConfigKeys.js | 101 +- htdocs/js/pages/admin/Plugins.js | 6 +- htdocs/js/pages/admin/Servers.js | 2 +- htdocs/js/pages/admin/Users.js | 6 +- lib/api.js | 3 +- lib/api/confkey.js | 8 +- lib/api/secret.js | 194 ++ lib/engine.js | 3470 ++++++++++++--------------- lib/job.js | 17 +- package-lock.json | 7 +- package.json | 1 + sample_conf/config.json | 2 +- sample_conf/setup.json | 10 + 17 files changed, 1907 insertions(+), 1951 deletions(-) create mode 100644 lib/api/secret.js diff --git a/htdocs/index-dev.html b/htdocs/index-dev.html index f95dc3b..d720684 100644 --- a/htdocs/index-dev.html +++ b/htdocs/index-dev.html @@ -35,6 +35,7 @@ +