1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-11-24 13:42:47 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Benjamin Brahmer
a9e4a5abd3 let Symfony handle the defualt vote value
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-12-03 21:39:47 +01:00
David Baucum
21203dbf63 Update all feeds from command
Closes #1359

Signed-off-by: David Baucum <david@baucum.me>
2021-07-24 18:17:31 +02:00
Sean Molenaar
469807a091 Chore: implement removals from #935
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-01 11:23:04 +02:00
Sean Molenaar
78dce7ffe1 DB: Updates should use set()
Issue GH-1211

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-31 22:39:00 +02:00
Sean Molenaar
7a2b3ccfa8 chore: Improve test coverage
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-30 12:58:47 +02:00
Sean Molenaar
2baa7a2b91 Make PHPstan stricter
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-25 18:47:38 +01:00
Sean Molenaar
bcdeb55fcb Actions: Integration tests using bats
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-01 21:13:44 +01:00
Sean Molenaar
01e1db329c Command: Add debug item list commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20 13:57:09 +01:00
Benjamin Brahmer
6cd83ea1da remove unused lastModified from feed fetcher
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-02-16 11:01:10 +01:00
Benjamin Brahmer
c09b4d8d33 prefer the feeds logo over the favicon
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>
2021-02-16 10:16:15 +01:00
Sean Molenaar
b4fa772bc5 Remove V1 item API
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-13 13:22:57 +01:00
Sean Molenaar
023c61b88f Mappers: Implement item purging
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-30 18:27:06 +01:00
Sean Molenaar
67b6c4e1b0 Fix psalm issues
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-12 13:29:08 +01:00
Sean Molenaar
05377d023e Remove PHPunit integration tests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-30 11:21:44 +01:00
waffshappen
260f0e6cae Return expected Value for Symfony Commands
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-19 11:23:58 +01:00
Sean Molenaar
5bdc2df7f4 Fix unread count and related issues
Issue GH-924

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-10 16:47:42 +01:00
Sean Molenaar
10e8c28fea Add migration with foreign keys
Closes #829

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03 19:58:37 +01:00
Sean Molenaar
c5daf112be Command: Add unittests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-29 08:19:03 +01: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
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
d00d1ab2a2 Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27 15:35:31 +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
DriverXX
6673cbc3d9 Reimplement full-text scraping (#563)
Add readability.php scraper
Fixes #482
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2019-12-24 09:33:19 +01:00
Sean Molenaar
2698214c41 fix/allow CDATA encoding (#428) 2019-03-17 08:23:37 +01:00
Sean Molenaar
71ba5a3ad1 Fix generation commands and make them available in ./occ (#402) 2019-03-06 13:10:37 +01:00
Morris Jobke
9cd871983a
Merge pull request #382 from SMillerDev/codestyle_psr2
Define an official codestyle and adhere to it.
2019-01-28 22:32:49 +01:00
DriverXX
71ce148554 Return also folderId with "news:updater:all-feeds" 2019-01-10 10:35:48 +01:00
Sean Molenaar
becce6b752 Define an official codestyle and adhere to it. 2018-12-14 07:54:43 +01:00
Sean Molenaar
5b94705cf3 Core: Fix compatibility with nextcloud codestyle (#280) 2018-03-27 15:35:06 +02:00
Bernhard Posselt
7a3a22bd27 Adjust copyright header 2016-07-23 21:32:42 +02:00
Bernhard Posselt
004fcbbcc7 Move to new directory structure 2016-07-23 21:24:54 +02:00