summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-08🎨 Update share migrationMarco Nassabain
- remove shared_with column - make shared_by nullable Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 Item.php: make shared_by nullableMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 Item.php: Remove shared_withMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Add FeedService DI into ItemService in testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Add FeedServiceV2 DI into ItemServiceV2Marco Nassabain
- used for finding dummy share feed Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove old share logic from tests & old testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove old share item logic & functionsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 Update item share: add items to dummy feedMarco Nassabain
- 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📝 Update CHANGELOG and AUTHORSMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove front-end edit from back-end prMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove changes from front-end for back-end prMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✏️ Fix share test name typoMarco Nassabain
- testFindAllShared => testFindAllSharedWithUser Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🗑 '!=' is discouraged, replaced by '!=='WENDLING NICOLAS
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🗑 '!=' is discouraged, replaced by '!=='WENDLING NICOLAS
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Update find shared items testsMarco Nassabain
- testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 ItemMapperV2: add new offset code (findShared)Marco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperPaginatedTest: update testsMarco Nassabain
Adapted folder/feed/item tests to take account for shared data - testFindAllItemsStarredSearch - testFindAllFeed - testFindAllFeedInverted - testFindAllFeedHideRead - testFindAllFeedSearch - testFindAllFolderIdNull - testFindAllFolderHideRead - testFindAllFolderHideReadInvertOrder - testFindAllFolderSearchId Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperPaginatedTest:WENDLING NICOLAS
- testFindAllItemsInvalid - testFindAllItemsFullInverted - testFindAllItemsUnread - testFindAllItemsStarred Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperAfterTest:WENDLING NICOLAS
- testFindAllAfterStarred - testFindAllAfterAll - testFindAllAfterInvalid Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperAfterTest:WENDLING NICOLAS
- testFindAllInFeedAfter - testFindAllInFeedAfterHideRead - testFindAllInFolderAfter - testFindAllInFolderAfterHideRead - testFindAllAfterUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔀 Resolving merge: moving shared testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🧹 Cleanup test files: added new linesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🚨 Fix linter in those classes:WENDLING NICOLAS
- ItemController - ItemMapperV2 - ItemServicev2 Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix those tests -> ItemControllerTest:WENDLING NICOLAS
- testIndexForFeed - testIndexForFolder - testIndexForShared - testIndexForOther - testIndexSearchFeed - testNewItemsFeed - testNewItemsFolder - testNewItemsShared - testNewItemsOther Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix findFromUser, testFindAllFromUserWithParams, testFindAllFromUserAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testFindForUserByGUIDHashAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix FeedControllerTest testsWENDLING NICOLAS
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testNewestAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix tests testFindAllInFolderAfterHideRead, testFindAllInFolderAfter, ↵Aurélien
testFindAllInFeedAfterHideRead, testFindAllInFeedAfter Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 Fix testFindAllItemsStarredSearch, testFindAllItemsStarred, ↵Aurélien
testFindAllItemsUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testFindAllItemsInvalid, testFindAllAfterInvalid, ↵Aurélien
testFindAllAfterStarred, testFindAllAfterUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08fix test findAllFeedAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFeedSearch and findAllFeedHideReadAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFolderIdNull and findAllFolderHideReadAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFolderHideReadInvertOrderAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test FindAllFolderSearchIdAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08fix test readAllAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperTest: add tests for findAllSharedAfterMarco Nassabain
- testFindAllSharedAfter - testFindAllSharedAfterHideRead Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperTest: test findAllSharedWithUser funcMarco Nassabain
- testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemServiceTest: test share functionsMarco Nassabain
- testFindAllShared - testFindAllNewShared - testSharedCount Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemServiceTest: test share functionMarco Nassabain
- testShare - testShareDoesNotExist Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🥅 ItemService: catch NotFoundException + cleanupMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemControllerTest: added share tests (WIP)Marco Nassabain
- testIndexForShared - testNewItemShared Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🗃 Change share migration versionMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix ItemController share testsMarco Nassabain
- testShare - testShareDoesNotExist Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove old ItemMapper & ItemServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🩹 Remove traces of feed_id being nullableMarco Nassabain
- feed_id is not nullable so we remove default values Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Add findAllSharedAfterMarco Nassabain
- adapted Controller, Service and Mapper (newItems) Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Implementer shared getter + add count in requestMarco Nassabain
- ItemServiceV2: added sharedWithUser - returns unread shared items - ItemController & FeedController - returning shared count Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ ItemController (index): add case for shared itemsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>