summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move humanFileSize and OC.getCanonicalLocale to npm packagesChristoph Wurst2020-06-0555-457/+260
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-06-0568-54/+158
|
* Merge pull request #20914 from nextcloud/enh/deprecated_event_log_usageRoeland Jago Douma2020-06-044-6/+126
|\ | | | | Log usage of a deprecated event instead of emitting
| * Log usage of a deprecated event instead of emittingRoeland Jago Douma2020-05-224-6/+126
| | | | | | | | | | | | | | This way we can track down what is being used and migrate them over. And slowly kill the old way in a release or 2. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21232 from ↵Roeland Jago Douma2020-06-041-1/+1
|\ \ | | | | | | | | | | | | nextcloud/bug/20427/use-OC-CLI-instead-of-PHP-SAPI Use \OC::$CLI instead of PHP_SAPI
| * | Use \OC::$CLI instead of PHP_SAPIThomas Citharel2020-06-041-1/+1
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #21165 from ↵Roeland Jago Douma2020-06-042-81/+81
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.10.1 Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1
| * | | Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1dependabot-preview[bot]2020-06-032-81/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.8.3 to 7.10.1. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-plugin-proposal-class-properties) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | Merge pull request #21191 from nextcloud/td/js/use_routerRoeland Jago Douma2020-06-0419-307/+97
|\ \ \ \ | |_|/ / |/| | | OC.routing is just a @nextcloud/routing proxy
| * | | OC.routing is just a @nextcloud/routing proxyRoeland Jago Douma2020-06-0419-307/+97
|/ / / | | | | | | | | | | | | | | | So lets kill the duplicate code! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #21199 from ↵Joas Schilling2020-06-042-5/+5
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/prevent-harder-sharing-your-root Prevent harder to share your root
| * | | Prevent harder to share your rootJoas Schilling2020-06-032-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | [tx-robot] updated from transifexNextcloud bot2020-06-048-2/+58
| | | |
* | | | Merge pull request #20938 from nextcloud/fix/share-talk-verificationChristoph Wurst2020-06-035-40/+75
|\ \ \ \ | |_|/ / |/| | | Fix the Talk verification
| * | | Restore previous state when failing to change video verification stateDaniel Calviño Sánchez2020-06-013-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When video verification can not be enabled or disabled the previous state is set again in the JavaScript share object. This ensures that the UI will not reflect a misleading state. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | Fix the Talk verificationChristoph Wurst2020-06-015-40/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When enabling or disabling Talk verification in mail shares the server expects also a new password to be set. As we always just update one property at a time this means the Talk verification was impossible to activate or deactivate. With this patch, we send the talk option AND the new password. If there is no new password, the Talk option is disabled (in mail shares; in link shares it is possible to enable or disable the video verification without changing the password). When we finally have descriptive text on ActionCheckbox'es we should definitely add some explanatory text for the user. Right now this is as good as it gets. We'll have to backport to 18. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #21168 from ↵Roeland Jago Douma2020-06-032-360/+1961
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.10.2 Bump @babel/preset-env from 7.9.6 to 7.10.2
| * | | | Bump @babel/preset-env from 7.9.6 to 7.10.2dependabot-preview[bot]2020-06-032-360/+1961
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.9.6 to 7.10.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-preset-env) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | Merge pull request #21166 from ↵Roeland Jago Douma2020-06-032-92/+202
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/babel/core-7.10.2 Bump @babel/core from 7.9.6 to 7.10.2
| * | | | Bump @babel/core from 7.9.6 to 7.10.2dependabot-preview[bot]2020-05-312-92/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.6 to 7.10.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | | Merge pull request #21167 from ↵Roeland Jago Douma2020-06-034-9/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/vue-router-3.3.2 Bump vue-router from 3.2.0 to 3.3.2
| * | | | | Bump vue-router from 3.2.0 to 3.3.2dependabot-preview[bot]2020-06-024-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.2.0 to 3.3.2. - [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.2.0...v3.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | | Merge pull request #21091 from nextcloud/sftp-normalize-pathJoas Schilling2020-06-032-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | normalize sftp path in read and write stream
| * | | | | | normalize sftp path in read and write streamRobin Appelman2020-05-252-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #21181 from nextcloud/fix/remote-share-remove-error-handlingChristoph Wurst2020-06-031-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Do not only catch Exceptions but any Throwable during rmt share delete
| * | | | | | | Do not only catch Exceptions but any Throwable during rmt share deleteChristoph Wurst2020-06-021-2/+2
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a remote share is deleted, we notify the remove instance. This may trigger various error conditions, which we want to catch in order to avoid undeletable shares. The try-catch, however, did only capture exceptions, so things like TypeErrors were not caught and caused the process to fail hard. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2020-06-0316-4/+68
| | | | | | |
* | | | | | | Merge pull request #21190 from nextcloud/td/js/linterRoeland Jago Douma2020-06-0220-159/+101
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Fix some linter warning
| * | | | | | Fix some linter warningRoeland Jago Douma2020-06-0220-159/+101
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of my ongoing battle against deprecation messages. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | | Merge pull request #21164 from ↵Roeland Jago Douma2020-06-0212-22/+22
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.3.1 Bump @nextcloud/dialogs from 1.3.0 to 1.3.1
| * | | | | Bump @nextcloud/dialogs from 1.3.0 to 1.3.1dependabot-preview[bot]2020-05-3112-22/+22
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases) - [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.3.0...v1.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-06-0210-20/+62
| |_|/ / |/| | |
* | | | [tx-robot] updated from transifexNextcloud bot2020-06-0126-196/+550
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2020-05-314-10/+60
|/ / /
* | | Merge pull request #21155 from nextcloud/td/move_to_capabilities_packageRoeland Jago Douma2020-05-3021-84/+95
|\ \ \ | | | | | | | | Move to @nextcloud/capabilities package
| * | | Move to @nextcloud/capabilities packageRoeland Jago Douma2020-05-2921-84/+95
| | | | | | | | | | | | | | | | | | | | | | | | And kill of oc_capabilities and _oc_capabilities globals Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | [tx-robot] updated from transifexNextcloud bot2020-05-30142-970/+1240
| | | |
* | | | Merge pull request #21154 from nextcloud/fix/file_info_load_orderMorris Jobke2020-05-291-2/+2
|\ \ \ \ | | | | | | | | | | Fix the loading order of the js files_info and files_client
| * | | | Fix the loading order of the js files_info and files_clientRoeland Jago Douma2020-05-291-2/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #21156 from ↵Morris Jobke2020-05-291-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/do-not-clone-the-whole-talk-repository-for-integration-tests Do not clone the whole Talk repository for integration tests
| * | | | Do not clone the whole Talk repository for integration testsDaniel Calviño Sánchez2020-05-291-1/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #21141 from nextcloud/fix/require-ext-pdo-composerRoeland Jago Douma2020-05-292-3/+5
|\ \ \ \ | |/ / / |/| | | List ext-pdo as hard requirement for composer
| * | | List ext-pdo as hard requirement for composerChristoph Wurst2020-05-282-3/+5
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20970 from nextcloud/td/js/escape-html-globalRoeland Jago Douma2020-05-2929-105/+121
|\ \ \ \ | | | | | | | | | | Remove the escape-html global
| * | | | Remove the escape-html globalRoeland Jago Douma2020-05-2929-105/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Already announced for 19 that it would go. So now it realy does go. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | | | Merge pull request #21143 from ↵Roeland Jago Douma2020-05-2914-30/+1326
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/fix-password-changes-in-link-and-mail-shares Fix password changes in link and mail shares
| * | | | Add integration tests for video verificationDaniel Calviño Sánchez2020-05-294-0/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabling the "send password by Talk" property of shares require that Talk is installed and enabled, so the Drone step that runs them has to first clone the Talk repository. When the integration tests are run on a local development instance, however, it is not guaranteed that Talk is installed. Due to this the "@Talk" tag was added, which ensures that any feature or scenario marked with it will first check if Talk is installed and, if not, skip the scenario (instead of failing). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Add integration tests for creating and updating a mail shareDaniel Calviño Sánchez2020-05-295-0/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In most cases, when a mail share is created or updated an e-mail is sent to the sharee, which is done by connecting to the SMTP server set in the configuration. If the server can not be contacted then the creation or update of the mail share fails. To make possible to test mail shares without using a real SMTP server a fake one has been added. The original script, which is MIT licensed, was based on inetd, so it was slightly modified to run on its own. In order to use it from the integration tests the "Given dummy mail server is listening" step has to be called in the scenarios in which the mail server is needed. For now that is the only available step; things like checking the sent mails, while possible (as the script can log the mails to certain file), have not been added yet. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Generalize integration test steps to download last shareDaniel Calviño Sánchez2020-05-292-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the "last link share can be downloaded" step was kept as it tests the "url" property specific of link shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Remove unused variablesDaniel Calviño Sánchez2020-05-292-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>