Commit Graph

55305 Commits

Author SHA1 Message Date
Roeland Jago Douma 4a307c1f5f
Merge pull request #22635 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.4.1
Bump @nextcloud/l10n from 1.4.0 to 1.4.1
2020-09-10 16:20:59 +02:00
Morris Jobke e269f15d56
Merge pull request #22234 from nextcloud/bugfix/noid/reshare-mount
Use user mount with matching shared storage only
2020-09-10 16:19:04 +02:00
Morris Jobke 3d61f7b258
Merge pull request #22774 from nextcloud/bugfix/noid/no-delay-without-ip
Don't break when the IP is empty
2020-09-10 16:11:06 +02:00
blizzz 40eabfb181
Merge pull request #22771 from nextcloud/fix/noid/ldap-group-add-user-update
switch to typed event for LDAPs user added to group case
2020-09-10 16:02:43 +02:00
Georg Ehrke b5204a78cc
Mitigate encoding issue with user principal uri
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-10 16:00:03 +02:00
Morris Jobke a89c8a257d
Merge pull request #22782 from nextcloud/revert-22687-dependabot/npm_and_yarn/query-string-6.13.1
Revert "Bump query-string from 5.1.1 to 6.13.1"
2020-09-10 15:54:15 +02:00
Morris Jobke 6cc8a424a3
Revert "Bump query-string from 5.1.1 to 6.13.1" 2020-09-10 15:53:48 +02:00
Morris Jobke 4ae8caaf28
Merge pull request #22768 from nextcloud/fix/22288/change-0-to-null-for-bmp-encoding
Change 0 to null to properly encode image to BMP if the first pixel is black
2020-09-10 15:25:08 +02:00
Nils Wittenbrink 0aa550c0ab Fix tense of updater logs
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
2020-09-10 15:17:59 +02:00
Morris Jobke 0aa442220b
Merge pull request #22739 from nextcloud/bugfix/16989
Don't fail if copying a file of 0 byte size
2020-09-10 15:16:19 +02:00
Joas Schilling f91a85c32e
Merge pull request #22773 from nextcloud/revert-22614-fix/22606/popover-boundaries
Revert "Increase html body height to full content height"
2020-09-10 14:57:28 +02:00
dependabot-preview[bot] 14994808c8
Bump @nextcloud/l10n from 1.4.0 to 1.4.1
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-10 14:38:31 +02:00
Joas Schilling c25063dc07
Don't break when the IP is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 14:20:27 +02:00
Roeland Jago Douma b056b5b7fc
Merge pull request #22672 from nextcloud/dependabot/npm_and_yarn/v-click-outside-3.1.1
Bump v-click-outside from 3.1.0 to 3.1.1
2020-09-10 13:57:58 +02:00
Joas Schilling 5bfd7143dc
Revert "Increase html body height to full content height" 2020-09-10 13:33:36 +02:00
npmbuildbot[bot] e092086b94 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-10 11:09:14 +00:00
Arthur Schiwon 263f5bd1d9
switch to typed event for LDAPs user added to group case
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 12:57:10 +02:00
dependabot[bot] de1e80f5ea
Bump v-click-outside from 3.1.0 to 3.1.1
Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/ndelvalle/v-click-outside/releases)
- [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 10:53:13 +00:00
Morris Jobke 04c174ab89
Merge pull request #22665 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.7.0
Update behat/behat requirement from ~3.6.1 to ~3.7.0 in /build/integration
2020-09-10 12:52:31 +02:00
Morris Jobke 9c44523937
Merge pull request #22687 from nextcloud/dependabot/npm_and_yarn/query-string-6.13.1
Bump query-string from 5.1.1 to 6.13.1
2020-09-10 12:51:00 +02:00
Morris Jobke 756254c36a
Merge pull request #22747 from nextcloud/s3-isdir-empty
fix s3 doesDirectoryExist check for empty directories
2020-09-10 12:48:37 +02:00
Morris Jobke a45c4c3502
Merge pull request #22622 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.2
Bump sass-loader from 9.0.3 to 10.0.2
2020-09-10 12:45:03 +02:00
Morris Jobke 9708b004f7
Merge pull request #22552 from nextcloud/bugfix/noid/opendocument-templates
Add opendocument templates to mimetype mappings
2020-09-10 12:42:29 +02:00
Morris Jobke bd5a297c93
Merge pull request #22615 from nextcloud/fix/22606/popover-flutter
Change status popover container
2020-09-10 12:41:14 +02:00
Morris Jobke 0531d4b2ee
Merge pull request #22766 from nextcloud/fix/22507/php-eol-warning
Clarify PHP warning in admin settings
2020-09-10 12:09:58 +02:00
Morris Jobke 46525f8639
Change 0 to null to properly encode image to BMP if the first pixel is black
Ref #22288

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 12:08:01 +02:00
Morris Jobke cb151d10d5
Merge pull request #22765 from nextcloud/bugfix/noid/allow-to-get-activities-for-files-by-email-again
Allow to get activities for files by email again
2020-09-10 11:47:20 +02:00
Morris Jobke b9ae3c1732
Merge pull request #22762 from nextcloud/bugfix/noid/dont-create-debug-log-in-base.php
Don't create a deprecation log in base.php
2020-09-10 11:28:46 +02:00
Morris Jobke f5efd18b07
Clarify PHP warning in admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 11:08:25 +02:00
Morris Jobke 42e2068ac7
Merge pull request #22744 from nextcloud/shared-cached-permissions
only get the permissions from the share source if it's not already cached
2020-09-10 10:15:54 +02:00
Joas Schilling 7e1ca73261
Allow to get activities for files by email again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 10:08:18 +02:00
Morris Jobke 7fd505f881
Merge pull request #22614 from nextcloud/fix/22606/popover-boundaries
Increase html body height to full content height
2020-09-10 09:34:41 +02:00
Julius Härtl cee531d6bc
Annotate that writeStream can throw a GenericFileException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 09:03:53 +02:00
Julius Härtl 1dddf6adc7
Properly catch exception from writing to stream when copying a file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 09:03:53 +02:00
Joas Schilling b5a70b31c1
Don't create a deprecation log in base.php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 09:03:39 +02:00
Julius Härtl 2004ae4603
Set delimiter so that the CommonPrefixes response can properly be determined
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 08:11:55 +02:00
Robin Appelman fc96fa0cc7
fix s3 doesDirectoryExist check for empty directories
if a directory is empty, only the 'marker' object `/` exists.

since not all s3 implementations return just the prefix when listing objects by prefix,
when listing objects by the folder prefix, nothing will be returned if the directory is empty.
by not including the trailing slash in the prefix, the folder marked will always be returned if it exists

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-10 08:11:55 +02:00
Daniel Calviño Sánchez 58d57b35ea Add integration tests for transferring ownership of reshares
Currently only transferring ownership of a reshare with a group to a
user in the group is possible.

When transferring ownership of a reshare with another user or with a
group to a user not in the group restoring the share fails (but the
command succeeds, it only fails for the specific files that are
reshares).

When transferring ownership of a path that is a reshare the command
fails (as when a specific path is provided the path tries to move the
file, it does not take into account reshares).

The added integration tests reflect the above behaviours.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:34:33 +02:00
Daniel Calviño Sánchez 0ce8096839 Check share ownership after transferring file ownership
The integration tests did not verify that the shares were actually
transferred between the users (or that they were removed due to being
transferred to the sharee).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:24:16 +02:00
Daniel Calviño Sánchez d3d01d6355 Check whether file exists or not after transferring ownership
The integration tests did not verify that the files were actually
transferred between the users, only that the files were downloadable.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:18:53 +02:00
Morris Jobke 9780c4f755
Merge pull request #22700 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.18.0
Bump blueimp-md5 from 2.17.0 to 2.18.0
2020-09-09 22:09:31 +02:00
Roeland Jago Douma 6895d97cf0
Merge pull request #22520 from nextcloud/normalize-path-invalid-utf8
dont use `false` as cache key for non utf8 path in normalizePath
2020-09-09 21:52:36 +02:00
Roeland Jago Douma e7f03486ad
Merge pull request #22651 from nextcloud/fix/s3/empty_files
Fix reading empty files from objectstorage
2020-09-09 21:43:59 +02:00
Roeland Jago Douma c104c192ae
Merge pull request #22663 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.7
Bump karma-viewport from 1.0.6 to 1.0.7 in /build
2020-09-09 21:24:28 +02:00
Roeland Jago Douma 94eff7d797
Merge pull request #22587 from timm2k/patch-1
Check if var debugMode exists
2020-09-09 21:21:27 +02:00
Roeland Jago Douma fe5f8c5010
Merge pull request #22600 from nextcloud/dependabot/npm_and_yarn/build/http-proxy-1.18.1
[Security] Bump http-proxy from 1.17.0 to 1.18.1 in /build
2020-09-09 20:55:08 +02:00
Roeland Jago Douma 918d1f68b5
Merge pull request #22634 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-09 20:53:26 +02:00
Roeland Jago Douma bb06b6cce4
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 20:45:13 +02:00
dependabot[bot] cb76d6a872
Bump blueimp-md5 from 2.17.0 to 2.18.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.17.0...v2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 18:37:49 +00:00
Morris Jobke cd563023db
Merge pull request #22657 from nextcloud/bugfix/noid/quota-trash-creation
Check if quota should be applied to path when creating directories
2020-09-09 17:37:28 +02:00