Commit graph

29098 commits

Author SHA1 Message Date
Robin Appelman
2be08904ed
Merge pull request #40487 from nextcloud/backport/40183/stable27
[stable27] SFTP improvements
2023-09-20 10:08:02 +02:00
Nextcloud bot
1fe62e1862
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:42 +00:00
Robin Appelman
bd1dadd690 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 16:20:59 +02:00
Robin Appelman
0a5ebef425 improve s3 error handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 15:52:14 +02:00
Nextcloud bot
13c5dde076
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:24:07 +00:00
Robin Appelman
656fd512b5 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:44 +00:00
Robin Appelman
b48f118b65 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
373bd09fbf implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
02a50bd99c more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
6ab32b00ee sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
0a219b1dc0 fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Robin Appelman
70658918d9 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Daniel Kesselberg
efb01db387 fix: use faster method to fetch user count
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-18 14:09:01 +02:00
Daniel
e2cfe1deb2
Merge pull request #40444 from nextcloud/backport/40418/stable27 2023-09-18 14:08:30 +02:00
Robin Appelman
2fad5233a2
Merge pull request #40473 from nextcloud/backport/39860/stable27
[stable27] don't preload metadata for the sub-childen
2023-09-18 13:53:18 +02:00
Louis
5a22eb7016
Merge pull request #40448 from nextcloud/manual/backport/stable27/40440
[stable27] Backport consider link shares in removeShare method in SharingTab #40440
2023-09-18 12:37:47 +02:00
Robin Appelman
e14858007d only triger metadata preload logic when at least one metadata is requested
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:06 +00:00
Robin Appelman
9b3d8f334b don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:05 +00:00
fenn-cs
65ff60a69b Consider link shares in removeShare method in SharingTab
Currently, the `removeShare` method in the `SharingTab` view,
does not take into account `linkShares`.

Since link shares now shares thesame detail view with other share types,
it should therefore be considered hence this commit.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 08:35:30 +00:00
Nextcloud bot
eaaa3521e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:57 +00:00
Nextcloud bot
8045a6dd22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 00:27:11 +00:00
Nextcloud bot
5139643a63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 00:27:38 +00:00
Daniel Kesselberg
562c47223a fix: don't use davtags for tag search
1. https://github.com/nextcloud/server/pull/26813 Initial implementation with support for systemtags and davtags (vcategory)
2. https://github.com/nextcloud/server/pull/39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags

Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-15 17:36:38 +00:00
fenn-cs
481f5bba81 Correctly switch/revert from custom to bundled perms
We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 13:48:54 +00:00
Nextcloud bot
5a9df6c168
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:46 +00:00
Andy Scherzinger
1ac6c923b4
Merge pull request #40415 from nextcloud/artonge/backport/stable27/40389
[stable27] Fix invite guest for new sharing flow
2023-09-14 14:23:08 +02:00
Andy Scherzinger
87b7c91108
Merge pull request #40414 from nextcloud/artonge/backport/stable27/40365
[stable27] Hide additional content when share details is open
2023-09-14 14:14:52 +02:00
Arthur Schiwon
6c232c511c
Merge pull request #40402 from nextcloud/backport/40301/stable27
[stable27] fix(caldav): add webroot to objectid for activities
2023-09-14 12:24:55 +02:00
fenn-cs
15dd2e85e1 Fix invite guest for new sharing flow
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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:04:16 +02:00
Louis Chemineau
fb76e03345 Hide additional content when share details is open
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:01:18 +02:00
fenn-cs
cd795e6422 Ellipsize user status in sharing entry
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 11:37:18 +02:00
fenn-cs
eb9ba2e8ce Display user status by the side in sharing flow
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>
2023-09-14 08:47:46 +02:00
Nextcloud bot
582c34e605
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:27:03 +00:00
Daniel Kesselberg
0da5cb3b85 fix(caldav): add webroot to objectid for activities
A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.

Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-13 19:34:03 +00:00
fenn-cs
2a54fc57eb Consistent delete button in share details
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>
2023-09-13 10:18:08 +01:00
fenn-cs
51ad9cfcc8 Enfore allowPublicShares admin setting
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>
2023-09-13 10:18:08 +01:00
fenn-cs
cec466ed3b Refactor migrated addShare method
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 10:18:07 +01:00
Nextcloud bot
9037509729
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 00:24:46 +00:00
Arthur Schiwon
8ffe77d036
Merge pull request #40343 from nextcloud/40289-stable27-fix-appearance
[stable27] 40289 fix appearance
2023-09-12 09:28:46 +02:00
Arthur Schiwon
96d72c8bdc
Merge pull request #40369 from nextcloud/backport/39128/stable27
[stable27] fix(ldap): avatar is not being fetched
2023-09-12 09:23:27 +02:00
Nextcloud bot
26d6ac7366
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 00:27:55 +00:00
Arthur Schiwon
00ac153ef7 fix(LDAP): add return type hint and description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
Arthur Schiwon
1f748ded7e fix(ldap): avatar is not being fetched
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
fenn-cs
8113c027d8 Add icons for bundled permissions
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 13:26:25 +01:00
fenn-cs
f2a9859117 Adjust share details view UI
- List custom permissions activated in sublime
- Align checkboxes in advanced settings

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-11 13:12:01 +01:00
Nextcloud bot
67e82f17ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 00:27:08 +00:00
Nextcloud bot
058b6c36f9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-10 00:25:29 +00:00
Nextcloud bot
5125a3455f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-09 00:25:51 +00:00
Arthur Schiwon
07a9200538
Merge pull request #40333 from nextcloud/backport/40329/stable27
[stable27] theming: Revert broken SVG optimization in default-source.svg
2023-09-08 17:06:38 +02:00
Arthur Schiwon
7829019ca8
Merge pull request #40339 from nextcloud/artonge/backport/stable27/40296
[stable27] Enable new versions feature for groupfolders
2023-09-08 17:05:17 +02:00