Commit graph

6788 commits

Author SHA1 Message Date
Nextcloud bot
5b201827b5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 00:21:29 +00:00
John Molakvoæ
6559c2075e
Merge pull request #49361 from nextcloud/fix/fix-share-creation-error-messages 2024-11-19 11:17:30 +01:00
skjnldsv
dd5a344f5e chore: lint fix
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 09:56:30 +01:00
Ferdinand Thiessen
2cb2abf1a9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Ferdinand Thiessen
f6e6ba4851 refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Côme Chilliet
f44a192613
fix(files_sharing): Fix error messages from password policy
Exceptions thrown from password_policy may bubble up in share creation
 or update when a password is used. Their message is meant to be shown
 to the user. This always the case for HintException so we catch that
 instead of the subclass GenericShareException.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-11-19 09:40:26 +01:00
Nextcloud bot
ecc16c242d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 00:21:11 +00:00
John Molakvoæ
6ff7db6ad4
Merge pull request #49337 from nextcloud/fix/sass 2024-11-18 14:32:28 +01:00
Nextcloud bot
4d138a11f9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:43 +00:00
Ferdinand Thiessen
5360ddb6e7
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:02:28 +01:00
Ferdinand Thiessen
f6779e6766
fix: Replace deprecated SASS rules
- global color functions are now deprecated - use color namespace
- `@import` is deprecated and will be removed (will be native CSS import
  in future)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:00:46 +01:00
Nextcloud bot
714fc63c40
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 00:20:47 +00:00
Nextcloud bot
b53d536b0b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-16 00:21:25 +00:00
Nextcloud bot
ca4be91923
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-15 00:21:29 +00:00
Nextcloud bot
dfa7e7edea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-14 00:22:39 +00:00
Nextcloud bot
397885adfa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-13 00:21:22 +00:00
skjnldsv
bfe8f8af40 fix(dav): file request guest nickname encoding
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 22:38:40 +00:00
Nextcloud bot
f47d1e99db
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-12 00:22:54 +00:00
Nextcloud bot
23071c74a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-11 00:21:31 +00:00
Nextcloud bot
05a73096cd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-10 00:23:17 +00:00
fenn-cs
dd6d7a0aab fix(Federation): Show some icon for federated users on shares
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-11-09 10:33:17 +01:00
Nextcloud bot
b528908b7a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-09 00:22:13 +00:00
skjnldsv
f29697a7c0 fix(files_sharing): share assignment issue in SharingEntryLink
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:41:25 +01:00
skjnldsv
4d9d617c84 feat(files_sharing): use share node or label as page title
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 14:20:58 +01:00
fenn-cs
6d3f5d39cd fix(SharingEntryLink): Show default password before create if any
Prevent silent addition of expiration date to shares.

Prevent silent addition for password to shares.

Both now have a `shareRequiresReview` check

Resolves : https://github.com/nextcloud/server/issues/48860

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-11-08 10:07:19 +01:00
Nextcloud bot
3bd8197458
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-08 00:21:51 +00:00
Nextcloud bot
9290b852d9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-07 00:25:43 +00:00
John Molakvoæ
d53fde8eef
Merge pull request #49015 from nextcloud/fix/openapi/array-syntax 2024-11-06 08:56:30 +01:00
provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +01:00
Nextcloud bot
4a44d6a677
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 00:21:20 +00:00
Nextcloud bot
b95431ba57
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:20:21 +00:00
Nextcloud bot
d92e34cce1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 00:21:32 +00:00
Nextcloud bot
2c7518250e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-02 00:20:24 +00:00
Nextcloud bot
b36bd3749f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 00:20:21 +00:00
Nextcloud bot
4b19e84a25
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 00:20:40 +00:00
fenn-cs
0daacbe81d fix(ShareEntryLinkList): Append new links to the end of list
Currently new shares are added to beginning of the share list in the UI
messing up the ordering with the original (first) looking like the most
recent and the most recent looking like the original share. This error
disappears on refresh.

Resolves : https://github.com/nextcloud/server/issues/48415

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-30 14:56:55 +01:00
Ferdinand Thiessen
abcb02f06e
fix(files_sharing): Password field must not be required if already set
If there is already a password, there is no need to require the password
in the setting ('newPassword'). It is only required for new shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:30:09 +01:00
Nextcloud bot
7cdd7013ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 00:20:24 +00:00
John Molakvoæ
bd4c5e19c9
Merge pull request #48887 from nextcloud/fix/federated-users 2024-10-29 07:31:39 +01:00
Nextcloud bot
6fa18c9a8a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 00:20:19 +00:00
Ferdinand Thiessen
c84c256261
fix: Adjust preview for view-only shares
Previously there was a different behavior for public shares (link-shares) and internal shares,
if the user disabled the view permission.
The legacy UI for public shares simply "disabled" the context menu and hided all download actions.
With Nextcloud 31 all share types use the consistent permissions attributes,
which simplifies code, but caused a regression: Images can no longer been viewed.

Because on 30 and before the attribute was not set, previews for view-only files
were still allowed. Now with 31 we need a new way to allow "viewing" shares.

So this is allowing previews for those files, but only for internal usage.
This is done by settin a special header, which only works with custom requests,
and not by opening the URL directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 15:52:27 +01:00
Kate
8b5e1bac90
Merge pull request #48918 from nextcloud/fix/files_sharing/cleanup-error-messages 2024-10-28 12:47:12 +01:00
Kate
5efb175665
Merge pull request #48614 from nextcloud/refactor/storage/constructors 2024-10-28 10:19:41 +01:00
provokateurin
aacb3ddc1e
fix(files_sharing): Cleanup error messages
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:07:41 +01:00
Nextcloud bot
75e9be595b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 00:22:10 +00:00
Nextcloud bot
c3ac8bf89a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 00:20:19 +00:00
skjnldsv
a1ffa84eda fix(files_sharing): federated shares avatar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-25 12:18:40 +02:00
Nextcloud bot
7723faf51a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 00:20:05 +00:00
fenn-cs
227b8462d8 refactor(ShareApiController): Check for null and empty strings with empty()
Proactive measure to avoid warnings in higher php versions as well possible type errors

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-24 18:37:42 +01:00
fenn-cs
e2d2a17810 fix(ShareAPI): Send mails for mail shares by default
It looks like, the frontend it needs to provide the `sendMail` param
for the backend to decide wether mails would be sent.

Our UI does not have that at the moment so it should default to sending
emails always for mail shares.

Not exactly sure how this was handled earlier but this is a good starting point.

Resolves : https://github.com/nextcloud/server/issues/48012

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-24 14:41:07 +01:00