From a1a697e2be953c835ff8270b25f5613ad199a754 Mon Sep 17 00:00:00 2001 From: Arsalan Ul Haq Sohni Date: Tue, 13 Jan 2026 13:48:37 +0100 Subject: [PATCH 01/38] refactor: rename app_template to ncw_apps_menu across all relevant files --- appinfo/info.xml | 6 +++--- composer.json | 2 +- lib/AppInfo/Application.php | 2 +- openapi.json | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/App.vue | 2 +- src/main.ts | 2 +- templates/index.php | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index aac83ca..27e1fac 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,7 +1,7 @@ - app_template + ncw_tools App Template An example summary An example description @@ -16,9 +16,9 @@ - app_template + ncw_tools App Template - app_template.page.index + ncw_tools.page.index app.svg link diff --git a/composer.json b/composer.json index 435e260..6c0d36d 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "nextcloud/app_template", + "name": "nextcloud/ncw_tools", "description": "An example description", "license": "AGPL-3.0-or-later", "authors": [ diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 94bb1df..1d18494 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -10,7 +10,7 @@ use OCP\AppFramework\Bootstrap\IRegistrationContext; class Application extends App implements IBootstrap { - public const APP_ID = 'app_template'; + public const APP_ID = 'ncw_tools'; /** @psalm-suppress PossiblyUnusedMethod */ public function __construct() { diff --git a/openapi.json b/openapi.json index 47781ed..9a3322b 100644 --- a/openapi.json +++ b/openapi.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "title": "app_template", + "title": "ncw_tools", "version": "0.0.1", "description": "An example summary", "license": { @@ -47,7 +47,7 @@ } }, "paths": { - "/ocs/v2.php/apps/app_template/api": { + "/ocs/v2.php/apps/ncw_tools/api": { "get": { "operationId": "api-index", "summary": "An example API endpoint", diff --git a/package-lock.json b/package-lock.json index 280d226..1a8be19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "app_template", + "name": "ncw_tools", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "app_template", + "name": "ncw_tools", "version": "1.0.0", "license": "AGPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 9f0aeba..cad8afc 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "app_template", + "name": "ncw_tools", "version": "1.0.0", "license": "AGPL-3.0-or-later", "type": "module", diff --git a/src/App.vue b/src/App.vue index dfd671e..9dfb39c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ import NcContent from '@nextcloud/vue/components/NcContent'