1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-10-23 08:42:52 +02:00

Commit Graph

  • 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 Marco Nassabain 2021-03-03 22:32:53 +0100
  • 525c47bd01 📝 Update CHANGELOG and AUTHORS Marco Nassabain 2021-03-02 23:02:32 +0100
  • 4a7e092b98 🔥 Remove front-end edit from back-end pr Marco Nassabain 2021-03-02 22:58:34 +0100
  • a1edb03e19 🔥 Remove changes from front-end for back-end pr Marco Nassabain 2021-03-02 22:53:58 +0100
  • f708e40b75 ✏️ Fix share test name typo - testFindAllShared => testFindAllSharedWithUser Marco Nassabain 2021-03-01 12:33:17 +0100
  • f6014567f3 🗑 '!=' is discouraged, replaced by '!==' WENDLING NICOLAS 2021-02-28 23:54:48 +0100
  • a9863ec5f7 🗑 '!=' is discouraged, replaced by '!==' WENDLING NICOLAS 2021-02-28 23:41:11 +0100
  • 80dec257c2 Update find shared items tests - testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Marco Nassabain 2021-02-28 23:26:22 +0100
  • af02560363 🎨 ItemMapperV2: add new offset code (findShared) Marco Nassabain 2021-02-28 23:17:07 +0100
  • 8de50d44b6 ItemMapperPaginatedTest: update tests Adapted folder/feed/item tests to take account for shared data - testFindAllItemsStarredSearch - testFindAllFeed - testFindAllFeedInverted - testFindAllFeedHideRead - testFindAllFeedSearch - testFindAllFolderIdNull - testFindAllFolderHideRead - testFindAllFolderHideReadInvertOrder - testFindAllFolderSearchId Marco Nassabain 2021-02-28 23:06:53 +0100
  • ee49a1d1cc Fix tests in ItemMapperPaginatedTest: - testFindAllItemsInvalid - testFindAllItemsFullInverted - testFindAllItemsUnread - testFindAllItemsStarred WENDLING NICOLAS 2021-02-28 23:15:27 +0100
  • abba7386ee Fix tests in ItemMapperAfterTest: - testFindAllAfterStarred - testFindAllAfterAll - testFindAllAfterInvalid WENDLING NICOLAS 2021-02-28 23:00:29 +0100
  • 6dbf64fa9d Fix tests in ItemMapperAfterTest: - testFindAllInFeedAfter - testFindAllInFeedAfterHideRead - testFindAllInFolderAfter - testFindAllInFolderAfterHideRead - testFindAllAfterUnread WENDLING NICOLAS 2021-02-28 22:50:49 +0100
  • 702d611f35 🔀 Resolving merge: moving shared tests Marco Nassabain 2021-02-28 22:46:56 +0100
  • 85dbed9ffa 🧹 Cleanup test files: added new lines Marco Nassabain 2021-02-28 21:51:11 +0100
  • 604f64c30c 🚨 Fix linter in those classes: - ItemController - ItemMapperV2 - ItemServicev2 WENDLING NICOLAS 2021-02-28 21:48:45 +0100
  • 376f866a83 Fix those tests -> ItemControllerTest: - testIndexForFeed - testIndexForFolder - testIndexForShared - testIndexForOther - testIndexSearchFeed - testNewItemsFeed - testNewItemsFolder - testNewItemsShared - testNewItemsOther WENDLING NICOLAS 2021-02-28 21:38:11 +0100
  • dd4617d368 Fix findFromUser, testFindAllFromUserWithParams, testFindAllFromUser Aurélien 2021-02-28 21:30:58 +0100
  • 5a12e50cca Fix testFindForUserByGUIDHash Aurélien 2021-02-28 21:22:55 +0100
  • 890b8fa1df Fix FeedControllerTest tests WENDLING NICOLAS 2021-02-28 21:17:18 +0100
  • 2c59331316 Fix testNewest Aurélien 2021-02-28 21:15:26 +0100
  • 306f97d656 Fix tests testFindAllInFolderAfterHideRead, testFindAllInFolderAfter, testFindAllInFeedAfterHideRead, testFindAllInFeedAfter Aurélien 2021-02-28 21:08:55 +0100
  • 6775fe541e Fix testFindAllItemsStarredSearch, testFindAllItemsStarred, testFindAllItemsUnread Aurélien 2021-02-28 20:00:29 +0100
  • e7ec222c1d Fix testFindAllItemsInvalid, testFindAllAfterInvalid, testFindAllAfterStarred, testFindAllAfterUnread Aurélien 2021-02-28 21:01:05 +0100
  • d6b32cf674 fix test findAllFeed Aurélien 2021-02-28 19:48:08 +0100
  • d314e8b495 Fix test findAllFeedSearch and findAllFeedHideRead Aurélien 2021-02-28 19:43:15 +0100
  • f59fe96105 Fix test findAllFolderIdNull and findAllFolderHideRead Aurélien 2021-02-28 19:36:02 +0100
  • 319b15a655 Fix test findAllFolderHideReadInvertOrder Aurélien 2021-02-28 19:30:48 +0100
  • 8b51ee583e Fix test FindAllFolderSearchId Aurélien 2021-02-28 19:26:52 +0100
  • 818736c2be fix test readAll Aurélien 2021-02-28 19:11:18 +0100
  • fc8670f5be ItemMapperTest: add tests for findAllSharedAfter - testFindAllSharedAfter - testFindAllSharedAfterHideRead Marco Nassabain 2021-02-27 22:27:09 +0100
  • cbe1ca6b4d ItemMapperTest: test findAllSharedWithUser func - testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Marco Nassabain 2021-02-27 22:17:33 +0100
  • 5c359a8d42 ItemServiceTest: test share functions - testFindAllShared - testFindAllNewShared - testSharedCount Marco Nassabain 2021-02-27 21:26:45 +0100
  • 14c6685344 ItemServiceTest: test share function - testShare - testShareDoesNotExist Marco Nassabain 2021-02-27 21:06:01 +0100
  • 75e81d5e0b 🥅 ItemService: catch NotFoundException + cleanup Marco Nassabain 2021-02-27 16:07:44 +0100
  • 46cc069863 ItemControllerTest: added share tests (WIP) - testIndexForShared - testNewItemShared Marco Nassabain 2021-02-27 15:26:11 +0100
  • ceefee0d3e 🗃 Change share migration version Marco Nassabain 2021-02-27 14:40:11 +0100
  • 91c034c72f Fix ItemController share tests - testShare - testShareDoesNotExist Marco Nassabain 2021-02-26 00:13:19 +0100
  • 88fc165f49 🔥 Remove old ItemMapper & ItemService Marco Nassabain 2021-02-24 23:51:40 +0100
  • df8680b14a 🩹 Remove traces of feed_id being nullable - feed_id is not nullable so we remove default values Marco Nassabain 2021-02-24 23:39:58 +0100
  • 08982fc540 Add findAllSharedAfter - adapted Controller, Service and Mapper (newItems) Marco Nassabain 2021-02-24 23:33:36 +0100
  • 0f6ec7c99c Implementer shared getter + add count in request - ItemServiceV2: added sharedWithUser - returns unread shared items - ItemController & FeedController - returning shared count Marco Nassabain 2021-02-24 23:23:29 +0100
  • 7e1a0b47cf ItemController (index): add case for shared items Marco Nassabain 2021-02-24 23:07:17 +0100
  • d63e999d93 ItemServiceV2: add findAllSharedWithUserWithFilters Marco Nassabain 2021-02-24 23:06:14 +0100
  • 1f0924fb57 ItemMapperV2: exclude shared items in functions updated the following functions to exclude shared_items: - findAllInFeedAfter - findAllInFolderAfter - findAllFeed - findAllFolder Marco Nassabain 2021-02-24 23:04:12 +0100
  • 26ae92bc7b ItemMapperV2: include shared in functions updated the following functions to include shared items: - findFromUser - findForUserByGuidHash - readAll - findAllAfter - findAllItems Marco Nassabain 2021-02-24 22:52:55 +0100
  • 83bdbc08a0 ItemMapperV2: include shared in functions updated the following functions to include shared items: - findAllFromUser - newest Marco Nassabain 2021-02-24 22:37:29 +0100
  • c3cc70b15e ItemMapperV2: added findAllSharedWithUser funct - return all items shared with a given user Marco Nassabain 2021-02-24 22:30:33 +0100
  • 907e764749 🚧 ItemService, Controller: added basic sharing - TODO: check if relation already exists Marco Nassabain 2021-02-23 22:59:14 +0100
  • 237363e087 💡 Added comments to ItemMapper share fncts Marco Nassabain 2021-02-18 23:18:04 +0100
  • 89d7293e84 Add tests: testFindAllShared, testShare + ... + testShareDoesNotExist Marco Nassabain 2021-02-16 16:31:43 +0100
  • f9f25ddbd2 Add tests setSharedBy and setSharedWith Aurélien 2021-02-16 16:25:32 +0100
  • 615668d688 Unary test for itemShare from itemService class WENDLING NICOLAS 2021-02-16 16:16:41 +0100
  • 4133e68c8e Update tests to contain share data Marco Nassabain 2021-02-07 22:26:49 +0100
  • 54aa8b5270 🩹 Return starredCount in newItems response params - returning sharedCount everywhere where starredCount is returned Marco Nassabain 2021-02-07 21:04:40 +0100
  • ec5ae1a90a 🩹 ItemMapper->deleteUser: include shared items - deletes items shared with a user Marco Nassabain 2021-02-07 20:59:29 +0100
  • 15dedf0ceb 🩹 Patch getNewestItemId: include shared articles Marco Nassabain 2021-02-07 20:55:49 +0100
  • 11bd056bdf 🩹 Patch readAll: concerns items shared with user Marco Nassabain 2021-02-07 20:41:01 +0100
  • c640740444 🐛 Fix readAll: cannot read items we shared - A shared item is still in our feed, but it's not ours to read Marco Nassabain 2021-02-07 20:13:51 +0100
  • bf92ace3e8 🐛 Added sharedCount to feedController index resp. - After reloading news app, the shared menu count wouldn't update - The number would only update on click (call ItemController index) - Adding it here fixes the issue Marco Nassabain 2021-01-29 22:23:57 +0100
  • b27226d4ae 🚑 Fix bug - other user feeds show for shared item - findAllFeeds doesn't return feeds of shared articles - Disable feed cache handling for shared items Marco Nassabain 2021-01-28 17:24:15 +0100
  • e78153c051 Sharing: update ownership in sql (sharedwith) Marco Nassabain 2021-01-28 14:38:31 +0100
  • 5f69c256e3 Add function for avoid duplicate item (share) Aurélien 2021-01-28 13:54:08 +0100
  • f3c4d744c0 🐛 Share Item: feed_id not nullable, copy feed_id Marco Nassabain 2021-01-27 15:38:51 +0100
  • 98d72bac54 (*) fix: item Model Jimmy Huynh 2021-01-26 18:23:13 +0100
  • 4294842a00 (*) fix: item Model Jimmy Huynh 2021-01-26 18:18:39 +0100
  • b402fddef9 (+) Adding sharing_user names to EVERY articles + pre-condition if sharedArticle: no title feed (e.g.: from wikiRSS...) Jimmy Huynh 2021-01-26 18:14:05 +0100
  • 27ca98136a ItemController: return sharedCount in index req Marco Nassabain 2021-01-26 18:00:33 +0100
  • 785aaf6929 🐛 sharedCount: fix sql statement bug 1 => 1 Marco Nassabain 2021-01-26 17:23:52 +0100
  • edee520fc8 🎨 Fix function name to sharedCount WENDLING NICOLAS 2021-01-26 17:07:04 +0100
  • ca2b8c6566 Add count for unread items WENDLING NICOLAS 2021-01-26 16:45:53 +0100
  • 5fc486a84f 🔥 shareItem: set unread = true for shared article Marco Nassabain 2021-01-26 16:24:02 +0100
  • f2ef07c661 🔥 findAllShared: add table alias in sql statement Marco Nassabain 2021-01-26 16:23:19 +0100
  • f908df15b8 add function findAllShared in return Aurélien 2021-01-26 15:45:58 +0100
  • 3936362343 Get all shared items with an user WENDLING NICOLAS 2021-01-26 15:30:40 +0100
  • 6ebe676911 add root for access shared items Aurélien 2021-01-26 14:41:46 +0100
  • 08171bb42d NewsItem: add share routes + controller func Marco Nassabain 2021-01-17 19:51:17 +0100
  • 527eef0727 NewsItem: add share functions (mapper + service) Marco Nassabain 2021-01-17 19:50:45 +0100
  • 5b09e74f40 🗃 NewsItem: added share fields, feedId not null Marco Nassabain 2021-01-17 19:31:58 +0100
  • f18adeba26 fix invalid 'empty' checks Paul Tirk 2021-03-29 10:17:32 +0200
  • f358c8213b add missing type hints Paul Tirk 2021-03-28 21:46:07 +0200
  • 1208dc8d71 add tests for 'toAPI2' method Paul Tirk 2021-03-28 21:41:50 +0200
  • 8b3c1341e8 return error if new folder name is missing on update Paul Tirk 2021-03-25 18:23:12 +0100
  • 9db82b19a5 fix typo in api documentation Paul Tirk 2021-03-25 18:22:57 +0100
  • 822423af38 use last modified timestamp data instead of removed 'updatedAt' field Paul Tirk 2021-03-24 19:23:22 +0100
  • 8b5715c627 add folder part of v2 API to changelog Paul Tirk 2021-01-09 18:27:33 +0100
  • b45426937e return error if no folder name is provided Paul Tirk 2021-03-24 19:01:32 +0100
  • d4ace06ff5 add json error response without an exception Paul Tirk 2021-03-24 18:56:39 +0100
  • 05b7ed7994 remove unused service exceptions & allow equally named folders Paul Tirk 2021-02-08 17:31:19 +0100
  • 8035142973 fix wrong function definition & remove leftover copyright headers Paul Tirk 2021-01-10 21:13:02 +0100
  • 0d7d3cdfb4 move v2 api responses into existing php traits Paul Tirk 2021-01-09 19:05:40 +0100
  • dff855fba5 change method names to follow nextcloud convention Paul Tirk 2021-01-09 18:50:15 +0100
  • a8dddd72fb linting Paul Tirk 2021-01-09 18:37:44 +0100
  • cce826fc72 fix wrong parentheses Paul Tirk 2021-01-09 17:35:37 +0000
  • 323f215e3a separate serialization functions Paul Tirk 2021-01-09 18:34:02 +0100
  • f22eddb91d remove unused 'findByName' method of folder mapper/service Paul Tirk 2021-01-09 18:30:26 +0100
  • eb849a9be5 do not return existing folders when an API request error occurs Paul Tirk 2021-01-09 18:25:52 +0100
  • 26e435fb05 update API to not return existing folders when error in request occurs Paul Tirk 2021-01-09 18:10:45 +0100
  • 566a21b4a8 add possibility to serialize a reduced version of an entity Paul Tirk 2020-12-27 19:35:58 +0000
  • 06a45387ef lint & add missing copyright/author information Paul Tirk 2020-12-27 18:47:22 +0000