Age | Commit message (Collapse) | Author |
|
add phpstan deprecation rules
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
* 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>
|
|
Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
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>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
|
|
* Null check category label before trying to decode
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
+ added setter/getters that work with arrays to simplify use case
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
|
|
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
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>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
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>
|
|
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
|
|
Issue GH-867
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Issue GH-415
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
to be fetched
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
|
|
fix 'If-Modified-Since' causing BAD REQUEST
Signed-off-by: Chris Noxz <chris@noxz.tech>
Co-authored-by: kesselb <mail@danielkesselberg.de>
|
|
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
|
|
LastModified is used (in a feed context to see if a user edited a feed). httpLastModified to store the last-modified response from the source.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Add readability.php scraper
Fixes #482
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
|
|
Get content:encoded of item if available fixes #564
Signed-off-by: brunob <bruno@eliaz.fr>
|
|
- bumped dependencies to last supported version
travis:
- removed php 7.0
- move main target to nc 16
- drop support for nc 14 & 15
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
|
|
|
|
|
|
When updating feeds the modified since date is added as a filter. This needs to be reset when looping over the feeds. Fixes #444.
|
|
|
|
|
|
|
|
Closes #413
Closes #412
|
|
|
|
|
|
|