Benjamin Brahmer
9f3b63b5f9
Catch network errors while fetching feed logos, fixes #1570
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-11-14 20:16:16 +01:00
Benjamin Brahmer
137af71bb3
Smarter error logging
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com >
2021-10-18 17:57:18 +02:00
Benjamin Brahmer
74586396f8
make use of constant
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com >
2021-10-18 17:57:18 +02:00
Benjamin Brahmer
59a888481f
make use of base_url to handle relative urls
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-10-18 17:57:18 +02:00
Benjamin Brahmer
7d61a1cb09
Download feed logos via guzzle to have better error handling
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-10-18 17:57:18 +02:00
Daniel Rheinbay
0470bcb9ff
Fix spelling of receive
...
recive => receive
Signed-off-by: Daniel Rheinbay <danielrheinbay@gmail.com >
2021-10-03 14:50:18 +02: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
fd01e9ad7b
Search: add feed search
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-06-16 11:32:19 +02:00
Marco Nassabain
b5186b01f1
🚑 Item: set id to null in clone function
...
This is done to set the id to null BEFORE resetting the updated fields.
The purpose of this is to avoid explicitly adding a NULL id into the DB,
which provokes an error in some DBMS (like postgres).
Fixes #1375
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-06-16 11:31:11 +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
74f09ee716
db: no longer order by items.last_modified
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-27 19:12:55 +02:00
Sean Molenaar
2159eccbf1
controller: getRead + all_items is now unread type
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-27 19:10:53 +02:00
Benjamin Brahmer
56ebffbf76
[Backport] Prevent some of the favicon fetching errors
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-03 10:19:23 +02:00
Sean Molenaar
7c124dc288
Search: Fix app prefix in search redirect
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-04-24 20:34:15 +02:00
anoy
91db7113a8
replace deprecated getDescription call
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-04-24 14:21:57 +02:00
Sean Molenaar
111bf5fff2
DB: only sort on item IDs
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-04-14 13:56:54 +02:00
Sean Molenaar
d5c2a8bb09
Search: Fix and test folder search
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-04-10 14:55:33 +02:00
Marco Nassabain
96846e1266
🔥 Remove changes to back-end from front-end pr
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Jimmy Huynh
4a9a4cf0d2
(+) Adding sharing_user names to EVERY articles + pre-condition if sharedArticle: no title feed (e.g.: from wikiRSS...)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain
bf85a5883a
🩹 Item: change $sharedBy to string|null in annot.
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
486e651ed6
🎨 Rename $l to $l10n
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
413c4b8914
🩹 Fix sharedByDisplayName bug:
...
- setting sharedByDisplayName shouldn't mark it as updated
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
d5b9fbba3d
✏️ Fix comments in ShareService
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
1a5ca74172
✨ Add sharer display name into shared items
...
- Add mapSharedByDisplayNames in ShareService
- Update ItemController to call function on items
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
bbdd95c30d
🔥 Remove UserManager code from ItemMapper & tests
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
mnassabain
7f21574615
🎨 Type hint ItemController share function
...
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com >
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
4d0a82d429
✏️ Fix phpcs indentation error
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
c2c92a3f5a
🩹 Fix issues after rebase
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
276460a240
🩹 Item: mark categoriesJson as updated in clone
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
35dc4cf033
🗃 Update share migration version
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
7306370ece
✨ Item: add sharer display name in findEntities
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
8674d558fc
✨ Update Item model: add sharedByDisplayName
...
- added field + setters + getters
- include field in serialized Item
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
0fdd88df55
🧹 ShareService: rename $url to $urlGenerator
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
7f3c63a2a4
🎨 ShareService: update dummy feed URL
...
- add IURLGenerator DI
- update url to "http://serverurl/news/sharedwithme "
- updated tests: added DI + adapted expected url
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
920ae54a2c
🌐 ShareService: Localize dummy feed title
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
b0c42e4cd7
♻️ Item: Remove isShared
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
2cba1e4146
🧹 Cleanup code, remove spaces, rename variables
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
4612ed9bf0
🎨 Share migration: remove shared_by default value
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
e5d439ee7e
🚑 Fix newsItem insert error
...
- add Item::__clone method resetting updated fields
- set item id to null in ShareService
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
293300166d
🚑 Fix exception handling in ShareService
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
1a582f2a7a
🚑 Fix ItemController::share
...
- call correct ShareService function
- correct ShareService className annotation
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
d92d77c066
🚑 Fix errors in ShareService
...
- change argument $id to $itemId
- import Exceptions
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
409c835433
🩹 Patch ItemController + test to use ShareService
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
dd818c6203
🚑 Fix circular inclusion: create ShareService
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
8fd3975907
🎨 Update share migration
...
- remove shared_with column
- make shared_by nullable
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
e96d7c9b1e
🎨 Item.php: make shared_by nullable
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
6a6f89ff94
🎨 Item.php: Remove shared_with
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
26569fd4a2
✨ Add FeedServiceV2 DI into ItemServiceV2
...
- used for finding dummy share feed
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
9bd27da9ba
🔥 Remove old share item logic & functions
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
d2e831fbaa
🎨 Update item share: add items to dummy feed
...
- create/find a 'shared with me' dummy feed
- clone item, initialize fields, add to dummy feed
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00