aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix invite guest for new sharing flowfenn-cs2023-09-142-13/+22
| | | | | | | | Call external handlers such as the one in the guess app https://github.com/nextcloud/guests/blob/master/src/main.js#L30 if present. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Hide additional content when share details is openLouis Chemineau2023-09-131-55/+57
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> 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>
* Non sticky delete buttonfenn-cs2023-09-131-6/+10
| | | | | | Removes button from footer and removes button background. Signed-off-by: fenn-cs <fenn25.fn@gmail.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>
* Consistent delete button in share detailsfenn-cs2023-09-121-1/+0
| | | | | | | Delete button text should have same size as other buttons. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Enfore allowPublicShares admin settingfenn-cs2023-09-123-4/+9
| | | | | | | Use the the modern intial-state library to pass data about `allowPublicUploads` to the sharing frontend. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Refactor migrated addShare methodfenn-cs2023-09-121-18/+15
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Add accesibility features to quick share dropdownfenn-cs2023-09-071-16/+98
| | | | | | | | | - Adds appropriate aria attributes - Uses button element for dropdown items as it's more semantically correct - Uses trap-focus lib to trap focus when the drowpdown is active - Adds custom handling for arrow up and down Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Close quickshare dropdown on outside clickfenn-cs2023-09-071-1/+13
| | | | | | | If a user clicks anywhere outside of the quickshare dropdown, it should be closed. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Do not toggle custom permissionsfenn-cs2023-09-071-9/+7
| | | | | | | | | | | | | Currently, swithcing between permissions in the sharing permissions details view would toggle the custom permissions view. We think, it's better for the custom permission option to simple expand the custom permissions view and never close it gain even if the user is switching between bundled permissions. The user can always collapse the view by using the "Advanced settings" toggle. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): select sharing in sidebar breaks Viewer focus trapGrigorii K. Shartsev2023-09-051-7/+0
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* renable download configuration on circles sharesMaxence Lange2023-09-051-6/+0
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Replace custom input field with NcTextFieldjulia.kirschenheuter2023-08-311-5/+8
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Improve sharing flowfenn-cs2023-08-3015-554/+1468
| | | | | | | | | | | | | 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(apps): Adjust apps for FilePicker API changeFerdinand Thiessen2023-08-261-1/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: upgrade to `@nextcloud/files@3.0.0-beta.18`John Molakvoæ2023-08-233-13/+19
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: migrate FileAction from serverJohn Molakvoæ2023-08-239-15/+13
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: use Navigation from `@nextcloud/files`John Molakvoæ2023-08-2310-49/+36
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(tests): actions adjust and jest fetch mockJohn Molakvoæ2023-08-172-7/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(files): add Headers, remove legacy methods and cleanupJohn Molakvoæ2023-08-172-3/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): migrate recent viewJohn Molakvoæ (skjnldsv)2023-08-023-5/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* feat(files_external): migrate to vueJohn Molakvoæ2023-08-015-15/+15
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(i18n) Changed case of "Files"rakekniven2023-08-012-2/+2
| | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(files_sharing): String translationsChristopher Ng2023-07-312-3/+3
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): default emptycontent messageJohn Molakvoæ2023-07-182-7/+27
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files_sharing): add openInFiles actionJohn Molakvoæ2023-07-116-6/+163
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files_sharing): error and size/mtime for deleted sharesJohn Molakvoæ2023-07-111-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: compile assetsJohn Molakvoæ2023-07-111-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: add actions testingJohn Molakvoæ2023-07-117-7/+685
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: adjust testingJohn Molakvoæ2023-07-114-30/+518
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: drop legacy sharing filesJohn Molakvoæ2023-07-112-9/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(sharing): add sharing overview viewJohn Molakvoæ2023-07-117-1/+549
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files_sharing): hide download permission for circle sharesRichard Steinmetz2023-07-101-0/+6
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore(files_sharing): Remove orphaned file with deprecated importsFerdinand Thiessen2023-07-011-44/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: upgrade typescript, eslint and fix lintJohn Molakvoæ2023-06-271-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* address reviewSimon L2023-06-241-1/+1
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* only print deprecation logs if debug mode is enabledSimon L2023-06-241-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Move deprecation warnings to debugSimon L2023-06-241-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Don't disable actions when saving share permissionsLouis Chemineau2023-06-191-8/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix lint errorsVarun Patil2023-05-231-0/+4
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* Optimize webpack chunksVarun Patil2023-05-231-2/+3
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* reload filelist when adding or removing sharesRobin Appelman2023-05-221-1/+6
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> 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>
* Merge pull request #38012 from nextcloud/fix/a11y-share-inputPytal2023-05-031-1/+1
|\
| * Fix share input idChristopher Ng2023-05-021-1/+1
| | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | fix(files_sharing): Don't show copy action when !canDownload and no update ↵Marcel Klehr2023-05-021-1/+1
|/ | | | | | permissions Signed-off-by: Marcel Klehr <mklehr@gmx.net>