Commit graph

18601 commits

Author SHA1 Message Date
Claudio Cambra
77bb54c42a
Merge pull request #5289 from nextcloud/bugfix/static-qregularexpressions
Declare all QRegularExpressions statically
2022-12-20 19:16:20 +01:00
Claudio Cambra
ce57d3b3ab Declare all QRegularExpressions statically
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 18:38:24 +01:00
Claudio Cambra
8313d79c29
Merge pull request #5290 from nextcloud/bugfix/remove-unused
Remove unused variables
2022-12-20 13:43:40 +01:00
Claudio Cambra
bbb77dc4f7 Remove unused targetFile QString in propagateremotemove
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:59:08 +01:00
Claudio Cambra
16b33fa658 Remove unused supportedTransmissionChecksums from bulkpropagatorjob
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:59:08 +01:00
Claudio Cambra
bf85c2d093 Remove unused QStrings from remotewipe
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:59:08 +01:00
Claudio Cambra
ad2841d963 Remove HACK for Windows Vista as this OS is no longer supported
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:59:08 +01:00
Claudio Cambra
50fa4cbb63 Remove unused variables in folderstatusdelegate
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:59:08 +01:00
Claudio Cambra
0b70e49c4f
Merge pull request #5287 from nextcloud/bugfix/corrext-signal-emit
Make correct use of Qt signal 'emit' keyword
2022-12-20 12:58:30 +01:00
Claudio Cambra
377b4f6ddf Fix bad signal emissions
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:07:55 +01:00
Claudio Cambra
1dfb9b26f2 Remove use of emit keyword where used for non signals
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:07:55 +01:00
Claudio Cambra
6146f7d5cf Add 'emit' keyword to signal emissions that were missing them
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 12:07:55 +01:00
Claudio Cambra
cdc58c3053
Merge pull request #5291 from nextcloud/bugfix/qfileinfo-exists
Use QFileInfo::exists where we are only creating a QFileInfo to check if file exists
2022-12-20 12:07:09 +01:00
Claudio Cambra
f6c4c32b6e Use QFileInfo::exists where we are only creating a QFileInfo to check if file exists, as it is faster
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 09:44:13 +01:00
Nextcloud bot
7f6b18b232
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-20 03:35:32 +00:00
Nextcloud bot
1f96a4aa01
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-19 03:37:57 +00:00
Nextcloud bot
31c44299e6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-18 03:30:14 +00:00
Nextcloud bot
fb83518a3d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-17 03:31:14 +00:00
Claudio Cambra
c03e6cca61
Merge pull request #5141 from nextcloud/bugfix/upgradeFromOldClients
fix migration from old settings configuration files
2022-12-15 17:40:30 +01:00
Claudio Cambra
b0d048b0b8 Fix conflicting definitions in anonymous namespace in Unity build
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
3b7bd6d26c Constify groups variable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
14bd744df6 Use std::make_unique rather than manually build unique_ptr for oCSettings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
f4bca991e1 Make checks for config file more concise, warn when file not readable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
d8e8a43cff Constify config file QFileInfo, create directly in if statement
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
0f9ddcddcb Fix includes in accountmanager.cpp
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
5548a4181b Replace QDesktopServices datalocation with emulated version of it
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Claudio Cambra
98be5fdd18 Add full list of possible legacy config locations
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 16:58:00 +01:00
Matthieu Gallien
39f85219b9 fix migration from old settings configuration files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-12-15 16:58:00 +01:00
allexzander
f6cfb65939
Merge pull request #5258 from nextcloud/feature/do-not-sync-enc-folders-if-e2ee-is-not-setup
Feature/do not sync enc folders if e2ee is not setup
2022-12-15 15:44:29 +01:00
alex-z
867249f339 Do not sync encrypted folders if the E2EE mnemonic is not entered. Automatically blacklist them. Remove from blacklist once the E2EE mnemonic is provided.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-12-15 15:09:25 +01:00
Claudio Cambra
4b4f4b10fb
Merge pull request #5245 from nextcloud/bugfix/remove-unused-headerbanner
Remove unused HeaderBanner component
2022-12-15 13:12:10 +01:00
Claudio Cambra
4ab7d6484a Remove unused headerbanner component
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-15 12:30:41 +01:00
Matthieu Gallien
a21df5b5ed
Merge pull request #5271 from nextcloud/feature/removeObsoleteNames
Feature/remove obsolete names
2022-12-15 12:02:00 +01:00
Matthieu Gallien
31b2146a17 use nextcloud.log suffix for log files of desktop client
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-12-15 11:11:20 +01:00
Matthieu Gallien
a8025dc06a use .nextcloudsync.log to perform file monitoring test at start
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-12-15 11:11:20 +01:00
Matthieu Gallien
051db4a7ef
Merge pull request #5273 from nextcloud/bugfix/testsyncengine-fix-localstate-destroyed-failure
Fix SyncEngineTest failure when localstate is destroyed.
2022-12-15 11:10:58 +01:00
alex-z
089b677633 Fix SyncEngineTest failure when localstate is destroyed.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-12-15 10:32:10 +01:00
Matthieu Gallien
d48baba493
Merge pull request #5269 from nextcloud/ci/forceCraftPixmanVersion
sets a fixed version for pixman when buildign desktop client via Craft
2022-12-15 09:41:24 +01:00
Matthieu Gallien
b5fe8adb5d tell OpenCppCoverage that we run an optimized build
should fix the crash accordign to the doc linked there
https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#your-application-has-thrown-an-unhandled-exception-code-3221225477-exception_access_violation

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-12-15 09:41:13 +01:00
Matthieu Gallien
6c763faba5 sets a fixed version for pixman when buildign desktop client via Craft
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-12-15 09:41:13 +01:00
Nextcloud bot
68f7608a3a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-15 03:30:27 +00:00
Nextcloud bot
ab1bed549c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-14 03:33:33 +00:00
Claudio Cambra
e2b6065865
Merge pull request #5274 from nextcloud/bugfix/remove-get-task-allow-entitlement
Avoid the Get-Task-Allow Entitlement (macOS Notarization)
2022-12-13 21:32:11 +01:00
Claudio Cambra
5892075df7 Avoid the Get-Task-Allow Entitlement (macOS Notarization)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 21:31:56 +01:00
Claudio Cambra
da2c978d5a
Merge pull request #5131 from nextcloud/feature/implement-internal-link-share
Add an internal link share to the share dialog
2022-12-13 19:33:31 +01:00
Claudio Cambra
b4ea35e95c
Clean up data section for internal link in model
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 17:40:20 +01:00
Claudio Cambra
bdfa923f8a
Fix copy link button
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 17:40:20 +01:00
Claudio Cambra
4af2a8f9de
Remove unneeded property from ShareDetailsPage
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 17:40:20 +01:00
Claudio Cambra
294ec8a2b6
Fix bad remote path in sharetestutils fakefolder, which led to failed FakePropfindReply being provided in tests
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 17:40:16 +01:00
Claudio Cambra
9b5be727b1
Incorporate internal link share into tests
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-13 17:33:38 +01:00