nextcloud-desktop.git
2 years agoUpdate upstream source from tag 'upstream/3.10.0'
Sandro Knauß [Sat, 7 Oct 2023 21:55:16 +0000 (23:55 +0200)]
Update upstream source from tag 'upstream/3.10.0'

Update to upstream version '3.10.0'
with Debian dir 262893ad5b5004d92852b6be891d4e59fa341f32

2 years agoNew upstream version 3.10.0
Sandro Knauß [Sat, 7 Oct 2023 21:53:56 +0000 (23:53 +0200)]
New upstream version 3.10.0

2 years agoprepare 3.10.0 final release
Matthieu Gallien [Fri, 15 Sep 2023 13:55:22 +0000 (15:55 +0200)]
prepare 3.10.0 final release

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoprepare for 3.10.0-rc3
Matthieu Gallien [Fri, 15 Sep 2023 06:38:30 +0000 (08:38 +0200)]
prepare for 3.10.0-rc3

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6060 from nextcloud/backport/6059/stable-3.10
Matthieu Gallien [Thu, 14 Sep 2023 21:59:10 +0000 (23:59 +0200)]
Merge pull request #6060 from nextcloud/backport/6059/stable-3.10

[stable-3.10] do not check every 5 seconds files with infinite timeout (= 0)

2 years agodo not check every 5 seconds files with infinite timeout (= 0)
Matthieu Gallien [Thu, 14 Sep 2023 16:27:18 +0000 (18:27 +0200)]
do not check every 5 seconds files with infinite timeout (= 0)

we want to schedule a new sync attempt if a file is likely to have been
unlocked due to timeout expiring on server

but if the timeout is null (equal to 0), there will be no timeout on
server and no automated unlocking, so do not schedule a sync every 5
seconds to check for it

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6057 from nextcloud/backport/6056/stable-3.10
Matthieu Gallien [Thu, 14 Sep 2023 21:15:27 +0000 (23:15 +0200)]
Merge pull request #6057 from nextcloud/backport/6056/stable-3.10

[stable-3.10] Bugfix/infinite sync

2 years agoTests for placeholder file metadata update.
alex-z [Thu, 14 Sep 2023 13:04:46 +0000 (15:04 +0200)]
Tests for placeholder file metadata update.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoRemove unused function 'revertPlaceholder'.
alex-z [Thu, 14 Sep 2023 11:17:31 +0000 (13:17 +0200)]
Remove unused function 'revertPlaceholder'.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoDo not attempt to convert .lnk files to placeholder. Also do not modify folders'...
alex-z [Thu, 14 Sep 2023 11:14:16 +0000 (13:14 +0200)]
Do not attempt to convert .lnk files to placeholder. Also do not modify folders' metadata.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoMerge pull request #6054 from nextcloud/backport/6053/stable-3.10
Matthieu Gallien [Thu, 14 Sep 2023 16:42:01 +0000 (18:42 +0200)]
Merge pull request #6054 from nextcloud/backport/6053/stable-3.10

[stable-3.10] once we call done on a sync file item, return is needed

2 years agoonce we call done on a sync file item, return is needed
Matthieu Gallien [Thu, 14 Sep 2023 09:58:00 +0000 (11:58 +0200)]
once we call done on a sync file item, return is needed

will avoid calling done method multiple times on a signle file item
causing a crash via ENFORCE function

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6051 from nextcloud/backport/6046/stable-3.10
Matthieu Gallien [Wed, 13 Sep 2023 13:16:04 +0000 (15:16 +0200)]
Merge pull request #6051 from nextcloud/backport/6046/stable-3.10

[stable-3.10] Bugfix/multiple accounts migration

2 years agoMigrate all legacy folders for each legacy account.
Camila [Tue, 12 Sep 2023 17:35:34 +0000 (19:35 +0200)]
Migrate all legacy folders for each legacy account.

Also cleans up FolderMan::setupFolderFromOldConfigFile logic.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMigrates all legacy accounts.
Camila [Tue, 12 Sep 2023 12:54:31 +0000 (14:54 +0200)]
Migrates all legacy accounts.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMerge pull request #6050 from nextcloud/backport/6012/stable-3.10
Matthieu Gallien [Wed, 13 Sep 2023 12:45:47 +0000 (14:45 +0200)]
Merge pull request #6050 from nextcloud/backport/6012/stable-3.10

