summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* Fix remote share deletion when deleting userVincent Petry2021-07-272-51/+201
| | | | | | | When deleting a user, we should only delete the direct remote user shares or the remote group based subshares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix route path for pending remote sharesVincent Petry2021-07-276-6/+6
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace ILogger with LoggerInterface in remote share managerVincent Petry2021-07-274-15/+17
| | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
* Fix remote group share decline+accept code pathVincent Petry2021-07-272-1/+43
| | | | | | | | When declining a remote group share through the dialog that appears when notifications are off, the mount point is now correctly saved when re-accepting. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Use mimetype instead of type when defaulting in remote sharesVincent Petry2021-07-271-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix external share manager with multiple user groupsVincent Petry2021-07-272-10/+25
| | | | | | Use query builder with proper matching for finding the group names. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix remote group share API interactionsVincent Petry2021-07-272-11/+199
| | | | | | | | | | Accepting and declining can now be done repeatedly on both the parent group share and sub-share with the same effects. Added unit tests to cover these cases, and also when the same operation is repeated. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Disable default actions in pending file listVincent Petry2021-07-272-0/+6
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Pending remote group share fixesVincent Petry2021-07-273-2/+12
| | | | | | | | Only remove reject share for remote group shares Also fix share indicator to appear for remote group shares as well. Fix pending remote share icon to be the one of a share. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix re-accepting or re-rejecting remote group sharesVincent Petry2021-07-271-42/+97
| | | | | | | | | | | | | When accepting a group share, a sub-share entry is created which also has a different id. When accepting or rejecting the sub-share, simply update the "accepted" flag instead of trying to re-insert the entry. Adjust getShare to also properly validate group share membership when called on a sub-share id. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add logging to external shares managerVincent Petry2021-07-274-15/+30
| | | | | | | Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove "Reject share" for pending remote sharesVincent Petry2021-07-273-3/+10
| | | | | | | In the list of pending shares, the option for rejecting the share has been removed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix received federated group sharesVincent Petry2021-07-272-92/+184
| | | | | | | | | | | | Fix pending shares endpoint to consider user-specific sub-entries for group shares whenever a share was accepted or declined. Added unit test for adding remote group shares. Fixed "removeUserShares" to not send a remote request as we never send remote requests for group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Extend pending shares list to include remote sharesVincent Petry2021-07-273-3/+48
| | | | | | | 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-2611-32/+32
| | | | 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-2316-78/+78
| | | | | | | | | | 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-224-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #27674 from ↵szaimen2021-07-211-1/+3
|\ | | | | | | | | fstorz/hide-download-button-for-public-preview-of-audio-files hide download button for public preview of audio files
| * Remove trailing whitespace from commentFlorian Storz2021-07-191-1/+1
| | | | | | | | Signed-off-by: Florian Storz <florian.storz@devlix.de>
| * Add comment linking to PRFlorian Storz2021-07-191-0/+1
| | | | | | | | | | | | PR contains discussion about the implementation with pros and cons Signed-off-by: Florian Storz <florian.storz@devlix.de>
| * hide download button for public preview of audio filesFlorian Storz2021-07-191-1/+2
| | | | | | | | | | | | When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload" Signed-off-by: Florian Storz <florian.storz@devlix.de>
* | Merge pull request #27509 from ↵dependabot[bot]2021-07-1810-77/+103
|\ \ | | | | | | | | | nextcloud/dependabot/npm_and_yarn/babel/core-7.14.6
| * | 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>
* | | [tx-robot] updated from transifexNextcloud bot2021-07-182-0/+2
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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>
* | [tx-robot] updated from transifexNextcloud bot2021-07-152-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #27884 from nextcloud/enh/cloud-id-localblizzz2021-07-142-2/+5
|\ \ | | | | | | Allow to get a local cloud id without going through the contacts manager
| * | Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-142-2/+5
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #27875 from goyome/goyome-patch-group-shares-limitblizzz2021-07-141-1/+1
|\ \ \ | | | | | | | | No limit in the number of group shares
| * | | No limit in the number of group sharesGuillaume Colson2021-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | By default, autoaccept doesn't work if the user has more than 50 group shares Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
* | | | Merge pull request #27946 from nextcloud/enh/breadcrumb-detail-view-in-menuJulius Härtl2021-07-143-4/+5
|\ \ \ \ | | | | | | | | | | Show registered breadcrumb detail views in breadcrumb menu
| * | | | show breadcrumb detail view in breadcrumb menuJulien Veyssier2021-07-133-4/+5
| | |/ / | |/| | | | | | | | | | | | | | 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>
* | | [tx-robot] updated from transifexNextcloud bot2021-07-132-4/+6
| | |
* | | 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>
* | | [tx-robot] updated from transifexNextcloud bot2021-07-112-0/+2
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-07-1014-30/+44
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-07-0970-78/+96
| | |
* | | Merge pull request #27847 from nextcloud/enh/26973/talk-password-failedrakekniven2021-07-082-2/+2
|\ \ \ | |/ / |/| | Update "Sending password by Nextcloud Talk failed" sentence
| * | Update "Sending password by Nextcloud Talk failed" sentenceszaimen2021-07-072-2/+2
| | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | [tx-robot] updated from transifexNextcloud bot2021-07-082-0/+8
|/ /
* | [tx-robot] updated from transifexNextcloud bot2021-07-062-2/+74
| |
* | Migrate HintException to OCPGary Kim2021-06-301-2/+2
| | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | [tx-robot] updated from transifexNextcloud bot2021-06-282-4/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2021-06-274-2/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2021-06-262-0/+2
|/
* Merge pull request #27664 from nextcloud/techdebt/noid/master-is-now-23-part2John Molakvoæ2021-06-251-1/+1
|\ | | | | Bump app version
| * Bump app versionJoas Schilling2021-06-241-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>