Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-15don't try to get custom certs for s3 primary storages3-crt-bundleRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-14use the nextcloud certificate bundle for s3Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-08Merge pull request #31431 from nextcloud/fs-setup-managerRobin Appelman
Unify/cleanup filesystem setup
2022-03-07Merge pull request #31418 from nextcloud/enh/simple-file-extensionPytal
2022-03-04type fixesfs-setup-managerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04move user mountpoint setup to setupmanagerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04simplify setup of circular SetupManager<->ManagerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04add template annotations to CappedMemoryCacheRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04move logic to decide what to setup to setupmanagerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04adjust tests to new fs setupRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04move teardown logic to SetupManagerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04start moving filesystem setup logic to it's own placeRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04more type hints for ICachedMountInfo and IMountManagerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04Merge pull request #31266 from nextcloud/root-setup-mountproviderRobin Appelman
move root mount setup to mountproviders
2022-03-04Extend simple file with extension getterenh/simple-file-extensionChristopher Ng
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-26Don't set up full filesystem to check for certificatesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25return dummy availability if storage is not found in cacheRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-24move root mount setup to mountprovidersRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-23store mountprovider for each mount in the mounts tableRobin Appelman
this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16Wrap S3 multipart upload exceptionLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-15Wrap S3 multipart upload exceptionLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-10Merge pull request #31035 from paierlep/fix/occ_scan_no_files_errorVincent Petry
Removes misleading error message in occ files:scan for new users.
2022-02-09fix fs cache test user setupRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09pass user object during fs initRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09only setup part of the filesystem for appdata requestsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-06Removes misleading error message in occ files:scan for new users.Christian Paier
Previously the occ files:scan command printed an error message for any new users without any files/folders in the data directory. With this change only users with any file/folder is scanned. This fixes #25433. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
2022-01-26Return 404 when AJAX tries to list dir content but file givenMichaIng
Due to a code mistake, the expected 404 return when AJAX tries to list a directory content with a non-directory file path given, does not happen. It instead fails with another exception. This commit restores the original intention to return 404 in the first place when passing a non-directory path with the "dir" parameter. Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-25Remove redundant if clauseCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25Fix OC\Files\Storage\DAV::hasUpdated when cache is not setCôme Chilliet
Fixes the test OCA\Files_External\Tests\Storage\WebdavTest::testStat on PHP>=7.4 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-17Merge pull request #29866 from nextcloud/isset-sizeVincent Petry
Check if size value is set
2022-01-14Merge pull request #30631 from nextcloud/fix/update_encrypted_versionVincent Petry
updateEncryptedVersion: cleanup on target if cache already got renamed
2022-01-13Fix psalm issuesCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13Add helper method in WrapperCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan
Fix psalm not running
2022-01-13Check style updateCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12updateEncryptedVersion: cleanup on target if cache already got renamedJonas Meurer
When moving a file to trash with encryption enabled, the cache gets moved before the actual file. According to @icewind1991 this is in order to not break object storage. When moving a file from an unencrypted storage (e.g. a collectives storage) to the encrypted trashbin storage, this causes errors, see This commit fixes it by doing `updateEncryptedVersion()` on the target cache entry *if* the source cache entry doesn't exist anymore, but the corresponding target cache entry does exist already. Fixes: #26544 Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-10Fix fail when keys/files folder already existsVincent Petry
Fixes an issue with transfer ownership in move mode where the folder "files_encryption/keys/files" already exists. Instead of failing, its existence is checked before calling mkdir. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-29Make max size for single put uploads configurableJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-28Merge pull request #28610 from nextcloud/enh/preview-cleanup-queryJulius Härtl
2021-12-21Fix php-cs for S3ConnectionTrait.phpJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-21Merge pull request #27493 from cuppett/cuppett/simplify-aws-credential-providerJulius Härtl
2021-12-10Merge pull request #30160 from ↵Pytal
nextcloud/bugfix/noid/encryption-wrapper-fclose-check
2021-12-09Check resource before closing in encryption wrapperVincent Petry
In case of error there is no guarantee that $source or $target is set or is a resource when handling an error. Without this fix, there's a risk that fclose will fail and the actual exception will not be thrown, making it impossible to find out about the root cause. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-03Switch logical operatorsacsfer
Unless there is a good reason to keep actual ones 👀
2021-12-02background scan the source storage when a background scan on a storage jail ↵Robin Appelman
is triggered Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-25Check for invalid characters before trimmingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-24Typoacsfer
2021-11-23Check if size value is setacsfer
Using `isset()` as it does not return true for array keys that correspond to a `null` value, while `array_key_exists()` does. Fix #29865
2021-11-23Fix Guzzle function callsCôme Chilliet
Since 1.7.0 and 2.0 these functions are turned into static methods. See https://github.com/guzzle/psr7#upgrading-from-function-api Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>