nextcloud-desktop.git
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>
2 years agoClean up declaration of propagateuploadng
Claudio Cambra [Thu, 27 Jul 2023 08:37:40 +0000 (16:37 +0800)]
Clean up declaration of propagateuploadng

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRefactor startChunkUpload, move upload finalisation to separate method
Claudio Cambra [Thu, 27 Jul 2023 08:10:13 +0000 (16:10 +0800)]
Refactor startChunkUpload, move upload finalisation to separate method

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoConst autofy startChunkUpload in propagatuploadng
Claudio Cambra [Thu, 27 Jul 2023 08:01:05 +0000 (16:01 +0800)]
Const autofy startChunkUpload in propagatuploadng

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6008 from nextcloud/bugfix/remove-own-sqlite
Claudio Cambra [Thu, 31 Aug 2023 02:53:06 +0000 (10:53 +0800)]
Merge pull request #6008 from nextcloud/bugfix/remove-own-sqlite

Ignore the USE_OUR_OWN_SQLITE3 flag.

2 years agoIgnore the USE_OUR_OWN_SQLITE3 flag.
Camila [Tue, 29 Aug 2023 10:05:03 +0000 (12:05 +0200)]
Ignore the USE_OUR_OWN_SQLITE3 flag.

Always look for sqlite in the system in the 3 platforms.

