diff --git a/CHANGELOG.md b/CHANGELOG.md index 394e675..c35bd82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # QOwnNotesAPI Change Log +## 23.6.0 +- re-did the application structure for Nextcloud 27 (for [#43](https://github.com/pbek/qownnotesapi/issues/43)) + ## 23.3.0 - enabled and tested app for Nextcloud 26 (for [#42](https://github.com/pbek/qownnotesapi/issues/42)) diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index f3413d0..0000000 --- a/appinfo/app.php +++ /dev/null @@ -1,14 +0,0 @@ - - * @copyright Patrizio Bekerle 2015-2020 - */ - -namespace OCA\QOwnNotesAPI\AppInfo; diff --git a/appinfo/application.php b/appinfo/application.php deleted file mode 100644 index 0faf0bd..0000000 --- a/appinfo/application.php +++ /dev/null @@ -1,24 +0,0 @@ - - * @copyright Patrizio Bekerle 2015-2020 - */ - -namespace OCA\QOwnNotesAPI\AppInfo; - -use OCP\AppFramework\App; - -class Application extends App -{ - public function __construct(array $urlParams = []) - { - parent::__construct('qownnotesapi', $urlParams); - } -} diff --git a/controller/noteapicontroller.php b/lib/Controller/NoteApiController.php similarity index 99% rename from controller/noteapicontroller.php rename to lib/Controller/NoteApiController.php index b64bfd1..14ff9f3 100644 --- a/controller/noteapicontroller.php +++ b/lib/Controller/NoteApiController.php @@ -64,7 +64,7 @@ public function getAllVersions() $versionsResults = []; if (is_array($versions) && (count($versions) > 0)) { - require_once __DIR__.'/../3rdparty/finediff/finediff.php'; + require_once __DIR__.'/../../3rdparty/finediff/finediff.php'; $users_view = new View('/'.$uid); $currentData = $users_view->file_get_contents('files/'.$filename);