summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2020-11-19Return expected Value for Symfony Commandswaffshappen
This fixes a bug when calling allfeeds by hand about not returning anything which makes the generated json unuusuable with errors appended to stdout. TypeError: Return value of "OCA\News\Command\Updater\AllFeeds::execute()" must be of the type int, "null" returned. in apps/mail/vendor/symfony/console/Command/Command.php:261 Returning "no error/0" fixes it.
2020-11-11fix second where overrides previous conditionanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-11-10Unremove but deprecate User APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-10Fix unread count and related issuesSean Molenaar
Issue GH-924 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-07remove deprecated YouTube playlist APIanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-11-03Controllers: Use v2 servicesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03fix delete apiBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-11-03Add migration with foreign keysSean Molenaar
Closes #829 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-29Merge branch 'master' into fix/dont_overload_getidBenjamin Brahmer
2020-10-29Command: Add unittestsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-28DB: stop overloading getIDSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-12Allow titles to be nullSean Molenaar
Issue GH-867 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-09Fix minor issues, prepare for foreign keys and check feedsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-09Update feeds of Explore page, curate instead of just allowing everything, to ↵Jan C. Borchardt
prevent advertising Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-09fix multiple results for guid_hashanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-09Add Type Info to EntitiesTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-10-08Update feeds.en.jsonSturtz Network
Removed Slashdot due to ssl errors Signed-off-by: Sturtz Network <sturtz110751@indianola.k12.ia.us>
2020-10-05Fix Application class loading in configSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-05Define microtime as stringSean Molenaar
Closes #835 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-04update only relevant item fieldsanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org> Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-04trim whitespaces in item titlesanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-04Fix 'news:updater:after-update' commandGioele Falcetti
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2020-10-03remove doubled executeanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-03DB: Fix mime checkingSean Molenaar
Signed-off-by: Sean Molenaar <sean@m2mobi.com>
2020-10-03fix matching any stringBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03remove loggerParamsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03Fix various 15.0 bugsSean Molenaar
Issue #821,#820,#819 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-02fix invalid UserId when logged outanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-02fix incorrect cron recommendationanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-09-29Add feed autodiscoverySean Molenaar
Issue GH-415 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29OPML export command and fixesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29Fix repair step and test itSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27Create V2 mapper, Service and management commandsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-25change statement for deleting items with help from @Talon24Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-25Move to nextcloud config and update phpunitSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-17run phpcbfBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-13Add tagesschau.de to feeds.de.jsonFelix
According to their website, the RSS2 feed seems to be preferred and has images etc, which the Atom feed does not have. Signed-off-by: Felix <22506886+felurx@users.noreply.github.com>
2020-09-02Fix UpdateInteval not being saved to configBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-31Fix crash if full-text is enabled and the news item does not provide an URL ↵Gioele Falcetti
to be fetched Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2020-08-30Added Tarnkappe.infoClemens
Signed-off-by: Clemens <clemens@clemensknost.de>
2020-08-29fix import with invalid guid_hashBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-26Cleanup appinfo filesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-25Add phpstan checksSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-14Update to new BackgroudJob logicBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-14Allow data URI scheme inside the body of an item.Rodrigo Aguilera
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
2020-05-21Do not create spurious links in item bodyDavid Engster
The 'str_replace' will match any HTML element that starts with '<a', including things like '<address' or '<article', thus creating spurious links in item bodies. Fix that by simply adding one whitespace. Fixes issue #527. Signed-off-by: David Engster <deng@randomsample.de>
2020-05-07Remove Totalbiscuit from ExploreFreddo
As unfortunate as it is, John "TotalBiscuit" Bain passed away in 2018, with the last video uploaded to his channel being posted close to a year ago at this point. It is probably best to open up space for other feeds. Signed-off-by: Freddo3000 <f.falk@protonmail.com>
2020-05-07Add feed: The Regimental StandardFreddo3000
https://regimental-standard.com/ Warhammer 40K themed newsletter providing humorous and uplifting news bulletins for the Imperial Guardsmen of the 42nd millenium. Signed-off-by: Freddo3000 <f.falk@protonmail.com>
2020-04-28fix 'If-Modified-Since' causing BAD REQUEST (#684)Chris Noxz
fix 'If-Modified-Since' causing BAD REQUEST Signed-off-by: Chris Noxz <chris@noxz.tech> Co-authored-by: kesselb <mail@danielkesselberg.de>
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>