aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37772 from nextcloud/enh/30986/follow-upSimon L2023-04-181-0/+4
|\ | | | | Prevent the OpenDocument preview generator from trying to open empty files
| * fix php-lintSimon L2023-04-171-1/+0
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * Update lib/private/Preview/Bundled.phpClaus-Justus Heine2023-04-171-1/+1
| | | | | | Co-authored-by: Carl Schwan <carl@carlschwan.eu>
| * Prevent the OpenDocument preview generator from trying to open empty files.Claus-Justus Heine2023-04-171-0/+5
| | | | | | | | | | | | | | Rationale: does not make sense, and triggers a deprecation error in \ZipArchive. Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | Merge pull request #36617 from nextcloud/update/psr-containerSimon L2023-04-181-3/+3
|\ \ | | | | | | chore: Update PSR container to 2.0.2
| * | fix: Adjust console formatter code to match with Symfony type hintsFerdinand Thiessen2023-04-171-3/+3
| | | | | | | | | | | | | | | | | | | | | Symfony has added type hints on the `OutputFormatterInterface`, so we must adjust our type hints to match with Symfony. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | Merge pull request #37316 from ↵Simon L2023-04-182-1/+6
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/security/strict-cookie-check-status-codes fix(security)!: Use consistent HTTP status for strict cookie checks
| * | | fix(security)!: Use consistent HTTP status for strict cookie checksChristoph Wurst2023-04-172-1/+6
| |/ / | | | | | | | | | | | | | | | | | | Before: 503/412 Now: 412 + json body explaining the error Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodesSimon L2023-04-181-1/+5
|\ \ \ | | | | | | | | fix: always use proper path on node api when calling the view
| * | | fix: Use proper path when creating node instancesJulius Härtl2023-04-171-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #37534 from Rsplwe/masterSimon L2023-04-181-7/+18
|\ \ \ \ | | | | | | | | | | Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
| * | | | Update lib/private/Files/ObjectStore/S3.phpRsplwe2023-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Rsplwe <i@rsplwe.com>
| * | | | s3: get remaining truncation partRsplwe2023-04-011-7/+18
| | | | | | | | | | | | | | | Signed-off-by: Rsplwe <i@rsplwe.com>
| * | | | Adjust the value of 'maxparts' to 1000Rsplwe2023-04-011-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Rsplwe <i@rsplwe.com>
* | | | | Merge pull request #37324 from nextcloud/fix/mapper-exceptionSimon L2023-04-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Allow to catch `IMapperException` by implementing `Throwable`
| * | | | | fix: Allow to catch `IMapperException` by implementing `Throwable`Ferdinand Thiessen2023-04-171-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | | | Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statementsSimon L2023-04-171-51/+55
|\ \ \ \ \ | |_|_|/ / |/| | | | fix(auth): Run token bulk update statements in atomic transaction
| * | | | fix(auth): Run token statements in atomic transactionChristoph Wurst2023-04-121-51/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All or nothing Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #32314 from nextcloud/object-mkdir-loggingSimon L2023-04-171-0/+3
|\ \ \ \ \ | | | | | | | | | | | | additional logging when mkdir fails for object storage
| * | | | | additional logging when mkdir fails for object storageRobin Appelman2023-04-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #35129 from Glandos/previewperf2Simon L2023-04-171-93/+47
|\ \ \ \ \ \ | | | | | | | | | | | | | | [Performance] Reuse preview directory listing
| * | | | | | try to make linters happyGlandos2023-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | gather code from small and max previewGlandos2023-04-171-90/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use directory listing in both functions to gain 25% speed on run where every preview already exist. Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | Revert 0e49b40Glandos2023-04-171-3/+0
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | improve parameter docGlandos2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Glandos <bugs-github@antipoul.fr>
| * | | | | | 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>