Commit Graph

47 Commits (appStoreDisabledOcc)

Author SHA1 Message Date
Robin Appelman 1db3d94e1e test: put parent items into cache in tests 1 year ago
Côme Chilliet 2bdc97741c
fix(tests): Fix Folder tests 1 year ago
Côme Chilliet 801733e523
fix: Remove OCP\Files\Storage interface deprecated since version 9 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Ferdinand Thiessen cf935e33ae
fix: `OCP\Files\Node\Folder::search` was not setting the owner 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Robin Appelman a9ee278ec6 perf: cache path by id to speedup getting nodes by id 2 years ago
Arthur Schiwon f6ac874dbf
chore: ugly type juggling 3 years ago
Julius Härtl d9c81f56ad tests: Adapt node related unit tests mocks to required root view 3 years ago
Julius Härtl 160bd75d0a fix: Use proper path when creating node instances 3 years ago
Carl Schwan 67551f379f
Filter out old files when trying to get recent files 3 years ago
Julius Härtl 83b1415906
Only pass parent if paths match 3 years ago
Julius Härtl b2d6435737
Avoid extra query for the parent node if we can pass it along 3 years ago
Robin Appelman 151c800397
allow reusing known folder info when getting directory contents 4 years ago
Robin Appelman 754603a04e
dont needlessly resolve path when getting internalPath/storage from Node 4 years ago
Robin Appelman 1c468129af
adjust tests to new fs setup 4 years ago
Robin Appelman cfb7923e08
store mountprovider for each mount in the mounts table 4 years ago
Côme Chilliet bb9c099e42
Fix FolderTest calls to Mountpoint constructor with wrong type 4 years ago
Robin Appelman 5c2e7c7d28
fix Folder->getById() when a single storage is mounted multiple times 4 years ago
Robin Appelman f938daa6e4
update tests and fix some edge cases around new search 5 years ago
Robin Appelman 0d5f4edc22
adjust tests 5 years ago
Robin Appelman bfe3712372
handle ordering in folder search 5 years ago
Robin Appelman feed42dd6d
folder filtering in sql 5 years ago
Robin Appelman de713967c0
cleanup fileinfo creation 5 years ago
Robin Appelman bd229e7548
handle limit and offset in folder file search 5 years ago
Robin Appelman 50e374c12f
only require user to be set in a query that handles tags 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma 0487144b26
Remove deprecated searchByTag 7 years ago
Julius Härtl 3674f6fa2d
Check the if we can actually access the storage cache for recent files 7 years ago
Robin Appelman 0ccd970f9d
adjust tests 7 years ago
Robin Appelman 9d9f6903c9
Fix folder path containing leading slash when getting mount root by id 7 years ago
Roeland Jago Douma af31fa82e8
Fix test 8 years ago
Morris Jobke ab36980d20
Use ::class in test mocks of dav app 8 years ago
Vincent Petry eb5ea0e260
Refactor files node API for more code reuse 9 years ago
Lukas Reschke 68cebef64c
DI for root.php 9 years ago
Robin Appelman 0d842e0550
optimize Folder::getById to use less queries 9 years ago
Roeland Jago Douma fe15dccb45
Fix getMock FolderTests 9 years ago
Robin Appelman 81e103074e use limit instead of since when listing recent files 10 years ago
Robin Appelman a4ba3eadd0 fix test 10 years ago
Robin Appelman e321ecd592 add recent files to node api 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Robin Appelman 0b0b3253bb properly use fileinfo objects 10 years ago
Robin Appelman 5e6c905a14 pass the fileinfo to the node if available 10 years ago
Vincent Petry 28e9bc1156 Fix more unit tests to pass a mock storage instead of null to FileInfo 10 years ago
Robin Appelman 0d63e95a5d Add metadata to post delete hooks 10 years ago
Thomas Müller 757aa45db7 Adding more DB groups to test suits 10 years ago