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
path: root/lib
AgeCommit message (Collapse)Author
2021-11-04Revert "[21] tell mysql to ignore the sort index for search queries"John Molakvoæ
2021-11-04Merge pull request #29322 from nextcloud/mysql-search-ignore-index-21John Molakvoæ
2021-11-04Merge pull request #29507 from nextcloud/backport/29281/stable21John Molakvoæ
2021-11-03[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-02[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-01Move query outside the loop and reduce chunk size to 1000Sijmen Schoon
This involved changing CacheQueryBuilder\whereParentIn to take a parameter name, renaming the function accordingly. Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-11-01Limit parameter count per query in Cache.removeChildrenSijmen Schoon
Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-10-30Merge pull request #29416 from nextcloud/backport/27440/stable21MichaIng
[stable21] Handle files with `is_file` instead of `file_exists`
2021-10-28Fix permissions when copying from ObjectStorageCarl Schwan
Make sure that when a user copy a file from a directory they don't have all permissions to a directory where they have more permissions, the permissions are correctly set to the one from the parent taget folder. This was caused by the ObjectStoreStorage::copyFromStorage using the jailed storage and cache entry instead of the unjailed one like other storages (the local one). Steps to reproduce + Use object storage + Create a groupfolder with one group having full permission and another one who can just read files. + With an user who is in the second group, copy a file from the groupfolder to the home folder of this user. + The file in the home folder of the user will be read only and can't be deleted even though it is in their home folder and they are the owner. In oc_filecache, the permissions stored for this file are 1 (READ) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-26more reliable return value for Watcher::checkUpdateRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26s3 external storage listing reworkRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23Merge pull request #29399 from nextcloud/backport/29378/stable21MichaIng
[stable21] Make the route name error more helpful
2021-10-23Handle files with is_file instead of file_existsacsfer
Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`
2021-10-23[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-22Make the route name error more helpfulChristoph Wurst
As a developer I have no clue what "Invalid route name" means. If the exception gives me a hint I might find it easier to figure out why my route triggers this error. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22Merge pull request #29367 from nextcloud/backport/29362/stable21Vincent Petry
[stable21] Fix security issues when copying groupfolder with advanced ACL
2021-10-22[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-21Fix security issues when copying groupfolder with advanced ACLCarl Schwan
Using advanced ACL, it is possible that an user has access to a directory but not to a subdirectory, so the copying use Common::copyFromStorage instead of Local::copyFromStorage. Fix https://github.com/nextcloud/groupfolders/issues/1692 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-21Merge pull request #29289 from nextcloud/backport/28768/stable21John Molakvoæ
2021-10-21[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-19Merge pull request #29182 from nextcloud/backport/29028/stable21John Molakvoæ
2021-10-19Fix app upgradeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-18tell mysql to ignore the sort index for search queriesRobin Appelman
mysql really likes to pick an index for sorting if it can't fully satisfy the where filter with an index, since search queries pretty much never are fully filtered by index mysql often picks an index for sorting instead of the *much* more useful index for filtering. To bypass this, we tell mysql explicitly not to use the mtime (the default order field) index, so it will instead pick an index that is actually useful. Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-18allow specifying index hints for mysql search queriesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-18Simplify :)acsfer
2021-10-18Replace `file_exists()` method by `is_file()`acsfer
2021-10-18Get `filesize()` if `file_exists()`acsfer
Should make sense.
2021-10-15Merge pull request #29159 from nextcloud/backport/24185/stable21Daniel
[stable21] Properly handle folder deletion on external s3 storage
2021-10-14Merge pull request #29203 from nextcloud/backport/26688/stable21MichaIng
[stable21] Add proper message to created share not found
2021-10-13Merge pull request #29197 from nextcloud/backport/29020/stable21Joas Schilling
[stable21] Keep group restrictions when reenabling apps after an update
2021-10-13Keep group restrictions when reenabling apps after an updateJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13Fix translated app detailsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13Default message for ShareNotFound exceptionJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13Add proper message to created share not foundJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13Merge pull request #29130 from nextcloud/backport/27886/stable21Vincent Petry
[stable21] Keep pw based auth tokens valid when pw-less login happens
2021-10-13Merge pull request #29080 from nextcloud/path-prefix-filter-21Vincent Petry
[21] generate a better optimized query for path prefix search filters
2021-10-12[21] generate a better optimized query for path prefix search filtersRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-12add 'supported'-label to all supported apps, also if they are not downloaded yetBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-10-12Merge pull request #29037 from Hinyka/stable21Vincent Petry
[stable21] Fix Lots of Error: file_exists(): open_basedir restriction in effect
2021-10-11Merge pull request #29134 from nextcloud/backport/28907/stable21Julius Härtl
2021-10-11Merge pull request #29164 from nextcloud/backport/29062/stable21MichaIng
[stable21] Don't further setup disabled users when logging in with apache
2021-10-11Don't further setup disabled users when logging in with apacheJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Tokens without password should not trigger changed password invalidationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-11Make sure that a empty directory can still be deleted when copied from ↵Julius Härtl
another storage Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-08explicitly close source stream on encryption storageDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08explicitly close source stream on local storageDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08Fix psalm issue in Encryption streamVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>