[stable-3.10] Use a standardised locale to create log file filenames

2 years agoUse a standardised locale to create log file filenames, fixing issues with certain...
Claudio Cambra [Thu, 31 Aug 2023 05:36:10 +0000 (13:36 +0800)]
Use a standardised locale to create log file filenames, fixing issues with certain locales

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6048 from nextcloud/backport/5961/stable-3.10
Claudio Cambra [Wed, 13 Sep 2023 11:07:39 +0000 (19:07 +0800)]
Merge pull request #6048 from nextcloud/backport/5961/stable-3.10

[stable-3.10] Rewrite share expiration date field's date handling, fixing issues

2 years agoMore stringently check for min and max date validity in date field backend
Claudio Cambra [Tue, 12 Sep 2023 17:27:56 +0000 (01:27 +0800)]
More stringently check for min and max date validity in date field backend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDo not present NCInputDateField backend as public property
Claudio Cambra [Tue, 12 Sep 2023 17:05:20 +0000 (01:05 +0800)]
Do not present NCInputDateField backend as public property

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd a test for the various ways of setting a date on datefieldbackend
Claudio Cambra [Tue, 12 Sep 2023 16:59:57 +0000 (00:59 +0800)]
Add a test for the various ways of setting a date on datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoCheck that signals were correctly emitted in testDateBoundaries
Claudio Cambra [Tue, 12 Sep 2023 16:42:39 +0000 (00:42 +0800)]
Check that signals were correctly emitted in testDateBoundaries

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd test for date field backend boundaries
Claudio Cambra [Tue, 12 Sep 2023 16:03:43 +0000 (00:03 +0800)]
Add test for date field backend boundaries

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd simple test for basic. default date properties of DateFieldBackend
Claudio Cambra [Tue, 12 Sep 2023 14:03:55 +0000 (22:03 +0800)]
Add simple test for basic. default date properties of DateFieldBackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd date field backend test file
Claudio Cambra [Tue, 12 Sep 2023 13:11:03 +0000 (21:11 +0800)]
Add date field backend test file

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure qdatetimes are UTC in datefieldbackend
Claudio Cambra [Tue, 8 Aug 2023 10:49:15 +0000 (18:49 +0800)]
Ensure qdatetimes are UTC in datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure leading zero dates are also correctly parsed
Claudio Cambra [Tue, 8 Aug 2023 10:48:35 +0000 (18:48 +0800)]
Ensure leading zero dates are also correctly parsed

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd date field input method hint
Claudio Cambra [Tue, 8 Aug 2023 10:28:51 +0000 (18:28 +0800)]
Add date field input method hint

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDo not use QDateTime, use only QDate for datefieldbackend
Claudio Cambra [Tue, 8 Aug 2023 10:03:35 +0000 (18:03 +0800)]
Do not use QDateTime, use only QDate for datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoGive each property unique signals, fixing QML bugs
Claudio Cambra [Tue, 8 Aug 2023 09:29:45 +0000 (17:29 +0800)]
Give each property unique signals, fixing QML bugs

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoCustomise locale default date format to ensure we eliminate issues parsing two-digit...
Claudio Cambra [Tue, 8 Aug 2023 09:27:11 +0000 (17:27 +0800)]
Customise locale default date format to ensure we eliminate issues parsing two-digit year strings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoUse NCInputDateField in ShareDetailsPage
Claudio Cambra [Tue, 8 Aug 2023 07:08:12 +0000 (15:08 +0800)]
Use NCInputDateField in ShareDetailsPage

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoVastly simplify NCInputDateField by using the DateFieldBackend
Claudio Cambra [Tue, 8 Aug 2023 07:07:42 +0000 (15:07 +0800)]
Vastly simplify NCInputDateField by using the DateFieldBackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRegister DateFieldBackend in QML engine
Claudio Cambra [Tue, 8 Aug 2023 09:30:11 +0000 (17:30 +0800)]
Register DateFieldBackend in QML engine

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd validDateTime property to datefieldbackend
Claudio Cambra [Tue, 8 Aug 2023 07:06:52 +0000 (15:06 +0800)]
Add validDateTime property to datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd maximum date properties to datefieldbackend
Claudio Cambra [Mon, 7 Aug 2023 15:14:34 +0000 (23:14 +0800)]
Add maximum date properties to datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd minimum date properties to datefieldbackend
Claudio Cambra [Mon, 7 Aug 2023 15:11:53 +0000 (23:11 +0800)]
Add minimum date properties to datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd strig based representation and setting for date in datefieldbackend
Claudio Cambra [Mon, 7 Aug 2023 15:00:13 +0000 (23:00 +0800)]
Add strig based representation and setting for date in datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd datetime msecs property to datefieldbackend
Claudio Cambra [Mon, 7 Aug 2023 14:38:08 +0000 (22:38 +0800)]
Add datetime msecs property to datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd dateTime property to datefieldbackend
Claudio Cambra [Mon, 7 Aug 2023 12:21:22 +0000 (20:21 +0800)]
Add dateTime property to datefieldbackend

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd starter datefieldbackend class
Claudio Cambra [Mon, 7 Aug 2023 12:17:00 +0000 (20:17 +0800)]
Add starter datefieldbackend class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoStop reducing date numbers
Claudio Cambra [Mon, 7 Aug 2023 11:41:24 +0000 (19:41 +0800)]
Stop reducing date numbers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoExtract date field into a separate file
Claudio Cambra [Mon, 7 Aug 2023 10:19:39 +0000 (18:19 +0800)]
Extract date field into a separate file

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEliminate wrapper SpinBox for expire date field
Claudio Cambra [Mon, 7 Aug 2023 08:47:58 +0000 (16:47 +0800)]
Eliminate wrapper SpinBox for expire date field

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6045 from nextcloud/backport/6043/stable-3.10
Matthieu Gallien [Tue, 12 Sep 2023 10:01:30 +0000 (12:01 +0200)]
Merge pull request #6045 from nextcloud/backport/6043/stable-3.10

