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-04type fixesfs-setup-managerRobin 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-01-17Merge pull request #29866 from nextcloud/isset-sizeVincent Petry
Check if size value is set
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>
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-04Fix psalmJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-01Revert "add dav plugin to trigger recalculating of checksums"John Molakvoæ
2021-08-23Add dav plugin to trigger recalculating of checksumsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-08Merge pull request #26494 from rigrig/fix-php8-deprecationsMorris Jobke
Fix some php 8 warnings
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-29Check whether output buffering is active before turning it offRichard de Boer
Before we just turned it off and @suppressed the error if ob was not active. In PHP 8 this error is no longer suppressed, so try to not cause it at all. Signed-off-by: Richard de Boer <git@tubul.net>
2021-05-21Drop \OCP\UserChristoph Wurst
Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-10reuse usermanager instance when processing search resultsRobin Appelman
saves some time when processing large search results Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-26Properly end iterating over the file once the target has been reachedJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-07Unlock when promoting to exclusive lock failsAshod Nakashian
In certain cases changeLock to EXCLUSIVE fails and throws LockedException. This leaves the file locked as SHARED in file_put_contents, which prevents retrying (because on second call file_put_contents takes another SHARED lock on the same file, and changeLock doesn't allow more than a single SHARED lock to promote to EXCLUSIVE). To avoid this case, we catch the LockedException and unlock before re-throwing. Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-09-16optimize View::getPath if we already know the storage idRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-15Update View.phpScott Dutton
2020-04-12Increase max readScott Dutton
8kb is very low, especially given this will be local files Signed-off-by: Scott Dutton <scott@exussum.co.uk>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Use elseif instead of else ifChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Remove spaces after method or function callChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Unify function spacing to PSR2 recommendationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-16Actually check if the owner is not nullRoeland Jago Douma
Else this can error out on storages that do not have an owner (e.g. groupfolders). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-02pass the existing locks info when making locked exception with absolute pathsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-12Don't create invalid usersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-28Properly anotate LockedException in files node apiJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25Merge pull request #15832 from ↵Roeland Jago Douma
nextcloud/bugfix/noid/fulltext-search-groupfolders Fix full text search for groupfolders
2019-06-17Fix full text search for groupfoldersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-06-06handle storage exceptions when trying to set mtimeRobin Appelman
not all storage backends can handle setting the mtime and they might not always handle that error correctly. Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-28search files by id in shared storages lastRobin Appelman
this prevents unneeded recursion when the file is not in the share Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-19always allow moving mountpoints inside the same mountpointRobin Appelman
even if that mountpoint isn't normally a valid target for moving mounts into Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-15Remove spaming debug logsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01Properly handle null as ownerId if file system access is denied by access tokenJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01Add dispatcher events to User and Group objectsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-22cleanup shared lock if changing to exclusive lock failedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-12-05Emit write update only once on touchRoeland Jago Douma
When a touch is done (i.e. when creating a new file in the node API) The hooks contain 'write' and 'touch' (and the operation is touch as well). This would cause a double write update. Which doesn't make sense. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-16tokens can't be valid local user namesRobin Appelman
this saves searching for shares on non-public link dav requests Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-26Add resource type phpDoc for putContent methodsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-04Debug log file not found when getting fileinfoRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-04Merge pull request #9387 from nextcloud/getcachentry-lockMorris Jobke
remove unneeded locks in getCacheEntry
2018-05-04remove unneeded locks in getCacheEntryRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-02Log mount and storage issues in getFileInfoRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>