summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2020-04-23Always show the unread articles.Cesar Enrique Garcia Dabo
The unread articles folder will always be visible, regardless of the "Show all" setting. If that setting is on, then an additional "All articles" folder will be show as before, but it doesn't substitute the "Uread articles" one. A new URL /apps/news/#/items/unread is also created that jumps to the unread articles. Signed-off-by: Cesar Enrique Garcia Dabo <cquike@arcor.de>
2020-04-23Create feeds.cs.jsonMaceček Richard
Signed-off-by: Maceček Richard <46937538+macecekrichard@users.noreply.github.com>
2020-03-09Check if $feed is nullDaniel Kesselberg
and we are unable to continue because there is no valid feed data Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-01Different solution for ONLY_FULL_GROUP_BY (see #406) (Issue #80) (#407)Talon24
* Group by moved to subquery, get feed details from outer query (see #406) Signed-off-by: Talon <talontalon24@gmail.com>
2020-02-16Basic Media-RSS support (#599)Éloi Rivard
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
2020-01-07Allow getContent() in Scraper and IScraper to return null (#606)Petros Koutsolampros
Allow getContent() in Scraper and IScraper to return null
2019-12-27Update httpLastModified from the feed response (#594)kesselb
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>
2019-12-24Reimplement full-text scraping (#563)DriverXX
Add readability.php scraper Fixes #482 Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2019-11-16Get content:encoded of item if available (#565)b_b
Get content:encoded of item if available fixes #564 Signed-off-by: brunob <bruno@eliaz.fr>
2019-10-19Update feeds.en.json (#557)Paul Calabro
Added the Lifehacker RSS feed Signed-off-by: Paul Calabro <paulcalabro@users.noreply.github.com>
2019-08-16Update to feedio 4+ (#494)Benjamin Brahmer
- 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>
2019-08-16Add the 'Accept' header to the request (#525)Carlos Silva
* Add the 'Accept' header to the request Some firewalls block requests without the Accept header on the HTTP(s) request as seen on issue #517, so, just add the header to all requests and say we accept anything. Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org> * Use a more detailed Accept Header Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org> * Split up long line Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>
2019-05-11add "mark read" floating button mobile. Fixes #469 (#505)nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-04-25removed warning about non utf8mb4 charset for mysql/mariadb - #496 (#497)Daniel Opitz
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2019-04-11Use nextclouds temp dir (#493)Benjamin Brahmer
2019-04-05Set tmp dir as cache for faviconSean Molenaar
2019-03-26Fix xkcd commicsSean Molenaar
2019-03-22Stop assuming encoding of xml, let simplexml throw silently (#457)Sean Molenaar
2019-03-21Allow empty-ish lastmodified and clean up FeedFetcher Test (#458)Sean Molenaar
2019-03-20reset modified since filter when updating feedsJasper Knockaert
When updating feeds the modified since date is added as a filter. This needs to be reset when looping over the feeds. Fixes #444.
2019-03-18Use a copy of the FeedIO client that doesn't specify a useragentSean Molenaar
2019-03-18Set nextcloud user agentSean Molenaar
2019-03-17fix/allow CDATA encoding (#428)Sean Molenaar
2019-03-12Fix email and password not being encodedSean Molenaar
2019-03-12Catch FeedIO reader exception.Sean Molenaar
Closes #413 Closes #412
2019-03-11#413 DateTime::createFromFormat()Simon Gilliot
2019-03-06Fix generation commands and make them available in ./occ (#402)Sean Molenaar
2019-02-23Allow empty update timeSean Molenaar
2019-01-31Fix mismatched interfaceSean Molenaar
2019-01-31Make feed failing more verboseSean Molenaar
2019-01-30Parser: Switch to feedIO for parsing instead of picoFeedSean Molenaar
2019-01-28Merge pull request #382 from SMillerDev/codestyle_psr2Morris Jobke
Define an official codestyle and adhere to it.
2019-01-10Return also folderId with "news:updater:all-feeds"DriverXX
2018-12-14Define an official codestyle and adhere to it.Sean Molenaar
2018-12-04remove some wrapping functions, define argument and response types, removed ↵Daniel Opitz
configuration of AppConfig as its not existing anymore
2018-10-22add EFB.NU & Newblackcrack
add EFB.NU http://www.essential-freebies.de/board/feed.php a German Freeware,Share and OpenSource Board who be the members where posting News. Any can make with and can posting News for WinNT Freeware. It's a Huge German Windows Software Board. best regards blacky
2018-10-19Update feeds.de.jsonAlexander Grüßung
Added APPkosmos.de to explore file
2018-10-14Fix lastModified to be a string rather than an integer. (#355)Detlev Zundel
This fixes https://github.com/nextcloud/news/issues/350#issue-369283392 Signed-off-by: Detlev Zundel <dzu@member.fsf.org>
2018-10-04add date to export .opmlBenjamin Brahmer
2018-09-28add setters + getters to Folder and Item entities, fixed unit tests, ↵Daniel Opitz
rearranged methods
2018-09-28fixed feed testsDaniel Opitz
2018-09-28add php7 typesDaniel Opitz
2018-09-28add getters + setters for feed entityDaniel Opitz
2018-09-12Restore a working User-AgentDaniel Aleksandersen
The previous User-Agent was malformed. Using an old Chrome version now looks more suspicious. This version conforms and passes WAF just fine.
2018-07-01feat(api): support new OC core login flowDavid Guillot
* Base ApiController now needs IUserSession and extracts/serves IUser from it * All other API controllers now inherit from ApiController
2018-03-27Core: Fix compatibility with nextcloud codestyle (#280)Sean Molenaar
2018-03-18Unit: Fix unittests (#278)Sean Molenaar
* Unit: Fix unittests Issue #171 * Tests: Move test namespace to the expected nextcloud namespace
2017-12-16Add: German Feeds for t3n.de and netzpolitik.org (#241)Daniel S
- Add: http://t3n.de/rss.xml as new discoverable source for tech news - Add: https://netzpolitik.org/feed/ as source for network politics / news source - See also: #240
2017-08-14Split binary to booleans (#203)Daniel Opitz
* replaced old status with 2 flags for unread and starred * add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it * add repair step for migration * again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false * add/fix unit tests for new boolean status * set unread/starred flags as statements in sql * fixed mysql unknown column items.unread, fixed marking of read items on repair step * remove unnecessary bool casts * add empty checks to Items::is* methods * update migration to use native sql instead of the querybuilder * don't cast the flags manually, let the api do the work
2017-07-13Rakekniven patch 1 (#204)rakekniven
* Update FeedFetcher.php * Update part.content.warnings.php * Update part.content.warnings.php