Julius Härtl
bfd2f39fed
Transfer shares of the transferred root node
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 19:01:48 +02:00
korelstar
10c0ed6cee
fix: file quota was not applied in all cases
2020-09-17 07:13:27 +00:00
Nextcloud bot
049e20b6cd
[tx-robot] updated from transifex
2020-09-17 02:27:25 +00:00
Nextcloud bot
7e5c65a5e2
[tx-robot] updated from transifex
2020-09-15 10:48:49 +00:00
Roeland Jago Douma
5b8f18e3c0
Merge pull request #22781 from nextcloud/backport/22775/stable18
...
[stable18] makes LDAP's group updater dispatch type events
2020-09-11 08:48:22 +02:00
Arthur Schiwon
776ad073c8
makes LDAP's group updater dispatch type events
...
* fixes group share updates on added users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 15:23:23 +02:00
Julius Härtl
9448a0e72d
Annotate that writeStream can throw a GenericFileException
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:20:09 +00:00
Roeland Jago Douma
af6b57cd0d
Fix reading empty files from objectstorage
...
Since we try to do range requests this will fail hard.
However since empty files are not that interesting to read anyways we
just read from an emptry memory stream.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-09 19:47:30 +00:00
Morris Jobke
7591a94902
Merge pull request #22746 from nextcloud/backport/22646/stable18
...
[stable18] Fix detecting text/x-php mimetype and secure mimetype mapping
2020-09-09 16:51:05 +02:00
Julius Härtl
b3c5271c89
Properly add both mimetypes to secure mimetype mapping
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:27 +00:00
Joas Schilling
54a5f938f9
Warn about adding NotNull columns with nullable default
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 19:00:03 +00:00
Nextcloud bot
117044f916
[tx-robot] updated from transifex
2020-09-07 02:16:57 +00:00
Nextcloud bot
5056261850
[tx-robot] updated from transifex
2020-09-06 02:17:11 +00:00
Joas Schilling
117705c2df
Use the correct root to determinate the webroot for the resource
...
Since all the compiled routes are based on the server webroot,
we have to use this, independent from which app this belongs to.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 13:20:42 +02:00
Roeland Jago Douma
ce93aaf493
Merge pull request #22570 from nextcloud/backport/22524/stable18
...
[stable18] Fix app password updating out of bounds
2020-09-04 12:26:31 +02:00
Roeland Jago Douma
87a66c8675
Fix app password updating out of bounds
...
When your password changes out of bounds your Nextcloud tokens will
become invalid. There is no real way around that. However we should make
sure that if you successfully log in again your passwords are all
updates
* Added event listener to the PostLoggedInEvent so that we can act on it
- Only if it is not a token login
* Make sure that we actually reset the invalid state when we update a
token. Else it keeps being marked invalid and thus not used.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 09:18:00 +02:00
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