Commit Graph

53983 Commits

Author SHA1 Message Date
Christoph Wurst 69571fb536
Add dedicated API for apps' bootstrapping process
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:21 +02:00
Nextcloud bot d1b03f5adf
[tx-robot] updated from transifex 2020-06-17 02:15:44 +00:00
Joas Schilling 4cff3a3a86
Merge pull request #21432 from nextcloud/fix/exception-getresult
Fix invalid usage of \Exception::getResult
2020-06-16 21:24:10 +02:00
Joas Schilling c76fa60571
Don't break event listeners with the GenericEventWrapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 19:30:36 +02:00
Christoph Wurst 94a95ffceb
Fix invalid usage of \Exception::getResult
Only OCS exceptions have a getResult method. Any other exception will
cause another error due to this invalid method call.

This splits the catch into a specific one for OCS and then a generic one
for anything else that can't be handled.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16 15:37:20 +02:00
Joas Schilling eca3c9f6b1
Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 12:21:10 +02:00
blizzz 0ab6ee40de
be more clear about the condition
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
2020-06-16 10:55:51 +02:00
Christoph Wurst 5e52c110bb
Merge pull request #21416 from nextcloud/fix/user-deleted-token-cleanup
Clean up auth tokens when user is deleted
2020-06-16 10:01:29 +02:00
Nextcloud bot df18c47b42
[tx-robot] updated from transifex 2020-06-16 02:16:05 +00:00
Arthur Schiwon 0cf57d1ed4
getXbyY can still return false, e.g. when using ldap write support
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-15 21:48:27 +02:00
Roeland Jago Douma b5cf0467cd
Merge pull request #21408 from nextcloud/bugfix/21088/duplicate-sharee-match
Avoid duplicate matches in wide and exact results
2020-06-15 19:50:26 +02:00
Christoph Wurst 3474afa938
Clean up auth tokens when user is deleted
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-15 19:24:04 +02:00
Joas Schilling 2d96e89386
Rebuild JS files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling b5140309e5
Add darkmode support for the modal background
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling be0ecbc8c7
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Joas Schilling b1f74b0056
Fix modal support for vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Roeland Jago Douma 2d262a1a03
Merge pull request #21404 from nextcloud/bugfix/noid/flow-tag-parent-share
Flow: Include root folder for shared storages when fetching system tags
2020-06-15 16:31:50 +02:00
Roeland Jago Douma 552b1d6da5
Merge pull request #21397 from nextcloud/dependabot/npm_and_yarn/css-loader-3.6.0
Bump css-loader from 3.5.3 to 3.6.0
2020-06-15 16:29:50 +02:00
Roeland Jago Douma 13f119d48d
Merge pull request #21394 from nextcloud/dependabot/npm_and_yarn/vue-router-3.3.4
Bump vue-router from 3.3.2 to 3.3.4
2020-06-15 10:18:54 +02:00
Julius Härtl 294e40db5f
Avoid duplicate matches in wide and exact results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15 09:34:57 +02:00
dependabot-preview[bot] e8802cf8aa
Bump css-loader from 3.5.3 to 3.6.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.5.3 to 3.6.0.
- [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/v3.5.3...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:27:35 +00:00
Roeland Jago Douma 21d3b4d30d
Merge pull request #21395 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.21.2
Bump eslint-plugin-import from 2.20.2 to 2.21.2
2020-06-15 09:25:15 +02:00
Christoph Wurst 9d392891be
Disable Client-Side Monitoring on AWS storage
The S3 client enables this by default and then tries to read
`.aws/config`. This causes `open_basedir` restriction related error for
some setups. So this patch disables the CSM because it's most likely
unused anyway.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-15 09:13:08 +02:00
dependabot-preview[bot] 3c90d94acb Bump vue-router from 3.3.2 to 3.3.4
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.3.2 to 3.3.4.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.3.2...v3.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-15 07:05:09 +00:00
Joas Schilling 839f27b501
Merge pull request #21221 from nextcloud/bugfix/20720/fix-pagination-of-contacts-search
Fix pagination of contacts search
2020-06-15 08:46:41 +02:00
Julius Härtl 11329dcb42
Flow: Include root folder for shared storages when fetching system tags
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15 08:28:12 +02:00
Nextcloud bot 5339d6df02
[tx-robot] updated from transifex 2020-06-15 02:15:55 +00:00
Nextcloud bot f04d526681
[tx-robot] updated from transifex 2020-06-14 02:15:50 +00:00
dependabot-preview[bot] c96bcc89e3
Bump eslint-plugin-import from 2.20.2 to 2.21.2
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.2 to 2.21.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.2...v2.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 01:25:35 +00:00
Joas Schilling de75d8855a
Merge pull request #21380 from nextcloud/bugfix/noid/longer-timeout-for-appstore
Increase timeout of the appstore requests
2020-06-12 23:07:14 +02:00
Joas Schilling b6d5979d0a
Increase timeout of the appstore requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-12 13:01:06 +02:00
Daniel Calviño Sánchez 3ffb482b4e Fix share permission checkboxes enabled when permissions can not be set
A sharee can reshare a file and set the edit, create, delete and share
permissions of the reshare only if the received share has edit, create,
delete and share permissions, or if they were revoked in the received
share after being set in the reshare. Therefore, the permission
checkboxes in the share menu should be enabled only if the user can set
them (otherwise trying to check them will lead to an error).

Note that "sharePermissions" has all the permissions if the file is not
a reshare but a file owned by the user.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-12 00:05:36 +02:00
Daniel Calviño Sánchez 2c6d5068ad Add acceptance test for disabling create permission after sharing
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:18:21 +02:00
Daniel Calviño Sánchez 33222d67ea Add acceptance test for sharing a folder without create permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:17:33 +02:00
Daniel Calviño Sánchez 573bf4d667 Add acceptance test for sharing a file without edit permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:15:26 +02:00
Daniel Calviño Sánchez cafa68493a Generalize functions to get locators for share permission checkboxes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:12:20 +02:00
Roeland Jago Douma c3267a58c9
Merge pull request #21358 from nextcloud/enhancement/search-group-by-displayname
Allow group search by display name
2020-06-11 16:10:34 +02:00
Roeland Jago Douma 02e854d64d
Merge pull request #21282 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.4.0
Bump @nextcloud/dialogs from 1.3.1 to 1.4.0
2020-06-11 15:18:40 +02:00
Nextcloud bot e1e7de43c1
[tx-robot] updated from transifex 2020-06-11 02:15:48 +00:00
Joas Schilling 291640273d
Respect "prefers-color-scheme" media selector for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 23:47:01 +02:00
Christoph Wurst a636aef585
Allow group search by display name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-10 11:44:07 +02:00
Joas Schilling 83303ef9df
Merge pull request #21185 from nextcloud/bugfix/noid/reflect-unreadable-state-in-ui
Reflect unreadable state in the UI
2020-06-10 10:54:51 +02:00
Roeland Jago Douma 3000148e27
Merge pull request #21347 from nextcloud/fix/21188/pass_share_permissions_to_api_call
Pass the proper share permissions to the create share call
2020-06-10 10:35:48 +02:00
Joas Schilling fdd8c86c60
Fix pagination of contacts search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 09:38:59 +02:00
Joas Schilling 31e9ab4961
Reflect unreadable state in the UI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 09:35:36 +02:00
Nextcloud bot 9806dec9b3
[tx-robot] updated from transifex 2020-06-10 02:16:03 +00:00
Roeland Jago Douma d0525df63c
Pass the proper share permissions to the create share call
Fixes #21188

This way we do not run into the share permission issue

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-09 20:59:41 +02:00
Roeland Jago Douma 8bee8e1317
Merge pull request #21317 from FlorentCoppint/s3_upload_part_size
Upload part size as S3 parameter instead of constant value
2020-06-09 19:28:58 +02:00
Robin Appelman 892589746d
Merge pull request #21252 from nextcloud/smb-3.2.5
update icewind/smb to 3.2.5
2020-06-09 12:27:46 +00:00
Roeland Jago Douma 862e3250ff
Merge pull request #21319 from nextcloud/log-level-storage-test
increase log level for storage self-test
2020-06-09 13:11:36 +02:00