[stable-3.10] Display correct conflict part in multiple conflicts resolution dialog.

2 years agoDisplay correct conflict part in multiple conflicts resolution dialog.
alex-z [Mon, 11 Sep 2023 14:19:42 +0000 (16:19 +0200)]
Display correct conflict part in multiple conflicts resolution dialog.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoMerge pull request #6044 from nextcloud/backport/6035/stable-3.10
Claudio Cambra [Tue, 12 Sep 2023 02:28:25 +0000 (10:28 +0800)]
Merge pull request #6044 from nextcloud/backport/6035/stable-3.10

[stable-3.10] Fix visual bug with folder size confirmation combo box in general settings

2 years agoFix visual bug with folder size confirmation combo box in general settings
Claudio Cambra [Thu, 7 Sep 2023 07:05:15 +0000 (15:05 +0800)]
Fix visual bug with folder size confirmation combo box in general settings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6039 from nextcloud/backport/6038/stable-3.10
allexzander [Fri, 8 Sep 2023 13:59:35 +0000 (15:59 +0200)]
Merge pull request #6039 from nextcloud/backport/6038/stable-3.10

[stable-3.10] Store the new etag into local database when opening with auto-locking…

2 years agoStore the new etag into local database when opening with auto-locking/manual locking...
alex-z [Thu, 7 Sep 2023 15:43:43 +0000 (17:43 +0200)]
Store the new etag into local database when opening with auto-locking/manual locking the file locally.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoMerge pull request #6037 from nextcloud/backport/6034/stable-3.10
Matthieu Gallien [Thu, 7 Sep 2023 13:06:05 +0000 (15:06 +0200)]
Merge pull request #6037 from nextcloud/backport/6034/stable-3.10

[stable-3.10] Fix macOS notification talk replies by avoiding early dealloc

2 years agoFix macOS notification talk replies by avoiding early dealloc
Claudio Cambra [Thu, 7 Sep 2023 06:28:47 +0000 (14:28 +0800)]
Fix macOS notification talk replies by avoiding early dealloc

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6036 from nextcloud/backport/6031/stable-3.10
Matthieu Gallien [Thu, 7 Sep 2023 10:59:16 +0000 (12:59 +0200)]
Merge pull request #6036 from nextcloud/backport/6031/stable-3.10

