From 8d1400e4d9c1a96074ccb6efa357f7cabf68ba6f Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Fri, 19 Jul 2024 13:43:12 +0800 Subject: [PATCH 1/3] added registry config in admin, improved auth and utility --- addon/components/registry-admin-config.hbs | 16 ++ addon/components/registry-admin-config.js | 36 +++++ addon/engine.js | 10 +- addon/templates/developers/payments/index.hbs | 27 ++-- addon/templates/installed.hbs | 6 +- app/components/registry-admin-config.js | 1 + composer.json | 4 +- extension.json | 2 +- package.json | 2 +- .../Internal/v1/RegistryAuthController.php | 46 ++++++ .../v1/RegistryExtensionController.php | 60 +++++++- .../RegistryBridgeServiceProvider.php | 46 ++---- server/src/Support/Utils.php | 137 +++++++++++++++++- server/src/routes.php | 3 + .../components/registry-admin-config-test.js | 26 ++++ 15 files changed, 368 insertions(+), 54 deletions(-) create mode 100644 addon/components/registry-admin-config.hbs create mode 100644 addon/components/registry-admin-config.js create mode 100644 app/components/registry-admin-config.js create mode 100644 tests/integration/components/registry-admin-config-test.js diff --git a/addon/components/registry-admin-config.hbs b/addon/components/registry-admin-config.hbs new file mode 100644 index 0000000..a964fdb --- /dev/null +++ b/addon/components/registry-admin-config.hbs @@ -0,0 +1,16 @@ + + + + + +