aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Compile assetsnpmbuildbot-nextcloud[bot]2020-10-292-2/+2
| | | | Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump @nextcloud/vue from 3.0.0 to 3.1.0dependabot-preview[bot]2020-10-272-2/+2
| | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.0.0...v3.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump p-queue from 6.6.1 to 6.6.2dependabot-preview[bot]2020-10-242-2/+2
| | | | | | | | | Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.6.1 to 6.6.2. - [Release notes](https://github.com/sindresorhus/p-queue/releases) - [Commits](https://github.com/sindresorhus/p-queue/compare/v6.6.1...v6.6.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix sharing input placeholder for emailsJohn Molakvoæ (skjnldsv)2020-10-232-2/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/vue to 3.0.0John Molakvoæ (skjnldsv)2020-10-2012-12/+12
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump v-click-outside from 3.1.1 to 3.1.2dependabot-preview[bot]2020-10-192-2/+2
| | | | | | | | | Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/ndelvalle/v-click-outside/releases) - [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.1...v3.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump file-loader from 6.1.0 to 6.1.1dependabot-preview[bot]2020-10-194-4/+4
| | | | | | | | | | Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.0 to 6.1.1. - [Release notes](https://github.com/webpack-contrib/file-loader/releases) - [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.0...v6.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Indicate preview availability in share api responsesRichard Steinmetz2020-10-133-2/+3
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Bump @nextcloud/vue from 2.6.9 to 2.7.0dependabot-preview[bot]2020-10-122-2/+2
| | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.9 to 2.7.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.9...v2.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/vue to v2.6.9John Molakvoæ (skjnldsv)2020-10-072-2/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Upgrade lifecycle and vue parent contextJohn Molakvoæ (skjnldsv)2020-10-0712-12/+12
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/vue to v2.6.8John Molakvoæ (skjnldsv)2020-10-022-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update @nextcloud/vue to 2.6.7Joas Schilling2020-10-022-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump @nextcloud/vue to 2.6.6Joas Schilling2020-09-307-7/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Never copy the share link when the password is forcedJoas Schilling2020-09-182-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump @nextcloud/vue from 2.6.4 to 2.6.5dependabot-preview[bot]2020-09-142-2/+2
| | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.4 to 2.6.5. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.4...v2.6.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump @nextcloud/l10n from 1.4.0 to 1.4.1dependabot-preview[bot]2020-09-102-2/+2
| | | | | | | | | | | 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>
* Compile assetsnpmbuildbot[bot]2020-09-102-2/+2
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add 'Reasons to use Nextcloud in your organization' call to action in settingsJan C. Borchardt2020-09-0712-12/+12
| | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* Bump @nextcloud/vue to v2.6.3John Molakvoæ (skjnldsv)2020-09-037-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud-vue-collections from 0.7.2 to 0.8.1dependabot-preview[bot]2020-08-2712-12/+12
| | | | | | | | | Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.7.2 to 0.8.1. - [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases) - [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.7.2...v0.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump vue and vue-template-compilerdependabot-preview[bot]2020-08-254-4/+4
| | | | | | | | | | | | | | | Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together. Updates `vue` from 2.6.11 to 2.6.12 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.11...v2.6.12) Updates `vue-template-compiler` from 2.6.11 to 2.6.12 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.11...v2.6.12) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Only copy the link when updating a share or no password was forcedJoas Schilling2020-08-202-2/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Display user-status in sharing listGeorg Ehrke2020-08-172-2/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add @nextcloud/event-bus to babel transpileJohn Molakvoæ (skjnldsv)2020-07-312-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-316-6/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/eslint-config and peersJohn Molakvoæ (skjnldsv)2020-07-312-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-3113-33/+33
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump p-queue from 6.4.0 to 6.6.0dependabot-preview[bot]2020-07-312-2/+2
| | | | | | | | | Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.4.0 to 6.6.0. - [Release notes](https://github.com/sindresorhus/p-queue/releases) - [Commits](https://github.com/sindresorhus/p-queue/compare/v6.4.0...v6.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/vue from 2.2.1 to 2.3.0Georg Ehrke2020-07-232-2/+2
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Respect default share permissionsRoeland Jago Douma2020-07-232-2/+2
| | | | | | Else we'll always create new shares with the max permissions. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Recompile JS assetsGeorg Ehrke2020-07-2212-12/+12
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Bump @nextcloud/axios from 1.3.2 to 1.3.3dependabot-preview[bot]2020-07-2012-12/+12
| | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.3.2 to 1.3.3. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.3.2...v1.3.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-208-8/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4dependabot-preview[bot]2020-07-152-2/+2
| | | | | | | | | | Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 to 7.10.4. - [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.10.4/packages/babel-plugin-proposal-class-properties) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Compile assetsnpmbuildbot[bot]2020-07-1412-12/+18
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add user input for link share labelsGary Kim2020-07-141-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Improve error reporting on sharing errorsJoas Schilling2020-07-087-7/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump bundlesJulius Härtl2020-07-076-909/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup share by mail a bitRoeland Jago Douma2020-07-062-2/+2
| | | | | | | | | | | | | | | | * Moved to ned IBootstrap * Register everything via the capabilities api (So clients can use it as well) - This applies to the enforcing passwords * Updated the sharing js code to use it * removed app.php * removed unused settings now * typehints * strict typing Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump @nextcloud/router from 1.0.2 to 1.1.0dependabot-preview[bot]2020-07-0312-47/+47
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix share permission checkboxes enabled when permissions can not be setDaniel Calviño Sánchez2020-06-122-15/+15
| | | | | | | | | | | | | | 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>
* Pass the proper share permissions to the create share callRoeland Jago Douma2020-06-092-2/+2
| | | | | | | | Fixes #21188 This way we do not run into the share permission issue Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump @nextcloud/auth from 1.2.3 to 1.3.0dependabot-preview[bot]2020-06-074-4/+4
| | | | | | | | | | Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-auth/releases) - [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.2.3...v1.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move humanFileSize and OC.getCanonicalLocale to npm packagesChristoph Wurst2020-06-055-29/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Restore previous state when failing to change video verification stateDaniel Calviño Sánchez2020-06-012-2/+2
| | | | | | | | 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-012-19/+19
| | | | | | | | | | | | | | | | | | 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>
* Remove the escape-html globalRoeland Jago Douma2020-05-2912-47/+54
| | | | | | | 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 #20629 from mejo-/files_sharing_preview_textRoeland Jago Douma2020-05-151-1/+2
|\ | | | | Don't load text file preview when text app is available (Fixes: #20615)
| * Don't load text file preview when text app is available (Fixes: #20615)Jonas Meurer2020-04-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | When opening a shared text document, the files_sharing app uses internal preview support in case no other app to open the text file is available. So far, it only checks for the old files_texteditor app, not for the new new text app. This commit fixes this by checking for both. Signed-off-by: Jonas Meurer <jonas@freesources.org>