Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(FileInfo): correctly implement `\ArrayAccess::offsetGet` | Ferdinand Thiessen | 2024-09-06 | 1 | -9/+5 |
| | | | | | | | We are targetting PHP 8.1+, since PHP 8.0 `offsetGet` has the `mixed` types for `offset` and return value. So this adds the types to correctly implement the interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 1 | -6/+6 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 1 | -30/+4 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | Refactoring getName function | hopleus | 2024-03-12 | 1 | -5/+3 |
| | | | | Signed-off-by: hopleus <hopleus@gmail.com> | ||||
* | Fixes for getting the file name in the cases when the file name key is ↵ | hopleus | 2024-02-19 | 1 | -1/+5 |
| | | | | | | received, but it is empty Signed-off-by: hopleus <hopleus@gmail.com> | ||||
* | chore: Add missing ArrayAccess template parameters | Côme Chilliet | 2024-02-06 | 1 | -0/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #38622 from nextcloud/ifElseReturnMatch | Git'Fellow | 2023-11-15 | 1 | -15/+8 |
|\ | | | | | Replace if/else with return match | ||||
| * | Replace if/else with return match | Git'Fellow | 2023-11-01 | 1 | -15/+8 |
| | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | | optimize isShared and isMounted | Robin Appelman | 2023-11-08 | 1 | -6/+6 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | IFilesMetadata | Maxence Lange | 2023-11-07 | 1 | -0/+9 |
|/ | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | fix: Only read unencrypted_size when file is actually encrypted | Julius Härtl | 2023-09-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | add IFileInfo::getParentId | Robin Appelman | 2023-09-04 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #39863 from nextcloud/sharing-mask-wrapper | Robin Appelman | 2023-09-04 | 1 | -6/+2 |
|\ | | | | | move share permission logic to storage wrapper | ||||
| * | more share permission logic to storage wrapper | Robin Appelman | 2023-08-14 | 1 | -6/+2 |
| | | | | | | | | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | improve performance of calculating dav permissions | Robin Appelman | 2023-08-18 | 1 | -17/+5 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore: ugly type juggling | Arthur Schiwon | 2023-06-21 | 1 | -3/+0 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | View needs to return an instance of OC\Files\FileInfo explicitely | Côme Chilliet | 2023-04-03 | 1 | -3/+1 |
| | | | | | | | | Applications are calling methods from the class which are not from the public interface, and which cannot be added easily to public interface because Node interface extends FileInfo. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | More type cleanup in View and FileInfo | Côme Chilliet | 2023-04-03 | 1 | -18/+14 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Allow float sizes in FileInfo for 32bits | Côme Chilliet | 2023-02-07 | 1 | -4/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix typos in lib/private subdirectory | luz paz | 2022-07-27 | 1 | -1/+1 |
| | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com> | ||||
* | Fix metadata extraction | Carl Schwan | 2022-06-22 | 1 | -1/+1 |
| | | | | | | | | | The metadata extraction only happens when the size is not equal to 0, but due to a regression in FileInfo the size is always zero. This fix the regression. Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | store unencrypted size in the unencrypted_size column | Robin Appelman | 2022-06-02 | 1 | -3/+24 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | save filesystem node in dav node | Robin Appelman | 2022-04-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix ArrayAccess and JsonSerializable return types | Côme Chilliet | 2021-11-23 | 1 | -3/+7 |
| | | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 1 | -1/+0 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Remove unneeded casts that were found by Psalm | Morris Jobke | 2021-01-11 | 1 | -1/+1 |
| | | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Update all license headers for Nextcloud 21 | Christoph Wurst | 2020-12-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Format code to a single space around binary operators | Christoph Wurst | 2020-10-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update license headers for 19 | Christoph Wurst | 2020-04-29 | 1 | -0/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use elseif instead of else if | Christoph Wurst | 2020-04-10 | 1 | -3/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update license headers | Christoph Wurst | 2019-12-05 | 1 | -2/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | cast ctime and utime | Robin Appelman | 2019-11-13 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | dont expose metadata etag for now | Robin Appelman | 2019-11-13 | 1 | -4/+0 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | expose filecache extension data in FileInfo | Robin Appelman | 2019-11-13 | 1 | -0/+12 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | add option to get raw size (without submounts) from fileinfo | Robin Appelman | 2019-02-27 | 1 | -3/+15 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Add getExtension() to FileInfo | Robin Appelman | 2018-10-29 | 1 | -0/+4 |
| | | | | | | | this is a fairly common operation so it makes sense to prevent having to repeatedly implement it. Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | use name in fileinfo if set | Robin Appelman | 2018-10-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 1 | -0/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Doc: Fix phpDoc issues | Julius Härtl | 2017-10-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | changed direct cast to integer to numerical value | 1 Man Projects | 2017-07-17 | 1 | -1/+1 |
| | |||||
* | Removed cast to integer in getSize | 1 Man Projects | 2017-07-15 | 1 | -1/+1 |
| | | | Fixes - Wrong or no sizes of files/folders #5031 | ||||
* | Remove unused use statements | Morris Jobke | 2017-04-22 | 1 | -2/+0 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Fix type hints and doc blocks | Joas Schilling | 2017-03-23 | 1 | -7/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Ensure that FileInfo return values as required by its phpdoc. | Piotr M | 2017-03-22 | 1 | -6/+8 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Improve isMounted to handle primary storage object store | Robin Appelman | 2016-11-16 | 1 | -1/+6 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only query substorages to calculate the final mtime/size/etag lazily | Robin Appelman | 2016-11-10 | 1 | -1/+39 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update with robin | Joas Schilling | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | Fix others | Joas Schilling | 2016-07-21 | 1 | -3/+4 |
| | |||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | Move \OC\Files to PSR-4 | Roeland Jago Douma | 2016-04-24 | 1 | -0/+346 |