Nextcloud bot
4c69cbff11
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-07 02:43:48 +00:00
Claudio Cambra
0cbbd818a4
Merge pull request #6023 from errror/master
...
fixed detection of server version in cmd client similar to gui client (2nd try, signed off)
2023-09-07 10:31:35 +08:00
Patrick Cernko
b1db1fb599
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>
2023-09-06 19:10:15 +08:00
Matthieu Gallien
23d324b973
Merge pull request #6027 from nextcloud/bugfix/remove-locktimeout-condition
...
Remove locketimeout condition.
2023-09-06 12:32:44 +02:00
alex-z
f8a2826f7f
Remove locketimeout condition.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-09-06 12:12:08 +02:00
Nextcloud bot
ed379f2e59
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-06 03:03:21 +00:00
Matthieu Gallien
142f604b91
Merge pull request #6022 from nextcloud/bugfix/lock-state-spam
...
Bugfix/lock state spam
2023-09-05 19:16:42 +02:00
alex-z
3815919aa5
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>
2023-09-05 15:52:04 +02:00
allexzander
270f6bf712
Merge pull request #6014 from nextcloud/bugfix/do-not-abort-sync-on-normalerror
...
Allow deleting remotely deleted files locally in case of upload errors
2023-09-04 13:51:43 +02:00
alex-z
0f7d29bce6
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>
2023-09-04 10:02:05 +02:00
Nextcloud bot
54d9905cce
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-02 02:39:39 +00:00
Matthieu Gallien
078084240a
prepare 3.11 release
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-09-01 17:56:29 +02:00
Matthieu Gallien
a20f333560
Merge pull request #5986 from nextcloud/feature/auto-lock-libreoffice-files
...
Automatically lock LibreOffice files on server while they are being edited locally
2023-09-01 17:49:27 +02:00
Claudio Cambra
2b6580a5a9
Fix declaration of lockfilepatterns
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:46 +02:00
Claudio Cambra
2503ded168
Lock files when relevant lock files found by folder watcher
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:45 +02:00
Claudio Cambra
65569e5486
Emit lock file target file paths in lock file discovery from folder watcher
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:45 +02:00
Claudio Cambra
859bf07873
Notify when new lock files are found in folderwatcher
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:44 +02:00
Claudio Cambra
f5d15d8a82
Do not search for matching file pattern in possiblyAddUnlockedFilePath
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:43 +02:00
Claudio Cambra
da62e6615d
Define private lock file patterns as const std::array
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:42 +02:00
Claudio Cambra
5d0d7a3c9f
Split off lock file pat pattern matching into separate function
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:42 +02:00
Claudio Cambra
128648a735
Modernise FolderWatcher::changeDetected
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-09-01 17:15:41 +02:00
Camila
c3845136af
Merge pull request #5959 from nextcloud/bugfix/oc-account-login
...
oc desktop client login migration to nc desktop client login
2023-09-01 10:53:11 -03:00
Camila
0936201d80
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>
2023-09-01 15:09:29 +02:00
Camila
9dbb072858
Migrate legacy user defined exclude file.
...
- Refactor ConfigFile::setupDefaultExcludeFilePaths.
- Refactor ConfigFile::excludeFile.
- Fix code style.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:29 +02:00
Camila
6f38545e09
Migrate selective sync db list.
...
- Refactor migration of blacklisted folders.
- Only change selective sync list if needed.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:29 +02:00
Camila
c3feee1095
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>
2023-09-01 15:09:28 +02:00
Camila
f69dea0a94
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>
2023-09-01 15:09:28 +02:00
Matthieu Gallien
f5cdb5db75
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
2023-09-01 15:04:27 +02:00
alex-z
f3db221314
Update Word files VFS placeholders each time they get opened by tracking the 'lock' files
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-09-01 15:04:17 +02:00
Matthieu Gallien
79b419816b
Merge pull request #6015 from nextcloud/upgrade/client-appimage
...
Bump client and client-appimage image versions.
2023-09-01 14:14:22 +02:00
tobiasKaminsky
f4d8f88763
update signature
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-01 13:19:30 +02:00
Camila
f1f14f2e24
Bump client and client-appimage image versions.
...
It now includes the new sqlite version.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 11:57:32 +02:00
Nextcloud bot
a34b078ece
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-01 02:43:51 +00:00
Claudio Cambra
ec9b940749
Merge pull request #5939 from nextcloud/feature/chunk-c2
...
Implement support for server chunked file upload V2 API
2023-08-31 22:45:28 +08:00
Claudio Cambra
a0c528a190
Replace comments about relevancy of chunk to propagat v1 with variable name change
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
f46d71fdf6
Ensure default min and max chunk sizes are multiplied as long longs
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
eadb458ae6
Use [[nodiscard]] for new syncoptions and propagateupload functions
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
eb01a57359
Add test for Chunk V2 restrictions in testchunkingng
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
2f5c164534
Enforce Chunk V2 API chunk size limits at the sync options level
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
7cb8640352
Clarify use of ProgressInfo _chunk
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
189bc67a0a
Fix chunk numbering in chunking tests
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
7d90641722
Ensure chunkUploadFolder components are QStrings
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
a8a2a86316
Assert that chunk num passed to chunkUrl is at least 1
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
a647ee1911
Sent destination header per chunking v2 api
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
fbb513a26d
Start numbering chunks from 1 per chunking v2 api
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
cbbb4c87b8
Conform to chunk sizing restrictions introduced in Chunking V2
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
c29181e997
Fix http error code uint warning
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
614d48bf2a
Split getting chunk upload folder from chunkUrl as this was previously misleading and unclear
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
12827d1746
Clean up declaration of propagateuploadng
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00
Claudio Cambra
d99d35e9ac
Refactor startChunkUpload, move upload finalisation to separate method
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-31 15:25:00 +02:00