Commit graph

18424 commits

Author SHA1 Message Date
Marvin Schmidt
7f72678d32 cmake: Use FindPkgConfig's pkg_get_variable instead of custom macro
Commit b34a901838 ("Use FindPkgConfig to find libcloudproviders and
related libs") introduced the usage of cmake's FindPkgConfig module
which provides `pkg_get_variable` since version 3.4 that can be used
instead of the custom `PKGCONFIG_GETVAR` macro

Signed-off-by: Marvin Schmidt <marv@exherbo.org>
2022-11-24 12:04:54 +01:00
Matthieu Gallien
30a4006c78
Merge pull request #5200 from nextcloud/ci/doNotModifyConfigurationFileDuringtests
Ci/do not modify configuration file duringtests
2022-11-23 17:34:14 +01:00
Matthieu Gallien
6050d4f0fb fix code format
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-23 17:34:05 +01:00
Matthieu Gallien
1e12fc951d prevents modifying real user config file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-23 17:34:05 +01:00
Claudio Cambra
a9c5842dcc
Merge pull request #5192 from ivaradi/modernize-dolphin-plugin
Modernize the Dolphin action plugin
2022-11-23 17:23:34 +01:00
István Váradi
2002c98b68 Modernize the Dolphin action plugin
Instead of installing a .desktop file, it is now converted
to JSON and compiled into the plugin itself. The plugin is
also installed into a different directory.

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2022-11-23 13:35:49 +01:00
Claudio Cambra
1e17fecafd
Merge pull request #5124 from nextcloud/feature/end-to-end-tests
Add end-to-end tests to our CI
2022-11-23 13:24:46 +01:00
Claudio Cambra
dfcf97654c Always build E2E tests, but only add to test suite if enabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-23 08:40:46 +01:00
Claudio Cambra
da6724be8c Add a file transfer e2e test
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-23 08:40:46 +01:00
Claudio Cambra
55cd79f4ef Add a test to check e2e server test setup
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-23 08:40:46 +01:00
Claudio Cambra
53abfb4785 Add an end to end test utils file
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-23 08:40:46 +01:00
Claudio Cambra
0a662330b5 Add server service to drone manifest
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-23 08:40:46 +01:00
Nextcloud bot
bc102a4eb7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-23 03:34:07 +00:00
Matthieu Gallien
6d5db8fd95
Merge pull request #5188 from nextcloud/bugfix/properlyUpdateMetadata
check that we update local file mtime on changes from server
2022-11-22 18:24:11 +01:00
Matthieu Gallien
361db77d3c fix many errors when querying/setting pin state of virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-22 15:44:43 +01:00
Matthieu Gallien
a00ec1aaa5 when renaming a virtual file, manage pin state for the target name
will avoid trying to set a pin state for a file that has just been
renamed by us

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-22 15:08:46 +01:00
Matthieu Gallien
b04128fd34 set mtime when building local sync folder state in automated tests
would allow checking mtime with a correct value instead of having a
default value

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-22 15:08:46 +01:00
Matthieu Gallien
1af2467e45 update mtime on modified metdata of non virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-22 15:08:46 +01:00
Matthieu Gallien
c379879e30 check that we update local file mtime on changes from server
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-22 15:08:46 +01:00
allexzander
8fd4519d35
Merge pull request #5081 from nextcloud/feature/context-menu-leaveshare-entry
Implement context menu entry "Leave this share"
2022-11-22 13:34:38 +01:00
allexzander
6affc6e6ab Implement 'Leave this share' context menu entry. Fix incorrect sharing state for incoming and my shares in custom state icons and local database.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-11-22 12:14:20 +01:00
Nextcloud bot
ab8f0dbbbb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-22 03:35:58 +00:00
Nextcloud bot
5962105578
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-21 03:26:42 +00:00
Nextcloud bot
f00ddb407e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-20 03:28:08 +00:00
Nextcloud bot
f64bcf1bb5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-19 03:33:48 +00:00
Matthieu Gallien
161305689c
Merge pull request #5089 from nextcloud/ci/clazyRangeLoopDetach
fix instances of: c++11 range-loop might detach Qt container warnings
2022-11-18 18:16:30 +01:00
Matthieu Gallien
26fd4d2226 tidy some loop related code: avoid one letter variable names
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-18 16:02:21 +01:00
Matthieu Gallien
b5adbf3ab0 fix instances of: c++11 range-loop might detach Qt container warnings
analyzed via clazy

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-18 16:02:21 +01:00
Matthieu Gallien
4135b757b9
Merge pull request #5182 from nextcloud/bugfix/fixRenameDeepHierarchy
fix renaming of folders with a deep hierarchy inside them
2022-11-18 11:43:02 +01:00
Matthieu Gallien
ad32bc7ce5
remove a few warnings reported by sonarcloud to tidy the code
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-18 09:19:03 +01:00
Matthieu Gallien
37c867bf30
tidy code to fix review comments
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-18 09:11:41 +01:00
Matthieu Gallien
2742c6a5a1
tidy code by fixing one clazy reported warning
use QString::arg with multiple parameters because that is faster

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-17 14:48:51 +01:00
Matthieu Gallien
9a2f07d53b
fix behavior of folder rename with deep hierarchy inside it
propagate renaming of parent folders to child recursively

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-17 14:47:01 +01:00
Matthieu Gallien
8fa727e299
test for proper renaming of folder parent of a deep hierarchy
currently broken test as we miss to rename recursively

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-17 14:47:01 +01:00
Matthieu Gallien
d36b2ee793
improve logging of discovery policy decisions when scanning folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-17 14:47:00 +01:00
Matthieu Gallien
686f78bebc
improve logging of the discovery policy when scanning a folder
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-17 14:47:00 +01:00
Nextcloud bot
01f8003413
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 03:28:03 +00:00
Matthieu Gallien
131938f037
Merge pull request #5178 from nextcloud/ci/followUpstreamCraft
switch back to upstream craft
2022-11-15 18:33:08 +01:00
Matthieu Gallien
23b8da319f
no need to install python that is already installed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-15 15:15:14 +01:00
Matthieu Gallien
86e06a2ae2
switch back to upstream craft
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-15 14:03:48 +01:00
Claudio Cambra
65e0b9ea2f
Merge pull request #5152 from nextcloud/bugfix/sync-now-paused-folder
Ensure forcing a folder to be synced unpauses syncing on said folder
2022-11-15 12:57:16 +01:00
Claudio Cambra
58660b82f8 Ensure forcing a folder to be synced unpauses syncing on said folder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-15 12:32:13 +01:00
Claudio Cambra
d5af4bc7c6
Merge pull request #5172 from nextcloud/bugfix/fix-activitylist-warnings
Fix ActivityList delegate warnings
2022-11-15 11:52:12 +01:00
Claudio Cambra
e281c46fa5 Fix ActivityList delegate warnings·
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-15 11:51:39 +01:00
Claudio Cambra
a437a99204
Merge pull request #5173 from nextcloud/bugfix/nccustombutton-warnings
Remove reference to inexistent property in NCCustomButton
2022-11-15 11:51:23 +01:00
Claudio Cambra
561b55800c Remove reference to inexistent property in NCCustomButton
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-15 11:48:24 +01:00
Matthieu Gallien
adb91765a6
Merge pull request #5088 from nextcloud/ci/clazyNotFullyQualifiedTypes
fully qualify types in signals and slots
2022-11-15 11:02:00 +01:00
Matthieu Gallien
61c792c6f4
fully qualify types in signals and slots
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-15 09:57:54 +01:00
Nextcloud bot
401a7778bb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 03:26:34 +00:00
Nextcloud bot
075b6812e3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 10:47:30 +00:00