aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | Ensure max preview image is not nullGlandos2023-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | | | | | | | | | | php-cs-fixGlandos2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | | | | | | | | | | List preview directory only onceGlandos2023-04-171-5/+13
| | |_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getCachedPreview used to call `getFile`, and this calls `getDirectoryListing` (or underlying function that list directory) to find the file. This was done for every preview spec. Now, this is done only once at the beginning of the loop, and the array is just iterated when needed to find the correct entry. Signed-off-by: Glandos <bugs-github@antipoul.fr>
* | | | | | | | | | | | | | | Merge pull request #31286 from ↵Simon L2023-04-171-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rotdrop/bugfix/dont-start-session-when-session-is-already-open Don't call session_start() when PHP session is still or already open.
| * | | | | | | | | | | | | | Don't call session_start() when PHP session is still or already open.Claus-Justus Heine2023-04-171-0/+1
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* / / / / / / / / / / / / / Put Mimeloader insertion and read in the same transactionThomas Citharel2023-04-171-18/+41
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | | | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | | | Merge pull request #37429 from nextcloud/object-store-rmdirJulius Härtl2023-04-131-36/+50
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | improve objectstore rmdir handling
| * | | | | | | | | | | | | improve objectstore rmdir handlingRobin Appelman2023-04-031-36/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove folder entries as they are cleared instead of in one go afterwards otherwise they stick around if some of the child entries can't be removed Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-04-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | | | | app type extended_authenticationMaxence Lange2023-04-122-1/+2
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | | | | | | | | Merge pull request #37617 from nextcloud/notify-self-test-errorArthur Schiwon2023-04-111-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | handle not being able to write file for notify self-test
| * | | | | | | | | | | | handle not being able to write file for notify self-testRobin Appelman2023-04-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-04-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | | | Add type hints for mappersjld31032023-04-0710-13/+25
| |_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | | | | | | | | | Merge pull request #34607 from nextcloud/encryption-size-not-foundVincent Petry2023-04-061-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | fix encryption wrapper filesize for non existing files
| * | | | | | | | | | | fix encryption wrapper filesize for non existing filesRobin Appelman2023-04-041-1/+3
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | Merge pull request #22943 from nextcloud/scanner-no-access-handlingRobin Appelman2023-04-051-5/+11
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | improve handling of files we can't access in the scanner
| * | | | | | | | | | | improve handling of files we can't access in the scannerRobin Appelman2023-04-051-5/+11
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of erroring, remove the items from the cache. this situation can be triggered if a user has access to a file but looses it afterwards Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | Merge pull request #27538 from nextcloud/scanner-home-not-writable-better-errorsCôme Chilliet2023-04-051-7/+20
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | better error messages if the users home is not writable during scanning
| * | | | | | | | | | | better error messages if the users home is not writable during scanningRobin Appelman2023-04-051-7/+20
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | Merge pull request #33292 from nextcloud/no-profilerRobin Appelman2023-04-051-3/+15
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | don't hard error when trying to load profiles with no profiler registered
| * | | | | | | | | | don't hard error when trying to load profiles with no profiler registeredRobin Appelman2023-04-041-3/+15
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | Merge pull request #36836 from nextcloud/fix/view-type-cleanupCôme Chilliet2023-04-0520-323/+204
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Tidy up typing in OC\Files\View
| * | | | | | | | | | Remove unecessary fully qualified namespaces from phpdocCôme Chilliet2023-04-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | View needs to return an instance of OC\Files\FileInfo explicitelyCôme Chilliet2023-04-032-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 FileInfoCôme Chilliet2023-04-034-97/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Fix return type of methods returning false on errorCôme Chilliet2023-04-0314-64/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Improve typing for fopen/toTmpFileCôme Chilliet2023-04-033-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Remove unused method getLocalFolderCôme Chilliet2023-04-034-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It’s not used and not in any OCP interface/class. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | | | | Tidy up typing in OC\Files\ViewCôme Chilliet2023-04-032-122/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | | | | Fix types for reading and writing config valuesjld31032023-04-054-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | | | | | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-04-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | | | Merge pull request #36360 from nextcloud/new-share-existing-nodeRobin Appelman2023-04-041-0/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | also set the node when re-using existing share on share create
| * | | | | | | | | | | also set the node when re-using existing share on share createRobin Appelman2023-04-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | Merge pull request #37278 from ↵Joas Schilling2023-04-041-0/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/feature/document-talk-icon-url-definition Document talk icon url definition
| * | | | | | | | | | | | Fix the example URLVitor Mattos2023-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/nextcloud/server/pull/37278/files#r1141955740 Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | | | | | | | | Document talk icon url definitionVitor Mattos2023-03-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/nextcloud/spreed/pull/8333 introduced an optional `icon-url` for the call objects in rich messages. https://github.com/nextcloud/spreed/issues/8389 Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | | | | | | | | | | Merge pull request #37559 from nextcloud/preview-generate-cmdRobin Appelman2023-04-042-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | add command to generate a preview for a file
| * | | | | | | | | | | | add command to generate a preview for a fileRobin Appelman2023-04-032-0/+2
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | fix(initial-state): Log an error when initial-state can not be JSON encodedJoas Schilling2023-04-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | | | | | | Merge pull request #37243 from nextcloud/enh/openssl-get-rid-of-rc4Côme Chilliet2023-04-041-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Getting rid of openssl_seal and rc4 in server side encryption
| * | | | | | | | | | | | Adapt code to new encryption systemCôme Chilliet2023-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileKey gets deleted upon save as it’s stored in shareKeys instead now. We use presence of a fileKey to detect if a file is using the legacy system or the new one, because we do not always have access to header data. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | | | | | | Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_valueLouis2023-04-046-12/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | | Migrate metadata JSON column to new value TEXT column
| * | | | | | | | | | | | Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-036-12/+27
| | |_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | | | | | | Merge pull request #36097 from nextcloud/path-prefix-optimizeRobin Appelman2023-04-033-13/+58
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
| * | | | | | | | | | | | extend path-prefix optimizer to remove all cases of path_hash= when ↵Robin Appelman2023-01-113-13/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encountering a path prefix filter Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | | | | | | Merge pull request #37543 from nextcloud/fix/inherited-parameter-namesCôme Chilliet2023-04-033-8/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix inherited parameter names
| * | | | | | | | | | | | | Fix inherited parameter namesjld31032023-04-033-8/+8
| | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | | | | | | | | | | Merge pull request #37542 from ↵Joas Schilling2023-04-033-12/+31
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing feat(security): Allow to opt-out of ratelimit protection, e.g. for te…