diff --git a/appinfo/info.xml b/appinfo/info.xml index c5fbab9..23ec806 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,14 +1,14 @@ - testnextcloudapp - Test Nextcloud App - Application Test - + xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> + occweb + OCC Web + OCC Command in a web terminal + 0.0.1 agpl Adphi - TestNextcloudApp + OCCWeb security https://git.adphi.net/Adphi/TestNextcloudApp @@ -16,8 +16,9 @@ - Test Nextcloud App - testnextcloudapp.page.index + OCCWeb + occweb.page.index + diff --git a/appinfo/routes.php b/appinfo/routes.php index 24af2a2..d353c0c 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -2,7 +2,7 @@ /** * Create your routes in here. The name is the lowercase name of the controller * without the controller part, the stuff after the hash is the method. - * e.g. page#index -> OCA\TestNextcloudApp\Controller\PageController->index() + * e.g. page#index -> OCA\OCCWeb\Controller\PageController->index() * * The controller class has to be registered in the application.php file since * it's instantiated in there diff --git a/composer.json b/composer.json index 72665f9..c29e526 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "Test Nextcloud App", - "description": "Application Test", + "name": "OCC Web", + "description": "OCC Web terminal", "type": "project", "license": "AGPL", "authors": [ diff --git a/js/index.js b/js/index.js index c07d397..e1cfe27 100644 --- a/js/index.js +++ b/js/index.js @@ -5,7 +5,7 @@ var html = $('html'); html.scrollTop(html.prop('scrollHeight')); } - var baseUrl = OC.generateUrl('/apps/testnextcloudapp'); + var baseUrl = OC.generateUrl('/apps/occweb'); $.get(baseUrl + '/cmd', function(response){ $('#app-content').terminal(function(command, term) { var occCommand = { diff --git a/lib/Controller/OCCController.php b/lib/Controller/OCCController.php index 533ef2a..9ce486a 100644 --- a/lib/Controller/OCCController.php +++ b/lib/Controller/OCCController.php @@ -1,6 +1,6 @@