[stable-3.10] Add compatibility with the new libcloudproviders integration

2 years agoAdd compatibility with the new libcloudproviders integration
Corentin Noël [Wed, 6 Sep 2023 14:04:15 +0000 (16:04 +0200)]
Add compatibility with the new libcloudproviders integration

Since libcloudproviders 0.3.3 it is possible to specify the interface name directly
in the .desktop file, and thus allowing it to be integrated when using a containerized
client.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
2 years agoMerge pull request #6033 from nextcloud/backport/6023/stable-3.10
Claudio Cambra [Thu, 7 Sep 2023 05:13:13 +0000 (13:13 +0800)]
Merge pull request #6033 from nextcloud/backport/6023/stable-3.10

[stable-3.10] fixed detection of server version in cmd client similar to gui client (2nd try, signed off)

2 years agofixed detection of server version in cmd client similar to gui client:
Patrick Cernko [Tue, 5 Sep 2023 04:11:54 +0000 (06:11 +0200)]
fixed detection of server version in cmd client similar to gui client:

first check status.php for version and then capabilities, only use version string if not empty

this also fixes 'File names containing the character ":" are not supported on this file system.' errors in nextcloudcmd (on Linux): The invalidFilenameRegex was set to a static default in case the server version was not set correctly. As newer versions of nextcloud do not return the version in capabilities but status.php, the server version was empty.

Signed-off-by: Patrick Cernko <errror@errror.org>
2 years agoMerge pull request #6028 from nextcloud/backport/6027/stable-3.10
Matthieu Gallien [Wed, 6 Sep 2023 10:48:08 +0000 (12:48 +0200)]
Merge pull request #6028 from nextcloud/backport/6027/stable-3.10

[stable-3.10] Remove locketimeout condition.

2 years agoRemove locketimeout condition.
alex-z [Wed, 6 Sep 2023 10:12:08 +0000 (12:12 +0200)]
Remove locketimeout condition.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoprepare for release 3.10.0 RC2
Matthieu Gallien [Wed, 6 Sep 2023 06:34:14 +0000 (08:34 +0200)]
prepare for release 3.10.0 RC2

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6025 from nextcloud/backport/6022/stable-3.10
Matthieu Gallien [Tue, 5 Sep 2023 19:11:12 +0000 (21:11 +0200)]
Merge pull request #6025 from nextcloud/backport/6022/stable-3.10

[stable-3.10] Bugfix/lock state spam

2 years agoFix a crash when saving the locked Word document file due to unnecessary spam to...
alex-z [Mon, 4 Sep 2023 18:55:02 +0000 (20:55 +0200)]
Fix a crash when saving the locked Word document file due to unnecessary spam to the lock state change from folder watcher logic.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoMerge pull request #6019 from nextcloud/backport/6014/stable-3.10
allexzander [Tue, 5 Sep 2023 13:26:30 +0000 (15:26 +0200)]
Merge pull request #6019 from nextcloud/backport/6014/stable-3.10

[stable-3.10] Allow deleting remotely deleted files locally in case of upload errors

2 years agoIgnore upload error items and schedule a new sync in case there are removed items...
alex-z [Thu, 31 Aug 2023 16:55:56 +0000 (18:55 +0200)]
Ignore upload error items and schedule a new sync in case there are removed items that need to be downsynced.

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoprepare 3.10-rc1 release
Matthieu Gallien [Fri, 1 Sep 2023 15:57:44 +0000 (17:57 +0200)]
prepare 3.10-rc1 release

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #5986 from nextcloud/feature/auto-lock-libreoffice-files
Matthieu Gallien [Fri, 1 Sep 2023 15:49:27 +0000 (17:49 +0200)]
Merge pull request #5986 from nextcloud/feature/auto-lock-libreoffice-files

Automatically lock LibreOffice files on server while they are being edited locally

