Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-05-23 17:02:31 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-18 11:54:06 +0300
commitedb200299d513184b6bf6bd84936b951c288cb89 (patch)
tree7e1057f8b2ab9ec1fb30a3f19fd60c5b16604aac /appinfo
parent6ecc8499f9d0ebc20c15125f4bde959d2d658e12 (diff)
Start with new template creation mechanism
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/database.xml13
-rw-r--r--appinfo/info.xml2
-rw-r--r--appinfo/routes.php1
3 files changed, 14 insertions, 2 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
index 8db665fa..cafe9b8c 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -76,6 +76,12 @@
<length>4</length>
</field>
<field>
+ <name>template_id</name>
+ <type>integer</type>
+ <notnull>false</notnull>
+ <length>4</length>
+ </field>
+ <field>
<name>hide_download</name>
<type>boolean</type>
<default>false</default>
@@ -159,7 +165,12 @@
<notnull>false</notnull>
<length>4</length>
</field>
-
+ <field>
+ <name>template_id</name>
+ <type>integer</type>
+ <notnull>false</notnull>
+ <length>4</length>
+ </field>
<index>
<name>rd_direct_token_idx</name>
<unique>true</unique>
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 7f950fd3..b9b8f733 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -4,7 +4,7 @@
<name>Collabora Online</name>
<summary>Edit office documents directly in your browser.</summary>
<description>This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.</description>
- <version>3.4.6</version>
+ <version>3.4.7</version>
<licence>agpl</licence>
<author>Collabora Productivity based on work of Frank Karlitschek, Victor Dubiniuk</author>
<types>
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a384a5b6..8f1636d5 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -44,6 +44,7 @@ return [
['name' => 'wopi#getFile', 'url' => 'wopi/files/{fileId}/contents', 'verb' => 'GET'],
['name' => 'wopi#putFile', 'url' => 'wopi/files/{fileId}/contents', 'verb' => 'POST'],
['name' => 'wopi#putRelativeFile', 'url' => 'wopi/files/{fileId}', 'verb' => 'POST'],
+ ['name' => 'wopi#getTemplate', 'url' => 'wopi/template/{fileId}', 'verb' => 'GET'],
//settings
['name' => 'settings#setPersonalSettings', 'url' => 'ajax/personal.php', 'verb' => 'POST'],