aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Extend pending shares list to include remote sharesVincent Petry2021-07-272-3/+45
| | | | | | | And adjust the accept/decline actions to use the right endpoint for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump p-queueJohn Molakvoæ (skjnldsv)2021-07-2610-31/+31
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* RebuildChristopher Ng2021-07-232-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-2312-72/+72
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.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/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix eslint and update bundlesJohn Molakvoæ (skjnldsv)2021-07-222-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @babel/core from 7.14.3 to 7.14.6dependabot[bot]2021-07-1810-77/+103
| | | | | | | | | | | | | | | | | Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.14.6. - [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.14.6/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump @nextcloud/event-bus from 1.3.0 to 2.0.0dependabot[bot]2021-07-1812-78/+78
| | | | | | | | | | | | | | | | | Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.3.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases) - [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.3.0...v2.0.0) --- updated-dependencies: - dependency-name: "@nextcloud/event-bus" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump css-loader from 5.2.6 to 5.2.7dependabot[bot]2021-07-174-4/+4
| | | | | | | | | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7. - [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.2.6...v5.2.7) --- updated-dependencies: - dependency-name: css-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Merge pull request #27946 from nextcloud/enh/breadcrumb-detail-view-in-menuJulius Härtl2021-07-142-4/+4
|\ | | | | Show registered breadcrumb detail views in breadcrumb menu
| * show breadcrumb detail view in breadcrumb menuJulien Veyssier2021-07-132-4/+4
| | | | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Bump striptags from 3.1.1 to 3.2.0dependabot[bot]2021-07-142-2/+2
|/ | | | | | | | | | | | | | | Bumps [striptags](https://github.com/ericnorris/striptags) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/ericnorris/striptags/releases) - [Commits](https://github.com/ericnorris/striptags/compare/v3.1.1...v3.2.0) --- updated-dependencies: - dependency-name: striptags dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump @nextcloud/paths from 1.1.2 to 2.0.0dependabot[bot]2021-07-127-40/+40
| | | | | | | Bumps @nextcloud/paths from 1.1.2 to 2.0.0. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump core-js from 3.13.1 to 3.15.1dependabot[bot]2021-06-2412-65/+65
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.13.1 to 3.15.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.15.1/packages/core-js) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Only allow removing existing shares that would not be allowed due to reshare ↵Julius Härtl2021-06-092-3/+3
| | | | | | restrictions Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Emit sidebar eventsLouis Chemineau2021-06-0712-67/+67
| | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> Signed-off-by: Louis Chemineau <louis@chmn.me>
* Port dav calendar settings page to Vue.jsFrançois Freitag2021-06-0512-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Drop reliance on deprecated global jQuery object. - Allow testing user interactions. - Use newer technology stack. --- Test user interactions with the groupware dav settings Add infrastructure to test Vue components: - Use recommended libraries: - https://vuejs.org/v2/guide/testing.html#Recommendations - Use jest-dom for robust assertions on the DOM state - Use user-event to be more representative of user actions - Code is transpiled by Jest, with the help of vue-jest. Ignore test files for no-unpublished-import. Prevent ESLint from flagging: ``` /home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js Error: 1:24 error "@testing-library/vue" is not published node/no-unpublished-import Error: 2:23 error "@testing-library/user-event" is not published node/no-unpublished-import ``` Signed-off-by: François Freitag <mail@franek.fr>
* Replace proposal-class-private-properties by regular propertiesJohn Molakvoæ (skjnldsv)2021-06-022-15/+17
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Rewrite requesttoken.spec.js with JestFrançois Freitag2021-05-3012-65/+65
| | | | | | | | | | | [Jest](https://jestjs.io/) is a test runner that focuses on simplicity. It instruments babel to transform modules and test them. Using Jest simplifies the existing configuration and allows dropping a bunch of workarounds, as well as following the shared Babel configuration for new code. Signed-off-by: François Freitag <mail@franek.fr>
* Npm buildJohn Molakvoæ (skjnldsv)2021-05-2912-71/+71
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump core-js from 3.10.1 to 3.13.1dependabot-preview[bot]2021-05-2910-38/+38
| | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.10.1 to 3.13.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.13.1/packages/core-js) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump css-loader from 5.2.0 to 5.2.6dependabot[bot]2021-05-274-4/+4
| | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.2.6. - [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.2.0...v5.2.6) Signed-off-by: dependabot[bot] <support@github.com>
* Replace node-sass with sassJohn Molakvoæ (skjnldsv)2021-05-274-4/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/vue from 3.7.2 to 3.10.0dependabot-preview[bot]2021-05-275-73/+73
| | | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.7.2 to 3.10.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/v3.10.0/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.7.2...v3.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Move remnants of ocs api requests to v2 endpointJohn Molakvoæ (skjnldsv)2021-05-262-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/browserslist-config from 1.0.0 to 2.1.0dependabot-preview[bot]2021-05-2510-72/+70
| | | | | | | | | Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 1.0.0 to 2.1.0. - [Release notes](https://github.com/nextcloud/browserslist-config/releases) - [Commits](https://github.com/nextcloud/browserslist-config/compare/v1.0.0...v2.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump @babel/core from 7.13.15 to 7.13.16dependabot-preview[bot]2021-04-282-2/+2
| | | | | | | | | | Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16. - [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.16/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Consider read permission in sharing tabRoeland Jago Douma2021-04-192-4/+4
| | | | | | | | When updating a share we should make sure to use all the old permissions (and only change what we actually changed). So the READ permission in this case should also be fetched instead of always granted. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Separate settings for remote share expirationVincent Petry2021-04-152-4/+4
| | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix undefined error on add-shareJohn Molakvoæ (skjnldsv)2021-04-132-2/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump core-js from 3.9.1 to 3.10.1dependabot-preview[bot]2021-04-084-24/+24
| | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.9.1 to 3.10.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.10.1/packages/core-js) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Compile nodeJohn Molakvoæ (skjnldsv)2021-03-3112-16/+151
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump url-search-params-polyfill from 8.1.0 to 8.1.1dependabot-preview[bot]2021-03-292-2/+2
| | | | | | | | | Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 8.1.0 to 8.1.1. - [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases) - [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Sharing link & mail parityJohn Molakvoæ (skjnldsv)2021-03-222-21/+42
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump clipboard from 2.0.6 to 2.0.8dependabot-preview[bot]2021-03-202-4/+4
| | | | | | | | | Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.6 to 2.0.8. - [Release notes](https://github.com/zenorocha/clipboard.js/releases) - [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.6...v2.0.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix TerserPluginJohn Molakvoæ (skjnldsv)2021-03-1710-10/+1442
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix SharingInput MultiselectJohn Molakvoæ (skjnldsv)2021-03-112-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Compile jsJohn Molakvoæ (skjnldsv)2021-03-1110-10/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Only clear share password model when actually savedVincent Petry2021-03-112-2/+2
| | | | | | | | | | | Instead of always clearing the password in the share model, now only do it when it was actually saved. Fixes an issue where saving another field would clear the password too early and prevent it to be saved when the dropdown closed. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump css-loader from 5.0.1 to 5.1.1dependabot-preview[bot]2021-03-102-2/+2
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.0.1 to 5.1.1. - [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.0.1...v5.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Hide expiration date field for remote sharesVincent Petry2021-03-092-2/+2
| | | | | | Remote shares currently do not support expiration date. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump core-js from 3.8.3 to 3.9.1dependabot-preview[bot]2021-03-0512-12/+12
| | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.8.3 to 3.9.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.9.1/packages/core-js) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add appconfig to always show the unique label of a shareeJulius Härtl2021-03-042-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Clear multiselect after selection in share panelVincent Petry2021-03-032-2/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump @babel/core from 7.12.16 to 7.13.8dependabot-preview[bot]2021-03-012-2/+2
| | | | | | | | | | Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.13.8. - [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.8/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Avoid creating two share links when password is enforcedJulius Härtl2021-02-192-2/+2
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Use ownerDisplayName for SharingEntry TooltipDan VerWeire2021-02-122-2/+2
| | | | | | | | | | Some NC installations may use a LDAP UUID for the username. If that is the case, then the tooltip for who a file/folder was shared by may say something like `Shared with Steve McQueen (smqueen@yada.com) by FKDJ39-38D794JG-4398GJODF9H3G-4534`. This commit changes the value showed for the owner to the full display name. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Merge pull request #25493 from Worteks/fix-filessharing-debugRoeland Jago Douma2021-02-082-2/+2
|\ | | | | fix(log): remove debug log in _formatRemoteShare, suggested by @maxbes
| * fix(ci): build additionalScriptsSamuel2021-02-072-2/+2
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Bump @babel/preset-env from 7.12.11 to 7.12.13dependabot-preview[bot]2021-02-073-3/+3
| | | | | | | | | | | | | | | | | | | | Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13. - [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.12.13/packages/babel-preset-env) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Sharing dropdown now opens belowVincent Petry2021-02-052-2/+2
|/ | | | | | | | Fixes an issue where the dropdown list was not visible on small screens as it would appear above the field and be hidden behind the container border. Signed-off-by: Vincent Petry <vincent@nextcloud.com>