Commit Graph

18851 Commits (stable20)

Author SHA1 Message Date
Nextcloud bot 8054db8f28
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 65942f837a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot b648ad65fc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
John Molakvoæ 7e8c3d7779
Merge pull request #29290 from nextcloud/backport/28768/stable20 3 years ago
John Molakvoæ 1cb613bbfa
Merge pull request #29417 from nextcloud/backport/27440/stable20 3 years ago
John Molakvoæ 72bd10fab7
Merge pull request #29095 from nextcloud/backport/29075/stable20 3 years ago
Nextcloud bot 76b076d4d5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot e70ab5a768
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
acsfer 023c060305 Handle files with is_file instead of file_exists
Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`
3 years ago
Nextcloud bot a0aebf71b2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Vincent Petry 80dca60858
Extra fixes needed for icewind/streams update to 0.7.2
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Nextcloud bot c4c6539f83
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 449b430fc3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Vincent Petry e82157da9e
Merge pull request #29366 from nextcloud/backport/29362/stable20
[stable20] Fix security issues when copying groupfolder with advanced ACL
3 years ago
Nextcloud bot 85de792b74
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Carl Schwan bd6b9e2dd1 Fix security issues when copying groupfolder with advanced ACL
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>
3 years ago
acsfer d8ff7eadc6 Simplify :) 3 years ago
acsfer d845791968 Replace `file_exists()` method by `is_file()` 3 years ago
acsfer f902cfaffe Get `filesize()` if `file_exists()`
Should make sense.
3 years ago
Nextcloud bot 595d21c922
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 5534aa02f2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Vincent Petry 220004cf58
Merge pull request #29192 from nextcloud/backport/29080/stable20
[stable20] [21] generate a better optimized query for path prefix search filters
3 years ago
Joas Schilling b0f4d1984b
Merge pull request #29303 from nextcloud/backport/29259/stable20
[stable20] Fix app upgrade
3 years ago
John Molakvoæ f8f4aa26ad
Merge pull request #29181 from nextcloud/backport/29028/stable20 3 years ago
Joas Schilling d3dcde7ed9
Fix app upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Robin Appelman ff1029e8ef
[21] generate a better optimized query for path prefix search filters
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Daniel 400da8564d
Merge pull request #29158 from nextcloud/backport/24185/stable20
[stable20] Properly handle folder deletion on external s3 storage
3 years ago
Joas Schilling 790d6a5ff7
Merge pull request #29205 from nextcloud/backport/26688/stable20
[stable20] Add proper message to created share not found
3 years ago
Joas Schilling e642653a33
Keep group restrictions when reenabling apps after an update
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
John Molakvoæ (skjnldsv) 259b6571ca Default message for ShareNotFound exception
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ (skjnldsv) 191cc1d560 Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Bjoern Schiessle 60e6e06231 add 'supported'-label to all supported apps, also if they are not downloaded yet
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
3 years ago
MichaIng c1207c6e6e
Merge pull request #29167 from nextcloud/backport/29164/stable20
[stable20] Don't further setup disabled users when logging in with apache
3 years ago
MichaIng b91dc51f6c
Merge pull request #29166 from nextcloud/backport/29122/stable20
[stable20] Tokens without password should not trigger changed password invalidation
3 years ago
Joas Schilling a1c4c7fb8a
Don't further setup disabled users when logging in with apache
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Julius Härtl 2377fdd8a9 Tokens without password should not trigger changed password invalidation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Julius Härtl d97fc4e3da Make sure that a empty directory can still be deleted when copied from another storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Tobias Assmann b52ebf5224
add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
3 years ago
Tobias Assmann 3dc6f0671a
draft to prevent the invalidation of pw based authn tokens on a pw less login
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
3 years ago
Nextcloud bot 005162d87a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
acsfer e6a646c071 Fix path of file_get_contents 3 years ago
Julien Veyssier 0690c601c9 consider some config keys under 'objectstore_multibucket' as sensitive
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years ago
Nextcloud bot 79a032cb5f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 295f0a4063
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 1554a7595f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 341aa006bc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 43db32f49d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Louis Chemineau 072d4bb0d0 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
3 years ago
Nextcloud bot d63f6d8c18
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Daniel Kesselberg e47903d3ea explicitly close source stream on object store upload even if countwrapper isn't needed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years ago
blizzz 8b095ce98b
Merge pull request #28789 from nextcloud/backport/23065/stable20
[stable20] Fix null displayname crash as described in #21885
3 years ago
blizzz 8687bec176
Merge pull request #27407 from nextcloud/backport/24966/stable20
[stable20] avoid fread on directories and unencrypted files
3 years ago
Nextcloud bot c30bcfa6a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
MichaIng f99b048d94
Merge pull request #28908 from nextcloud/backport/28802/stable20
[stable20] Support seeking also from the end of file on S3 storage
3 years ago
Richard Steinmetz a56af8d654 Use IRoomMetadata as source of truth for supported room types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
3 years ago
Pauli Järvinen 50729e2693 Support seeking also from the end of file on S3 storage
The PR https://github.com/nextcloud/server/pull/20033 added support
for `fseek` for  the S3 storage backend. However, the seek mode SEEK_END
was left out that time. This PR fills this gap.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
3 years ago
Vincent Petry d98a296b05 Fall back to full file for video previews
If the first 5 MB are not enough to grab a useful frame for the
thumbnail preview, fall back to reading the full file.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Nextcloud bot 8f5b6b8386
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Robin Appelman c7ab27c28d
Merge pull request #28820 from nextcloud/backport/24113/stable20
[stable20] extend cache events
3 years ago
Robin Appelman c0b701f7f1
make event constructor backwards compatible just in case
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Nextcloud bot fefcd8652a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Robin Appelman 1ed2550281
update @since for backport
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman 5e8e252a64 code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman e9234782a2 rename cache event to follow new naming standards
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Robin Appelman 11e81b340d extend cache events
- adds cache remove event
- expose storage id in event
- emit events during cache move

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Lukas Reschke 20c1ba6f4e Regenerate autoloader
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Lukas Reschke 201bf52c04 Add database ratelimiting backend
In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
Nextcloud bot 60def66208
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 0219ba9d3a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Tom Grant a67fcf09a8 Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
3 years ago
tgrant adec0af30e Fix null displayname crash as described in #21885
Signed-off-by: tgrant <tom.grant760@gmail.com>
3 years ago
Nextcloud bot 3174caddae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 9a3b2931c8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Jasper Knockaert 8466c53e00 fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
3 years ago
Jasper Knockaert ac650a13d3 fix brakcets 3 years ago
Jasper Knockaert df3cd0f89e consolidation of boolean expression 3 years ago
Jasper Knockaert 1bca62fa1a avoid fread on directories and unencrypted files
Reworking the logic in order to first check the filecache and only then reading the fileheader.
This in order to solve #21578.
3 years ago
Nextcloud bot fee066a416
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 66c65d4997
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Vincent Petry 610e76555d
Unregister enc stream wrapper for any exception
This prevents side effects in tests by properly cleaning up
even with expected exceptions.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Nextcloud bot 330ff407ef
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Joas Schilling 64ff73c78a
Merge pull request #28453 from nextcloud/backport/28303/stable20
[stable20] UnifiedSearchController: strip webroot from URL before finding a route
3 years ago
John Molakvoæ (skjnldsv) 5a26b3ff0c Properly log errors in Movie previews generation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst face6b174b Emit an error log when the app token login name does not match
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Julius Härtl cd01d63e49 Only trap E_ERROR in session handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Jonas Meurer b08215e4cc Use IURLGenerator function to get value of `\OC::$WEBROOT` global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
3 years ago
Nextcloud bot 51a3f08c41
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Julius Härtl 1b2e852f6c
Merge pull request #28362 from nextcloud/backport/28220/stable20 3 years ago
Robin Appelman a4cdebec62
fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Nextcloud bot 1c31440aed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot c608217acc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot cf230cffd8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Nextcloud bot 23a5b86922
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
Robin Appelman b3e238c731 dont apply jail search filter is on the root
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Lukas Reschke 4b9245324a Sanitize more functions from the encryption app
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago
tobiasKaminsky df4d8671a2 Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
3 years ago
Daniel Kesselberg 5705fc7be3 Mask password for Redis and RedisCluster on connection failure
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years ago
Nextcloud bot f93fb228e8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago
MichaIng 02fc2cc51c
Merge pull request #27754 from nextcloud/backport/27586/stable20
[stable20] Reset checksum when writing files to object store
3 years ago
Nextcloud bot 92075538ac
[tx-robot] updated from transifex 3 years ago