aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryLink.vue
Commit message (Collapse)AuthorAgeFilesLines
* feat: Allow registration of advanced external share actionsChristopher Ng2024-03-061-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: reconfigured NcActions to use MDI'sEduardo Morales2024-03-061-22/+51
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* chore: manual lintingEduardo Morales2024-03-061-5/+11
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* feat: added new action for qrcode popup linkshareEduardo Morales2024-03-061-1/+44
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(files_sharing): lost styles for SharingEntryLinkGrigorii K. Shartsev2024-02-131-3/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* Merge pull request #43213 from ↵Grigorii K. Shartsev2024-02-081-10/+4
| | | | | nextcloud/fix/43139/sharing--migrate-quick-share-select-to-nc-actions fix(sharing): migrate QuickShareSelect to NcActions
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-4/+10
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* fix(sharing): migrate QuickShareSelect to NcActionsGrigorii K. Shartsev2024-02-081-10/+4
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files_sharing): Return focus to trigger element on sharing details closeChristopher Ng2024-01-261-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Tooltip outside click, should abort share creationfenn-cs2023-12-111-1/+1
| | | | | | | It's unexpected that click outside a tooltip would proceed with the action that could be carried out inside the tooltip. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Improve share logic for enforced password & expiry datefenn-cs2023-11-301-8/+2
| | | | | | | | | | | | | | * It's possible for the admin to enforce and expiry date after, some shares have been created. This commit makes possible to update the share with the new admin constraints. * This commit would users to modify enforced expiry to anything within range and less than the enforced limit in the pre-create dialog for public shares. * This commit fixes, unable to update share without updating password. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Replace ActionLink with ActionButton on sharing tabjulia.kirschenheuter2023-11-171-4/+2
| | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> So-authored-by: Grigorii K. Shartsev <me@shgk.me>
* Reduce width of sharing entryjulia.kirschenheuter2023-10-191-2/+2
| | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Consider share type for enforced share expiry datesfenn-cs2023-09-201-23/+1
| | | | | | | | | | | | | | | | | | | | | We have three kind of share expiry date enforcements. - `isDefaultExpireDateEnforced` - `isDefaultInternalExpireDateEnforced` - `isDefaultRemoteExpireDateEnforced` Before these commit, `isExpiryDateEnforced` that is used to disable/enable the set expiry date checkbox does not take those into consideration which is problematic as those have different applications. In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for expiry date that shows up before the creation of link shares. Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is not used. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Properly align all sharing-entry typesfenn-cs2023-09-141-42/+52
| | | | | | | | SharingEntryLink and regular ShareEntry were not properly visually aligned before this commit. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Improve sharing flowfenn-cs2023-08-301-142/+36
| | | | | | | | | | | | | This commit introduces the following changes: - Does not create new share once user is selected for internal shares - Adds a `SharingDetails` view for share configurations - Adds a quick share select to enable fast changes in share permisions. Resolves: https://github.com/nextcloud/server/issues/26691 Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files_sharing): String translationsChristopher Ng2023-07-311-2/+2
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Show pending popover menu when password is enabled by defaultDaniel Calviño Sánchez2023-05-221-8/+8
| | | | | | | | | | | | | | | | When "Enforce password protection" is enabled in the sharing settings a popover menu is shown to set a password before the share is created. On the other hand, when "Always ask for a password" was enabled in the sharing settings and a new link share was created the share was immediately created with a default password; the user was not able to specify a password (nor create the share without password). The component template already provided the needed elements to also ask for the password without enforcing it, but the popover menu was not shown due to "enableLinkPasswordByDefault" being missing in "if" conditions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Rename "pendingPassword" to "pendingEnforcedPassword"Daniel Calviño Sánchez2023-05-221-4/+4
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use the color-primary-element* variablesSimon L2023-05-131-1/+1
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Do not allow to toggle between password and text in sharingLouis Chemineau2023-05-091-0/+1
| | | | | | This does not makes sense as we do not have the clear text value. Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-9/+9
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Drop vue-clipboard2 to fix copy to clipboardChristopher Ng2023-02-011-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add visible share labelChristopher Ng2023-01-121-4/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Differentiate share linksChristopher Ng2023-01-121-1/+19
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix inability to re-enter share password after invalid inputChristopher Ng2023-01-101-1/+8
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Replace custom tooltips with native one in vue components and viewsjulia.kirschenheuter2023-01-051-41/+13
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Revert "Copy to clipboard with button instead of link"Christopher Ng2022-12-141-26/+18
| | | | | | This reverts commit 4ffc022c8b5d2a4df3b1b1452de769c4ad27fe4f. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add success popup message for copying share linksChristopher Ng2022-12-061-3/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Show success on share actionsChristopher Ng2022-12-031-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Copy to clipboard with button instead of linkChristopher Ng2022-11-241-18/+26
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix date handling and savingJohn Molakvoæ2022-11-161-21/+29
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Replace moment.js date with Date Object.julia.kirschenheuter2022-10-061-29/+18
| | | | | | | Replace vue2-datepicker with native date picker for expiration date. Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-1/+1
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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>