2 years agoFix declaration of lockfilepatterns
Claudio Cambra [Wed, 30 Aug 2023 15:39:49 +0000 (23:39 +0800)]
Fix declaration of lockfilepatterns

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoLock files when relevant lock files found by folder watcher
Claudio Cambra [Fri, 18 Aug 2023 11:12:16 +0000 (19:12 +0800)]
Lock files when relevant lock files found by folder watcher

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEmit lock file target file paths in lock file discovery from folder watcher
Claudio Cambra [Fri, 18 Aug 2023 10:35:04 +0000 (18:35 +0800)]
Emit lock file target file paths in lock file discovery from folder watcher

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoNotify when new lock files are found in folderwatcher
Claudio Cambra [Fri, 18 Aug 2023 09:04:11 +0000 (17:04 +0800)]
Notify when new lock files are found in folderwatcher

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDo not search for matching file pattern in possiblyAddUnlockedFilePath
Claudio Cambra [Fri, 18 Aug 2023 09:02:16 +0000 (17:02 +0800)]
Do not search for matching file pattern in possiblyAddUnlockedFilePath

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDefine private lock file patterns as const std::array
Claudio Cambra [Fri, 18 Aug 2023 08:58:28 +0000 (16:58 +0800)]
Define private lock file patterns as const std::array

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoSplit off lock file pat pattern matching into separate function
Claudio Cambra [Fri, 18 Aug 2023 08:43:50 +0000 (16:43 +0800)]
Split off lock file pat pattern matching into separate function

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoModernise FolderWatcher::changeDetected
Claudio Cambra [Thu, 17 Aug 2023 10:14:41 +0000 (18:14 +0800)]
Modernise FolderWatcher::changeDetected

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #5959 from nextcloud/bugfix/oc-account-login
Camila [Fri, 1 Sep 2023 13:53:11 +0000 (10:53 -0300)]
Merge pull request #5959 from nextcloud/bugfix/oc-account-login

oc desktop client login migration to nc desktop client login

2 years agoRemove the files under 3rdparty/sqlite3.
Camila [Thu, 31 Aug 2023 16:06:57 +0000 (18:06 +0200)]
Remove the files under 3rdparty/sqlite3.

- Always used a sqlite compiled version or a version from KDE Craft
- When building the AppImage copy the sqlite files to the
/usr/lib/ folder in it.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMigrate legacy user defined exclude file.
Camila [Wed, 30 Aug 2023 16:34:35 +0000 (18:34 +0200)]
Migrate legacy user defined exclude file.

- Refactor ConfigFile::setupDefaultExcludeFilePaths.
- Refactor ConfigFile::excludeFile.
- Fix code style.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMigrate selective sync db list.
Camila [Sun, 27 Aug 2023 21:32:05 +0000 (23:32 +0200)]
Migrate selective sync db list.

- Refactor migration of blacklisted folders.
- Only change selective sync list if needed.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMigrate all folders from a legacy config.
Camila [Sun, 27 Aug 2023 20:19:04 +0000 (22:19 +0200)]
Migrate all folders from a legacy config.

- Migrate only the current config in use by the legacy application.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMigrate http_user to webflow_user and dav_user.
Camila [Tue, 15 Aug 2023 16:20:18 +0000 (18:20 +0200)]
Migrate http_user to webflow_user and dav_user.

- Add {} for single line condition, const auto and fix comments.
- Save the legacy account data first in _settingsMap, so the legacy config file
does not get changed in the migration process.
- Legacy dav_user should stay only as dav_user in the new config.
- Compare davUser and prettyName only when new user id needs to be retrieved.

Signed-off-by: Camila <hello@camila.codes>
2 years agoMerge pull request #6010 from nextcloud/bugfix/vfs-update-placeholder-on-lastaccessti...
Matthieu Gallien [Fri, 1 Sep 2023 13:04:27 +0000 (15:04 +0200)]
Merge pull request #6010 from nextcloud/bugfix/vfs-update-placeholder-on-lastaccesstime-changed

Update VFS placeholder in case of lastAccessTime changed for Word documents and .msg files

2 years agoUpdate Word files VFS placeholders each time they get opened by tracking the 'lock...
alex-z [Mon, 28 Aug 2023 15:07:27 +0000 (17:07 +0200)]
Update Word files VFS placeholders each time they get opened by tracking the 'lock' files

