aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* Replace license information to SPDX expressionLouis Chemineau2022-01-1120-20/+20
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Typing correctionsLouis Chemineau2022-01-114-16/+14
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Bump p-queueLouis Chemineau2022-01-081-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix dynamic loadingJohn Molakvoæ (skjnldsv)2022-01-084-38/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-0813-123/+154
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate to webpack v5Louis Chemineau2022-01-081-5/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix share owner not being displayed in sharing tabCarl Schwan2021-12-141-0/+13
| | | | | | | | | | | | | | | This only concerns subfolder and files inside a shared folder and is used as fallback when the OCS api returns a empty result, because it only works on the shared folder and not the content inside of it. This unify the tab with the folder list. This offers a less descriptive share information but making the OCS api returns all the details even for the subfolder would very probably be bad for performance (since we would need to fetch the shares for all the parent folders until we found one or are in the root folder). Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix ShareLink Upload UI for FoldersJonas Rittershofer2021-12-141-1/+1
| | | | | | Do not show the Upload-Option if it is not allowed to check. Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
* Fix first day localeJohn Molakvoæ2021-12-093-20/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Properly format sharing datepicker localeJohn Molakvoæ2021-12-091-8/+15
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix missing translations of share folder selectionJoas Schilling2021-10-041-3/+3
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add new ExternalShareActions APIJohn Molakvoæ2021-09-165-8/+178
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Let users choose a share_folderHinrich Mahler2021-09-062-10/+160
|
* Disable default actions in pending file listVincent Petry2021-07-271-0/+4
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Pending remote group share fixesVincent Petry2021-07-271-0/+2
| | | | | | | | 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>
* Remove "Reject share" for pending remote sharesVincent Petry2021-07-271-3/+0
| | | | | | | In the list of pending shares, the option for rejecting the share has been removed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Extend pending shares list to include remote sharesVincent Petry2021-07-271-0/+3
| | | | | | | 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-261-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-234-6/+6
| | | | | | | | | | 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-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* show breadcrumb detail view in breadcrumb menuJulien Veyssier2021-07-131-0/+1
| | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net> 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-091-1/+1
| | | | | | restrictions Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Replace proposal-class-private-properties by regular propertiesJohn Molakvoæ (skjnldsv)2021-06-024-63/+63
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.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-261-25/+27
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Consider read permission in sharing tabRoeland Jago Douma2021-04-192-1/+24
| | | | | | | | 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/+53
| | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Implement expiration date for federated sharesVincent Petry2021-04-151-14/+4
| | | | | | | | | Add expiration date field in UI. Save expiration date when creating or updating federated share. Read expiration date from DB in federated share provider. Applies to both federated user and group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix undefined error on add-shareJohn Molakvoæ (skjnldsv)2021-04-131-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 js licensesJohn Molakvoæ (skjnldsv)2021-03-3119-25/+151
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Sharing link & mail parityJohn Molakvoæ (skjnldsv)2021-03-221-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Clear the input after adding a new shareJohn Molakvoæ (skjnldsv)2021-03-221-3/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Handle enforced password for mail shares in the WebUIJohn Molakvoæ (skjnldsv)2021-03-222-6/+60
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Extract GeneratePassword function to its own fileJohn Molakvoæ (skjnldsv)2021-03-222-35/+60
| | | | | | This is needed to be able to use the function from other components. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add labels to mail sharesJohn Molakvoæ (skjnldsv)2021-03-221-1/+23
| | | | | | Now the email is shown on a second line if a label is set. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Lint fixJohn Molakvoæ (skjnldsv)2021-03-173-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix SharingInput MultiselectJohn Molakvoæ (skjnldsv)2021-03-112-7/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Only clear share password model when actually savedVincent Petry2021-03-111-2/+5
| | | | | | | | | | | 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>
* Hide expiration date field for remote sharesVincent Petry2021-03-091-4/+14
| | | | | | Remote shares currently do not support expiration date. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add appconfig to always show the unique label of a shareeJulius Härtl2021-03-042-1/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Clear multiselect after selection in share panelVincent Petry2021-03-031-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Avoid creating two share links when password is enforcedJulius Härtl2021-02-191-6/+21
| | | | | 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-121-1/+1
| | | | | | | | | | 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-081-6/+5
|\ | | | | fix(log): remove debug log in _formatRemoteShare, suggested by @maxbes
| * fix(debug): remove debug log in _formatRemoteShare, suggested by @maxbesSamuel2021-02-051-6/+5
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Sharing dropdown now opens belowVincent Petry2021-02-051-0/+1
|/ | | | | | | | 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>
* Show the actual error on share requestsJulius Härtl2021-01-181-3/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix clearing the label of a shareDaniel Calviño Sánchez2021-01-081-1/+1
| | | | | | | | | | | When the label is being edited its value is stored in "newLabel", and the original label is shown only if "newLabel" is not set. However, as it was checked against any falsy value instead of only undefined when the label was cleared and thus it has an empty value the original label was shown instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Also include external share results in recommendationsJulius Härtl2020-12-301-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-151-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Show unique displayname context in the user share list entriesJulius Härtl2020-12-145-1/+27
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>