mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Initial Nexcloud 14 release.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## [0.1.4]: 2018-10-13
|
||||
### Added
|
||||
- Initial Nextcloud 14 release.
|
||||
|
||||
## [0.1.4]: 2018-08-29
|
||||
### Added
|
||||
- Some styles fixed.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<description>Quick notes with a basic rich text</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Matias De lellis</author>
|
||||
<version>0.1.4</version>
|
||||
<version>0.1.5</version>
|
||||
<namespace>QuickNotes</namespace>
|
||||
<category>office</category>
|
||||
<category>tools</category>
|
||||
@@ -16,7 +16,6 @@
|
||||
<screenshot>https://user-images.githubusercontent.com/733715/38871255-b07a7d5a-4226-11e8-8403-650cbea50be0.png</screenshot>
|
||||
<ocsid>174716</ocsid>
|
||||
<dependencies>
|
||||
<owncloud min-version="8.0" max-version="9.1"/>
|
||||
<nextcloud min-version="9" max-version="13" />
|
||||
<nextcloud min-version="14" max-version="14" />
|
||||
</dependencies>
|
||||
</info>
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* ownCloud - quicknotes
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later. See the COPYING file.
|
||||
*
|
||||
* @author Matias De lellis <mati86dl@gmail.com>
|
||||
* @copyright Matias De lellis 2016
|
||||
*/
|
||||
|
||||
$installedVersion = \OCP\Config::getAppValue('quicknotes', 'installed_version');
|
||||
|
||||
if (version_compare($installedVersion, '0.0.8', '<')) {
|
||||
$sqls = array(
|
||||
"INSERT INTO `*PREFIX*quicknotes_colors` (color) VALUES ('#F7EB98');", // Other color the default no handle easy duplicate colors..
|
||||
"UPDATE `*PREFIX*quicknotes_notes` SET color_id = (SELECT DISTINCT id FROM `*PREFIX*quicknotes_colors` WHERE color = '#F7EB98');"
|
||||
);
|
||||
foreach ($sqls as $sql) {
|
||||
$query = \OCP\DB::prepare($sql);
|
||||
$query->execute();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ script('quicknotes', 'script');
|
||||
style('quicknotes', 'style');
|
||||
?>
|
||||
|
||||
<div id="app">
|
||||
<div id="app-navigation">
|
||||
<?php print_unescaped($this->inc('part.navigation')); ?>
|
||||
<?php print_unescaped($this->inc('part.settings')); ?>
|
||||
@@ -20,4 +19,3 @@ style('quicknotes', 'style');
|
||||
<?php print_unescaped($this->inc('part.content')); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user