From e17c95919a50b548d0568d6542eabdade78806e0 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Wed, 15 Jul 2015 20:46:49 +0200 Subject: Compatibility with Owncloud 8.1. Create an API Controller that provides REST-API. Fix JavaScript code. --- appinfo/app.php | 2 +- appinfo/routes.php | 6 ++++++ appinfo/version | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 appinfo/routes.php (limited to 'appinfo') diff --git a/appinfo/app.php b/appinfo/app.php index 63a53ef..5bea808 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -3,6 +3,6 @@ * Dependencies */ // Jquery -OCP\Util::addScript("3rdparty", "chosen/chosen.jquery.min"); +//OCP\Util::addScript("3rdparty", "chosen/chosen.jquery.min"); // checksum script OCP\Util::addScript('checksum', "checksum" ); diff --git a/appinfo/routes.php b/appinfo/routes.php new file mode 100644 index 0000000..81cb5a4 --- /dev/null +++ b/appinfo/routes.php @@ -0,0 +1,6 @@ + [ + ['name' => 'checksum#calculate', 'url' => '/checksum', 'verb' => 'GET'] +]]; + +?> diff --git a/appinfo/version b/appinfo/version index be12806..3b04cfb 100644 --- a/appinfo/version +++ b/appinfo/version @@ -1 +1 @@ -0.1a +0.2 -- cgit v1.2.3