aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntry.vue
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* add create and delete checkbox for sharesidebarGreta Doci2019-12-191-5/+48
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Bump eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-191-10/+10
| | | | | | | | | | 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>
* Inherited share UIJohn Molakvoæ (skjnldsv)2019-12-031-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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 current user edit/delete permissionsJohn Molakvoæ (skjnldsv)2019-10-291-61/+66
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-291-0/+249
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>