Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: put parent items into cache in tests | Robin Appelman | 2024-09-18 | 1 | -1/+27 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(tests): Fix Folder tests | Côme Chilliet | 2024-09-17 | 1 | -3/+22 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Remove OCP\Files\Storage interface deprecated since version 9 | Côme Chilliet | 2024-09-16 | 1 | -9/+9 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | refactor: Add void return type to PHPUnit test methods | Christoph Wurst | 2024-09-15 | 1 | -23/+23 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | fix: `OCP\Files\Node\Folder::search` was not setting the owner | Ferdinand Thiessen | 2024-07-11 | 1 | -3/+11 |
| | | | | | | The owner was not set on the file info causing e.g. webdav searches to never return the known owner. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-13 | 1 | -4/+3 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | perf: cache path by id to speedup getting nodes by id | Robin Appelman | 2024-03-04 | 1 | -23/+23 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore: ugly type juggling | Arthur Schiwon | 2023-06-21 | 1 | -3/+5 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | tests: Adapt node related unit tests mocks to required root view | Julius Härtl | 2023-04-17 | 1 | -98/+33 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | fix: Use proper path when creating node instances | Julius Härtl | 2023-04-17 | 1 | -0/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Filter out old files when trying to get recent files | Carl Schwan | 2022-09-05 | 1 | -4/+4 |
| | | | | | | | Only do so when asking for less than 100 files and having an offset equal to 0. Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Only pass parent if paths match | Julius Härtl | 2022-08-24 | 1 | -3/+33 |
| | | | | | | | As the user folder might be initialized by the root from two levels down the hierarchy, passing this as a parent only works if the path matches Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Avoid extra query for the parent node if we can pass it along | Julius Härtl | 2022-08-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | allow reusing known folder info when getting directory contents | Robin Appelman | 2022-04-06 | 1 | -0/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | dont needlessly resolve path when getting internalPath/storage from Node | Robin Appelman | 2022-04-04 | 1 | -22/+14 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | adjust tests to new fs setup | Robin Appelman | 2022-03-04 | 1 | -22/+22 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | store mountprovider for each mount in the mounts table | Robin Appelman | 2022-02-23 | 1 | -0/+4 |
| | | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix FolderTest calls to Mountpoint constructor with wrong type | Côme Chilliet | 2021-11-23 | 1 | -3/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix Folder->getById() when a single storage is mounted multiple times | Robin Appelman | 2021-07-28 | 1 | -68/+30 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | update tests and fix some edge cases around new search | Robin Appelman | 2021-06-14 | 1 | -77/+69 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | adjust tests | Robin Appelman | 2021-04-21 | 1 | -0/+13 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | handle ordering in folder search | Robin Appelman | 2021-03-19 | 1 | -20/+34 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | folder filtering in sql | Robin Appelman | 2021-03-19 | 1 | -1/+0 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | cleanup fileinfo creation | Robin Appelman | 2021-03-19 | 1 | -60/+30 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | handle limit and offset in folder file search | Robin Appelman | 2021-03-18 | 1 | -41/+157 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only require user to be set in a query that handles tags | Robin Appelman | 2021-03-18 | 1 | -16/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵ | Morris Jobke | 2020-08-12 | 1 | -30/+30 |
| | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports | Christoph Wurst | 2020-03-27 | 1 | -1/+0 |
|\ | | | | | Remove unused imports | ||||
| * | Remove unused imports | Christoph Wurst | 2020-03-25 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | | Use the short array syntax, everywhere | Christoph Wurst | 2020-03-26 | 1 | -29/+29 |
| | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | | Use the shorter phpunit syntax for mocked return values | Christoph Wurst | 2020-03-25 | 1 | -85/+85 |
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Mode to modern phpunit | Roeland Jago Douma | 2019-11-27 | 1 | -6/+6 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Merge pull request #16502 from nextcloud/bugfix/16474 | Morris Jobke | 2019-07-29 | 1 | -7/+14 |
|\ | | | | | Check the if we can actually access the storage cache for recent files | ||||
| * | Check the if we can actually access the storage cache for recent files | Julius Härtl | 2019-07-24 | 1 | -7/+14 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | Remove deprecated searchByTag | Roeland Jago Douma | 2019-07-26 | 1 | -51/+0 |
|/ | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | adjust tests | Robin Appelman | 2019-02-07 | 1 | -10/+20 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix folder path containing leading slash when getting mount root by id | Robin Appelman | 2018-11-28 | 1 | -0/+48 |
| | | | | | | | | This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix test | Roeland Jago Douma | 2018-03-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Use ::class in test mocks of dav app | Morris Jobke | 2017-10-26 | 1 | -3/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Refactor files node API for more code reuse | Vincent Petry | 2017-01-11 | 1 | -143/+10 |
| | | | | Signed-off-by: Vincent Petry <pvince81@owncloud.com> | ||||
* | DI for root.php | Lukas Reschke | 2016-11-02 | 1 | -34/+91 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | optimize Folder::getById to use less queries | Robin Appelman | 2016-10-12 | 1 | -49/+104 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix getMock FolderTests | Roeland Jago Douma | 2016-09-13 | 1 | -96/+104 |
| | |||||
* | use limit instead of since when listing recent files | Robin Appelman | 2016-07-22 | 1 | -7/+6 |
| | |||||
* | fix test | Robin Appelman | 2016-07-22 | 1 | -1/+4 |
| | |||||
* | add recent files to node api | Robin Appelman | 2016-07-22 | 1 | -4/+167 |
| | |||||
* | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 1 | -0/+795 |
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader |