]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years ago[3rdparty] Bump giggsey/libphonenumber-for-php to 8.12.20 26229/head
Roeland Jago Douma [Sat, 20 Mar 2021 11:27:35 +0000 (12:27 +0100)]
[3rdparty] Bump giggsey/libphonenumber-for-php to 8.12.20

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #26213 from nextcloud/wiswedel/fix/style/files/settingsDisplacement
Roeland Jago Douma [Sat, 20 Mar 2021 09:54:27 +0000 (10:54 +0100)]
Merge pull request #26213 from nextcloud/wiswedel/fix/style/files/settingsDisplacement

Removed unnecessary padding

3 years agoMerge pull request #26222 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.3
Roeland Jago Douma [Sat, 20 Mar 2021 09:50:00 +0000 (10:50 +0100)]
Merge pull request #26222 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.3

Bump css-loader from 5.1.2 to 5.1.3

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 20 Mar 2021 02:23:44 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoBump css-loader from 5.1.2 to 5.1.3 26222/head
dependabot-preview[bot] [Sat, 20 Mar 2021 02:19:15 +0000 (02:19 +0000)]
Bump css-loader from 5.1.2 to 5.1.3

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #26212 from nextcloud/fix-dashboard-background
Morris Jobke [Fri, 19 Mar 2021 19:30:49 +0000 (20:30 +0100)]
Merge pull request #26212 from nextcloud/fix-dashboard-background

Make background cover whole viewport

3 years agoMerge pull request #26070 from nextcloud/path-prefix-index
Morris Jobke [Fri, 19 Mar 2021 19:21:36 +0000 (20:21 +0100)]
Merge pull request #26070 from nextcloud/path-prefix-index

add a prefix index to filecache.path

3 years agoadd a prefix index to filecache.path 26070/head
Robin Appelman [Thu, 11 Mar 2021 15:37:23 +0000 (16:37 +0100)]
add a prefix index to filecache.path

The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26061 from nextcloud/bugfix/noid/encryption-update-failure
Vincent Petry [Fri, 19 Mar 2021 16:36:34 +0000 (17:36 +0100)]
Merge pull request #26061 from nextcloud/bugfix/noid/encryption-update-failure

Log and continue when failing to update encryption keys during for individual files

3 years agoMerge pull request #26145 from nextcloud/smb-force-write-option
Morris Jobke [Fri, 19 Mar 2021 14:31:04 +0000 (15:31 +0100)]
Merge pull request #26145 from nextcloud/smb-force-write-option

add (hidden) option to always show smb root as writable

3 years agoMerge pull request #25129 from nextcloud/bugfix/smb-notify-subpath
Vincent Petry [Fri, 19 Mar 2021 13:53:16 +0000 (14:53 +0100)]
Merge pull request #25129 from nextcloud/bugfix/smb-notify-subpath

Fix files_external:notify command when running withing a subdirectory

3 years agoRemoved unnecessary padding 26213/head
Sascha Wiswedel [Fri, 19 Mar 2021 13:24:10 +0000 (14:24 +0100)]
Removed unnecessary padding

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
3 years agoFix phpcs issues in encryption update 26061/head
Vincent Petry [Mon, 15 Mar 2021 17:05:27 +0000 (18:05 +0100)]
Fix phpcs issues in encryption update

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoLog and continue when failing to update encryption keys during for individual files
Julius Härtl [Thu, 11 Mar 2021 10:32:29 +0000 (11:32 +0100)]
Log and continue when failing to update encryption keys during for individual files

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMake background cover whole viewport 26212/head
Jo Sprague [Mon, 15 Mar 2021 13:45:42 +0000 (13:45 +0000)]
Make background cover whole viewport

Without a min-height, wider viewports can result in a blank white space at the bottom of the screen. This CSS ensures that doesn't happen.

Signed-off-by: Jo Sprague <git@josprague.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #23718 from nextcloud/already-shared-error-message
Roeland Jago Douma [Fri, 19 Mar 2021 12:39:22 +0000 (13:39 +0100)]
Merge pull request #23718 from nextcloud/already-shared-error-message

expand 'path is already shared' error message

3 years agoMerge pull request #26196 from nextcloud/fix/app-sidebar-description-slot
Julien Veyssier [Fri, 19 Mar 2021 12:32:46 +0000 (13:32 +0100)]
Merge pull request #26196 from nextcloud/fix/app-sidebar-description-slot

Adapt files and app settings to @nc/vue changes

3 years agoadapt files and app settings sidebar 'primary-actions' slot that became 'description... 26196/head
Julien Veyssier [Thu, 18 Mar 2021 10:40:35 +0000 (11:40 +0100)]
adapt files and app settings sidebar 'primary-actions' slot that became 'description' in @nc/vue v3.3.0

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #26200 from nextcloud/bugfix/26197/fix-expiration-validation-confusion
Vincent Petry [Fri, 19 Mar 2021 09:51:21 +0000 (10:51 +0100)]
Merge pull request #26200 from nextcloud/bugfix/26197/fix-expiration-validation-confusion

Update user share must use correct expiration validation

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 19 Mar 2021 02:24:56 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoUpdate user share must use correct expiration validation 26200/head
Vincent Petry [Thu, 18 Mar 2021 16:12:28 +0000 (17:12 +0100)]
Update user share must use correct expiration validation

Updating a user or group share now uses the correct method for the
validation of the expiration date. Instead of using the one from links
it uses the one for internal shares.

To avoid future confusion, the method "validateExpirationDate" has been
renamed to "validateExpirationDateLink".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #26194 from nextcloud/techdebt/noid/remove-duplicate-sharing-unit...
John Molakvoæ [Thu, 18 Mar 2021 15:37:29 +0000 (16:37 +0100)]
Merge pull request #26194 from nextcloud/techdebt/noid/remove-duplicate-sharing-unit-integration-tests-group-permission

Remove duplicate unit test in sharing that checks for group permission updates

3 years agoMerge pull request #26189 from nextcloud/techdept/qbmapper-execute-update-query
Roeland Jago Douma [Thu, 18 Mar 2021 15:17:54 +0000 (16:17 +0100)]
Merge pull request #26189 from nextcloud/techdept/qbmapper-execute-update-query

Use executeQuery and executeUpdate in the QBMapper

3 years agoUse executeQuery and executeUpdate in the QBMapper 26189/head
Christoph Wurst [Thu, 18 Mar 2021 07:28:06 +0000 (08:28 +0100)]
Use executeQuery and executeUpdate in the QBMapper

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #26193 from nextcloud/techdebt/noid/remove-sharing-duplicate-unit...
Morris Jobke [Thu, 18 Mar 2021 10:34:15 +0000 (11:34 +0100)]
Merge pull request #26193 from nextcloud/techdebt/noid/remove-sharing-duplicate-unit-integration-tests

Permission tests for the sharing are fully covered in sharing v1 integration tests

3 years agoRemove duplicate unit test in sharing that checks for group permission updates 26194/head
Morris Jobke [Thu, 18 Mar 2021 09:28:22 +0000 (10:28 +0100)]
Remove duplicate unit test in sharing that checks for group permission updates

* it was skipped before anyways
* it is covered for example in build/integration/sharing_features/sharing-v1-part3.feature#L517-L548 (see https://github.com/nextcloud/server/blob/54f8f75f6f82ca102b1cfdb88caf0d06e6c9ba31/build/integration/sharing_features/sharing-v1-part3.feature#L517-L548)
* more permission updates are tested in the webdav section, where an OCS API is called and the WebDAV response is checked for the properly changed permission

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoPermission tests for the sharing are fully covered in sharing v1 integration tests 26193/head
Morris Jobke [Thu, 18 Mar 2021 09:15:41 +0000 (10:15 +0100)]
Permission tests for the sharing are fully covered in sharing v1 integration tests

See build/integration/sharing_features/sharing-v1*.features for the exact same tests. Especially part3 that covers most of the different permission setups over webdav.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #25112 from nextcloud/repair-exception
kesselb [Thu, 18 Mar 2021 09:14:47 +0000 (10:14 +0100)]
Merge pull request #25112 from nextcloud/repair-exception

dont error the entire repair process when a repair step errors

3 years agoMerge pull request #25331 from nextcloud/fix-valid-storages-removed-when-cleaning...
Morris Jobke [Thu, 18 Mar 2021 07:57:09 +0000 (08:57 +0100)]
Merge pull request #25331 from nextcloud/fix-valid-storages-removed-when-cleaning-remote-storages

Fix valid storages removed when cleaning remote storages

3 years agolog full expection during repair step 25112/head
Robin Appelman [Mon, 1 Feb 2021 13:56:56 +0000 (14:56 +0100)]
log full expection during repair step

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agomake repair errors more visible
Robin Appelman [Wed, 13 Jan 2021 18:01:06 +0000 (19:01 +0100)]
make repair errors more visible

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agodont error the entire repair process when a repair step errors
Robin Appelman [Wed, 13 Jan 2021 18:00:45 +0000 (19:00 +0100)]
dont error the entire repair process when a repair step errors

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26188 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Morris Jobke [Thu, 18 Mar 2021 07:30:44 +0000 (08:30 +0100)]
Merge pull request #26188 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 26188/head
Nextcloud-PR-Bot [Thu, 18 Mar 2021 04:34:21 +0000 (04:34 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 18 Mar 2021 02:25:02 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24384 from nextcloud/cleanup/remove-old-migration-check
Morris Jobke [Wed, 17 Mar 2021 20:29:19 +0000 (21:29 +0100)]
Merge pull request #24384 from nextcloud/cleanup/remove-old-migration-check

Remove dead code from checking core/apps before upgrades

3 years agoSkip db migration simulation for core schema changes 24384/head
Julius Härtl [Thu, 26 Nov 2020 10:10:41 +0000 (11:10 +0100)]
Skip db migration simulation for core schema changes

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #25924 from nextcloud/bugfix/noid/only-mark-migrations-as-installe...
Morris Jobke [Wed, 17 Mar 2021 19:29:28 +0000 (20:29 +0100)]
Merge pull request #25924 from nextcloud/bugfix/noid/only-mark-migrations-as-installed-after-executing-them-in-case-the-developer-broke-them

Only mark migrations as installed after execution

3 years agoMerge pull request #25676 from nextcloud/drop/utl-is-ie
Morris Jobke [Wed, 17 Mar 2021 19:18:11 +0000 (20:18 +0100)]
Merge pull request #25676 from nextcloud/drop/utl-is-ie

Drop \OCP\Util::isIe

3 years agoMerge pull request #26160 from nextcloud/enh/eslint
John Molakvoæ [Wed, 17 Mar 2021 17:14:31 +0000 (18:14 +0100)]
Merge pull request #26160 from nextcloud/enh/eslint

3 years agoMerge pull request #24580 from nextcloud/enh/noid/db-convert
Morris Jobke [Wed, 17 Mar 2021 16:52:42 +0000 (17:52 +0100)]
Merge pull request #24580 from nextcloud/enh/noid/db-convert

DB conversion: improve console output

3 years agoMerge pull request #26161 from nextcloud/bugfix/noid/improve-matching-of-phonebook...
Joas Schilling [Wed, 17 Mar 2021 14:22:03 +0000 (15:22 +0100)]
Merge pull request #26161 from nextcloud/bugfix/noid/improve-matching-of-phonebook-searches

Improve search results when only phonebook-matches can we autocompleted

3 years agoFix comments filesplugin 26160/head
John Molakvoæ (skjnldsv) [Wed, 17 Mar 2021 10:42:06 +0000 (11:42 +0100)]
Fix comments filesplugin

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoMerge pull request #26076 from nextcloud/enh/noid/ldap-occ-user-reset
Morris Jobke [Wed, 17 Mar 2021 13:36:18 +0000 (14:36 +0100)]
Merge pull request #26076 from nextcloud/enh/noid/ldap-occ-user-reset

adds ldap user:reset command

3 years agoDB conversion: improve console output 24580/head
Simon Spannagel [Mon, 7 Dec 2020 06:06:56 +0000 (07:06 +0100)]
DB conversion: improve console output

Signed-off-by: Simon Spannagel <simonspa@kth.se>
3 years agoMerge pull request #26172 from nextcloud/techdebt/noid/code-checker-is-noop
Morris Jobke [Wed, 17 Mar 2021 12:45:09 +0000 (13:45 +0100)]
Merge pull request #26172 from nextcloud/techdebt/noid/code-checker-is-noop

occ app:check-code is noop

3 years agoFix TerserPlugin
John Molakvoæ (skjnldsv) [Wed, 17 Mar 2021 08:45:22 +0000 (09:45 +0100)]
Fix TerserPlugin

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoLint fix
John Molakvoæ (skjnldsv) [Wed, 17 Mar 2021 07:25:31 +0000 (08:25 +0100)]
Lint fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoAdd eslint testing
John Molakvoæ (skjnldsv) [Wed, 17 Mar 2021 07:19:11 +0000 (08:19 +0100)]
Add eslint testing

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoMerge pull request #26165 from nextcloud/dependabot/composer/vimeo/psalm-4.6.4
dependabot-preview[bot] [Wed, 17 Mar 2021 10:47:44 +0000 (10:47 +0000)]
Merge pull request #26165 from nextcloud/dependabot/composer/vimeo/psalm-4.6.4

3 years agoocc app:check-code is noop 26172/head
Joas Schilling [Wed, 17 Mar 2021 10:28:33 +0000 (11:28 +0100)]
occ app:check-code is noop

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoadds ldap user:reset command 26076/head
Arthur Schiwon [Thu, 11 Mar 2021 22:23:55 +0000 (23:23 +0100)]
adds ldap user:reset command

- allows to delete data of existing LDAP users, which otherwise is safe
  guarded
- ensures that the user is not being deleted on LDAP through a plugin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoAlso limit to user group in case enumeration is enabled for groups and phonenumbers 26161/head
Joas Schilling [Wed, 17 Mar 2021 09:26:21 +0000 (10:26 +0100)]
Also limit to user group in case enumeration is enabled for groups and phonenumbers

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #26131 from nextcloud/fix/initialstate-templates
Vincent Petry [Wed, 17 Mar 2021 09:18:03 +0000 (10:18 +0100)]
Merge pull request #26131 from nextcloud/fix/initialstate-templates

Fix default missing initial state for templates

3 years agoBump vimeo/psalm from 4.6.2 to 4.6.4 26165/head
dependabot-preview[bot] [Wed, 17 Mar 2021 09:05:25 +0000 (09:05 +0000)]
Bump vimeo/psalm from 4.6.2 to 4.6.4

Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.6.2 to 4.6.4.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.6.2...4.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoFix parameter types in docs
Joas Schilling [Wed, 17 Mar 2021 08:36:06 +0000 (09:36 +0100)]
Fix parameter types in docs

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoAdd missing index on the user column
Joas Schilling [Wed, 17 Mar 2021 08:19:42 +0000 (09:19 +0100)]
Add missing index on the user column

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoImprove search results when only phonebook-matches can we autocompleted
Joas Schilling [Wed, 17 Mar 2021 08:02:37 +0000 (09:02 +0100)]
Improve search results when only phonebook-matches can we autocompleted

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #26153 from nextcloud/psalm/26111/fix-undefined-exception-class
Vincent Petry [Wed, 17 Mar 2021 08:41:47 +0000 (09:41 +0100)]
Merge pull request #26153 from nextcloud/psalm/26111/fix-undefined-exception-class

Use correct exception type hint in catch statement

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 17 Mar 2021 02:24:19 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoUse correct exception type hint in catch statement 26153/head
Morris Jobke [Tue, 16 Mar 2021 21:06:00 +0000 (22:06 +0100)]
Use correct exception type hint in catch statement

Found by psalm update 4.6.2 to 4.6.3 in #26111

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #26137 from nextcloud/block-__groupfolders-uid
Robin Appelman [Tue, 16 Mar 2021 18:47:40 +0000 (18:47 +0000)]
Merge pull request #26137 from nextcloud/block-__groupfolders-uid

dont allow creating users with __groupfolders as uid

3 years agodont allow creating users with __groupfolders as uid 26137/head
Robin Appelman [Mon, 15 Mar 2021 20:09:12 +0000 (21:09 +0100)]
dont allow creating users with __groupfolders as uid

Fixes https://github.com/nextcloud/groupfolders/issues/338

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26013 from nextcloud/object-store-copy-cache-id
Robin Appelman [Tue, 16 Mar 2021 16:11:17 +0000 (16:11 +0000)]
Merge pull request #26013 from nextcloud/object-store-copy-cache-id

Return the fileid from `copyFromCache` and use it instead of doing an extra query

3 years agoadd (hidden) option to always show smb root as writable 26145/head
Robin Appelman [Tue, 16 Mar 2021 14:34:41 +0000 (15:34 +0100)]
add (hidden) option to always show smb root as writable

some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.

This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.

This can be enabled using

```bash
occ files_external:config <mount id> root_force_writable true
```

where you can find your mount id using

```bash
occ files_external:list
```

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26143 from nextcloud/techdebt/noid/fix-cs
Joas Schilling [Tue, 16 Mar 2021 11:50:07 +0000 (12:50 +0100)]
Merge pull request #26143 from nextcloud/techdebt/noid/fix-cs

Fix CS in CacheTest

3 years agoMerge pull request #26144 from nextcloud/funding
Joas Schilling [Tue, 16 Mar 2021 11:49:06 +0000 (12:49 +0100)]
Merge pull request #26144 from nextcloud/funding

Add funding info

3 years agoAdd funding info 26144/head
tobiasKaminsky [Tue, 16 Mar 2021 10:44:59 +0000 (11:44 +0100)]
Add funding info

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
3 years agoFix CS in CacheTest 26143/head
Vincent Petry [Tue, 16 Mar 2021 10:43:53 +0000 (11:43 +0100)]
Fix CS in CacheTest

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 16 Mar 2021 02:24:42 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25136 from nextcloud/cachejail-search-filter
Vincent Petry [Mon, 15 Mar 2021 16:45:30 +0000 (17:45 +0100)]
Merge pull request #25136 from nextcloud/cachejail-search-filter

do cachejail search filtering in sql

3 years agoFix default missing initial state for templates 26131/head
John Molakvoæ (skjnldsv) [Mon, 15 Mar 2021 16:23:30 +0000 (17:23 +0100)]
Fix default missing initial state for templates

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoexpand 'path is already shared' error message 23718/head
Robin Appelman [Tue, 27 Oct 2020 13:29:28 +0000 (14:29 +0100)]
expand 'path is already shared' error message

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26003 from nextcloud/enh/simplefile/getid
Morris Jobke [Mon, 15 Mar 2021 13:41:15 +0000 (14:41 +0100)]
Merge pull request #26003 from nextcloud/enh/simplefile/getid

Add getID function to the simplefile implementation

3 years agoMerge pull request #26115 from nextcloud/enh/noid/log-share-exceptions
kesselb [Mon, 15 Mar 2021 13:15:06 +0000 (14:15 +0100)]
Merge pull request #26115 from nextcloud/enh/noid/log-share-exceptions

Log exceptions when creating share

3 years agoLog exceptions when creating share 26115/head
Vincent Petry [Mon, 15 Mar 2021 11:00:41 +0000 (12:00 +0100)]
Log exceptions when creating share

Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 15 Mar 2021 02:23:58 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 14 Mar 2021 02:23:41 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26097 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.2
dependabot-preview[bot] [Sat, 13 Mar 2021 06:06:40 +0000 (06:06 +0000)]
Merge pull request #26097 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.2

3 years agoMerge pull request #26100 from nextcloud/dependabot/npm_and_yarn/babel/preset-env...
dependabot-preview[bot] [Sat, 13 Mar 2021 04:32:58 +0000 (04:32 +0000)]
Merge pull request #26100 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.13.10

3 years agoBump css-loader from 5.1.1 to 5.1.2 26097/head
dependabot-preview[bot] [Sat, 13 Mar 2021 04:15:33 +0000 (04:15 +0000)]
Bump css-loader from 5.1.1 to 5.1.2

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #26099 from nextcloud/dependabot/npm_and_yarn/chai-4.3.4
dependabot-preview[bot] [Sat, 13 Mar 2021 04:12:49 +0000 (04:12 +0000)]
Merge pull request #26099 from nextcloud/dependabot/npm_and_yarn/chai-4.3.4

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 13 Mar 2021 02:22:53 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

3 years agoBump @babel/preset-env from 7.13.9 to 7.13.10 26100/head
dependabot-preview[bot] [Sat, 13 Mar 2021 02:19:52 +0000 (02:19 +0000)]
Bump @babel/preset-env from 7.13.9 to 7.13.10

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump chai from 4.3.3 to 4.3.4 26099/head
dependabot-preview[bot] [Sat, 13 Mar 2021 02:17:13 +0000 (02:17 +0000)]
Bump chai from 4.3.3 to 4.3.4

Bumps [chai](https://github.com/chaijs/chai) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.3...v4.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoverify that cache entry is valid 26013/head
Robin Appelman [Fri, 12 Mar 2021 16:23:02 +0000 (17:23 +0100)]
verify that cache entry is valid

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoalso implement for FailedCache and NullCache
Robin Appelman [Mon, 8 Mar 2021 18:27:39 +0000 (19:27 +0100)]
also implement for FailedCache and NullCache

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agouse returned file id for object store copy
Robin Appelman [Mon, 8 Mar 2021 17:50:33 +0000 (18:50 +0100)]
use returned file id for object store copy

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoadd ICopyFromCache trait to expose existing implementation
Robin Appelman [Mon, 8 Mar 2021 17:49:08 +0000 (18:49 +0100)]
add ICopyFromCache trait to expose existing implementation

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #25722 from nextcloud/objectstore-copy-cross
Robin Appelman [Fri, 12 Mar 2021 16:10:18 +0000 (16:10 +0000)]
Merge pull request #25722 from nextcloud/objectstore-copy-cross

apply object store copy optimization when 'cross storage' copy is wit…

3 years agoMerge pull request #26049 from nextcloud/search-file-limit-results
Roeland Jago Douma [Fri, 12 Mar 2021 11:58:49 +0000 (12:58 +0100)]
Merge pull request #26049 from nextcloud/search-file-limit-results

limit constructing of result objects in file search

3 years agoMerge pull request #26079 from nextcloud/bugfix/noid/chunk-phone-search
Roeland Jago Douma [Fri, 12 Mar 2021 10:20:35 +0000 (11:20 +0100)]
Merge pull request #26079 from nextcloud/bugfix/noid/chunk-phone-search

Chunk the array of phone numbers

3 years agoMerge pull request #26080 from nextcloud/bugfix/noid/only-clear-known-users-when...
blizzz [Fri, 12 Mar 2021 09:45:36 +0000 (10:45 +0100)]
Merge pull request #26080 from nextcloud/bugfix/noid/only-clear-known-users-when-we-had-at-least-one-phonebook-entry

Only clear known users when we had at least one phonebook entry

3 years agoOnly clear known users when we had at least one phonebook entry 26080/head
Joas Schilling [Fri, 12 Mar 2021 08:04:13 +0000 (09:04 +0100)]
Only clear known users when we had at least one phonebook entry

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix Test class name 26079/head
Joas Schilling [Fri, 12 Mar 2021 07:53:43 +0000 (08:53 +0100)]
Fix Test class name

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoChunk the array of phone numbers
Joas Schilling [Fri, 12 Mar 2021 07:49:23 +0000 (08:49 +0100)]
Chunk the array of phone numbers

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #26072 from nextcloud/s3-no-explicit-close
Roeland Jago Douma [Fri, 12 Mar 2021 07:21:54 +0000 (08:21 +0100)]
Merge pull request #26072 from nextcloud/s3-no-explicit-close

remove explicit fclose from S3->writeStream

3 years agoMerge pull request #26078 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Fri, 12 Mar 2021 06:29:44 +0000 (07:29 +0100)]
Merge pull request #26078 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 26078/head
Nextcloud-PR-Bot [Fri, 12 Mar 2021 04:34:04 +0000 (04:34 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 12 Mar 2021 02:22:44 +0000 (02:22 +0000)]
[tx-robot] updated from transifex