From 42110059c7a42b317fd1391e3cd539a555f19226 Mon Sep 17 00:00:00 2001 From: Karim Gabriele Varano Date: Tue, 30 Jun 2026 01:06:09 +0200 Subject: [PATCH] Squashed 'cms/core/' changes from 2f52ec7..f709b5d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit f709b5d core: stage 6 (part) — /api/schema + /api/system + admin System panel git-subtree-dir: cms/core git-subtree-split: f709b5dc8ded7f138b21ac0aad4dd0855cb75aba --- admin/src/App.jsx | 34 ++++++++++++++++++++++++++++++++++ admin/src/api.js | 2 ++ admin/src/styles.css | 10 ++++++++++ api/package.json | 2 +- api/src/index.js | 11 +++++++++++ api/src/routes/system.js | 38 ++++++++++++++++++++++++++++++++++++++ api/test/system.test.js | 30 ++++++++++++++++++++++++++++++ 7 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 api/src/routes/system.js create mode 100644 api/test/system.test.js diff --git a/admin/src/App.jsx b/admin/src/App.jsx index 1a260b5..53faa9e 100644 --- a/admin/src/App.jsx +++ b/admin/src/App.jsx @@ -104,6 +104,7 @@ function Dashboard({ email }) { {me?.canModerate && } {me?.isAdmin && } {me?.isAdmin && } + {me?.isAdmin && } {email} @@ -121,6 +122,8 @@ function Dashboard({ email }) { ) : view === 'moderation' ? ( + ) : view === 'system' ? ( + ) : ( <>