Commit Graph

23110 Commits

Author SHA1 Message Date
Nextcloud bot
fbb6df023b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-10 03:03:42 +00:00
Jyrki Gadinger
a74fa573f0
Merge pull request #8131 from nextcloud/backport/8095/stable-3.16
[stable-3.16] fix: try to correct mtime on upsyncs
2025-04-09 09:26:55 +02:00
Jyrki Gadinger
910cd64831 fix FileSystem::setModTime on x64 Windows with times > 2038
also removes some unused Utility methods

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-09 07:13:22 +00:00
Jyrki Gadinger
6f5f977534 fix: try to correct mtime on upsyncs
Files with a modification time of less than 0 do usually not make sense
(and afaik the server doesn't accept them either).
--> attempt to update the modification time to _Time.now_ while
propagating

side note: I ran into this because KArchive/Ark(?) didn't consider the
extra time attributes on entries for a certain zip file, so it instead
used the standard time value of each zip entry which was set to <= 1980
for files and < 1970 for directories...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-09 07:13:22 +00:00
Nextcloud bot
fe86261cdc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 03:04:50 +00:00
Matthieu Gallien
2b33cddcf7
Merge pull request #8130 from nextcloud/backport/8127/stable-3.16
[stable-3.16] stop using QFile api to delete a single local file
2025-04-08 23:24:25 +02:00
Matthieu Gallien
147a033f88 stop using QFile api to delete a single local file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-08 21:05:06 +00:00
Matthieu Gallien
0c50e0fafe
Merge pull request #8129 from nextcloud/backport/8128/stable-3.16
[stable-3.16] remove bogus check that tried to check for existing case clash conflict
2025-04-08 23:04:39 +02:00
Matthieu Gallien
cba3701c5c remove bogus check that tried to check for existing case clash conflict
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-08 19:49:07 +00:00
Nextcloud bot
f8fa044576
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 03:04:39 +00:00
Matthieu Gallien
8d57c975af
Merge pull request #8126 from nextcloud/backport/8121/stable-3.16
[stable-3.16] fix: move array to correct value in dict
2025-04-07 16:21:36 +02:00
Jyrki Gadinger
bb7dde19a3 fix: move array to correct value in dict
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-07 15:39:03 +02:00
Matthieu Gallien
42f9eca684
Merge pull request #8125 from nextcloud/backport/8122/stable-3.16
[stable-3.16] fix crash within FolderStatusModelTest
2025-04-07 15:34:07 +02:00
Matthieu Gallien
58f36dc59e fix crash within FolderStatusModelTest
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 12:40:09 +00:00
Matthieu Gallien
72b96019a3
Merge pull request #8123 from nextcloud/backport/8118/stable-3.16
[stable-3.16] remove costly availability check that is never used
2025-04-07 14:06:43 +02:00
Matthieu Gallien
7aa76f57eb remove costly availability check that is never used
we never read the value computed

computing it means a recursive visit of the whole folder hierarchy which
could be taking a long time

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 13:53:29 +02:00
Matthieu Gallien
8eb56c04a1
Merge pull request #8124 from nextcloud/backport/8120/stable-3.16
[stable-3.16] Bugfix/delete errors
2025-04-07 13:53:15 +02:00
Matthieu Gallien
31b10e519c better error message for user when deleting local items
we might be displaying too technical errors that the user will have no
way to understand

for example on macOS, we might be getting:
Unknown error: 513

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
b97f7eb84c when deleting a folder starts by making it read-write permissions
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
bf1a13913a we must not use QFile::remove that may fail on windows read-only files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
69599b010f if we are going to need modified permissions: always change
we might need to change the permissions, so do it instead of trying to
be smart

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
1b2db61ce4 do not change permissions of invalid items on discovery
if we are going to delete those items, we will make them have the proper
permissions when we need

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
a0136117ca always make the file we try to delete be read-write as required
on windows you must only delete read-write files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:38 +00:00
Matthieu Gallien
85e31029f7 Qt 6.8 requires macSO 12 or higher: no need to compile against older
clean up preprocessor directives for older macOS releases that are not
supported by macOS minimum required release from the Qt 6.8 release we
require

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-07 10:53:37 +00:00
Nextcloud bot
e7d61f458e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 03:04:19 +00:00
Nextcloud bot
87256daa9c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 03:14:26 +00:00
Nextcloud bot
0dc5b61271
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 03:04:13 +00:00
Matthieu Gallien
68a0cd58d7
Merge pull request #8117 from nextcloud/backport/8107/stable-3.16
[stable-3.16] fix(mac-crafter): Work around broken consecutive shell integration builds
2025-04-04 17:40:03 +02:00
Claudio Cambra
48186f1363 fix(mac-crafter): Work around broken consecutive shell integration builds
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-04 13:32:43 +00:00
Matthieu Gallien
98d40a50d8
Merge pull request #8116 from nextcloud/backport/8109/stable-3.16
[stable-3.16] fix(gui): remove ignored file notifications from Activity list
2025-04-04 15:31:42 +02:00
Jyrki Gadinger
cefb1d061e fix(gui): remove ignored file notifications from Activity list
These are informative notifications without any need/possibility to act
on immediately -- if a file is not synced it will be visible from the
shell integration anyway.

An eventual follow-up to this change would be to have a dialogue with an
overview of all files that were ignored (including the entry in the
ignore list that caused a specific file to be ignored).

Closes #6712

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 13:03:11 +00:00
Matthieu Gallien
c827042236
Merge pull request #8115 from nextcloud/backport/8114/stable-3.16
[stable-3.16] fix(mac): bump deployment target to 12.0
2025-04-04 14:02:22 +02:00
Jyrki Gadinger
042fc1544c fix(mac): bump deployment target to 12.0
Qt 6.8 now requires macOS 12.0 as per https://doc.qt.io/qt-6.8/macos.html

for comparison, Qt 6.7 supported 11.0 and newer: https://doc.qt.io/qt-6.7/macos.html

also update the Packages project to refuse to install on anything older
than Monterey (12.0)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 11:48:44 +00:00
Nextcloud bot
361f1b8287
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-04 03:03:36 +00:00
Nextcloud bot
8ec78101b4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 03:02:53 +00:00
Nextcloud bot
cfe05b1a24
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-02 03:03:16 +00:00
Nextcloud bot
dcfe1319f5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-31 03:06:33 +00:00
Nextcloud bot
2091c5928a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 03:03:35 +00:00
Nextcloud bot
efca3887ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 03:04:25 +00:00
Nextcloud bot
9839e25720
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 03:04:28 +00:00
Jyrki Gadinger
0d8d216820
Merge pull request #8089 from nextcloud/backport/8080/stable-3.16
[stable-3.16] gui/macOS: Fix memory issues in Objective-C++ code for FileProvider support
2025-03-27 15:29:43 +01:00
Claudio Cambra
e91a0c181c gui/macOS: Properly retain/release NSFileProviderManager(s)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
de082e05f3 gui/macOS: Avoid need to retain/release things in file provider edit locally
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
90a66f5a5d gui/macOS: Avoid crash from bad manager release
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
3df4cece3a gui/macOS: Avoid retain call on extensionNcAccount by allocing new string
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
1b296b4afc gui/macOS: Improve overall memory management in XPCUtils::getDomainManagers
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
5f9f3c31c0 gui/macOS: Do not leak debug log string after use
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
44fc083fed gui/macOS: Use explicit type in connections array arg
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
6eca65b888 gui/macOS: Correctly release objects received via FileProviderUtils functions
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00
Claudio Cambra
1b56f2e38a gui/macOS: Properly wait for eviction result in materialised items model
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-27 14:16:05 +00:00