summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
Commit message (Collapse)AuthorAgeFilesLines
* Make it clear that file sizes may be float on 32bitsCôme Chilliet2022-12-192-6/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix testsJohn Molakvoæ2022-10-141-0/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #33697 from nextcloud/fix/improve-bulk-uploadCôme Chilliet2022-08-301-0/+89
|\ | | | | Improve bulk upload and add a config switch for it
| * Move dav utils functions to OCP\Files\DavUtilCôme Chilliet2022-08-301-0/+89
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | add marker interface to mark system mount points for encryptionRobin Appelman2022-08-251-0/+34
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Document all getIncomplete implementations as returning string|falseCôme Chilliet2022-08-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Multiple fixesCarl Schwan2022-07-312-0/+175
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add typing to SimpleFSCarl Schwan2022-07-144-43/+24
| | | | | | - Fix putContent sometimes return a bool and sometimes nothing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* store unencrypted size in the unencrypted_size columnRobin Appelman2022-06-021-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make it possible to get the appdata folder using the public APICarl Schwan2022-05-111-0/+21
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31676 from nextcloud/enh/ocp-owner-lockVincent Petry2022-04-086-0/+477
|\ | | | | Add public API for owner based file locking
| * Adapt LockScope to LockContext renameJulius Härtl2022-04-073-6/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Add public API for owner based lockingJulius Härtl2022-04-046-0/+476
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #31713 from nextcloud/fed-performanceRobin Appelman2022-04-071-0/+35
|\ \ | | | | | | Federated share performance improvements
| * | don't overwrite the etag from storage backends that already provide "good" etagsRobin Appelman2022-04-041-0/+35
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize getById on LazyUserFolder to not require a full fs setupRobin Appelman2022-04-041-1/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | allow getting mounts by providersRobin Appelman2022-04-041-2/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add missing PHPDoc in InvalidateMountCacheEventVincent Petry2022-03-241-0/+10
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Apply suggestions from code reviewRobin Appelman2022-03-241-1/+1
| | | | | | | Co-authored-by: Louis <6653109+artonge@users.noreply.github.com> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix method nameRobin Appelman2022-03-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add logic to perform a full filesystem setup when neededRobin Appelman2022-03-241-0/+45
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update cached mounts when only specific providers have been setupRobin Appelman2022-03-241-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow getting mounts by providerRobin Appelman2022-03-241-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow getting cached mounts by path from the mount cacheRobin Appelman2022-03-241-0/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #31431 from nextcloud/fs-setup-managerRobin Appelman2022-03-084-17/+51
|\ | | | | Unify/cleanup filesystem setup
| * type fixesRobin Appelman2022-03-041-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * adjust tests to new fs setupRobin Appelman2022-03-041-0/+32
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * more type hints for ICachedMountInfo and IMountManagerRobin Appelman2022-03-043-17/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Note DI only usage in PHPDocChristopher Ng2022-03-071-1/+5
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add missing @since in InMemoryFile to please CICôme Chilliet2022-03-071-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Extend simple file with extension getterChristopher Ng2022-03-042-0/+12
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* store mountprovider for each mount in the mounts tableRobin Appelman2022-02-232-0/+16
| | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix some issues with the API documentationCarl Schwan2022-02-172-2/+5
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* code checker fixes for instanceOfStorageRobin Appelman2021-12-023-2/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* teach psalm about `Storage::instanceOfStorage`Robin Appelman2021-12-021-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-232-2/+2
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-22100-280/+135
|\
| * Add already used optional sizeDifference parameter to IPropagatorJulius Härtl2021-10-141-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Merge pull request #28608 from nextcloud/path-prefix-filterVincent Petry2021-10-072-0/+20
| |\ | | | | | | generate a better optimized query for path prefix search filters
| | * generate a better optimized query for path prefix search filtersRobin Appelman2021-08-262-0/+20
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Fix typo on the DocBlock of the copy methodAsier Iturralde Sarasola2021-08-271-1/+1
| |/ | | | | | | Signed-off-by: Asier Iturralde Sarasola <asier.iturralde@gmail.com>
| * Merge pull request #28476 from nextcloud/search-jail-insensitiveVincent Petry2021-08-241-0/+1
| |\ | | | | | | use case insensitive like when limiting search to jail
| | * use case insensitive like when limiting search to jailRobin Appelman2021-08-171-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-292-4/+4
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
| * use searchoperation for storage filter instead of db expressionRobin Appelman2021-06-141-6/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-0/+29
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Update php licensesJohn Molakvoæ (skjnldsv)2021-06-04100-268/+73
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Rename External storages to External storageszaimen2021-05-202-2/+2
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>