summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-01-23 14:32:53 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-23 14:32:53 +0100
commitdf509a4b856472fa22fd6d43a212c9d21bd5b40f (patch)
treebe8be7824bd4ba3ee687c6e57d1383929360e505 /appinfo
parent5adeba1a560985173974c9ac98c624093055d669 (diff)
fix #711
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/database.xml6
-rw-r--r--appinfo/info.xml2
-rw-r--r--appinfo/routes.php1
3 files changed, 8 insertions, 1 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
index 688d04547..c2277d276 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -160,6 +160,12 @@
<default>false</default>
<notnull>true</notnull>
</field>
+ <field>
+ <name>ordering</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ </field>
<index>
<name>news_feeds_user_id_index</name>
diff --git a/appinfo/info.xml b/appinfo/info.xml
index b3a92468d..785e55da3 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -7,7 +7,7 @@
<author>Bernhard Posselt, Alessandro Cosentino, Jan-Christoph Borchardt</author>
<category>multimedia</category>
<licence>AGPL</licence>
- <version>5.0.0</version>
+ <version>5.0.1</version>
<namespace>News</namespace>
<!-- resources -->
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 954656d2d..4900d3885 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -42,6 +42,7 @@ return ['routes' => [
['name' => 'feed#update', 'url' => '/feeds/{feedId}/update', 'verb' => 'POST'],
['name' => 'feed#active', 'url' => '/feeds/active', 'verb' => 'GET'],
['name' => 'feed#import', 'url' => '/feeds/import/articles', 'verb' => 'POST'],
+['name' => 'feed#ordering', 'url' => '/feeds/{feedId}/ordering', 'verb' => 'POST'],
// items
['name' => 'item#index', 'url' => '/items', 'verb' => 'GET'],