aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-2682-16/+102
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-244-72/+220
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-238-4/+52
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-224-6/+28
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-2116-2/+172
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-2096-342/+292
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1912-12/+230
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(files_sharing): also allow removing READ permissions on email sharesskjnldsv2024-07-181-1/+4
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-182-0/+88
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1720-40/+0
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1670-118/+426
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1510-6/+518
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-148-10/+426
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1396-646/+1348
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore: improve typing for SharedStorage::$storageRobin Appelman2024-07-111-0/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: don't return null for SharedStorage::getWrapperStorage with share recursionRobin Appelman2024-07-111-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-112-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(SharingDetailsView): Prevent illegal unselection of read permissionsfenn-cs2024-07-091-0/+7
| | | | | | | | With the exception of "file drop" on link shares all other shares need the read permissions at least. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor(SharingDetailsView): Use NC loggerfenn-cs2024-07-081-4/+4
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(FilesView): Update files view upon share creation/deletefenn-cs2024-07-084-5/+52
| | | | | | Resolves : https://github.com/nextcloud/server/issues/44961 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* refactor(SharingInput): Remove unused addSharefenn-cs2024-07-032-81/+0
| | | | | | | | | | | | | | The new sharing flow since NC27 requires that users open the sharing details tab and customize their share before creating it. In https://github.com/nextcloud/server/pull/39472 the work of `addShare` was handed down to `openSharingDetails` that opens the sharing details tab for the user to customize and manually creat their share. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(ExternalSharing): Handle template share from external sourcesfenn-cs2024-07-032-5/+12
| | | | | | | The new sharing flow requires or implies that users should edit share before creating. External sources should not created the share IF we would upon sharing details tab on first request. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-032-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #46141 from nextcloud/backport/46097/stable28Louis2024-07-011-3/+0
|\ | | | | [stable28] fix(files_sharing): Also set the expiration date timezone during validation
| * fix(files_sharing): Store the expiration date relative to the server's timezoneLouis Chemineau2024-06-271-3/+0
| | | | | | | | | | | | This is needed as we want to store the difference between the server's and the user's timezones. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-302-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-292-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-282-0/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-272-0/+20
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-242-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-162-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #45024 from nextcloud/man/backport/44839/stable28Arthur Schiwon2024-06-141-17/+27
|\ | | | | [stable28] fix(files_sharing): Add one string for every share type + fix(sharingDetails): Show correct share target
| * fix(sharingDetails): Show correct share targetfenn-cs2024-06-131-4/+14
| | | | | | | | | | | | | | | | | | | | The share details page should show the target email or user/server to which the user is creating the share. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> [skip ci]
| * fix(files_sharing): Add one string for every share type to not assume any ↵Ferdinand Thiessen2024-06-131-17/+17
| | | | | | | | | | | | language Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-142-0/+14
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(shareManager): Respect empty `expireDate` in serverfenn-cs2024-06-132-14/+21
| | | | | | | | | | | | If `expireDate` is an empty string and not `null` then the server should not set a default. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | refactor: make share manager buildableRobin Appelman2024-06-131-2/+0
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files_sharing): Improve recursion in `onNewLinShare`fenn-cs2024-06-132-37/+80
| | | | | | | | | | | | | | | These changes fixes the issue of having the refresh the UI after share creation, as the share is not immediately removed from the UI list. Important changes - The basis of checking wether a password/expire date is no longer based on config values alone because the config is not expected in a share creation circle. Hence we check the configs and check if the share object (this.share) has the expected values set. This way, once the required properties are set, code control does not enter the block meant to handle the setting of required properties unneccessarily. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* refactor(ShareDetails): Prevent undefined errors for `share.permissions`fenn-cs2024-06-121-1/+2
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): dark avatar supportskjnldsv2024-06-121-1/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-123-16/+53
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #44912 from nextcloud/backport/44838/stable28John Molakvoæ2024-06-113-142/+74
|\
| * fix(sharing): Don't change the type of the controller argumentJoas Schilling2024-06-101-2/+2
| | | | | | | | | | | | | | [EA] New value type (\DateTime) is not matching the resolved parameter type and might introduce types-related false-positives. Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
| * fix(shareApiController): avoid duplicated expiryDate operationsfenn-cs2024-06-101-27/+10
| | | | | | | | | | | | | | | | | | | | `expireDate` can be set once and used anywhere needed, the current implementation, duplicates this behavior which leads to `parseDate` receiving an a date object it parsed and returend earlier in the createShare method. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
| * refactor(shareApiController): use contrusctor property promotion & DI loggerfenn-cs2024-06-103-115/+64
| | | | | | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | fix(files): `open-in-files` action should also set `openfile` queryFerdinand Thiessen2024-06-082-2/+2
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44010 from nextcloud/backport/43252/stable28John Molakvoæ2024-06-072-13/+69
|\
| * Fix backportGit'Fellow2024-05-291-9/+44
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * fix(sharing): Avoid (dead)locking during orphan deletionChristoph Wurst2024-05-292-4/+25
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> [skip ci]
* | fix(files_sharing): usage of NcTextField in SelectShareFolderDialogueLouis Chemineau2024-06-061-1/+1
| | | | | | | | | | | | | | | | The NcTextField needs a value property to be set. Signed-off-by: Louis Chemineau <louis@chmn.me> [skip ci]