summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
Commit message (Collapse)AuthorAgeFilesLines
* perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-04-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Synchronize operation on live photo filesLouis Chemineau2023-11-302-0/+46
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix is-define operatorLouis Chemineau2023-11-221-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* implements search on null/notnull metadataMaxence Lange2023-11-221-0/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behaviorFerdinand Thiessen2023-11-221-2/+2
|\ | | | | fix(ObjectStore): Make copying behavior consistent with local storage
| * fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-2/+2
| | | | | | | | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | accept boolean valueMaxence Lange2023-11-221-2/+2
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* optimize UserMountCache::registerStorageRobin Appelman2023-11-161-0/+8
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* IFilesMetadataMaxence Lange2023-11-072-21/+3
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-073-2/+47
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* enh(IMountManager): Add method to get MountPoint from CachedMountInfoJonas2023-10-231-0/+12
| | | | Signed-off-by: Jonas <jonas@freesources.org>
* Merge pull request #40478 from nextcloud/node-from-entryJohn Molakvoæ2023-10-181-0/+12
|\
| * add method to create a node from cache entry + mountpointRobin Appelman2023-09-191-0/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(files): migrate template pickerJohn Molakvoæ2023-10-171-0/+1
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Detect aborted connection in OC\Files\View and stop writing data to the ↵Benjamin Gaussorgues2023-09-071-0/+33
| | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* add IFileInfo::getParentIdRobin Appelman2023-09-041-0/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #39863 from nextcloud/sharing-mask-wrapperRobin Appelman2023-09-041-0/+8
|\ | | | | move share permission logic to storage wrapper
| * more share permission logic to storage wrapperRobin Appelman2023-08-141-0/+8
| | | | | | | | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl>
* | improve performance of calculating dav permissionsRobin Appelman2023-08-181-6/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: redirect to the mime icon if no preview availableJohn Molakvoæ2023-08-171-0/+6
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-042-0/+132
|\ | | | | fix!: Final round of moving to IEventDispatcher
| * feat!: Migrate TagService events to typed eventsJoas Schilling2023-07-282-0/+132
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix share roots always being marked as writableRobin Appelman2023-07-281-2/+16
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | expose MovableMount in public interfaceRobin Appelman2023-07-281-0/+48
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* files: Add OpenAPI specjld31032023-07-121-0/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpointJulius Härtl2023-06-281-0/+10
|\
| * feat: add searchBySystemTag as PHP APIArthur Schiwon2023-06-211-0/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | refactor: declare getMount() and getMountsIn() at IRootFolderArthur Schiwon2023-06-211-0/+13
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix typos in lib/public subdirectorySimon L2023-05-101-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* Merge pull request #37943 from nextcloud/fix/fix-getcontent-return-typeArthur Schiwon2023-05-033-2/+3
|\ | | | | Fix file_get_content signatures to make it clear it can return false
| * Fix file_get_content signatures to make it clear it can return falseCôme Chilliet2023-04-273-2/+3
| | | | | | | | | | | | | | In File::getContent, which must return a string, throw an Exception instead of returning false. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Empty fallback for template creator action labelJulius Härtl2023-04-271-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Create new file/folder labelsChristopher Ng2023-04-271-1/+21
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* More type cleanup in View and FileInfoCôme Chilliet2023-04-032-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix return type of methods returning false on errorCôme Chilliet2023-04-033-7/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Improve typing for fopen/toTmpFileCôme Chilliet2023-04-031-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make it clear that file sizes may be float on 32bitsCôme Chilliet2023-04-012-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-082-0/+129
| | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #36566 from nextcloud/mount-find-by-numeric-idJulius Härtl2023-02-081-2/+2
|\
| * fix testsRobin Appelman2023-02-071-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Move back typing to phpdoc to keep backward compatibility in OCPCôme Chilliet2023-02-072-2/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Type sizes as int|float throughout the code baseCôme Chilliet2023-02-073-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Allow float sizes in FileInfo for 32bitsCôme Chilliet2023-02-071-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Strong type filesize related methods to ease 32bits problem findingsCôme Chilliet2023-02-072-8/+2
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* ci: migrate ocp since checker to psalmDaniel Kesselberg2023-01-241-0/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* composer run cs:fixCôme Chilliet2023-01-2027-27/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix link to documentation of php functionbbx-github2023-01-031-1/+1
| | | Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
* Align checksum dav property with desktop client parsingJulius Härtl2022-12-301-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Rename file1 and file2 to source and target in Storage abstractionCarl Schwan2022-10-182-12/+12
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>