- xsltproc
php:
- 7.2
- - 7.1
- - 5.6
+ - 7.3
+ - 7.4
script:
- cd tests
- phpunit .
+2021-01-22 Christian Weiske <cweiske@cweiske.de>
+
+ * Fix Javascript crash on Nextcloud 20
+ * Version 0.7.6
+
+2021-01-17 Christian Weiske <cweiske@cweiske.de>
+
+ * Fix search with SQLite database
+ * Mark as compatible with Nextcloud 19 and 20
+ (Search does not work with Nextcloud 20)
+ * Version 0.7.5
+
+2020-04-02 Christian Weiske <cweiske@cweiske.de>
+
+ * Mark 0.7.0 as compatible with Nextcloud 18 by Joan Moreau
+ * Version 0.7.4
+
+2019-12-19 Christian Weiske <cweiske@cweiske.de>
+
+ * Mark 0.7.0 as compatible with Nextcloud 17 by Joan Moreau
+ * Version 0.7.3
+
+2019-08-07 Christian Weiske <cweiske@cweiske.de>
+
+ * Mark 0.7.0 as compatible with Nextcloud 16
+ * Version 0.7.2
+
+2019-01-03 Christian Weiske <cweiske@cweiske.de>
+
+ * Mark 0.7.0 as compatible with Nextcloud 15
+ * Version 0.7.1
+
2018-10-07 Christian Weiske <cweiske@cweiske.de>
* Make grauphel compatible with Nextcloud 14
Pretty stable.
+⚠ `I am looking for a new maintainer / funding <http://cweiske.de/tagebuch/grauphel-maintainer.htm>`_
+
__ https://nextcloud.com/
__ https://wiki.gnome.org/Apps/Tomboy
__ https://wiki.gnome.org/Apps/Tomboy/Synchronization/REST/1.0
__ http://conboy.garage.maemo.org/
__ https://wiki.gnome.org/Apps/Tomboy
-__ https://launchpad.net/tomdroid
+__ https://github.com/tomboy-notes/tomdroid
Known working versions
======================
-grauphel 0.7.0 is known to work with:
+grauphel 0.7.6 is known to work with:
* Tomboy 1.15.2, Linux
* Tomboy 1.15.1, Windows
and extract it.
For example::
- $ wget http://cweiske.de/download/grauphel/grauphel-0.7.0.tar.gz
- $ tar xjvf grauphel-0.7.0.tar.gz
- $ rm grauphel-0.7.0.tar.gz
+ $ wget http://cweiske.de/download/grauphel/grauphel-0.7.6.tar.gz
+ $ tar xjvf grauphel-0.7.6.tar.gz
+ $ rm grauphel-0.7.6.tar.gz
You do have a directory ``/var/www/nextcloud/apps/grauphel`` now.
#. Using your browser, login as administrator into nextCloud and click
Signature::
- $ openssl dgst -sha512 -sign ~/.nextcloud/certificates/grauphel.key dist/grauphel-0.7.0.tar.gz | openssl base64
+ $ openssl dgst -sha512 -sign ~/.nextcloud/certificates/grauphel.key dist/grauphel-0.7.6.tar.gz | openssl base64
$container->registerService(
'NotesController',
function($c) {
+ Dependencies::get()->urlGen
+ = $c->query('ServerContainer')->getURLGenerator();
return new \OCA\Grauphel\Controller\NotesController(
$c->query('AppName'),
$c->query('Request'),
Tomboy, Conboy and Tomdroid clients are supported.
</description>
- <version>0.7.0</version>
+ <version>0.7.6</version>
<licence>agpl</licence>
<author>Christian Weiske</author>
<namespace>Grauphel</namespace>
<dependencies>
<lib>OAuth</lib>
<owncloud min-version="7"/>
- <nextcloud min-version="13" max-version="15"/>
+ <nextcloud min-version="13" max-version="20"/>
</dependencies>
<!-- <ocsid>166654</ocsid> -->
</info>
use \OCP\AppFramework\Controller;
use \OCP\AppFramework\Http\TemplateResponse;
use \OCA\Grauphel\Lib\Client;
+use \OCA\Grauphel\Lib\Dependencies;
use \OCA\Grauphel\Lib\TokenStorage;
use \OCA\Grauphel\Lib\Response\ErrorResponse;
public function __construct($appName, \OCP\IRequest $request, $user)
{
parent::__construct($appName, $request);
- $this->user = $user;
+ $this->user = $user;
+ $this->deps = Dependencies::get();
//default http header: we assume something is broken
header('HTTP/1.0 500 Internal Server Error');
protected function getNotes()
{
$username = $this->user->getUid();
- $notes = new \OCA\Grauphel\Lib\NoteStorage($this->urlGen);
+ $notes = new \OCA\Grauphel\Lib\NoteStorage($this->deps->urlGen);
$notes->setUsername($username);
return $notes;
}
$(document).ready(function() {
// translate search result type
- OC.search.resultTypes.note = 'Note';
-});
\ No newline at end of file
+ if (OC.search !== undefined) {
+ OC.search.resultTypes.note = 'Note';
+ }
+});
$keywordGroups['NOT'] = array();
}
- $sqlTplAnd = ' AND (note_title ILIKE ? OR note_tags ILIKE ? OR note_content ILIKE ?)';
- $sqlTplNot = ' AND NOT (note_title ILIKE ? OR note_tags ILIKE ? OR note_content ILIKE ?)';
+ $sqlTplAnd = ' AND (`note_title` ILIKE ? OR `note_tags` ILIKE ? OR `note_content` ILIKE ?)';
+ $sqlTplNot = ' AND NOT (`note_title` ILIKE ? OR `note_tags` ILIKE ? OR `note_content` ILIKE ?)';
$arData = array(
$this->username
);
);
}
}
-?>
\ No newline at end of file
+?>