Signed-off-by: alex-z <blackslayer4@gmail.com>
2 years agoMerge pull request #6015 from nextcloud/upgrade/client-appimage
Matthieu Gallien [Fri, 1 Sep 2023 12:14:22 +0000 (14:14 +0200)]
Merge pull request #6015 from nextcloud/upgrade/client-appimage

Bump client and client-appimage image versions.

2 years agoupdate signature
tobiasKaminsky [Fri, 1 Sep 2023 11:19:30 +0000 (13:19 +0200)]
update signature

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2 years agoBump client and client-appimage image versions.
Camila [Fri, 1 Sep 2023 09:19:34 +0000 (11:19 +0200)]
Bump client and client-appimage image versions.

It now includes the new sqlite version.

Signed-off-by: Camila <hello@camila.codes>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 1 Sep 2023 02:43:51 +0000 (02:43 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #5939 from nextcloud/feature/chunk-c2
Claudio Cambra [Thu, 31 Aug 2023 14:45:28 +0000 (22:45 +0800)]
Merge pull request #5939 from nextcloud/feature/chunk-c2

Implement support for server chunked file upload V2 API

2 years agoReplace comments about relevancy of chunk to propagat v1 with variable name change
Claudio Cambra [Thu, 31 Aug 2023 11:35:09 +0000 (19:35 +0800)]
Replace comments about relevancy of chunk to propagat v1 with variable name change

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure default min and max chunk sizes are multiplied as long longs
Claudio Cambra [Thu, 31 Aug 2023 11:27:31 +0000 (19:27 +0800)]
Ensure default min and max chunk sizes are multiplied as long longs

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoUse [[nodiscard]] for new syncoptions and propagateupload functions
Claudio Cambra [Mon, 31 Jul 2023 07:12:40 +0000 (15:12 +0800)]
Use [[nodiscard]] for new syncoptions and propagateupload functions

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd test for Chunk V2 restrictions in testchunkingng
Claudio Cambra [Fri, 28 Jul 2023 17:04:58 +0000 (01:04 +0800)]
Add test for Chunk V2 restrictions in testchunkingng

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnforce Chunk V2 API chunk size limits at the sync options level
Claudio Cambra [Fri, 28 Jul 2023 17:04:17 +0000 (01:04 +0800)]
Enforce Chunk V2 API chunk size limits at the sync options level

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoClarify use of ProgressInfo _chunk
Claudio Cambra [Fri, 28 Jul 2023 14:36:44 +0000 (22:36 +0800)]
Clarify use of ProgressInfo _chunk

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix chunk numbering in chunking tests
Claudio Cambra [Fri, 28 Jul 2023 14:29:49 +0000 (22:29 +0800)]
Fix chunk numbering in chunking tests

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure chunkUploadFolder components are QStrings
Claudio Cambra [Fri, 28 Jul 2023 09:58:14 +0000 (17:58 +0800)]
Ensure chunkUploadFolder components are QStrings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAssert that chunk num passed to chunkUrl is at least 1
Claudio Cambra [Fri, 28 Jul 2023 07:39:12 +0000 (15:39 +0800)]
Assert that chunk num passed to chunkUrl is at least 1

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoSent destination header per chunking v2 api
Claudio Cambra [Fri, 28 Jul 2023 07:38:07 +0000 (15:38 +0800)]
Sent destination header per chunking v2 api

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoStart numbering chunks from 1 per chunking v2 api
Claudio Cambra [Fri, 28 Jul 2023 07:37:49 +0000 (15:37 +0800)]
Start numbering chunks from 1 per chunking v2 api

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoConform to chunk sizing restrictions introduced in Chunking V2
Claudio Cambra [Fri, 28 Jul 2023 07:14:17 +0000 (15:14 +0800)]
Conform to chunk sizing restrictions introduced in Chunking V2

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix http error code uint warning
Claudio Cambra [Fri, 28 Jul 2023 07:11:45 +0000 (15:11 +0800)]
Fix http error code uint warning

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoSplit getting chunk upload folder from chunkUrl as this was previously misleading...
Claudio Cambra [Fri, 28 Jul 2023 07:10:52 +0000 (15:10 +0800)]
Split getting chunk upload folder from chunkUrl as this was previously misleading and unclear

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>