aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix adding to empty attributes and duplicate requestJulius Härtl2022-07-281-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share attrs + download permission support in frontendVincent Petry2022-07-281-1/+41
| | | | | | | Added download permission checkbox in frontend Added share attributes parsing and setting in frontend. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Accessible names for share panel buttonsVincent Petry2022-07-262-0/+2
| | | | | | | Added aria-label for the buttons on the share panel. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix sharing panel lighthouse warningsVincent Petry2022-07-225-102/+106
| | | | | | | Replaced h5 with span and adjusted selectors. Fixed ul/li hierarchy of some elements. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add expanded attribute to button for listing others with accessChristopher Ng2022-07-071-1/+16
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Various improvements related to the recent implementation of temporary passwordsCyrille Bollu2022-06-081-0/+20
| | | | | | | | | | | | | | | for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix share permissions renderingLouis Chemineau2022-05-311-1/+2
| | | | | | | | The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`. This PR changes the return value of the `default` case and adds a `filter` to remove those values. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Cleanup and compileJohn Molakvoæ2022-05-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-2/+2
| | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Fix regression for edit perm on file shareLouis Chemineau2022-02-211-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Support CRUD share permissionsLouis Chemineau2022-02-152-107/+303
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Use @nextcloud/sharing in files and files_sharingLouis Chemineau2022-01-261-4/+5
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Update tests Signed-off-by: Louis Chemineau <louis@chmn.me>
* Auto fix warningsLouis Chemineau2022-01-214-22/+11
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Typing correctionsLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-084-35/+63
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.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-092-3/+1
| | | | 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-162-8/+94
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Let users choose a share_folderHinrich Mahler2021-09-062-10/+160
|
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-231-2/+2
| | | | | | | | | | 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>
* 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>
* 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-191-1/+12
| | | | | | | | 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-151-4/+13
| | | | | | | 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>
* 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-221-3/+28
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Extract GeneratePassword function to its own fileJohn Molakvoæ (skjnldsv)2021-03-221-35/+4
| | | | | | 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-171-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix SharingInput MultiselectJohn Molakvoæ (skjnldsv)2021-03-111-6/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.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-041-1/+3
| | | | 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>
* 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>
* 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>
* Show unique displayname context in the user share list entriesJulius Härtl2020-12-142-1/+8
| | | | 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>
* Allow share results to have a detailed description and share entries to have ↵Julius Härtl2020-12-092-2/+7
| | | | | | 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-091-0/+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>