Signed-off-by: Camila <hello@camila.codes>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 28 Aug 2023 02:40:29 +0000 (02:40 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 26 Aug 2023 02:48:41 +0000 (02:48 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 25 Aug 2023 02:59:01 +0000 (02:59 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 24 Aug 2023 03:22:06 +0000 (03:22 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #5946 from nextcloud/bugfix/remember-server-color
Claudio Cambra [Thu, 24 Aug 2023 02:07:09 +0000 (10:07 +0800)]
Merge pull request #5946 from nextcloud/bugfix/remember-server-color

Display correct server colour prior to acquiring server capabilities

2 years agoDo not include theme header in account header
Claudio Cambra [Wed, 23 Aug 2023 01:26:31 +0000 (09:26 +0800)]
Do not include theme header in account header

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoUse QColorConstants for white instead of manually creating QColor
Claudio Cambra [Wed, 23 Aug 2023 01:25:54 +0000 (09:25 +0800)]
Use QColorConstants for white instead of manually creating QColor

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRemember server colors across restarts, enabling correct color before capabilities...
Claudio Cambra [Tue, 1 Aug 2023 08:00:39 +0000 (16:00 +0800)]
Remember server colors across restarts, enabling correct color before capabilities fetched

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years agoOnly update private colors if received capabilities colors are valid
Claudio Cambra [Tue, 1 Aug 2023 08:00:17 +0000 (16:00 +0800)]
Only update private colors if received capabilities colors are valid

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years agoStore server color in private member of account when capabilities fetched
Claudio Cambra [Tue, 1 Aug 2023 07:55:41 +0000 (15:55 +0800)]
Store server color in private member of account when capabilities fetched

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years agoMerge pull request #5798 from nextcloud/bugfix/doNotFlushLogEachLine
Matthieu Gallien [Wed, 23 Aug 2023 09:54:41 +0000 (11:54 +0200)]
Merge pull request #5798 from nextcloud/bugfix/doNotFlushLogEachLine

only flush debug log files when closing them

2 years agoonly flush debug log files when closing them
Matthieu Gallien [Mon, 12 Jun 2023 15:02:51 +0000 (17:02 +0200)]
only flush debug log files when closing them

do not force a flush every time a log line is added to a file to speed
up the logging process

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 23 Aug 2023 02:42:31 +0000 (02:42 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #5969 from nextcloud/feature/warn-before-encrypt
Claudio Cambra [Wed, 23 Aug 2023 01:29:54 +0000 (09:29 +0800)]
Merge pull request #5969 from nextcloud/feature/warn-before-encrypt

Add warning prior to folder encryption, prevent unknowing users from creating unrecoverable encrypted folders

2 years agoAdd warning prior to folder encryption to prevent unknowing users from creating unrec...
Claudio Cambra [Fri, 11 Aug 2023 07:05:42 +0000 (15:05 +0800)]
Add warning prior to folder encryption to prevent unknowing users from creating unrecoverable encrypted folders

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #5972 from nextcloud/bugfix/encrypt-problem-folders
Claudio Cambra [Tue, 22 Aug 2023 20:44:53 +0000 (04:44 +0800)]
Merge pull request #5972 from nextcloud/bugfix/encrypt-problem-folders

Fix user-facing message about why encryption cannot yet be done

2 years agoFix warning dialog box message when trying to encrypt folders that have not been...
Claudio Cambra [Fri, 11 Aug 2023 07:08:32 +0000 (15:08 +0800)]
Fix warning dialog box message when trying to encrypt folders that have not been successfully synced (i.e. error/problem)

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #5975 from nextcloud/bugfix/accented-filedetails
Matthieu Gallien [Tue, 22 Aug 2023 16:56:36 +0000 (18:56 +0200)]
Merge pull request #5975 from nextcloud/bugfix/accented-filedetails

Make file details tray follow current account accent colour

2 years agoAlso accent ncBlue buttons in ShareDetailsPage with user accent color
Claudio Cambra [Tue, 15 Aug 2023 07:29:32 +0000 (15:29 +0800)]
Also accent ncBlue buttons in ShareDetailsPage with user accent color

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoColour coloured elements in share view with user accent colour
Claudio Cambra [Tue, 15 Aug 2023 07:10:41 +0000 (15:10 +0800)]
Colour coloured elements in share view with user accent colour

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMake accent colour of NCTabButton in file details follow user accent colour
Claudio Cambra [Tue, 15 Aug 2023 07:00:19 +0000 (15:00 +0800)]
Make accent colour of NCTabButton in file details follow user accent colour

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #5996 from nextcloud/ci/updateCiImages
Matthieu Gallien [Tue, 22 Aug 2023 15:59:46 +0000 (17:59 +0200)]
Merge pull request #5996 from nextcloud/ci/updateCiImages

update main CI image to get newer Qt, Java and other dependencies

2 years agoSign .drone.yml
Joas Schilling [Tue, 22 Aug 2023 12:51:37 +0000 (14:51 +0200)]
Sign .drone.yml

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoupdate main CI image to get newer Qt, Java and other dependencies
Matthieu Gallien [Tue, 22 Aug 2023 11:47:41 +0000 (13:47 +0200)]
update main CI image to get newer Qt, Java and other dependencies

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #5966 from nextcloud/feature/generate-password-for-require-passwor...
Claudio Cambra [Tue, 22 Aug 2023 13:59:36 +0000 (21:59 +0800)]
Merge pull request #5966 from nextcloud/feature/generate-password-for-require-password-share

Generate a suggested password when server requires password for share creation

2 years agoSuggest a password when password is enforced on server
Claudio Cambra [Fri, 11 Aug 2023 04:20:23 +0000 (12:20 +0800)]
Suggest a password when password is enforced on server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMove createRandomPassword to public static Q_INVOKABLE method of ShareModel
Claudio Cambra [Fri, 11 Aug 2023 03:04:25 +0000 (11:04 +0800)]
Move createRandomPassword to public static Q_INVOKABLE method of ShareModel

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #5948 from nextcloud/bugfix/share-password-entry-display
Matthieu Gallien [Tue, 22 Aug 2023 09:00:24 +0000 (11:00 +0200)]
Merge pull request #5948 from nextcloud/bugfix/share-password-entry-display

Hide password field in share settings when share type does not support passwords

2 years agoHide password field in share settings when share type does not support passwords
Claudio Cambra [Wed, 2 Aug 2023 09:01:01 +0000 (17:01 +0800)]
Hide password field in share settings when share type does not support passwords

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 22 Aug 2023 03:09:34 +0000 (03:09 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #5978 from nextcloud/bugfix/lockUnlockVirtualFiles
Matthieu Gallien [Mon, 21 Aug 2023 14:37:45 +0000 (16:37 +0200)]
Merge pull request #5978 from nextcloud/bugfix/lockUnlockVirtualFiles

update read-only status of virtual files when needed for lock state

2 years agoupdate read-only status of virtual files when needed for lock state
Matthieu Gallien [Fri, 18 Aug 2023 14:24:30 +0000 (16:24 +0200)]
update read-only status of virtual files when needed for lock state

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoadd an automated test to check that locked files are read-only
Matthieu Gallien [Mon, 21 Aug 2023 09:31:56 +0000 (11:31 +0200)]
add an automated test to check that locked files are read-only

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 17 Aug 2023 02:47:17 +0000 (02:47 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #5971 from nextcloud/bugfix/fixFilenameEncodingTestOnWindows
Matthieu Gallien [Wed, 16 Aug 2023 11:50:50 +0000 (13:50 +0200)]
Merge pull request #5971 from nextcloud/bugfix/fixFilenameEncodingTestOnWindows

on windows file names can always be encoded: fix wrong test

2 years agoon windows file names can always be encoded: fix wrong test
Matthieu Gallien [Mon, 14 Aug 2023 16:40:49 +0000 (18:40 +0200)]
on windows file names can always be encoded: fix wrong test

inspired by https://github.com/owncloud/client/pull/6820

Close #5935

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agotest that discovery of file names with UTF-8 is working
Matthieu Gallien [Mon, 14 Aug 2023 17:43:31 +0000 (19:43 +0200)]
test that discovery of file names with UTF-8 is working

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 16 Aug 2023 02:35:11 +0000 (02:35 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 15 Aug 2023 03:13:17 +0000 (03:13 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 14 Aug 2023 02:42:12 +0000 (02:42 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 13 Aug 2023 02:35:32 +0000 (02:35 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 12 Aug 2023 02:42:20 +0000 (02:42 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5965 from nextcloud/feature/allow-resharing-share
Claudio Cambra [Fri, 11 Aug 2023 16:26:08 +0000 (00:26 +0800)]
Merge pull request #5965 from nextcloud/feature/allow-resharing-share

Add "Allow resharing" option to share dialog

3 years agoMore distinctly name server allowing resharing property
Claudio Cambra [Thu, 10 Aug 2023 23:33:49 +0000 (07:33 +0800)]
More distinctly name server allowing resharing property

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoHide 'Allow resharing' checkbox when resharing not allowed by server
Claudio Cambra [Thu, 10 Aug 2023 08:55:33 +0000 (16:55 +0800)]
Hide 'Allow resharing' checkbox when resharing not allowed by server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd resharing allowed property to ShareModel
Claudio Cambra [Thu, 10 Aug 2023 08:54:35 +0000 (16:54 +0800)]
Add resharing allowed property to ShareModel

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMake busy indicator for share permissions cover all share permission check/radio...
Claudio Cambra [Thu, 10 Aug 2023 08:14:24 +0000 (16:14 +0800)]
Make busy indicator for share permissions cover all share permission check/radio boxes

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd checkbox in share details page for resharing allowed setting
Claudio Cambra [Thu, 10 Aug 2023 08:03:34 +0000 (16:03 +0800)]
Add checkbox in share details page for resharing allowed setting

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd role for resharing allowed in share model
Claudio Cambra [Thu, 10 Aug 2023 08:03:14 +0000 (16:03 +0800)]
Add role for resharing allowed in share model

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix share permission values
Claudio Cambra [Thu, 10 Aug 2023 06:58:05 +0000 (14:58 +0800)]
Fix share permission values

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 11 Aug 2023 02:41:23 +0000 (02:41 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 10 Aug 2023 02:42:45 +0000 (02:42 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 9 Aug 2023 03:04:11 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 8 Aug 2023 02:44:13 +0000 (02:44 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5872 from nextcloud/work/do-not-mod-new-files-unnecessarily
Claudio Cambra [Mon, 7 Aug 2023 09:28:37 +0000 (17:28 +0800)]
Merge pull request #5872 from nextcloud/work/do-not-mod-new-files-unnecessarily

Do not modify discovered files on disk if not necessary

3 years agoSet modificationHappened to also depend on file size change
Claudio Cambra [Mon, 7 Aug 2023 00:24:43 +0000 (08:24 +0800)]
Set modificationHappened to also depend on file size change

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd test for unmodified local files not getting mtimes changed upon upload to server
Claudio Cambra [Thu, 13 Jul 2023 13:04:07 +0000 (21:04 +0800)]
Add test for unmodified local files not getting mtimes changed upon upload to server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd find method to DiskFileModifier class in SyncEngineTestUtils
Claudio Cambra [Tue, 11 Jul 2023 07:37:29 +0000 (15:37 +0800)]
Add find method to DiskFileModifier class in SyncEngineTestUtils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoEnsure file modification time is set if item modtime differs from journal modtime
Claudio Cambra [Mon, 10 Jul 2023 05:00:28 +0000 (13:00 +0800)]
Ensure file modification time is set if item modtime differs from journal modtime

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoOnly attempt conversion to placeholder on new file if VFS enabled in SyncEngine:...
Claudio Cambra [Fri, 7 Jul 2023 11:15:54 +0000 (19:15 +0800)]
Only attempt conversion to placeholder on new file if VFS enabled in SyncEngine::slotItemDiscovered

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoOnly change modification time if any modifications were actually made on downsynced...
Claudio Cambra [Fri, 7 Jul 2023 11:15:03 +0000 (19:15 +0800)]
Only change modification time if any modifications were actually made on downsynced file

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoReturn bool from FileSystem::setFileReadOnlyWeak depending on whether permission...
Claudio Cambra [Fri, 7 Jul 2023 11:14:09 +0000 (19:14 +0800)]
Return bool from FileSystem::setFileReadOnlyWeak depending on whether permission change was actually made or not

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUnify else and if in SyncEngine::slotItemDiscovered for filesystem setmodtime check
Claudio Cambra [Fri, 7 Jul 2023 11:11:59 +0000 (19:11 +0800)]
Unify else and if in SyncEngine::slotItemDiscovered for filesystem setmodtime check

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 7 Aug 2023 02:41:59 +0000 (02:41 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 6 Aug 2023 02:37:40 +0000 (02:37 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 5 Aug 2023 02:41:35 +0000 (02:41 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5868 from nextcloud/work/folder-threshold-improve
Claudio Cambra [Fri, 4 Aug 2023 10:29:56 +0000 (18:29 +0800)]
Merge pull request #5868 from nextcloud/work/folder-threshold-improve

Add option to notify when synced folder overcomes set size limit

3 years agoAdd additional logging for folder size check
Claudio Cambra [Thu, 3 Aug 2023 09:24:32 +0000 (17:24 +0800)]
Add additional logging for folder size check

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDeduplicate whitelistFolderPath and blacklistFolderPath
Claudio Cambra [Thu, 3 Aug 2023 07:34:39 +0000 (15:34 +0800)]
Deduplicate whitelistFolderPath and blacklistFolderPath

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoExtract folder now big activity generation into separate method
Claudio Cambra [Thu, 3 Aug 2023 07:25:15 +0000 (15:25 +0800)]
Extract folder now big activity generation into separate method

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoExtract notifying of existing folder now big to separate static method
Claudio Cambra [Thu, 3 Aug 2023 07:19:22 +0000 (15:19 +0800)]
Extract notifying of existing folder now big to separate static method

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDeclare whitelist and blacklist activity verbs as static constexprs in activitydata...
Claudio Cambra [Thu, 3 Aug 2023 07:13:51 +0000 (15:13 +0800)]
Declare whitelist and blacklist activity verbs as static constexprs in activitydata, refer to this in usage

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix breakages in testactivitylistmodel caused by recent activitylistmodel changes
Claudio Cambra [Thu, 3 Aug 2023 07:00:55 +0000 (15:00 +0800)]
Fix breakages in testactivitylistmodel caused by recent activitylistmodel changes

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix generation of context menu activity links
Claudio Cambra [Thu, 3 Aug 2023 07:00:20 +0000 (15:00 +0800)]
Fix generation of context menu activity links

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoEnsure generated activity buttons are within count set by maxActionButtons
Claudio Cambra [Thu, 3 Aug 2023 06:59:58 +0000 (14:59 +0800)]
Ensure generated activity buttons are within count set by maxActionButtons

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