Commit graph

17664 commits

Author SHA1 Message Date
Nextcloud bot
eeb3b500e6
[tx-robot] updated from transifex 2020-09-04 02:17:36 +00:00
Roeland Jago Douma
e44f56e91d Only disable zip64 if the size is known
Else we might run into the issue that for an external storage where the
size is not known yet we do not use zip64. Which then of course fails on
large zip files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-01 13:44:49 +00:00
Roeland Jago Douma
f9fb6caaae
Merge pull request #22518 from nextcloud/backport/22517/stable18
[stable18] set the mount id before calling storage wrapper
2020-09-01 08:05:15 +02:00
Roeland Jago Douma
55ce30ad53 Only update the filecache entry once the file has been written to S3
If we already update before we have no way to revert if the upload
fails.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 17:08:35 +00:00
Roeland Jago Douma
f909d2a39a Don't lose filecache entry on s3 overwrite error
If the object store errors we should not always delete the filecache
entry. As this might lead to people losing access to their files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 17:08:34 +00:00
Robin Appelman
9c7dd68238 set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-31 15:23:09 +00:00
Nextcloud bot
0d9bd1d6dd
[tx-robot] updated from transifex 2020-08-28 02:16:40 +00:00
Roeland Jago Douma
04e0cf9613
Merge pull request #22449 from nextcloud/stable18-phpdoc
[stable18] Add php docs build script
2020-08-27 15:35:27 +02:00
Julius Härtl
de97d06f99
Remove @package annotations from public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:28 +02:00
Julius Härtl
7a5e2455bb
Remove wrongly annotated package names
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:08 +02:00
Nextcloud bot
b1169cad40
[tx-robot] updated from transifex 2020-08-27 02:17:00 +00:00
Roeland Jago Douma
132b299ab2
Merge pull request #22411 from nextcloud/backport/22359/stable18
[stable18] fix possible leaking scope in Flow
2020-08-26 20:22:28 +02:00
Nextcloud bot
3077047029
[tx-robot] updated from transifex 2020-08-26 02:16:48 +00:00
Arthur Schiwon
36260dddf6
adjust since for 18
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-25 13:06:03 +02:00
Arthur Schiwon
ace667bce7 fix possible leaking scope in Flow
- a configured flow can be brought into consideration, despite its event
  was not fired
- it could either run through
- or run into a RuntimeException and killing processing of valid flows

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-25 08:44:19 +00:00
Nextcloud bot
b9d1d7bd3b
[tx-robot] updated from transifex 2020-08-23 02:17:01 +00:00
Morris Jobke
208300865a
Merge pull request #22306 from nextcloud/backport/22300/stable18
[stable18] Allow to disable share emails
2020-08-20 08:02:33 +02:00
Nextcloud bot
34bf219dbd
[tx-robot] updated from transifex 2020-08-20 02:17:58 +00:00
Joas Schilling
15cbac0f32 Allow to disable share emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 19:28:31 +00:00
Nextcloud bot
d6a38070bf
[tx-robot] updated from transifex 2020-08-19 02:17:29 +00:00
Nextcloud bot
db98abdcdb
[tx-robot] updated from transifex 2020-08-18 02:17:46 +00:00
Nextcloud bot
ca156c28c7
[tx-robot] updated from transifex 2020-08-17 02:16:56 +00:00
Roeland Jago Douma
6c5837380a
Merge pull request #22207 from nextcloud/backport/21676/stable18
[stable18] Fix chmod on file descriptor
2020-08-13 05:06:21 +02:00
Nextcloud bot
08e9018bcd
[tx-robot] updated from transifex 2020-08-13 02:16:56 +00:00
Nextcloud bot
5431a11075
[tx-robot] updated from transifex 2020-08-12 02:17:10 +00:00
J0WI
6acfc746d6 Fix chmod on file descriptor
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-08-12 01:26:05 +00:00
Morris Jobke
f626f4ddc2
Merge pull request #21982 from nextcloud/backport/21628/stable18
[stable18] fix moving files from external storage to object store trashbin
2020-08-10 15:42:33 +02:00
Robin Appelman
ae6357ca6e
dont update mimetype when moving to trash
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:33:24 +02:00
Robin Appelman
c3f2b73a97
fix renameFromStorage messing with folder mimetype
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:33:17 +02:00
Robin Appelman
98ca765572
use exceptions for error signaling in writeStream
this remove the ambiguity when writing zero length files

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:33:10 +02:00
Robin Appelman
7e12f9c9bb
fix moving files from external storage to object store trashbin
having the "cache rename" after the "storage move" caused the target
to get the fileid from the source file, without taking care that the object
is stored under the original file id.

By doing the "cache rename" first, we trigger the "update existing file"
logic while moving the file to the object store and the object gets stored for the
correct file id

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:32:05 +02:00
Morris Jobke
9f98eb1e0e
Use old IServerContainer methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 10:04:16 +02:00
Joas Schilling
e7d2dde463 Correctly remove usergroup shares on removing group members
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-30 07:51:14 +00:00
Morris Jobke
403040255f
Merge pull request #21976 from nextcloud/backport/21658/stable18
[stable18] allow admin to configure the max trashbin size
2020-07-29 14:21:49 +02:00
Nextcloud bot
25208664b7
[tx-robot] updated from transifex 2020-07-29 02:17:10 +00:00
Nextcloud bot
9c3b6109d1
[tx-robot] updated from transifex 2020-07-27 02:16:51 +00:00
John Molakvoæ
d04e30310d
Merge pull request #21992 from nextcloud/backport/21977/stable18
[stable18] Ignore whitespace in sharing by mail
2020-07-26 12:31:39 +02:00
Nextcloud bot
e856265e08
[tx-robot] updated from transifex 2020-07-25 02:16:54 +00:00
onehappycat
b004ce9d72 Ignore whitespace in sharing by mail
Signed-off-by: onehappycat <one.happy.cat@gmx.com>
2020-07-24 11:43:25 +00:00
Robin Appelman
63a90aaf47
allow admin to configure the max trashbin size
this allows an admin to configure the max trashbin size instead of always relying on the users quota.

The trashbin size can be configured using the `occ trash:size` command and can be set both globally and per-user

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-24 13:39:09 +02:00
Nextcloud bot
86a03fb02c
[tx-robot] updated from transifex 2020-07-24 02:17:11 +00:00
Nextcloud bot
1fa74fce9e
[tx-robot] updated from transifex 2020-07-23 02:17:21 +00:00
Nextcloud bot
d5b55c74ad
[tx-robot] updated from transifex 2020-07-19 02:17:25 +00:00
Nextcloud bot
50f44d6d21
[tx-robot] updated from transifex 2020-07-17 02:17:30 +00:00
Nextcloud bot
b143bce87b
[tx-robot] updated from transifex 2020-07-16 02:19:50 +00:00
Nextcloud bot
74311c33e3
[tx-robot] updated from transifex 2020-07-10 02:17:12 +00:00
Robin Appelman
cc35da4d28 ensure home storage is initialized on first setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 12:33:29 +00:00
Roeland Jago Douma
bb9da25772 Use the correct mountpoint to calculate
If we use the owners mount point this results in null. And then the rest
of the checks get called with null. Which doesn't work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09 12:33:26 +00:00
Nextcloud bot
84ac834a34
[tx-robot] updated from transifex 2020-07-09 02:17:54 +00:00
Morris Jobke
778cb33576
Merge pull request #21499 from lmamane/stable18-21285-oneliner
fix #21285 as oneliner
2020-07-08 13:04:58 +02:00