Changed
- Updated "New Folder" and "All articles" icons to differentiate them from "Subscribe" and "All articles". (#1542)
Fixed
- Mark the latest post in a feed as read when clicking on the right arrow key. (#1546)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Give both add folder and unread feed icons their own unique icons instead of sharing them with subscribe and all articles.
Signed-off-by: Greg Ross <greg@toolstack.com>
Changed
- Add changelog and DCO notice to CONTRIBUTING.md (#1521)
- Download feed logos via guzzle to have better error handling (#1533)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Remove dependency's large test files from release (#1519)
- Fix spelling of "receive" in log files (#1520)
Note: Nextcloud 20 support will be dropped in Oct 2021, this is very likely the last version to support Nextcloud 20. This also means that PHP 7.2, will no longer be supported by news.
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Added new `news:updater:update-user` command to update the feeds of a single user (#1360).
Fixed
- Removed spurious requests for `.../apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D` (#1488)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
The markup for favicon `<img>` element in feed item used `src` instead of
`ng-src`, causing browser to make broken requests for
`.../apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D`
Changing the attribute to `ng-src` fixed that.
Signed-off-by: mormegil <mormegil@centrum.cz>
There are no additional changes compared to the latest beta.
Changed
- News now requires a 64bit OS
- v2 API implementation (folder part)
- Implemented sharing news items between nextcloud users (#1191)
- Updated the news items table in DB to include sharer data (#1191)
- Added route for sharing news items (#1191)
- Added share data in news items serialization (#1191)
- Added tests for the news items share feature (#1191)
- Added sharing articles with nextcloud users (#1217)
- Added sharing articles on social media (Facebook, Twitter) or mail (#1217)
- Allow installation on Nextcloud v22
- Remove deprecated API endpoints and occ command (#935)
- /api/v1-2/user
- /api/v1-2/user/avatar
- ./occ news:updater:all-feeds
- added feed search (#1402)
Fixed
- allow calling `/items?getRead=false` without a feed/folder (#1380#1356)
- newestId does not return newest ID but last updated (#1339)
- removed reference for deleted repair-steps (#1399)
- Fix NotNullConstraintViolation when sharing news items with users (#1406)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Allow installation on Nextcloud v22
- Remove deprecated API endpoints and occ comand (#935)
- /api/v1-2/user
- /api/v1-2/user/avatar
- ./occ news:updater:all-feeds
Fixed
- allow calling `/items?getRead=false` without a feed/folder (#1380#1356)
- newestId does not return newest ID but last updated (#1339)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- News now requires a 64bit OS
- v2 API implementation (folder part)
- Implemented sharing news items between nextcloud users (#1191)
- Updated the news items table in DB to include sharer data (#1191)
- Added route for sharing news items (#1191)
- Added share data in news items serialization (#1191)
- Added tests for the news items share feature (#1191)
- Added sharing articles with nextcloud users (#1217)
- Added sharing articles on social media (Facebook, Twitter) or mail (#1217)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Add BATS as integration tests (#1213)
- Update FeedFetcher to import categories from feeds (#1248)
- Update serialization of item to include categories (#1248)
- Make PHPStan stricter (#955)
- Search: Add folder search (#1215)
- Improve test coverage (#1263)
- Allow directly adding a feed without going through the discovery process (#1265)
Fixed
- Do not show deleted feeds in item list (#1214)
- Fix update queries (#1211)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Remove outdated item DB code. ( #1056)
- Stop returning all feeds after marking folder as read. (#1056)
- Always fetch favicon (#1164)
- Use feed logo instead of favicon if it exists and is square (#1164)
- Add CI for item lists (#1180)
Fixed
- Item list throwing error for folder and "all items" (#1180)
- Articles with high IDs can be placed lower than articles with low IDs (#1147)
- Feeds are accidentally moved on rename (#1189)
- Item list not using ID for offset (#1188)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Currently, an article with an ID of 1000 will show up
earlier than one with ID = 900, because the IDs are being treated
as strings and compared alphabetically. (1 comes before 9, and
the comparison stops there.)
We need to parse them as integers to ensure that 900 is less than
1000.
Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
The logo of the feed is prefered if it is a square picture,
else the favicon is returned.
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Changed
- DB: Remove unused fields and migrate last_modified to signed, to support dates before 1970
Fixed
- Release: create signature file (#1117)
- Articles are refetched after purging leaving them unread again (#1122)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
You can now delete unread items via occ:
occ news:updater:after-update --purge-unread [<purge-count>]
Fixed
- Item purger does not work with PostgreSQL (#1094)
- Export starred/unread correctly (#1010)
Co-authored-by: anoy. <anoymouserver@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Fixed
- opened state of folders is not restored (#1040)
- Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (#1044)
- Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (#1049)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Remove outdated feed DB code
- add background & hover for entries
- Improve spacing of open articles in compact mode (nextcloud/news#1017)
Fixed
- `MissingNamedParameter` exception after upgrading to NC 21 beta5 (#1030)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Fixed
- Argument 2 passed to OCA\News\Db\FeedMapper::find() must be of the type int, string given #996
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Exception: Argument 2 passed to OCA\News\Db\FeedMapper::find() must be of the type int, string given
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
We remove the call to readSince() as some feeds push new articles with
pubDate prior to the lastModified time stored for these feeds (e.g.
lemonde.fr). As we go through all items of a feed again and again, we
prevent the constant update of an item's lastModified timestamp by
keeping the previous one if its fingerprint does not change.
Fixes#921
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Changed
- This version brings some major changes, be aware that some clients may not support this news version.
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Added changelog enforcer action
- Stop overloading DB ids
- Unittest commands and utilities
- Upload codecoverage to codecov.io
- Use foreign keys in db
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Update Explore page feeds and design #860
Fixed
- Fix usage of at() in unittests #864
- Fix minor issues, prepare for foreign keys and check feeds #862
- Fix multiple results for guid_hash #861
- Fix missing type info of entities #858
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Update feed-io to v4.7.10
Fixed
- Fix false cron notifaction #823
- Fix cron updater not working #819#824
- Fix invalid UserId when logged out #822
- Fix autoPurge not working #824
- Fix undefined class constant 'Name' #824
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Update feed-io to v4.7.9
- Feed autodiscovery #806
- Drop support before nextcloud 20 #794
- Move to modern SQL syntax #750
- Add management commands #804#750
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- added support for Nextcloud 20 #781
Fixed
- Update interval not saved to config file #783
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Fixed
- Update Interval documentation fixes#773
- Fix crash if full-text if feed doesn't provide an url #774
- Fix admin page not saving settings #776
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- JS library updates #737#741
- Allow data URI scheme inside the body of an item #733
- Update to new BackgroudJob logic #704
- Update feed-io to v4.7.8
Fixed
- fixed double escaped intro (not rendering html) #694
- translation updates and fixes
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Changed
- Update feed-io to v4.7.0
- Update js dependencies
Fixed
- Do not create spurious links in item body (#699)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>