Commit Graph

10842 Commits (stable20)

Author SHA1 Message Date
Joas Schilling 5574c12371
fix(apps): Fix loading info.xml file
Ref: https://bugs.php.net/bug.php?id=62577

Signed-off-by: Joas Schilling <coding@schilljs.com>
11 months ago
Côme Chilliet 540d70a6fe Make sure that path is normalized and then checked,
and not the other way around

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Robin Appelman 19d487838e handle stream wrappers in SeekableHttpStream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Joas Schilling d7a58f7f39
Merge pull request #30834 from nextcloud/backport/29902/stable20
[stable20] Check for invalid characters before trimming
2 years ago
Carl Schwan 0c19c5c65a Fix search results filtering
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Joas Schilling 787897bf5e Check for invalid characters before trimming
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
John Molakvoæ 44dc53d5c1
Merge pull request #30657 from nextcloud/backport/29622/stable20 2 years ago
Carl Schwan e5c54bd8ac
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 33f49b13ed Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
John Molakvoæ 7ba126c00f
Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Joas Schilling b89e548879 Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.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
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
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
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
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) 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
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
Louis Chemineau 072d4bb0d0 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
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
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
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
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