Commit graph

6177 commits

Author SHA1 Message Date
Robin Appelman
72fca6ece3
Merge pull request #41090 from nextcloud/backport/39044/stable27
[stable27] Fix root mounts not being setup in some cases
2023-12-06 17:48:30 +01:00
Nextcloud bot
669dc0dd62
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-06 00:21:12 +00:00
Robin Appelman
fbc0f65711 add more checks to ensure mounts aren't empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-05 09:47:03 +01:00
Nextcloud bot
9fb88104a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 00:21:35 +00:00
Nextcloud bot
f49cff2f5a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 00:18:38 +00:00
Nextcloud bot
90529e5de1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 00:18:49 +00:00
fenn-cs
8c5ea73404 Improve share logic for enforced password & expiry date
* 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 16:26:46 +00:00
Christopher Ng
bedcbb8ecc fix(a11y): Focus on sharing quick permission radio
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-30 16:58:21 +01:00
Julius Härtl
07437d0c1d fix: Change scroll container for sharing details
In order to meet accessibility requirements we cannot use a sticky
footer that overlaps important interactable content. Therefore this
moves to a scroll container for the details which does not include the
action buttons at the bottom.

Larger indentation change in SharingDetailsTab was required to have a
wrapping container for the scroll area.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 16:58:15 +01:00
Nextcloud bot
fe35710f1b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 00:22:50 +00:00
Jérôme Herbinet
21c157e349 Replace "Update" with "Edit"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 12:24:15 +00:00
Nextcloud bot
9e67ab7fb8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 00:26:37 +00:00
F. E Noel Nfebe
a6d0a4e6d4
Merge pull request #41736 from nextcloud/backport-41301-27
[stable27] fix(files_sharing): fix sharing tab translations
2023-11-27 12:28:01 +01:00
Nextcloud bot
9f196a5d81
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 00:23:15 +00:00
Nextcloud bot
ea1f2c9364
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 00:23:56 +00:00
fenn-cs
38ac4f8d92 Fix icons for bundled perms in sharing details
It appears `NcCheckboxRadioSwitch` does not take icons via
`<template #icon>` (at least not anymore) but two options in the bundled
 perms still used that and that has been fixed in this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-25 08:24:46 +01:00
Grigorii K. Shartsev
b43325fb43 fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-25 08:24:46 +01:00
Nextcloud bot
93b8e662ad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 00:26:11 +00:00
Julius Härtl
1f17daed78
Merge pull request #41643 from nextcloud/backport/41623/stable27 2023-11-24 13:25:13 +01:00
Nextcloud bot
0af2125a82
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 00:27:36 +00:00
Julius Härtl
ce9e5e655f fix: Also cleanup orphaned shares user cannot be found anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-21 15:22:03 +00:00
Nextcloud bot
ef67f00bab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-21 00:28:12 +00:00
Nextcloud bot
5b16df8dd1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-20 00:27:55 +00:00
Nextcloud bot
6a00c55e2c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-17 00:27:18 +00:00
Benjamin Gaussorgues
1af4301997
Merge pull request #41363 from nextcloud/optmize-storage-wrappers-27
[27] optimize builtin storage wrappers
2023-11-16 14:21:56 +01:00
Arthur Schiwon
97f925bb41
Merge pull request #41069 from nextcloud/backport/40495/stable27
[stable27] fix(sharing): set name to target name in sharing cache
2023-11-15 22:33:33 +01:00
Nextcloud bot
4b19cda748
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 00:26:00 +00:00
Nextcloud bot
63ed89ea5c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-12 00:24:29 +00:00
Nextcloud bot
9dfb7e28c4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 00:22:26 +00:00
Nextcloud bot
4ffee4f92b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 00:24:25 +00:00
Robin Appelman
bdba3f1e2f
optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-09 15:41:01 +01:00
Nextcloud bot
11ec6a72a0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 00:26:07 +00:00
Nextcloud bot
fb3f63cc7f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 00:32:28 +00:00
Nextcloud bot
91d9fa0a8d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 00:29:29 +00:00
Nextcloud bot
4610afcd57
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:37 +00:00
Nextcloud bot
0e44a73b13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-03 00:26:48 +00:00
Nextcloud bot
5e6280d757
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-30 00:26:30 +00:00
fenn-cs
2f0e9a80c5 Fix dupblicate sharing option
Allow download was duplicated via a rebase/merge action during
fe78157b77 this fixes that.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:42 +01:00
fenn-cs
170a83a77e Do not treat isDefaultExpireDateEnforced as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-28 09:53:42 +01:00
fenn-cs
a5a9564069 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
fenn-cs
77b047cc62 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
fenn-cs
281e9ac559 Allow share expiry dates lower than enforced limits
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
Nextcloud bot
4f222b9fba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 00:28:36 +00:00
Nextcloud bot
84c153e34c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:44 +00:00
Nextcloud bot
6295028913
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:42 +00:00
Nextcloud bot
eb83fcb63b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:55 +00:00
Julius Härtl
efda675b36 test(files_sharing): Test if recent files result use actual share target name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-23 17:38:02 +00:00
Max
31978f447a fix(sharing): set name to target name in sharing cache
Fixes #39879.

Signed-off-by: Max <max@nextcloud.com>
2023-10-23 17:38:00 +00:00
Nextcloud bot
1d6fd5532b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:48 +00:00
Nextcloud bot
f4a9d1ad69
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:22 +00:00