Commit Graph

55442 Commits

Author SHA1 Message Date
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
Morris Jobke e6fca0a519
Fix code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-09 17:36:58 +02:00
Morris Jobke 22ff60e088
Merge pull request #22564 from nextcloud/bugfix/noid/show-avatars-again
The privacy setting is only about syncing to other servers
2020-09-09 17:35:13 +02:00
Morris Jobke 49415eea2c
Merge pull request #22660 from nextcloud/dependabot/composer/psalm/phar-3.15
Bump psalm/phar from 3.12.2 to 3.15
2020-09-09 17:10:06 +02:00
Robin Appelman 928cee2ae7
only get the permissions from the share source if it's not already cached
this prevents having to setup the share source when doing metadata stuff on the share root

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-09 13:48:48 +02:00
Joas Schilling f0b46ea605
Merge pull request #22648 from nextcloud/bugfix/noid/transfer-all-shares
Transfer shares if no path provided
2020-09-09 13:32:43 +02:00
Joas Schilling e280c05053
Merge pull request #22636 from nextcloud/bugfix/noid/initial-stte-cspv3
Make sure that getConfig is still called for browsers that do not support CSPv3
2020-09-09 13:11:59 +02:00
Morris Jobke d8dea5070b
Merge pull request #22729 from nextcloud/fix/object_storage_permissions_shortcut
Run stat less often for objectstorages
2020-09-09 10:43:37 +02:00
Nextcloud-PR-Bot 9c57fff01f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-09 04:23:34 +00:00
blizzz 0485e68ecf
Merge pull request #22649 from nextcloud/fix/noid/user-settings-event
emit typed event for user management
2020-09-08 23:50:01 +02:00
Arthur Schiwon f959828616
emit typed event for user management
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-08 22:50:05 +02:00
Roeland Jago Douma 9fdeed8cc0
Run stat less often for objectstorages
When we want to get the permissions we now do stat at least 5 times for
each entry. Which is a bit much. Especially since the permssions are all
just in the database already.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-08 14:38:36 +02:00
Julius Härtl 74747163d6
Make sure tests cover the new mkdir behaviour on 0 quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 11:35:32 +02:00
Joas Schilling c2bef528ef
Remove unused members and imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-08 10:45:35 +02:00