Commit graph

18773 commits

Author SHA1 Message Date
Daniel
400da8564d
Merge pull request #29158 from nextcloud/backport/24185/stable20
[stable20] Properly handle folder deletion on external s3 storage
2021-10-15 11:38:28 +02:00
Joas Schilling
790d6a5ff7
Merge pull request #29205 from nextcloud/backport/26688/stable20
[stable20] Add proper message to created share not found
2021-10-14 10:07:04 +02:00
Joas Schilling
e642653a33
Keep group restrictions when reenabling apps after an update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 14:15:42 +02:00
John Molakvoæ (skjnldsv)
259b6571ca Default message for ShareNotFound exception
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:48:12 +00:00
John Molakvoæ (skjnldsv)
191cc1d560 Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:48:12 +00:00
MichaIng
c1207c6e6e
Merge pull request #29167 from nextcloud/backport/29164/stable20
[stable20] Don't further setup disabled users when logging in with apache
2021-10-12 02:14:13 +02:00
MichaIng
b91dc51f6c
Merge pull request #29166 from nextcloud/backport/29122/stable20
[stable20] Tokens without password should not trigger changed password invalidation
2021-10-11 17:13:05 +02:00
Joas Schilling
a1c4c7fb8a
Don't further setup disabled users when logging in with apache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11 15:12:41 +02:00
Julius Härtl
2377fdd8a9 Tokens without password should not trigger changed password invalidation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-11 12:39:53 +00:00
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>
2021-10-11 08:01:03 +00:00
Tobias Assmann
b52ebf5224
add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-10-08 08:14:52 +02:00
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>
2021-10-08 08:14:49 +02:00
Nextcloud bot
005162d87a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-07 02:26:00 +00:00
Julien Veyssier
0690c601c9 consider some config keys under 'objectstore_multibucket' as sensitive
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-06 07:52:10 +00:00
Nextcloud bot
79a032cb5f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-06 02:21:29 +00:00
Nextcloud bot
295f0a4063
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-04 02:26:47 +00:00
Nextcloud bot
1554a7595f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-03 02:26:48 +00:00
Nextcloud bot
341aa006bc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-02 02:26:43 +00:00
Nextcloud bot
43db32f49d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-01 02:26:38 +00:00
Louis Chemineau
072d4bb0d0 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-29 15:43:28 +00:00
Nextcloud bot
d63f6d8c18
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-29 02:26:32 +00:00
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>
2021-09-24 11:40:50 +00:00
blizzz
8b095ce98b
Merge pull request #28789 from nextcloud/backport/23065/stable20
[stable20] Fix null displayname crash as described in #21885
2021-09-23 10:11:09 +02:00
blizzz
8687bec176
Merge pull request #27407 from nextcloud/backport/24966/stable20
[stable20] avoid fread on directories and unencrypted files
2021-09-23 10:05:05 +02:00
Nextcloud bot
c30bcfa6a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:27:08 +00:00
MichaIng
f99b048d94
Merge pull request #28908 from nextcloud/backport/28802/stable20
[stable20] Support seeking also from the end of file on S3 storage
2021-09-21 19:41:10 +02:00
Richard Steinmetz
a56af8d654 Use IRoomMetadata as source of truth for supported room types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 16:26:30 +00:00
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>
2021-09-20 18:13:04 +00:00
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>
2021-09-20 09:34:50 +00:00
Nextcloud bot
8f5b6b8386
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-17 02:28:37 +00:00
Robin Appelman
c7ab27c28d
Merge pull request #28820 from nextcloud/backport/24113/stable20
[stable20] extend cache events
2021-09-16 14:08:51 +00:00
Robin Appelman
c0b701f7f1
make event constructor backwards compatible just in case
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-16 15:14:01 +02:00
Nextcloud bot
fefcd8652a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-14 02:31:11 +00:00
Robin Appelman
1ed2550281
update @since for backport
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-13 18:01:28 +02:00
Robin Appelman
5e8e252a64 code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-13 15:56:44 +00:00
Robin Appelman
e9234782a2 rename cache event to follow new naming standards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-13 15:56:42 +00:00
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>
2021-09-13 15:56:41 +00:00
Lukas Reschke
20c1ba6f4e Regenerate autoloader
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 17:23:49 +02:00
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>
2021-09-13 17:23:49 +02:00
Nextcloud bot
60def66208
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-13 02:28:51 +00:00
Nextcloud bot
0219ba9d3a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-12 02:28:55 +00:00
Tom Grant
a67fcf09a8 Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:31 +00:00
tgrant
adec0af30e Fix null displayname crash as described in #21885
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:31 +00:00
Nextcloud bot
3174caddae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-10 02:36:20 +00:00
Nextcloud bot
9a3b2931c8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-06 02:28:13 +00:00
Jasper Knockaert
8466c53e00 fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
2021-09-03 13:42:10 +00:00
Jasper Knockaert
ac650a13d3 fix brakcets 2021-09-03 13:42:10 +00:00
Jasper Knockaert
df3cd0f89e consolidation of boolean expression 2021-09-03 13:42:10 +00:00
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.
2021-09-03 13:42:09 +00:00
Nextcloud bot
fee066a416
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-02 02:27:41 +00:00