diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-04-23 13:00:59 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-04-23 13:00:59 +0300 |
commit | 2660b7fee51fe87c375307891e4a8abb98c07a69 (patch) | |
tree | 0be402f081d029bdc6a82bd80e8df0b7add65ce6 /appinfo | |
parent | 1bdb0ff3eaa0f8a874bbf306ca5fe8a45f8e6ff4 (diff) |
Add first file handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 1 | ||||
-rw-r--r-- | appinfo/database.xml | 6 | ||||
-rw-r--r-- | appinfo/info.xml | 4 | ||||
-rw-r--r-- | appinfo/routes.php | 3 |
4 files changed, 8 insertions, 6 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 7c15d6096..8dd192622 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -3,7 +3,6 @@ declare(strict_types=1); namespace OCA\Text\AppInfo; - $eventDispatcher = \OC::$server->getEventDispatcher(); // only load text editor if the user is logged in diff --git a/appinfo/database.xml b/appinfo/database.xml index cbb2019c7..cf9a6292f 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -31,6 +31,12 @@ <length>4</length> <default>0</default> </field> + <field> + <name>last_saved_version_time</name> + <type>integer</type> + <unsigned>true</unsigned> + <length>4</length> + </field> </declaration> </table> diff --git a/appinfo/info.xml b/appinfo/info.xml index c7d6db71f..4804cdd59 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ <name>Text</name> <summary>Type together</summary> <description>Collaborative text editor</description> - <version>0.1.0-dev12</version> + <version>0.1.0-dev13</version> <licence>agpl</licence> <author mail="jus@bitgrid.net">Julius Härtl</author> <namespace>Text</namespace> @@ -15,7 +15,7 @@ <repository type="git">https://github.com/nextcloud/text.git</repository> <screenshot>https://raw.githubusercontent.com/nextcloud/text/master/img/screenshot.png</screenshot> <dependencies> - <nextcloud min-version="15" max-version="16"/> + <nextcloud min-version="17" max-version="17"/> </dependencies> <navigations> <navigation> diff --git a/appinfo/routes.php b/appinfo/routes.php index ff8413314..29b92263b 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -17,8 +17,5 @@ return [ ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'POST'], // Close session ['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'], - //['name' => 'Session#get', 'url' => '/session/get', 'verb' => 'GET'], - - ] ]; |