summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2021-04-08add tests for 'toAPI2' methodPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08return error if new folder name is missing on updatePaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08return error if no folder name is providedPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08remove unused service exceptions & allow equally named foldersPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08change method names to follow nextcloud conventionPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08lintingPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08fix wrong parenthesesPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08do not return existing folders when an API request error occursPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08lint & add missing copyright/author informationPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-08add folder api v2Paul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.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-30chore: Improve test coverageSean 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-03-17✅ Item: update search index test to use categoriesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✅ Add tests of categoriesJimmy Huynh
Signed-off-by: Jimmy Huynh <linkatox@gmail.com>
2021-03-17✅ FeedFetcher: update tests to include categoriesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✅ Item: update tests to include categoriesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-01Actions: Integration tests using batsSean 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-23Feed: Fix rename moving fileSean Molenaar
Issue #1181 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20Add phpstan pluginsBenjamin Brahmer
remove leftovers from psalm move phpstan and phpcs to static code check Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-02-20General: Fix folder querySean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-16remove unused lastModified from feed fetcherBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-02-16prefer the feeds logo over the faviconBenjamin Brahmer
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>
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-05DB: Remove unused fieldsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-05Psalm: Fix class loadingSean Molenaar
2021-02-02Controllers: Export Starred or unread instead of andSean Molenaar
Fixes GH-1010 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-30Mappers: Implement item purgingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-26Base: Update psalm definition and dependency listSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-26ignore new errorsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-01-20Fetcher: Update client and add testSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-20ignore current issues but catch new onesBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-01-18Controllers: Fetch feed after creatingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-17fix TypeError caused by type conversion in controlleranoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-13fix opened state of folders is not restoredanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-12Fix getUnreadOrStarredTypeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-12Fix nc 21 phpunit issueSean Molenaar
2021-01-11remove deprecated colon prefix for parametersanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-12-30Remove PHPunit integration testsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-29Remove PHPunit integration testsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-17Fix mapper->find and empty user sessionsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-15Remove LastModified-based cursor when updating feedsKevin Decherf
We remove the call to readSince() as some feeds push new articles with pubDate prior to the lastModified time stored for these feeds (e.g. lemonde.fr). As we go through all items of a feed again and again, we prevent the constant update of an item's lastModified timestamp by keeping the previous one if its fingerprint does not change. Fixes #921 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-12-08Refactor User ID fetching and fix non-specific cleanupSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08Remove usage of old Folder codeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-10Unremove but deprecate User APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>