1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-09 10:15:44 +02:00
This commit is contained in:
Bernhard Posselt 2016-04-17 16:47:02 +02:00
parent d08dd536d7
commit d74b8cf43e
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,6 @@
owncloud-news (8.6.0)
* **Enhancement**: Also publish error count and last error message through API, #977
owncloud-news (8.5.0)
* **Bugfix**: Do not run feed updates when ajax or web cron mode was detected because it can lead to very long load times, timeouts, data corruption, update bugs where feeds are not updated anymore and database inconsistencies. If someone is interested in re-enabling webcron based feed updates, please create a PHP script which uses the [updater API](https://github.com/owncloud/news/wiki/Updater-1.2). Don't hesitate to ask for help on the issue tracker!
* **Bugfix**: Fix multiple error messages and outdated links for cron error messages

View File

@ -160,7 +160,9 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
'unreadCount',
'ordering',
'link',
'pinned'
'pinned',
'updateErrorCount',
'lastUpdateError'
]);
}

View File

@ -54,7 +54,9 @@ class FeedTest extends \PHPUnit_Framework_TestCase {
'unreadCount' => 321,
'ordering' => 2,
'pinned' => true,
'link' => 'https://www.google.com/some/weird/path'
'link' => 'https://www.google.com/some/weird/path',
'updateErrorCount' => 2,
'lastUpdateError' => 'hi'
], $feed->toAPI());
}