Kevin Ottens [Tue, 26 Jan 2021 17:27:24 +0000 (18:27 +0100)]
Merge pull request #2868 from nextcloud/vfs_cfapi_dont_mistake_unpinned_directory_for_files_to_dehydrate
Don't treat new folders in unpinned folders as files to dehydrate
Kevin Ottens [Tue, 26 Jan 2021 16:50:04 +0000 (17:50 +0100)]
Don't treat new folders in unpinned folders as files to dehydrate
This would only happen if the parent of the newly created folder would
be explicitly set to online only, hence why it went under the radar
previously.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 26 Jan 2021 17:07:30 +0000 (18:07 +0100)]
Merge pull request #2733 from nextcloud/Valdnet-patch-3
Move space in "owncloudadvancedsetuppage.cpp"
Valdnet [Wed, 16 Dec 2020 20:07:32 +0000 (21:07 +0100)]
Move space in "owncloudadvancedsetuppage.cpp"
Kevin Ottens [Tue, 26 Jan 2021 13:00:27 +0000 (14:00 +0100)]
Merge pull request #2840 from nextcloud/avoid_keeping_account_alive_from_subobject
Avoid keeping Account alive via a shared ptr in ClientSideEncryption
Kevin Ottens [Tue, 19 Jan 2021 14:15:26 +0000 (15:15 +0100)]
Remove unused method
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 19 Jan 2021 14:09:38 +0000 (15:09 +0100)]
Avoid keeping Account alive via a shared ptr in ClientSideEncryption
This account object was really only used during the initialization phase
or for forgetting the sensitive data. So let's receive it as parameter
there and pass it on from job to job as needed.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 26 Jan 2021 11:19:07 +0000 (12:19 +0100)]
Merge pull request #2865 from nextcloud/vfs_cfapi_dont_get_stuck
VFS CfAPI implementation shouldn't get stuck
Kevin Ottens [Mon, 25 Jan 2021 17:02:42 +0000 (18:02 +0100)]
Don't crash when the same request is filled twice
The OS might request the same file again if we take too much time to
fulfill a request. So in case it's queueing the same one again instead
of bailing out just fail the second one and let the first one finish
properly.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 25 Jan 2021 17:01:43 +0000 (18:01 +0100)]
Be a bit more resilient with errors
In case we'd been to slow to fullfill or we're still processing a
cancelled request better not just crash. We still log the issue though.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Tue, 26 Jan 2021 03:45:50 +0000 (03:45 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Mon, 25 Jan 2021 17:51:15 +0000 (18:51 +0100)]
Merge pull request #2734 from nextcloud/Valdnet-patch-4
Move space in "folderwizard.cpp"
Valdnet [Wed, 16 Dec 2020 20:09:40 +0000 (21:09 +0100)]
Move space in "folderwizard.cpp"
Kevin Ottens [Mon, 25 Jan 2021 17:41:31 +0000 (18:41 +0100)]
Merge pull request #2735 from nextcloud/Valdnet-patch-5
Change the quotation marks
Valdnet [Wed, 16 Dec 2020 22:10:07 +0000 (23:10 +0100)]
Change the quotation marks
Kevin Ottens [Mon, 25 Jan 2021 17:17:39 +0000 (18:17 +0100)]
Merge pull request #2814 from nextcloud/files_push_notifications
Add push notifications for file changes
Felix Weilbach [Tue, 12 Jan 2021 08:23:41 +0000 (09:23 +0100)]
Add push notifications for file changes
Resolves #2802
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Kevin Ottens [Mon, 25 Jan 2021 16:45:02 +0000 (17:45 +0100)]
Merge pull request #2864 from nextcloud/fixes_for_wizard_advanced_setup
Fixes for wizard advanced setup
Kevin Ottens [Mon, 25 Jan 2021 15:53:21 +0000 (16:53 +0100)]
Ensure the right radio is selected when selective sync is picked
This got broken previously when trying to reconcile during a
cherry-pick. This also repairs the case when the theme tells us the
default is to not select anything (not that we're using this right now
but in case we'd like to brand this).
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 25 Jan 2021 15:24:44 +0000 (16:24 +0100)]
It's not really recommended anymore at least not on Windows
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
allexzander [Mon, 25 Jan 2021 08:44:25 +0000 (10:44 +0200)]
Merge pull request #2853 from nextcloud/e2ee-fix-rename-root-folder-issue
E2ee fix rename root folder issue & Fix upload stuck issue due to incorrect Lock/Unlock sequence
allexzander [Thu, 21 Jan 2021 15:07:30 +0000 (17:07 +0200)]
E2EE Fix incorrect name of a nested encrypted item in the Settings dialog when the root folder is non-encrypted and it is renamed.
Signed-off-by: allexzander <blackslayer4@gmail.com>
allexzander [Thu, 21 Jan 2021 11:19:41 +0000 (13:19 +0200)]
Fix folder upload issue due to wrong Lock/Unlock order
Signed-off-by: allexzander <blackslayer4@gmail.com>
allexzander [Fri, 15 Jan 2021 16:40:27 +0000 (18:40 +0200)]
Fix E2EE root folder rename issue.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Kevin Ottens [Mon, 25 Jan 2021 08:35:08 +0000 (09:35 +0100)]
Merge pull request #2859 from nicolasfella/qt5153
Fix build against Qt 5.15.3
Nicolas Fella [Fri, 22 Jan 2021 19:31:28 +0000 (20:31 +0100)]
Fix build against Qt 5.15.3
Use QLatin1Char to prevent build error due to stricter QT_NO_CAST_FROM_ASCII
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Kevin Ottens [Mon, 25 Jan 2021 08:18:46 +0000 (09:18 +0100)]
Merge pull request #2860 from nextcloud/rakekniven-patch-2
Removed blank before colon
rakekniven [Fri, 22 Jan 2021 20:26:56 +0000 (21:26 +0100)]
Removed blank before colon
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Nextcloud bot [Mon, 25 Jan 2021 03:44:11 +0000 (03:44 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 24 Jan 2021 03:42:11 +0000 (03:42 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 Jan 2021 03:47:57 +0000 (03:47 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Thu, 21 Jan 2021 07:01:58 +0000 (08:01 +0100)]
Merge pull request #2845 from nextcloud/default_to_colored_systray_on_linux
Default to colored systray on linux
Kevin Ottens [Wed, 20 Jan 2021 14:16:59 +0000 (15:16 +0100)]
Fix the branding detection for monochrome icons on Mac
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Wed, 20 Jan 2021 14:16:13 +0000 (15:16 +0100)]
Revert "Make monochrome icons the default on Linux and Mac OS."
This reverts commit
016410dbaad9cfa85209d6424dc2df9362a80a17.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Thu, 21 Jan 2021 03:46:57 +0000 (03:46 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 20 Jan 2021 15:08:01 +0000 (16:08 +0100)]
Merge pull request #2844 from nextcloud/handle_svg_branded_clients
Handle SVG branded clients
Kevin Ottens [Wed, 20 Jan 2021 14:11:57 +0000 (15:11 +0100)]
Use APPLICATION_ICON_SET for themed icons
We now favor APPLICATION_ICON_SET to isBranded() regarding the decision
to use PNG or SVG for icons.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Wed, 20 Jan 2021 09:44:29 +0000 (10:44 +0100)]
Use the SVG wizard logo when APPLICATION_ICON_SET says so
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Wed, 20 Jan 2021 09:41:16 +0000 (10:41 +0100)]
Add the APPLICATION_ICON_SET option
Also mention the svg possibly used in the wizard
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Wed, 20 Jan 2021 09:10:22 +0000 (10:10 +0100)]
Reference the wizard_logo.svg file from the resources
Somehow this was missing
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Wed, 20 Jan 2021 03:47:11 +0000 (03:47 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 19 Jan 2021 03:45:22 +0000 (03:45 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Jan 2021 03:44:21 +0000 (03:44 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Jan 2021 03:43:43 +0000 (03:43 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Jan 2021 03:42:11 +0000 (03:42 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Jan 2021 03:49:34 +0000 (03:49 +0000)]
[tx-robot] updated from transifex
Camila [Thu, 14 Jan 2021 20:14:46 +0000 (21:14 +0100)]
Merge pull request #2827 from nextcloud/apply_version_suffix_to_msi_filename
Integrate the version suffix to the MSI filename
Kevin Ottens [Thu, 14 Jan 2021 19:20:59 +0000 (20:20 +0100)]
Integrate the version suffix to the MSI filename
This should be enough to reinstate the "-daily" marker in the filename
for daily builds.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Thu, 14 Jan 2021 18:01:36 +0000 (19:01 +0100)]
Merge pull request #2826 from nextcloud/reference_coding_style_wiki_page
Reference coding style wiki page from CONTRIBIUTING.md
Felix Weilbach [Thu, 14 Jan 2021 17:49:55 +0000 (09:49 -0800)]
Merge branch 'master' into reference_coding_style_wiki_page
Felix Weilbach [Thu, 14 Jan 2021 17:47:48 +0000 (18:47 +0100)]
Reference coding style wiki page from CONTRIBIUTING.md
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Kevin Ottens [Thu, 14 Jan 2021 14:12:17 +0000 (15:12 +0100)]
Merge pull request #2824 from nextcloud/e2ee-can-not-move-folder
Fix e2ee folder move issue
allexzander [Tue, 12 Jan 2021 15:51:32 +0000 (17:51 +0200)]
Fix e2ee folder move issue
Signed-off-by: allexzander <blackslayer4@gmail.com>
Kevin Ottens [Thu, 14 Jan 2021 13:30:39 +0000 (14:30 +0100)]
Merge pull request #2793 from nextcloud/xattr_backend_for_vfs
XAttr backend for VFS
Kevin Ottens [Thu, 14 Jan 2021 11:55:58 +0000 (12:55 +0100)]
Add the XAttr backend prototype with its test suite
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 4 Jan 2021 15:23:47 +0000 (16:23 +0100)]
Don't detect file changes during hydration for virtual files
Indeed, that file size will almost always change between the 1 byte
placeholder and the hydrated file. Only when using the CfAPI on Windows
this won't be the case since because it will expose the original size
even for placeholders.
Also worth noting: the suffix backend didn't hit that case since the
filename changes (with suffix for placeholders, without for hydrated
files).
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 4 Jan 2021 15:15:32 +0000 (16:15 +0100)]
Provide the path to the current folder to statTypeVirtualFile on unix
Otherwise backends can't get to the actual file which will be needed for
the XAttr backend.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 4 Jan 2021 15:13:29 +0000 (16:13 +0100)]
Add the plumbing for a new extended attributes backend
Ideally this will end up being the backend we use for both Linux and
macOS but that will require work with desktop environments on the Linux
side and to reverse engineering at least on xattr value on macOS.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Thu, 14 Jan 2021 10:41:52 +0000 (11:41 +0100)]
Merge pull request #2821 from nextcloud/e2ee-fix-parallel-uploads-issue
E2EE fix upload parallelism issue.
allexzander [Wed, 13 Jan 2021 14:34:08 +0000 (16:34 +0200)]
E2EE fix upload parallelism issue.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Nextcloud bot [Thu, 14 Jan 2021 03:47:20 +0000 (03:47 +0000)]
[tx-robot] updated from transifex
Camila [Wed, 13 Jan 2021 17:28:28 +0000 (18:28 +0100)]
Merge pull request #2823 from nextcloud/repair_chunked_uploads
Repair chunked uploads
Kevin Ottens [Wed, 13 Jan 2021 17:00:19 +0000 (18:00 +0100)]
Repair chunked uploads
There's been a confusion between the chunk number and the chunk
offset leading to corruptions... Let's pass the proper offset to
the UploadDevice again.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Wed, 13 Jan 2021 03:52:05 +0000 (03:52 +0000)]
[tx-robot] updated from transifex
Camila [Tue, 12 Jan 2021 18:34:25 +0000 (19:34 +0100)]
Merge pull request #2815 from nextcloud/update-docs
Update Github issue template and documentation with the new 3.1 option to "Create Debug Archive".
Camila [Tue, 12 Jan 2021 17:09:03 +0000 (18:09 +0100)]
Update documentation with the new 3.1 option to "Create Debug Archive".
Signed-off-by: Camila <hello@camila.codes>
Camila [Tue, 12 Jan 2021 17:07:36 +0000 (18:07 +0100)]
Fix documentation path in instruction of doc/README.
Signed-off-by: Camila <hello@camila.codes>
Camila [Tue, 12 Jan 2021 16:56:21 +0000 (17:56 +0100)]
Update Github issue template with the new 3.1 option to "Create Debug Archive".
Also:
- cleaned up some of the text: nobody read that and it was mostly
from a time when this team was only one person.
- remove references to e2ee known issues. Not relevant anymore.
Signed-off-by: Camila <hello@camila.codes>
Nextcloud bot [Tue, 12 Jan 2021 03:48:28 +0000 (03:48 +0000)]
[tx-robot] updated from transifex
allexzander [Mon, 11 Jan 2021 19:20:03 +0000 (21:20 +0200)]
Merge pull request #2799 from nextcloud/e2ee-root-folder-remove-issue
E2ee root folder remove issue
allexzander [Tue, 5 Jan 2021 10:48:30 +0000 (12:48 +0200)]
Implement nested items removal when removing root encrypted folder.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Nextcloud bot [Sun, 10 Jan 2021 04:02:55 +0000 (04:02 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 9 Jan 2021 03:59:04 +0000 (03:59 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 8 Jan 2021 04:02:38 +0000 (04:02 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Thu, 7 Jan 2021 14:33:45 +0000 (15:33 +0100)]
Merge pull request #2801 from nextcloud/fix_cfapi_win32_build
Fix CfAPI Win32 build
Kevin Ottens [Thu, 7 Jan 2021 12:41:51 +0000 (13:41 +0100)]
Second attempt at fixing CfAPI wrapper build in Win32 mode
MSVC having so useless error messages it didn't quite point to the root
cause of the issue... it turns out that through the maze of macros
defined in the windows API, there's one which impacted the function
pointer definition of CfCloseHandle which would then not convert to
FileHandle::Deleter as expected. So I end up wrapping it in a lambda to
help... luckily this kind of lambdas decay into a simple function
pointer so there's likely no overhead it's just to coerce the compiler
into doing the right thing.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Thu, 7 Jan 2021 12:40:01 +0000 (13:40 +0100)]
Revert "Fix CfAPI wrapper build in Win32 mode"
This reverts commit
3b3864296a2bc09540989241325e938ed5a3275e.
Nextcloud bot [Thu, 7 Jan 2021 03:58:16 +0000 (03:58 +0000)]
[tx-robot] updated from transifex
allexzander [Wed, 6 Jan 2021 17:08:29 +0000 (19:08 +0200)]
Merge pull request #2800 from nextcloud/fix_cfapi_win32_build
Fix CfAPI wrapper build in Win32 mode
Kevin Ottens [Wed, 6 Jan 2021 16:07:50 +0000 (17:07 +0100)]
Fix CfAPI wrapper build in Win32 mode
For some reason MSVC manages to deduce the right constructor in Win64
mode but not in Win32 mode. So let's be more explicit about what we
return.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Wed, 6 Jan 2021 03:57:55 +0000 (03:57 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Tue, 5 Jan 2021 13:17:25 +0000 (14:17 +0100)]
Merge pull request #2794 from FlexW/master
Remove NO_SHIBBOLETH flag and dead code
Felix Weilbach [Tue, 5 Jan 2021 11:25:58 +0000 (12:25 +0100)]
Remove NO_SHIBBOLETH flag and dead code
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
Nextcloud bot [Tue, 5 Jan 2021 03:53:25 +0000 (03:53 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 4 Jan 2021 03:54:59 +0000 (03:54 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 3 Jan 2021 03:55:25 +0000 (03:55 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 2 Jan 2021 03:52:58 +0000 (03:52 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 1 Jan 2021 03:53:03 +0000 (03:53 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 31 Dec 2020 04:02:00 +0000 (04:02 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 30 Dec 2020 18:00:19 +0000 (19:00 +0100)]
Merge pull request #2781 from nextcloud/cherry_pick_2020_w53
Cherry pick 2020 w53
Hannah von Reth [Fri, 18 Dec 2020 11:48:08 +0000 (12:48 +0100)]
Fix a possible crash with the remove all files dialog
Kevin Ottens [Wed, 30 Dec 2020 12:46:14 +0000 (13:46 +0100)]
Use Q_REQUIRED_RESULT directly like in other places
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Hannah von Reth [Thu, 17 Dec 2020 13:13:24 +0000 (14:13 +0100)]
Mark vfs functions as OC_REQUIRED_RESULT
Hannah von Reth [Wed, 30 Dec 2020 11:53:03 +0000 (12:53 +0100)]
Handle errors in convertToPlaceholder
Hannah von Reth [Tue, 15 Dec 2020 14:02:33 +0000 (15:02 +0100)]
Update windows launch on start binary location
Fixes: #7672
Dominik Schmidt [Mon, 14 Dec 2020 14:42:35 +0000 (15:42 +0100)]
Fix testVersionOfInstalledBinary for brandings
Dominik Schmidt [Mon, 14 Dec 2020 14:37:05 +0000 (15:37 +0100)]
Use owncloudcmd in testVersionOfInstalledBinary
... as it works without X in CI.
Dominik Schmidt [Mon, 14 Dec 2020 13:47:45 +0000 (14:47 +0100)]
Fix style
Hannah von Reth [Mon, 14 Dec 2020 12:35:05 +0000 (13:35 +0100)]
Add todo for Qt 5.15
Hannah von Reth [Mon, 14 Dec 2020 12:32:28 +0000 (13:32 +0100)]
Cleanup pathtoUNC and its test