summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2022-10-23Fix various keyboard navigation issuesRhys Tyers
Signed-off-by: Rhys Tyers <mail@rhy.si>
2022-10-12Remove setting for minimum purge interval settingBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-10-08New administrator setting for deleting unread items automaticallyBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-31fix readAllBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-30Port admin settings to vue (#1880)Carl Schwan
* Port admin settings to vue Co-authored-by: anoy. <anoymouserver@users.noreply.github.com> Co-authored-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-25Fix adding feed that was just deleted is causing an errorBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-21change itemMapper readAllBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19fixup for #1861Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19Fix deprecation warnings from Nextcloud. (#1869)Benjamin Brahmer
* don't use private class anymore * execute is deprecated * fix migration execute statement * fix unittest Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19Fix deprecationsBenjamin Brahmer
add phpstan deprecation rules Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19Fix Test and adjust codeBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19add item types to api docsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-19adapt generateSearchIndexBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-08Change Autodiscover behaviour (#1860)Benjamin Brahmer
* change autodiscover behaviour to only run if the provided url is not already a feed * Execute feed check after the final url is found Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-06-28fix type always string for findAllFromUserBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-31If items of feed do not provide an author fallback to feed author (#1803)Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-24Use Feed Link as GUID when Feed omits Guid. (#1785)Accalia Elementia
* Use Feed Link as GUID when Feed omits Guid. As noted in nextcloud/news#1702 some feeds omit the GUID and are therefore not a valid RSS feed. nextcloud/news#1738 resolved the issue to allow valid feeds to update correctly when an invalid feed is present. This commit allows parsing of the invalid feed as well by assuming that the item link of the feed is unique to the feed and using it in place of the GUID when the feed omits the GUID. This will allow NextCloud News to accept and behave like many other popular feed aggregators when presented with such an invalid feed. Signed-off-by: Accalia <Accalia@Elementia.me> * Add basic Logging when using fallback guid Signed-off-by: Accalia <Accalia@Elementia.me> * Add basic Logging when using fallback guid - Fix Fatfinger Typo Signed-off-by: Accalia <Accalia@Elementia.me> * Add basic Logging when using fallback guid - Update tests to account for additional logging Signed-off-by: Accalia <Accalia@Elementia.me>
2022-05-04check if variable is null before striping tagsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-05-04fix the urlBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-02update last_modified when marking an item as readBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> this way it works Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> add changelog entry Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Partly fix test Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> test passing Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-30rename parameter for read/unread api callPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30add documentation for API v1.3 & fix parameter descriptionPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30also allow starring/unstarring multiple items by idPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30remove duplicate functionPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30fix indentation of function descriptionPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30add routes for starring/unstarring items by idPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-24Release 18.0.118.0.1Benjamin Brahmer
No major changes since the beta versions. Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-18Fix malformed feeds (without GUIDs) stopping the update process (fixes #1738)nextcloud486153
Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>
2022-04-18fix import of items when feed does not existBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-18rename maxItemId to newestItemId to match docsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-03-08Fix only one item marked as read by Feed APIBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-02-27Use rawurlencode as it encodes spaces correctly as %20Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-12-03let Symfony handle the defualt vote valueBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-30Fix catching connect exceptions while fetching feed logos #1570Michael Hamann
Display the message instead of the response when catching an exception during feed logo fetching. As there is no response and thus no method `getResponse()` in `ConnectException`, this fixes a "call to undefined method"-error that prevented feeds from fetching if fetching the logo resulted in a `ConnectException`. Signed-off-by: Michael Hamann <michael@content-space.de>
2021-11-18Fix code styleBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18chore: use executeStatement instead of executeUpdateSean Molenaar
Signed-off-by: Sean Molenaar sean@seanmolenaar.eu Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-14Catch network errors while fetching feed logos, fixes #1570Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18Smarter error logging Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2021-10-18make use of constant Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2021-10-18make use of base_url to handle relative urlsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18Download feed logos via guzzle to have better error handlingBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-03Fix spelling of receiveDaniel Rheinbay
recive => receive Signed-off-by: Daniel Rheinbay <danielrheinbay@gmail.com>
2021-07-24Update all feeds from commandDavid Baucum
Closes #1359 Signed-off-by: David Baucum <david@baucum.me>
2021-06-16Search: add feed searchSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-16🚑 Item: set id to null in clone functionMarco Nassabain
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes #1375 Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-06-01Chore: implement removals from #935Sean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-05-27db: no longer order by items.last_modifiedSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-27controller: getRead + all_items is now unread typeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-03[Backport] Prevent some of the favicon fetching errorsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-04-24Search: Fix app prefix in search redirectSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>