1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-25 20:15:47 +02:00
Commit Graph

248 Commits

Author SHA1 Message Date
anoy
cb32a2c4ed remove deprecated YouTube playlist API
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-11-07 09:57:20 +01:00
Sean Molenaar
af2fd96825 Controllers: Use v2 services
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03 23:12:01 +01:00
Benjamin Brahmer
becb236419 fix delete api
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-11-03 21:23:04 +01:00
Sean Molenaar
10e8c28fea Add migration with foreign keys
Closes 

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03 19:58:37 +01:00
Benjamin Brahmer
cfc75fb1d3
Merge branch 'master' into fix/dont_overload_getid 2020-10-29 08:21:01 +01:00
Sean Molenaar
c5daf112be Command: Add unittests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-29 08:19:03 +01:00
Sean Molenaar
ec6930da82
DB: stop overloading getID
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-28 23:08:53 +01:00
Sean Molenaar
48a130d3c0 Allow titles to be null
Issue GH-867

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-12 21:40:23 +02:00
Sean Molenaar
8a203a329c Fix minor issues, prepare for foreign keys and check feeds
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-09 22:15:03 +02:00
Jan C. Borchardt
39f539f975 Update feeds of Explore page, curate instead of just allowing everything, to prevent advertising
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-09 20:39:12 +02:00
anoy
1fcab6e6c6 fix multiple results for guid_hash
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-09 20:38:58 +02:00
Tilo Spannagel
a74491ecde Add Type Info to Entities
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-10-09 13:59:23 +02:00
Sturtz Network
dbd287ed29 Update feeds.en.json
Removed Slashdot due to ssl errors

Signed-off-by: Sturtz Network <sturtz110751@indianola.k12.ia.us>
2020-10-08 09:54:10 +02:00
Sean Molenaar
4425e9da42 Fix Application class loading in config
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-05 09:48:28 +02:00
Sean Molenaar
49c6f7077d Define microtime as string
Closes 

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-05 09:47:44 +02:00
anoy
bfcf38a480 update only relevant item fields
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-04 21:35:31 +02:00
anoy
0fe6384085 trim whitespaces in item titles
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-04 20:10:15 +02:00
Gioele Falcetti
e8a1fd63fc Fix 'news:updater:after-update' command
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2020-10-04 20:01:16 +02:00
anoy
d1b0e299f1 remove doubled execute
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-03 20:16:34 +02:00
Sean Molenaar
b9c31a73bd DB: Fix mime checking
Signed-off-by: Sean Molenaar <sean@m2mobi.com>
2020-10-03 14:01:36 +02:00
Benjamin Brahmer
4e6acf9c68 fix matching any string
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03 14:01:36 +02:00
Benjamin Brahmer
f7a3581f45 remove loggerParams
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03 14:01:36 +02:00
Sean Molenaar
167dc70238 Fix various 15.0 bugs
Issue #821,#820,#819

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-03 14:01:36 +02:00
anoy
0d1ee15f86 fix invalid UserId when logged out
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-02 19:30:43 +02:00
anoy
4fffe42eb9 fix incorrect cron recommendation
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-02 15:43:06 +02:00
Sean Molenaar
e528361141 Add feed autodiscovery
Issue GH-415

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 21:15:53 +02:00
Sean Molenaar
35b53ecd40 OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 14:56:07 +02:00
Sean Molenaar
bc01761221 Fix repair step and test it
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 13:02:03 +02:00
Sean Molenaar
d00d1ab2a2 Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27 15:35:31 +02:00
Benjamin Brahmer
66ce13a0c7 change statement for deleting items with help from @Talon24
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-25 19:18:04 +02:00
Sean Molenaar
60ab4941cc Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-25 19:18:04 +02:00
Benjamin Brahmer
3a62ffbe88 run phpcbf
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-17 10:23:43 +02:00
Felix
24d38662cb Add tagesschau.de to feeds.de.json
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-13 19:04:44 +02:00
Benjamin Brahmer
9bb6bf691c Fix UpdateInteval not being saved to config
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-02 08:31:10 +02:00
Gioele Falcetti
bf0e693e23 Fix crash if full-text is enabled and the news item does not provide an URL to be fetched
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2020-08-31 00:59:43 +02:00
Clemens
8dc21e1e16 Added Tarnkappe.info
Signed-off-by: Clemens <clemens@clemensknost.de>
2020-08-30 19:26:04 +02:00
Benjamin Brahmer
dd266ed05f fix import with invalid guid_hash
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-29 23:45:26 +02:00
Sean Molenaar
b73c7c0f8a Cleanup appinfo files
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-26 22:48:17 +02:00
Sean Molenaar
54630030c3 Add phpstan checks
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-25 20:52:48 +02:00
Benjamin Brahmer
4ebc906fef Update to new BackgroudJob logic
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-14 18:22:57 +02:00
Rodrigo Aguilera
1619dd379d Allow data URI scheme inside the body of an item.
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
2020-08-14 18:17:18 +02:00
David Engster
864794461f Do not create spurious links in item body
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 .

Signed-off-by: David Engster <deng@randomsample.de>
2020-05-21 12:02:25 +02:00
Freddo
8b2c766384 Remove Totalbiscuit from Explore
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-07 12:18:11 +02:00
Freddo3000
3b506a8530 Add feed: The Regimental Standard
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-05-07 12:17:20 +02:00
Chris Noxz
81d2407e6c
fix 'If-Modified-Since' causing BAD REQUEST ()
fix 'If-Modified-Since' causing BAD REQUEST

Signed-off-by: Chris Noxz <chris@noxz.tech>
Co-authored-by: kesselb <mail@danielkesselberg.de>
2020-04-28 18:25:34 +02:00
Cesar Enrique Garcia Dabo
5b4f3d29e4 Always show the unread articles.
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-23 12:37:24 +02:00
Maceček Richard
a69ec8edd8 Create feeds.cs.json
Signed-off-by: Maceček Richard <46937538+macecekrichard@users.noreply.github.com>
2020-04-23 12:15:36 +02:00
Daniel Kesselberg
95ef23b143 Check if $feed is null
and we are unable to continue because there is no valid feed data

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-09 23:03:30 +01:00
Talon24
cc051c6ce7
Different solution for ONLY_FULL_GROUP_BY (see ) (Issue ) ()
* Group by moved to subquery, get feed details from outer query (see )

Signed-off-by: Talon <talontalon24@gmail.com>
2020-03-01 15:49:39 +01:00
Éloi Rivard
306d3cdc60
Basic Media-RSS support ()
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
2020-02-16 14:26:06 +01:00