Sean Molenaar
5809e57d4f
Migration: Don't use unsigned for pubdate
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-01-18 20:55:42 +01:00
Sean Molenaar
582c4d11fa
Controllers: Fetch feed after creating
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-01-18 20:15:13 +01:00
anoy
8d834cff35
fix typo in string template value
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-17 17:56:37 +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
anoy
fdf4fa454d
fix TypeError in ItemMapper
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-15 15:16:41 +01:00
anoy
8b3516a949
fix opened state of folders is not restored
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-13 19:23:46 +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
anoy
8de3ad77fc
remove deprecated colon prefix for parameters
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-11 09:32:23 +01:00
Benjamin Brahmer
52f1142cd3
autofix round2
2021-01-08 22:45:10 +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
d3cd465d87
Improve itemmapper wording
...
Co-authored-by: anoy. <anoymouserver@users.noreply.github.com >
2020-12-30 11:21:44 +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
anoy
d1c50b8e77
fix FeedMapper find exception
...
Exception: Argument 2 passed to OCA\News\Db\FeedMapper::find() must be of the type int, string given
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2020-12-23 17:32:26 +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
e0edfd0dc5
Fix alias usage in v2 mapper
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-12-08 16:11:17 +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
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
anoy
c6c44be93b
fix second where overrides previous condition
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2020-11-11 19:21:04 +01:00
Sean Molenaar
7effe4654b
Unremove but deprecate User API
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-11-10 16:47:42 +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
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 #829
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 #835
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