Matthieu Gallien
85e71d47bf
ensure lnk shortcut files are converted to virtual files
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:54:16 +01:00
Matthieu Gallien
2d0529c423
remote permissions of a view-only folder: no new file or folder
...
change the way we evaluate a folder permissions to be read-only when no
new file or new folders can be created
if those permissions are lacking, client will make the local folder
read-only
if those permissions are granted, client will make local folder
read-write
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:53:25 +01:00
Matthieu Gallien
d705cad6b9
improve logs for CfAPI handle requests in erroneous cases
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:09 +01:00
Matthieu Gallien
9c23be3434
never use QFileInfo on possibly pure virtual placeholder file
...
will prevent some type of activity being added to the list from
triggering implicit hydration during synchronization
most probably breaks existing open actions on those activities
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:09 +01:00
Matthieu Gallien
b6b0a9d4a3
prevent implicit hydration when setting file permissions on shortcuts
...
we were using specialized API to set the file permissions on the windows
shortcut and later falling back to the generic code path due to the
mising return
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
caf1d492b1
provide proper log when we block a self hydration request
...
should make the existing log more useful when tracking the
self requested implicit hydration bugs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
8ac293bfd4
fix migration of existing windows shortcut files to placeholder
...
we cannot do a single call to convert the plain old file to be a
dehydrated virtual file placeholder
split the conversion into a separate initial API call
fix transition from releases < 3.14 to current releases that have first
class support for windows shortcuts (so called link files)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
3c021166fa
use proper item type when converting existing windows shortcuts
...
we need to make shortcut files be proper virtual placeholder files
let the sync engine use the proper item type for that
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
1f21a934db
fix computation of availability for empty folders
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
efe686992e
do not move to trash online only files/folders: going to fail
...
ensure that even if move to trash is enabled, we do not erroneously try
to move online only files or folders to trash bin
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
16a2f0d5c4
Merge pull request #7373 from nextcloud/feature/display-sharedwithme-info
...
Show received share information in share view
2024-11-22 09:46:26 +01:00
Claudio Cambra
8baf105270
Ensure avatarJob is run on the respective account's QNAM thread
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
a8b0f23530
Match definition of shared_with_me with other properties in OcsShareJob getShares
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
0c32d78c42
Clean up whitespace in ShareModel::slotPropfindReceived
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
aa60f44251
Ensure account pointer is valid when fetching avatars
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
3957a305c2
Ensure requestedSize for avatars is valid
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
f0e88c769e
Display image for sharedWithMe share owner in share view
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
97ae48e17d
Build shareOwnerAvatar image provider string when handling sharedWithMe share in ShareModel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
380fe4a172
Add shareOwnerAvatar property to ShareModel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
bc74c5a887
Add ability to fetch remote server avatars in usermodel avatar ImageResponse
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
c38a51079e
Convert ImageProvider in an async image provider using an internal image response
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
1645912ce9
Bolden string showing who owns the share that was shared with me
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
b325686ddc
Display share owner rather than file owner (this is more relevant to user)
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
6620bf2dd2
Display shared with me file's share expiry in share view if relevant
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
cfc4c26f74
Display file owner information (if not self) in share view
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
4a1fa9228a
When handling fetched shares, record shared-with-me related information in sharemodel properties
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
4dcf545948
Also fetch shared with me share on target path
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
e0d3fc5b20
Add sharedWithMe-related properties to sharemodel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
117e2cf91a
Set if the file owner should be displayed and the file owner display name on propfind in sharemodel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
2e765c6fef
Add fileOwnerDisplayName property to ShareModel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
f0533a5ab1
Add displayFileOwner property to ShareModel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Matthieu Gallien
f5be72019b
Merge pull request #7547 from nextcloud/bugfix/general-settings-ui-fix
...
Fix broken general settings UI file
2024-11-22 09:14:52 +01:00
Claudio Cambra
caf06d4dfd
Rename horizontalLayout with duplicate name
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 09:14:00 +01:00
Claudio Cambra
f4871eaacd
Fix broken general setting UI file
...
Looks like it was originally caused at some point by a bad rebase
conflict resolution
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 09:14:00 +01:00
Nextcloud bot
d64a94f8bb
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 02:52:48 +00:00
Claudio Cambra
bd23f5e3b3
Merge pull request #7548 from nextcloud/bugfix/mac-crafter-woes-pt-100000
...
Only sign main executable at end (mac-crafter)
2024-11-22 02:43:19 +08:00
Claudio Cambra
bd7c78300a
Skip main executable during first binary codesign round
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:30:04 +08:00
Claudio Cambra
cc37aa14bc
Add ability to skip certain files in recursive codesign
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:29:49 +08:00
Claudio Cambra
4e0e2f4a24
Merge pull request #7545 from nextcloud/bugfix/final-final-mc-fix-pls
...
Fix mac-crafter codesign executable check path building
2024-11-22 00:58:12 +08:00
Claudio Cambra
07d6456d5b
Ensure we sign the app bundle's main executable last
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:25 +08:00
Claudio Cambra
d4b9405870
Only define enumeratedItemPath once
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:12 +08:00
Claudio Cambra
8d01462c80
Ensure path passed to codesigning is absolute when using mac-crafter codesign
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:09:13 +08:00
Claudio Cambra
119883965a
Do not take current dir pth for filemanager for recursive codesign executable path check
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:08:38 +08:00
Matthieu Gallien
3378126833
Merge pull request #7540 from nextcloud/ci/fixWindowsAutomatedTests
...
remove this call that is probably useless and crashing tests
2024-11-21 12:32:18 +01:00
Matthieu Gallien
e4cd55130a
remove this call that is probably useless and crashing tests
...
we initialize all colors in the palette, so this init methos is most
probably not doing anything useful
crashes when doing in automated tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-21 12:32:10 +01:00
Matthieu Gallien
52f066d20d
Merge pull request #5433 from nextcloud/feature/disable-talk-notifications
...
Feature/disable talk chat notifications
2024-11-21 12:31:32 +01:00
Claudio Cambra
e66135a59a
Remove unneeded check for DnD status when showing desktop talk notification
...
The server will not deliver it anyway
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
2608016995
Do not use const for POD type in setShowCallNotifications declaration
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
babdbd1e3e
Only notify talk chat notifications if this is enabled
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
918d79f5cd
Add the chat notification toggle setting logic in generalsettings
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00