Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- Add mapSharedByDisplayNames in ShareService
- Update ItemController to call function on items
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- 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>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- add Item::__clone method resetting updated fields
- set item id to null in ShareService
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- call correct ShareService function
- correct ShareService className annotation
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- change argument $id to $itemId
- import Exceptions
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- used for finding dummy share feed
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- 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>
|
|
- ItemController
- ItemMapperV2
- ItemServicev2
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- adapted Controller, Service and Mapper (newItems)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- ItemServiceV2: added sharedWithUser - returns unread shared items
- ItemController & FeedController - returning shared count
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
- TODO: check if relation already exists
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
|
|
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
|
|
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
|
|
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
|
|
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
|
|
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
|
|
Issue GH-1211
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
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>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|
|
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
|