aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Show unique displayname context in the sharing inputJulius Härtl2020-12-141-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make share results distinguishable if there are more than one with the exact ↵Julius Härtl2020-12-141-1/+21
| | | | | | same display name Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Show email address for shares that were created by other usersJulius Härtl2020-12-101-0/+6
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Indicate deck shares as shared in the file listJulius Härtl2020-12-091-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow share results to have a detailed description and share entries to have ↵Julius Härtl2020-12-093-2/+18
| | | | | | a link Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share type deck to search resultsJulius Härtl2020-12-091-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Let sharees endpoint properly handle deck sharesJulius Härtl2020-12-093-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use correct l10n source in files_sharing JS codeMorris Jobke2020-11-301-10/+10
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* formatting remote sharer should take protocol, path into accountArthur Schiwon2020-11-261-119/+122
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Properly encode path when fetching inherited sharesJulius Härtl2020-11-261-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix contacts menu position and show uid as a tooltipJulius Härtl2020-11-241-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix default internal expiration date enforceJohn Molakvoæ (skjnldsv)2020-11-121-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disable share input for a received share if resharing is not allowedDaniel Calviño Sánchez2020-11-111-1/+4
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not show "Can reshare" in the menu if resharing is not allowedDaniel Calviño Sánchez2020-11-101-0/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix js search in undefined ocs responseJohn Molakvoæ (skjnldsv)2020-11-091-3/+3
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix link share label placeholder not showingGary Kim2020-11-071-2/+3
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Merge pull request #23347 from ↵John Molakvoæ2020-11-061-0/+3
|\ | | | | | | st3iny/enhancement/19526/new-share-pending-confirm-button
| * Add confirm button in new link share pending expire/password menuRichard Steinmetz2020-11-051-0/+3
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Make link share avatar icon blue againVincent Petry2020-11-051-1/+5
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix link share avatar iconVincent Petry2020-11-051-1/+1
|/ | | | | | | Use "icon-class" instead of "class" as this is how to tell the component that we don't want initials displayed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* l10n: Name with a capital letter: SharingInput.vueValdnet2020-10-281-1/+1
|
* Fix sharing input placeholder for emailsJohn Molakvoæ (skjnldsv)2020-10-231-10/+4
| | | | | 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-072-27/+33
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move Files Sidebar to proper javascript standardJohn Molakvoæ (skjnldsv)2020-10-072-35/+26
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Never copy the share link when the password is forcedJoas Schilling2020-09-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only copy the link when updating a share or no password was forcedJoas Schilling2020-08-201-1/+5
| | | | | 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-173-0/+20
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-314-12/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>