Camila Ayres [Mon, 9 Dec 2024 10:24:16 +0000 (11:24 +0100)]
Check for the option to display legacy import dialog.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 9 Dec 2024 10:06:32 +0000 (11:06 +0100)]
Add bool theme option to display legacy import dialog.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Matthieu Gallien [Mon, 9 Dec 2024 17:25:27 +0000 (18:25 +0100)]
Merge pull request #7624 from nextcloud/backport/7568/stable-3.15
[stable-3.15] gui: Remove content margins account settings subsections
Claudio Cambra [Tue, 26 Nov 2024 06:35:40 +0000 (14:35 +0800)]
Disable border on file provider settings page by default
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 26 Nov 2024 06:35:27 +0000 (14:35 +0800)]
Set margins on account settings internal layouts as 0 to match folder tree for vfs and connection settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Mon, 9 Dec 2024 16:01:42 +0000 (17:01 +0100)]
Merge pull request #7621 from nextcloud/backport/7609/stable-3.15
[stable-3.15] Bugfix/handle windows directory junction
Matthieu Gallien [Fri, 6 Dec 2024 16:20:30 +0000 (17:20 +0100)]
set the proper file type for directory junction entries
Close #7157
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Mon, 9 Dec 2024 14:33:49 +0000 (15:33 +0100)]
Merge pull request #7620 from nextcloud/backport/7595/stable-3.15
[stable-3.15] when locking a file set If-Match header to ensure etag is correct
Matthieu Gallien [Mon, 2 Dec 2024 08:02:13 +0000 (09:02 +0100)]
when locking a file set If-Match header to ensure etag is correct
the file being locked may have been changed sinc the client synced it
so the server side file may have a modified etag. In such cases we do
not want to lock the file and would rather sync the nex server changes
before being able to lock the file
that would ensure that on client side the file being locked is matching
teh state of teh file on server side and would prevent inadvertently
overriding server changes
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Mon, 9 Dec 2024 12:48:17 +0000 (13:48 +0100)]
Merge pull request #7619 from nextcloud/backport/7567/stable-3.15
[stable-3.15] gui/tray: Fix activity icon colours
Claudio Cambra [Tue, 26 Nov 2024 05:47:58 +0000 (13:47 +0800)]
Replace dark/light icon roles with a single icon role in activity list model
We can just colour the relevant activity icon from QML based on the
palette text colour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 26 Nov 2024 05:47:00 +0000 (13:47 +0800)]
Generate icon paths for activities as just svg custom color image provider based urls with no colouring
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Mon, 9 Dec 2024 11:42:12 +0000 (12:42 +0100)]
Merge pull request #7618 from nextcloud/backport/7566/stable-3.15
[stable-3.15] gui/tray: Fix tray window corners
Claudio Cambra [Tue, 26 Nov 2024 03:39:09 +0000 (11:39 +0800)]
Change window background colour to palette window color
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 26 Nov 2024 03:38:56 +0000 (11:38 +0800)]
Make tray window item a rectangle with base palette colour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 26 Nov 2024 03:38:28 +0000 (11:38 +0800)]
Re-add transparent tray window colour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Mon, 9 Dec 2024 10:42:48 +0000 (11:42 +0100)]
Merge pull request #7598 from nextcloud/backport/3792/stable-3.15
[stable-3.15] Fix text strings
Matthieu Gallien [Fri, 3 Jun 2022 10:15:14 +0000 (12:15 +0200)]
convert double numbers to int because we expect them to be real ints
we give them to APIs expecting int
we compare them to int values
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Valdnet [Tue, 14 Sep 2021 15:31:19 +0000 (17:31 +0200)]
improve translations of strings with numbers inside
tell tr that there is a number inside the translated string such that
translators can provide the proper plural forms
Changing text strings to correctly import them into Transifex.
Issue #3776.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Claudio Cambra [Mon, 9 Dec 2024 08:10:59 +0000 (09:10 +0100)]
Merge pull request #7617 from nextcloud/backport/7605/stable-3.15
[stable-3.15] mac-crafter: Fix codesigning of app bundle when auto-updater is excluded
Claudio Cambra [Thu, 5 Dec 2024 07:50:16 +0000 (15:50 +0800)]
mac-crafter: Only attempt sparkle codesign if it exists in the app bundle
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Thu, 5 Dec 2024 07:49:38 +0000 (15:49 +0800)]
mac-crafter: Check if path to trecursively codesign exists and throw error if it doesn't
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Nextcloud bot [Sun, 8 Dec 2024 03:25:20 +0000 (03:25 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 7 Dec 2024 03:02:55 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Fri, 6 Dec 2024 03:11:47 +0000 (03:11 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 5 Dec 2024 03:31:05 +0000 (03:31 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Wed, 4 Dec 2024 03:26:28 +0000 (03:26 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Mon, 2 Dec 2024 02:55:32 +0000 (02:55 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 30 Nov 2024 02:54:40 +0000 (02:54 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 29 Nov 2024 11:24:48 +0000 (12:24 +0100)]
Merge pull request #7587 from nextcloud/backport/7572/stable-3.15
[stable-3.15] when updating a virtual file after lock/unlock: avoid setting modtime
Matthieu Gallien [Tue, 26 Nov 2024 17:12:36 +0000 (18:12 +0100)]
when updating a virtual file after lock/unlock: avoid setting modtime
will prevent truncating the modification time when changing the lock
state of a file
could be visible when using an office software to open an office file
with automated locking happening after the file gets opened
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 29 Nov 2024 10:33:49 +0000 (11:33 +0100)]
Merge pull request #7588 from nextcloud/backport/7580/stable-3.15
[stable-3.15] fix regressions in automated tests for bulk upload
Matthieu Gallien [Thu, 28 Nov 2024 13:38:21 +0000 (14:38 +0100)]
fir regression with VFS availability test on Windows
ensure we report the expected availability erro for non existing files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 28 Nov 2024 13:09:05 +0000 (14:09 +0100)]
fix TestSyncConflictsModel by using locale aware test data
should ensure comparisons of locale aware text is compared against
locale aware test data
will remove portability issues especially on Windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 28 Nov 2024 10:07:50 +0000 (11:07 +0100)]
fix local discovery test for file names with spaces on windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 27 Nov 2024 15:26:00 +0000 (16:26 +0100)]
fix regressions in automated tests for bulk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Nextcloud bot [Fri, 29 Nov 2024 02:51:20 +0000 (02:51 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 28 Nov 2024 02:58:05 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Wed, 27 Nov 2024 03:04:13 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Tue, 26 Nov 2024 03:34:21 +0000 (03:34 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Mon, 25 Nov 2024 13:43:47 +0000 (14:43 +0100)]
Merge pull request #7565 from nextcloud/backport/7564/stable-3.15
[stable-3.15] no transparent background for main ApplicationWindow
Matthieu Gallien [Mon, 25 Nov 2024 10:00:07 +0000 (11:00 +0100)]
no transparent background for main ApplicationWindow
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Mon, 25 Nov 2024 09:34:25 +0000 (10:34 +0100)]
Merge pull request #7563 from nextcloud/backport/7561/stable-3.15
[stable-3.15] Bugfix/dark mode switch
Claudio Cambra [Mon, 25 Nov 2024 08:42:39 +0000 (16:42 +0800)]
Use Style.darkMode instead of Theme.darkMode
This way we avoid the computation that happens in Theme::darkMode each
time the property is accessed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:40:23 +0000 (16:40 +0800)]
Add connectToSignal on darkMode property fetch
Theme may be instantiated before the qApp is available
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:40:02 +0000 (16:40 +0800)]
Try connectToSignal on all OSes on Theme init
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:39:20 +0000 (16:39 +0800)]
Make connectToPaletteSignal const
We don't really need to have the check fo paletteSignalsConnected
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Nextcloud bot [Mon, 25 Nov 2024 02:54:32 +0000 (02:54 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sun, 24 Nov 2024 02:58:48 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 23 Nov 2024 02:56:24 +0000 (02:56 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 15:01:13 +0000 (16:01 +0100)]
Merge pull request #7559 from nextcloud/backport/7558/stable-3.15
[stable-3.15] fix spelling os UserStatus qml type when setting user status
Matthieu Gallien [Fri, 22 Nov 2024 14:47:40 +0000 (15:47 +0100)]
fix spelling os UserStatus qml type when setting user status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Nextcloud bot [Fri, 22 Nov 2024 13:36:55 +0000 (13:36 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 11:01:27 +0000 (12:01 +0100)]
prepare for release 3.15.0
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 11:00:01 +0000 (12:00 +0100)]
Merge pull request #7490 from nextcloud/bugfix/win-locale-lang
Fix half-translated GUI strings on Windows
Matthieu Gallien [Fri, 22 Nov 2024 09:05:32 +0000 (10:05 +0100)]
we require Qt 6.7 release to build
we use new API from Qt6.7
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:04:52 +0000 (10:04 +0100)]
use CI images including Qt6.7 that is now required
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 21 Nov 2024 13:24:24 +0000 (14:24 +0100)]
add include QLocale to fix compilation issue
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Claudio Cambra [Sun, 17 Nov 2024 15:10:49 +0000 (23:10 +0800)]
Use first uiLanguage as lang
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 4 Nov 2024 07:40:25 +0000 (16:40 +0900)]
Only grab system language from QLocale::system
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 4 Nov 2024 07:17:20 +0000 (16:17 +0900)]
Remove unneeded workaround for dash separated language strings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:14:29 +0000 (11:14 +0100)]
Merge pull request #7327 from nextcloud/bugfix/virtualFilesMoreReliable
Bugfix/virtual files more reliable
Matthieu Gallien [Wed, 16 Oct 2024 07:01:56 +0000 (09:01 +0200)]
prevent out of bounds access in automated tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 16 Oct 2024 07:01:12 +0000 (09:01 +0200)]
revert changes to the stale virtual files clean up function
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:13:38 +0000 (11:13 +0100)]
Merge pull request #7455 from cmuck/cm-fix-login-regression-on-linux
Fix login regression on linux
cmuck [Thu, 21 Nov 2024 13:50:22 +0000 (14:50 +0100)]
Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
cmuck [Mon, 4 Nov 2024 12:50:06 +0000 (13:50 +0100)]
Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:02:37 +0000 (11:02 +0100)]
Merge pull request #7436 from nextcloud/bugfix/accounts2
Fix adding account and skipping folder configuration crash.
Camila Ayres [Thu, 14 Nov 2024 18:39:56 +0000 (19:39 +0100)]
Correct Q_PROPERTY for _davDisplayName.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 14 Nov 2024 18:11:54 +0000 (19:11 +0100)]
Fix tests: make sure displayName is not empty.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 6 Nov 2024 16:13:28 +0000 (17:13 +0100)]
Remove check before setting display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 20:11:40 +0000 (21:11 +0100)]
Call for done() when skipping folder configuration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 19:15:43 +0000 (20:15 +0100)]
wiz => owncloudSetupWizard.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 18:17:15 +0000 (19:17 +0100)]
acc => account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 18:08:03 +0000 (19:08 +0100)]
Add {} to single line if.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 31 Oct 2024 17:18:25 +0000 (18:18 +0100)]
Use saveAccount for adding single account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 31 Oct 2024 15:28:32 +0000 (16:28 +0100)]
Rename vars: _am => _networkAccessManager, a => newAccountData.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 20:51:46 +0000 (21:51 +0100)]
Diferentiate between display name and dav display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 19:12:20 +0000 (20:12 +0100)]
Use slots as slots.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:45:03 +0000 (18:45 +0100)]
Modernize Account::displayName().
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:36:40 +0000 (18:36 +0100)]
Fix warning "Calling C++ methods with 'this' objects different from the one they were retrieved from is broken"
https://doc.qt.io/qt-6/qtqml-documents-structure.html#nativemethodbehavior
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:00:52 +0000 (18:00 +0100)]
Use slotComputeOverallSyncStatus as a slot.
- Use qAsConst.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:08:41 +0000 (10:08 +0100)]
Merge pull request #7464 from nextcloud/bugfix/debug-archive-aio
Bundle macOS File Provider module logs into main debug archive
Claudio Cambra [Wed, 20 Nov 2024 02:27:37 +0000 (10:27 +0800)]
Move file provider header include into file provider ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 6 Nov 2024 17:07:56 +0000 (02:07 +0900)]
Just use davUser as account identifier for macOS log filename
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 6 Nov 2024 17:07:28 +0000 (02:07 +0900)]
Move debug archive for vfs creation out of log entry creation
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 5 Nov 2024 08:40:47 +0000 (17:40 +0900)]
Ensure we are not halting the entire application when trying to generate the debug archive for macOS vfs
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 29 Oct 2024 04:02:50 +0000 (12:02 +0800)]
Remove create debug archive button from individual vfs account settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 29 Oct 2024 04:02:28 +0000 (12:02 +0800)]
Directly bundle macOS vfs logs within standard debug archive
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:06:19 +0000 (10:06 +0100)]
Merge pull request #7477 from nextcloud/bugfix/readOnlyVirtualFilesFixes
Improve read only virtual files support on Windows
Matthieu Gallien [Tue, 5 Nov 2024 22:09:00 +0000 (23:09 +0100)]
ensure lnk shortcut files are converted to virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 7 Nov 2024 15:47:45 +0000 (16:47 +0100)]
remote permissions of a view-only folder: no new file or folder
change the way we evaluate a folder permissions to be read-only when no
new file or new folders can be created
if those permissions are lacking, client will make the local folder
read-only
if those permissions are granted, client will make local folder
read-write
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:45:20 +0000 (17:45 +0100)]
improve logs for CfAPI handle requests in erroneous cases
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:43:10 +0000 (17:43 +0100)]
never use QFileInfo on possibly pure virtual placeholder file
will prevent some type of activity being added to the list from
triggering implicit hydration during synchronization
most probably breaks existing open actions on those activities
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:39:28 +0000 (17:39 +0100)]
prevent implicit hydration when setting file permissions on shortcuts
we were using specialized API to set the file permissions on the windows
shortcut and later falling back to the generic code path due to the
mising return
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:38:04 +0000 (17:38 +0100)]
provide proper log when we block a self hydration request
should make the existing log more useful when tracking the
self requested implicit hydration bugs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:32:53 +0000 (17:32 +0100)]
fix migration of existing windows shortcut files to placeholder
we cannot do a single call to convert the plain old file to be a
dehydrated virtual file placeholder
split the conversion into a separate initial API call
fix transition from releases < 3.14 to current releases that have first
class support for windows shortcuts (so called link files)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 15:29:53 +0000 (16:29 +0100)]
use proper item type when converting existing windows shortcuts
we need to make shortcut files be proper virtual placeholder files
let the sync engine use the proper item type for that
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 30 Oct 2024 17:48:53 +0000 (18:48 +0100)]
fix computation of availability for empty folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 30 Oct 2024 15:37:42 +0000 (16:37 +0100)]
do not move to trash online only files/folders: going to fail
ensure that even if move to trash is enabled, we do not erroneously try
to move online only files or folders to trash bin
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>