aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntry.vue
Commit message (Collapse)AuthorAgeFilesLines
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-20/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* test: Add test selector on sharing and versions componentsLouis Chemineau2024-02-271-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #43213 from ↵Grigorii K. Shartsev2024-02-081-14/+6
| | | | | 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-6/+14
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* fix(sharing): migrate QuickShareSelect to NcActionsGrigorii K. Shartsev2024-02-081-14/+6
| | | | Signed-off-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>
* Properly align all sharing-entry typesfenn-cs2023-09-141-5/+2
| | | | | | | | 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>
* Ellipsize user status in sharing entryfenn-cs2023-09-131-28/+25
| | | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Display user status by the side in sharing flowfenn-cs2023-09-131-6/+10
| | | | | | | | | | | The quick share drop down now takes the place where the user status would show in the past, so we have the option of removing it (as it's available in the profile dropdown) or putting it at the side as such. It's put on the side without the icon, as the status icon appears on the avatar when set. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Improve sharing flowfenn-cs2023-08-301-353/+54
| | | | | | | | | | | | | 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): hide download permission for circle sharesRichard Steinmetz2023-07-101-0/+6
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-6/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Adapt native tooltip for new structure of NcAvatarjulia.kirschenheuter2023-02-271-1/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Replace custom tooltips with native one in vue components and viewsjulia.kirschenheuter2023-01-051-14/+4
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Fix date handling and savingJohn Molakvoæ2022-11-161-7/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix visibility of internal expire dateVincent Petry2022-10-281-3/+6
| | | | | | | Fixed visibility of the expiration date field for internal shares by aligning the logic with the one from the public link shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace moment.js date with Date Object.julia.kirschenheuter2022-10-061-19/+13
| | | | | | | 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>
* Port Profile section checbox to NcCheckoxRadioSwitch componentCarl Schwan2022-09-121-2/+2
| | | | | | Improve accessibility and unify the design Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-251-34/+34
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix label for allow download share permissionJulius Härtl2022-08-041-5/+1
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Multiple fixesCarl Schwan2022-07-311-1/+32
| | | | | | | | | | | - 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>
* 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>
* Fix sharing panel lighthouse warningsVincent Petry2022-07-221-1/+1
| | | | | | | Replaced h5 with span and adjusted selectors. Fixed ul/li hierarchy of some elements. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Auto fix warningsLouis Chemineau2022-01-211-12/+6
| | | | 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-081-7/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix first day localeJohn Molakvoæ2021-12-091-1/+0
| | | | Signed-off-by: John Molakvoæ <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>
* Lint fixJohn Molakvoæ (skjnldsv)2021-03-171-1/+1
| | | | 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>
* 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>
* Show unique displayname context in the user share list entriesJulius Härtl2020-12-141-1/+4
| | | | 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-091-2/+5
| | | | | | a link 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>
* 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>
* Display user-status in sharing listGeorg Ehrke2020-08-171-0/+15
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-311-10/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix share permission checkboxes enabled when permissions can not be setDaniel Calviño Sánchez2020-06-121-4/+52
| | | | | | | | | | | | | | A sharee can reshare a file and set the edit, create, delete and share permissions of the reshare only if the received share has edit, create, delete and share permissions, or if they were revoked in the received share after being set in the reshare. Therefore, the permission checkboxes in the share menu should be enabled only if the user can set them (otherwise trying to check them will lead to an error). Note that "sharePermissions" has all the permissions if the file is not a reshare but a file owned by the user. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not filter id matching userId on non-user-share sharesJohn Molakvoæ (skjnldsv)2020-05-051-0/+1
| | | | | 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-2/+1
| | | | | | | | | | 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>
* Fix share expiration date not shownGary Kim2020-04-301-0/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Migrate to @nextcloud/vue 1.x.xJohn Molakvoæ (skjnldsv)2020-01-221-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not save on update, use submitJohn Molakvoæ (skjnldsv)2020-01-161-3/+14
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Change icon-delete to icon-close in others locationsAlexandre Guiot--Valentin2019-12-261-1/+1
| | | | | Signed-off-by: Alexandre Guiot--Valentin <contact@alexandregv.fr> Signed-off-by: Gary Kim <gary@garykim.dev>
* fix the folder shareGretaD2019-12-191-8/+20
| | | | | Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>