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
6e9e2512ea
DB: Remove unused fields
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-05 09:37:17 +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
cb10dd1d83
Base: Update psalm definition and dependency list
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-26 16:06:47 +01:00
anoy
c67feb8d8d
fix TypeError caused by type conversion in controller
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-17 17:56:37 +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
e5d56f2c2e
Fix getUnreadOrStarredType
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-12 13:29:08 +01:00
Benjamin Brahmer
67bbd6bfeb
fix the test
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-01-08 22:45:10 +01:00
Benjamin Brahmer
7180e11bdb
fixes done by psalm
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-01-08 22:45:10 +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
Sean Molenaar
11f5904dd5
Fix mapper->find and empty user sessions
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-17 10:35:23 +01:00
Kevin Decherf
42ea24f2f4
Remove LastModified-based cursor when updating feeds
...
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>
2020-12-15 20:02:21 +01:00
Sean Molenaar
4ee3fcb781
Refactor User ID fetching and fix non-specific cleanup
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08 13:58:12 +01:00
Sean Molenaar
8abddeab4f
Remove usage of old Folder code
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08 13:58:12 +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
af2fd96825
Controllers: Use v2 services
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03 23:12:01 +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
anoy
1fcab6e6c6
fix multiple results for guid_hash
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-09 20:38:58 +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
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
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
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
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
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
Daniel Opitz
10c0b1ff10
removed warning about non utf8mb4 charset for mysql/mariadb - #496 ( #497 )
...
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2019-04-25 13:04:56 +02:00
Sean Molenaar
9d5ac4b039
Catch FeedIO reader exception.
...
Closes #413
Closes #412
2019-03-12 13:30:05 +01:00
Sean Molenaar
d61a57bd2d
Make feed failing more verbose
2019-01-31 10:23:56 +01:00
Sean Molenaar
a3246a927d
Parser: Switch to feedIO for parsing instead of picoFeed
2019-01-30 20:36:40 +01:00
Sean Molenaar
becce6b752
Define an official codestyle and adhere to it.
2018-12-14 07:54:43 +01:00
Daniel Opitz
2aabd8fd1f
fixed feed tests
2018-09-28 23:24:10 +02:00
Sean Molenaar
5b94705cf3
Core: Fix compatibility with nextcloud codestyle ( #280 )
2018-03-27 15:35:06 +02:00
Daniel Opitz
a97dd58e3b
Split binary to booleans ( #203 )
...
* 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-08-14 10:34:53 +02:00
sonologic
774b4b6852
Fix #163 , use IDBConnection->supports4ByteText() ( #169 )
...
Instead of the buggy StatusService->hasIncorrectCharset, use
the already available IDBConnection->supports4ByteText() to
determine if 4byte unicode is supported.
2017-05-31 20:12:09 +02:00
Bernhard Posselt
42c57af9f8
better link
2017-05-24 20:52:23 +02:00
Daniel Schaal
04f66c9710
Add updatedDate to item model ( #81 )
...
* Update picoFeed to v0.1.28
* Add updated_date to database and bump version to 10.1.1
* Add updatedDate to item model
* Check for updatedDate when updating a feed
* Fix unit test to check for newer updatedDate
2017-01-04 11:09:46 +01:00
Daniel Schaal
f658beaf61
Throw ServiceNotFoundException when marking non-existent item as read ( #61 )
...
* Throw ServiceNotFoundException when marking non-existent item as read
Fixes #58
* Add test case for marking non-existent item as read
2016-11-18 16:03:31 +01:00
Bernhard Posselt
8d63975360
revert
2016-10-02 18:05:49 +02:00
Daniel Schaal
e45511f6ba
Add updatedDate to item model ( #43 )
...
* Update picoFeed to 0.1.25
* Add updated_date to database
* Add updatedDate to item model
* Bump version to 9.0.5
* Check for updatedDate when updating a feed
* Fix unit test to check for newer updatedDate
2016-10-01 08:34:40 +02:00
Bernhard Posselt
38e657a5d5
removing owncloud references and updating links
2016-07-23 22:02:21 +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