aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryLink.vue
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-251-76/+76
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Multiple fixesCarl Schwan2022-07-311-2/+7
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Enforcing permission during resharingCarl Schwan2022-07-281-0/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Accessible names for share panel buttonsVincent Petry2022-07-261-0/+1
| | | | | | | 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-221-7/+7
| | | | | | | Replaced h5 with span and adjusted selectors. Fixed ul/li hierarchy of some elements. Signed-off-by: Vincent Petry <vincent@nextcloud.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>
* 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>
* Support CRUD share permissionsLouis Chemineau2022-02-151-107/+12
| | | | 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-211-4/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-081-19/+40
| | | | 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-091-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add new ExternalShareActions APIJohn Molakvoæ2021-09-161-8/+31
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Bump @nextcloud/eslint-config and peersJohn Molakvoæ (skjnldsv)2020-07-311-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-311-4/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-201-2/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add user input for link share labelsGary Kim2020-07-141-2/+48
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix the Talk verificationChristoph Wurst2020-06-011-2/+32
| | | | | | | | | | | | | | | | | | When enabling or disabling Talk verification in mail shares the server expects also a new password to be set. As we always just update one property at a time this means the Talk verification was impossible to activate or deactivate. With this patch, we send the talk option AND the new password. If there is no new password, the Talk option is disabled (in mail shares; in link shares it is possible to enable or disable the video verification without changing the password). When we finally have descriptive text on ActionCheckbox'es we should definitely add some explanatory text for the user. Right now this is as good as it gets. We'll have to backport to 18. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix federated link sharing permissionsJohn Molakvoæ (skjnldsv)2020-05-041-3/+12
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix expiry datepicker allowing all datesGary Kim2020-05-021-4/+2
| | | | | | | | | | vue2-datepicker expects a `disabled-date` function rather than `not-before` and `not-after` dates. This commit updates it so that we now provide vue2-datepicker with a `disabled-date` function. Signed-off-by: Gary Kim <gary@garykim.dev>
* Process shares only once, better debug and expiration date codeJohn Molakvoæ (skjnldsv)2020-05-011-9/+13
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix share expiration date not shownGary Kim2020-04-301-0/+2
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Show the link password when it's setChristoph Wurst2020-02-231-2/+3
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Migrate to @nextcloud/vue 1.x.xJohn Molakvoæ (skjnldsv)2020-01-221-10/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not save on update, use submitJohn Molakvoæ (skjnldsv)2020-01-161-3/+12
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add "Password protected by Talk" option to sharesDaniel Calviño Sánchez2020-01-141-0/+38
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add placeholderJohn Molakvoæ2020-01-101-0/+1
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix sharing note placeholderJohn Molakvoæ (skjnldsv)2020-01-101-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Clarify "Delete share" action in sharing sidebarAlexandre GV2019-12-251-2/+2
| | | | | | | - change "Delete share" to "Unshare" - change icon-delete to icon-close Signed-off-by: Alexandre Guiot--Valentin <contact@alexandregv.fr>
* Bump eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-191-14/+14
| | | | | | | | | | Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add settings front and split sharing entry configJohn Molakvoæ (skjnldsv)2019-11-271-0/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix min-heightGreta Doci2019-11-251-3/+1
| | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* fix share side bar icon and text overlappingGreta Doci2019-11-201-0/+2
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Fix current user edit/delete permissionsJohn Molakvoæ (skjnldsv)2019-10-291-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Systemtags and external actions updateJohn Molakvoæ (skjnldsv)2019-10-291-1/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-291-0/+769
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>