summaryrefslogtreecommitdiffstats
path: root/lib/Db/ItemMapperV2.php
AgeCommit message (Collapse)Author
2023-11-08fix dbal deprecationsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-04-16Improve sql query performance by removing unused payloadDaniel Starzmann
Signed-off-by: Daniel Starzmann <daniel@starze.de>
2023-04-05Set lastmodified in read allBenjamin Brahmer
if this is not updated the API won't work correctly and we get sync errors. Adjust test to use item api Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-10-08New administrator setting for deleting unread items automaticallyBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-31fix readAllBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-21change itemMapper readAllBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-06-28fix type always string for findAllFromUserBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18Fix code styleBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18chore: use executeStatement instead of executeUpdateSean Molenaar
Signed-off-by: Sean Molenaar sean@seanmolenaar.eu Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-27db: no longer order by items.last_modifiedSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-04-14DB: only sort on item IDsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-08🔥 Remove UserManager code from ItemMapper & testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✏️ Fix phpcs indentation errorMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Item: add sharer display name in findEntitiesMarco 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🎨 ItemMapperV2: add new offset code (findShared)Marco Nassabain
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✨ ItemMapperV2: exclude shared items in functionsMarco Nassabain
updated the following functions to exclude shared_items: - findAllInFeedAfter - findAllInFolderAfter - findAllFeed - findAllFolder Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ ItemMapperV2: include shared in functionsMarco Nassabain
updated the following functions to include shared items: - findFromUser - findForUserByGuidHash - readAll - findAllAfter - findAllItems Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ ItemMapperV2: include shared in functionsMarco Nassabain
updated the following functions to include shared items: - findAllFromUser - newest Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ ItemMapperV2: added findAllSharedWithUser functMarco Nassabain
- return all items shared with a given user Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-06DB: Use boolean parameter for unread/starredSean Molenaar
Issue GH-1278 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-05DB: Allow negative limitsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-31DB: Updates should use set()Sean Molenaar
Issue GH-1211 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-25Make PHPstan stricterSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-23DB: Don't show deleted feed itemsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-27DB: Fix offset quotesSean Molenaar
Issue GH-1200 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-23DB: Use ID as offset in item queriesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20General: Fix folder querySean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-14update sorting columnanoy
follow-up for b4fa772bc5f23f84fc292f5d6bf884543d2bfe51 (#1056) Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-13Remove V1 item APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-10fix refetching of purged articlesanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-05Psalm: Fix class loadingSean Molenaar
2021-02-04fix result ordering for purging queryanoy
updated_date is currently always NULL Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-02fix articlesPerUpdate aliasanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-02fix item purger for PostgreSQLanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-30Mappers: Implement item purgingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-12Fix psalm issuesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-11remove deprecated colon prefix for parametersanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-08fixes done by psalmBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-12-30Remove PHPunit integration testsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08Fix alias usage in v2 mapperSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08Refactor User ID fetching and fix non-specific cleanupSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-10Fix unread count and related issuesSean Molenaar
Issue GH-924 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-09fix multiple results for guid_hashanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-04update only relevant item fieldsanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org> Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-03Fix various 15.0 bugsSean Molenaar
Issue #821,#820,#819 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29OPML export command and fixesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27Create V2 mapper, Service and management commandsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>