nextcloud-desktop.git
3 years agoClean up declarations in activitylistmodel header, remove unused methods
Claudio Cambra [Wed, 1 Mar 2023 13:31:21 +0000 (14:31 +0100)]
Clean up declarations in activitylistmodel header, remove unused methods

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix fetch handling in TestingALM
Claudio Cambra [Wed, 1 Mar 2023 13:06:36 +0000 (14:06 +0100)]
Fix fetch handling in TestingALM

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoExpose insert dummy activity method in TestingALM
Claudio Cambra [Wed, 1 Mar 2023 12:36:18 +0000 (13:36 +0100)]
Expose insert dummy activity method in TestingALM

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMake TestingALM a friend class of ActivityListModel
Claudio Cambra [Wed, 1 Mar 2023 12:35:36 +0000 (13:35 +0100)]
Make TestingALM a friend class of ActivityListModel

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd test to check that the sortedactivitylistmodel correctly gets updated when the...
Claudio Cambra [Wed, 1 Mar 2023 12:16:37 +0000 (13:16 +0100)]
Add test to check that the sortedactivitylistmodel correctly gets updated when the sourcemodel does

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoVerify sorted model is showing the rows in source activity model
Claudio Cambra [Wed, 1 Mar 2023 11:52:34 +0000 (12:52 +0100)]
Verify sorted model is showing the rows in source activity model

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd SortedActivityListModel test
Claudio Cambra [Wed, 1 Mar 2023 11:26:29 +0000 (12:26 +0100)]
Add SortedActivityListModel test

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove creation of example activities from testactivitylistmodel to activitylistmodelte...
Claudio Cambra [Wed, 1 Mar 2023 01:06:24 +0000 (02:06 +0100)]
Move creation of example activities from testactivitylistmodel to activitylistmodeltestutils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove activitylistmodel testing QNAM override to dedicated convenience method in Activ...
Claudio Cambra [Wed, 1 Mar 2023 00:52:22 +0000 (01:52 +0100)]
Move activitylistmodel testing QNAM override to dedicated convenience method in ActivityTestUtils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoReplace unnecessary folder include in ActivityData with SyncResult
Claudio Cambra [Wed, 1 Mar 2023 00:23:37 +0000 (01:23 +0100)]
Replace unnecessary folder include in ActivityData with SyncResult

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove TestingALM to activitylistmodeltestutils
Claudio Cambra [Tue, 28 Feb 2023 22:59:27 +0000 (23:59 +0100)]
Move TestingALM to activitylistmodeltestutils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove FakeRemoteActivityStorate to new activitylistmodeltestutils
Claudio Cambra [Tue, 28 Feb 2023 22:50:49 +0000 (23:50 +0100)]
Move FakeRemoteActivityStorate to new activitylistmodeltestutils

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoPlace all sorts of sync file item status errors near the top
Claudio Cambra [Mon, 6 Feb 2023 15:45:48 +0000 (16:45 +0100)]
Place all sorts of sync file item status errors near the top

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove activity list SyncResult errors to the top of the list
Claudio Cambra [Mon, 6 Feb 2023 15:37:02 +0000 (16:37 +0100)]
Move activity list SyncResult errors to the top of the list

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMove activity list syncfileitemstatus errors to the top of the list
Claudio Cambra [Mon, 6 Feb 2023 15:29:48 +0000 (16:29 +0100)]
Move activity list syncfileitemstatus errors to the top of the list

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5602 from nextcloud/bugfix/clean-up-systray-mac
Claudio Cambra [Mon, 24 Jul 2023 23:47:20 +0000 (01:47 +0200)]
Merge pull request #5602 from nextcloud/bugfix/clean-up-systray-mac

Clean up systray.mm (macOS)

3 years agoUse QSharedPointer<T>::create for talk reply in systray.mm
Claudio Cambra [Mon, 24 Jul 2023 23:13:32 +0000 (07:13 +0800)]
Use QSharedPointer<T>::create for talk reply in systray.mm

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix spacing and indentation in systray.mm
Claudio Cambra [Thu, 13 Apr 2023 09:26:03 +0000 (17:26 +0800)]
Fix spacing and indentation in systray.mm

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoModernise property accessing in systray.mm
Claudio Cambra [Thu, 13 Apr 2023 09:14:11 +0000 (17:14 +0800)]
Modernise property accessing in systray.mm

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUse const auto for C++ variables in systray.mm
Claudio Cambra [Thu, 13 Apr 2023 09:06:51 +0000 (17:06 +0800)]
Use const auto for C++ variables in systray.mm

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoConstify object pointers in systray.mm
Claudio Cambra [Thu, 13 Apr 2023 09:00:57 +0000 (17:00 +0800)]
Constify object pointers in systray.mm

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5903 from nextcloud/bugfix/fix-findersyncext
Claudio Cambra [Mon, 24 Jul 2023 10:43:27 +0000 (12:43 +0200)]
Merge pull request #5903 from nextcloud/bugfix/fix-findersyncext

Fix Finder Sync Extension

3 years agoOperate directly on NSMutableData for incoming socket data, do not work with raw...
Claudio Cambra [Mon, 24 Jul 2023 10:02:15 +0000 (18:02 +0800)]
Operate directly on NSMutableData for incoming socket data, do not work with raw buffers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUse more informative NSAssert rather than assert for _registeredDirectories
Claudio Cambra [Fri, 21 Jul 2023 06:02:20 +0000 (14:02 +0800)]
Use more informative NSAssert rather than assert for _registeredDirectories

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAllocate new unsigned char buffer for processed line in heap, fixing crash
Claudio Cambra [Fri, 21 Jul 2023 06:01:57 +0000 (14:01 +0800)]
Allocate new unsigned char buffer for processed line in heap, fixing crash

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix optional compile of File Provider module
Claudio Cambra [Thu, 20 Jul 2023 10:18:55 +0000 (18:18 +0800)]
Fix optional compile of File Provider module

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix BUILD_FILE_PROVIDER_MODULE check in application.cpp
Claudio Cambra [Thu, 20 Jul 2023 08:35:53 +0000 (16:35 +0800)]
Fix BUILD_FILE_PROVIDER_MODULE check in application.cpp

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDo not GENERATE_INFOPLIST_FILE for FinderSyncExt
Claudio Cambra [Thu, 20 Jul 2023 02:13:54 +0000 (10:13 +0800)]
Do not GENERATE_INFOPLIST_FILE for FinderSyncExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoCorrectly initialise internal data members for FinderSync
Claudio Cambra [Wed, 19 Jul 2023 23:46:45 +0000 (07:46 +0800)]
Correctly initialise internal data members for FinderSync

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDefine FinderSync internal data members as private interface extension
Claudio Cambra [Wed, 19 Jul 2023 23:46:16 +0000 (07:46 +0800)]
Define FinderSync internal data members as private interface extension

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUse modern dot notation to access _inBuffer properties
Claudio Cambra [Wed, 19 Jul 2023 15:00:29 +0000 (23:00 +0800)]
Use modern dot notation to access _inBuffer properties

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd quotes to processed line in FinderSyncExt to easily demarcate received line start...
Claudio Cambra [Wed, 19 Jul 2023 14:51:50 +0000 (22:51 +0800)]
Add quotes to processed line in FinderSyncExt to easily demarcate received line start and end

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix parsing of in buffer lines in FinderSyncExt
Claudio Cambra [Wed, 19 Jul 2023 14:50:36 +0000 (22:50 +0800)]
Fix parsing of in buffer lines in FinderSyncExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoClean up FinderSyncExt processInBuffer
Claudio Cambra [Wed, 19 Jul 2023 14:03:16 +0000 (22:03 +0800)]
Clean up FinderSyncExt processInBuffer

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoRemove Ubuntu Kinetic, add Mantic
István Váradi [Sat, 22 Jul 2023 14:10:02 +0000 (16:10 +0200)]
Remove Ubuntu Kinetic, add Mantic

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 23 Jul 2023 02:33:43 +0000 (02:33 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5468 from nextcloud/work/sparkle-bumps
Matthieu Gallien [Sat, 22 Jul 2023 10:56:52 +0000 (12:56 +0200)]
Merge pull request #5468 from nextcloud/work/sparkle-bumps

Improve macOS Sparkle updater

3 years agoConvert directly from QUrl to NSURL
Claudio Cambra [Thu, 13 Jul 2023 10:13:07 +0000 (18:13 +0800)]
Convert directly from QUrl to NSURL

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoClean up declaration in SparkleUpdater header
Claudio Cambra [Thu, 23 Feb 2023 15:10:47 +0000 (16:10 +0100)]
Clean up declaration in SparkleUpdater header

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix localisation of updater status strings
Claudio Cambra [Thu, 23 Feb 2023 15:08:49 +0000 (16:08 +0100)]
Fix localisation of updater status strings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoProperly handle skipping auto update checks in the sparkle updater
Claudio Cambra [Thu, 23 Feb 2023 14:20:47 +0000 (15:20 +0100)]
Properly handle skipping auto update checks in the sparkle updater

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoOnly instantiate sparkle updater if autoupdating is available
Claudio Cambra [Thu, 23 Feb 2023 14:03:51 +0000 (15:03 +0100)]
Only instantiate sparkle updater if autoupdating is available

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix qbytearray related clazy warnings in objective-c++ sparkle updater side
Claudio Cambra [Thu, 23 Feb 2023 13:34:35 +0000 (14:34 +0100)]
Fix qbytearray related clazy warnings in objective-c++ sparkle updater side

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoOnly enable check for update button when the sparkle updater is not working
Claudio Cambra [Thu, 23 Feb 2023 13:25:03 +0000 (14:25 +0100)]
Only enable check for update button when the sparkle updater is not working

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoImplement proper notifying of sparkle updater state changes
Claudio Cambra [Thu, 23 Feb 2023 13:23:33 +0000 (14:23 +0100)]
Implement proper notifying of sparkle updater state changes

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAlso record sparkle updater state
Claudio Cambra [Thu, 23 Feb 2023 12:42:10 +0000 (13:42 +0100)]
Also record sparkle updater state

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoProperly display status string for changes in updater
Claudio Cambra [Thu, 23 Feb 2023 12:05:07 +0000 (13:05 +0100)]
Properly display status string for changes in updater

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd ability for sparkle updater to notify UI when state has changed
Claudio Cambra [Thu, 23 Feb 2023 01:18:46 +0000 (02:18 +0100)]
Add ability for sparkle updater to notify UI when state has changed

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd q pointer to SparkleInterface
Claudio Cambra [Wed, 22 Feb 2023 22:06:50 +0000 (23:06 +0100)]
Add q pointer to SparkleInterface

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoReplace private class with an interfacing class to bridge Obj-C delegate class and...
Claudio Cambra [Wed, 22 Feb 2023 22:00:48 +0000 (23:00 +0100)]
Replace private class with an interfacing class to bridge Obj-C delegate class and owner CPP class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoName sparkle updater delegate more reasonably
Claudio Cambra [Wed, 22 Feb 2023 21:45:42 +0000 (22:45 +0100)]
Name sparkle updater delegate more reasonably

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUse std::unique_ptr in sparkle updater class rather than manual management
Claudio Cambra [Wed, 22 Feb 2023 21:44:17 +0000 (22:44 +0100)]
Use std::unique_ptr in sparkle updater class rather than manual management

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 22 Jul 2023 02:38:37 +0000 (02:38 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5912 from nextcloud/bugfix/fix-msvc-sharemodel-build
allexzander [Fri, 21 Jul 2023 12:03:35 +0000 (14:03 +0200)]
Merge pull request #5912 from nextcloud/bugfix/fix-msvc-sharemodel-build

Fix build of sharemodel.cpp on MSVC

3 years agoFix build of sharemodel.cpp on MSVC
Claudio Cambra [Fri, 21 Jul 2023 10:40:40 +0000 (18:40 +0800)]
Fix build of sharemodel.cpp on MSVC

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5698 from nextcloud/feature/trashfiles
Claudio Cambra [Thu, 20 Jul 2023 16:14:50 +0000 (18:14 +0200)]
Merge pull request #5698 from nextcloud/feature/trashfiles

Add option to move deleted files to trash instead of permanently deleting them

3 years agoAdd checkbox to general settings to enabling file removal meaning moving files to...
Claudio Cambra [Tue, 16 May 2023 05:50:10 +0000 (13:50 +0800)]
Add checkbox to general settings to enabling file removal meaning moving files to trash, rather than immediate deletion

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoReplace custom moveToTrash solution with Qt QFile::moveToTrash
Claudio Cambra [Tue, 16 May 2023 05:28:48 +0000 (13:28 +0800)]
Replace custom moveToTrash solution with Qt QFile::moveToTrash

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5666 from nextcloud/bugfix/svg-provider-error-fix
Claudio Cambra [Thu, 20 Jul 2023 16:02:20 +0000 (18:02 +0200)]
Merge pull request #5666 from nextcloud/bugfix/svg-provider-error-fix

Fix SVG rendering error in SvgImageProvider

3 years agoRemove empty statement, standalone semicolon
Claudio Cambra [Thu, 20 Jul 2023 11:01:33 +0000 (19:01 +0800)]
Remove empty statement, standalone semicolon

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoExtract custom color svg image finding into separate function
Claudio Cambra [Tue, 9 May 2023 06:43:54 +0000 (14:43 +0800)]
Extract custom color svg image finding into separate function

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoSimplify findSvgFilePath, define result value on definition
Claudio Cambra [Tue, 9 May 2023 06:37:15 +0000 (14:37 +0800)]
Simplify findSvgFilePath, define result value on definition

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5717 from nextcloud/bugfix/better-password-gen
Claudio Cambra [Thu, 20 Jul 2023 15:51:38 +0000 (17:51 +0200)]
Merge pull request #5717 from nextcloud/bugfix/better-password-gen

Fix password generation for shares, improve generator

3 years agoSimplify loop to write bytes to password
Claudio Cambra [Thu, 8 Jun 2023 09:16:47 +0000 (17:16 +0800)]
Simplify loop to write bytes to password

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoUse std::array to store hash bytes
Claudio Cambra [Thu, 8 Jun 2023 09:14:28 +0000 (17:14 +0800)]
Use std::array to store hash bytes

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoReplace use of std::rand with improved C++11 random
Claudio Cambra [Sat, 20 May 2023 16:34:54 +0000 (00:34 +0800)]
Replace use of std::rand with improved C++11 random

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoGuarantee that the generated password for share will have all the types of characters...
Claudio Cambra [Sat, 20 May 2023 15:30:12 +0000 (23:30 +0800)]
Guarantee that the generated password for share will have all the types of characters needed to pass server check

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoSimplify password generation in sharemodel
Claudio Cambra [Sat, 20 May 2023 15:12:31 +0000 (23:12 +0800)]
Simplify password generation in sharemodel

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoGenerate better passwords for shares
Claudio Cambra [Fri, 19 May 2023 07:52:06 +0000 (15:52 +0800)]
Generate better passwords for shares

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5659 from nextcloud/bugfix/expire-date-set-share-view
Claudio Cambra [Thu, 20 Jul 2023 15:21:50 +0000 (17:21 +0200)]
Merge pull request #5659 from nextcloud/bugfix/expire-date-set-share-view

Fix expire date field in Share settings

3 years agoTrack invalid input in ShareDetailsPage expireDateSpinBoxTextField
Claudio Cambra [Mon, 8 May 2023 12:03:12 +0000 (20:03 +0800)]
Track invalid input in ShareDetailsPage expireDateSpinBoxTextField

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd ability for NCInputTextField to display red border when invalid input provided
Claudio Cambra [Mon, 8 May 2023 12:02:43 +0000 (20:02 +0800)]
Add ability for NCInputTextField to display red border when invalid input provided

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoEnsure the text for the expire date spin box is updated even in situations when the...
Claudio Cambra [Mon, 8 May 2023 12:00:34 +0000 (20:00 +0800)]
Ensure the text for the expire date spin box is updated even in situations when the expire date is forced back down to the same one being currently held

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMake sure to imperatively set text for spinbox textfield after user breaks binding...
Claudio Cambra [Mon, 8 May 2023 09:59:01 +0000 (17:59 +0800)]
Make sure to imperatively set text for spinbox textfield after user breaks binding by editing

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoRename "moreMenu" ColumnLayout to "scrollContentsColumn" in ShareView, stop treating...
Claudio Cambra [Mon, 8 May 2023 09:16:50 +0000 (17:16 +0800)]
Rename "moreMenu" ColumnLayout to "scrollContentsColumn" in ShareView, stop treating like menu which it used to be

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #5890 from m7913d/fixCantUpdateNonExistingPlaceholder
Matthieu Gallien [Thu, 20 Jul 2023 14:46:22 +0000 (16:46 +0200)]
Merge pull request #5890 from m7913d/fixCantUpdateNonExistingPlaceholder

Create placeholder while dehydrating if needed

3 years agoCreate placeholder while dehydrating if needed
Dries Mys [Sat, 15 Jul 2023 22:05:20 +0000 (00:05 +0200)]
Create placeholder while dehydrating if needed

When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes #4274

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years agoMerge pull request #5853 from m7913d/ignoredFilesExcludedPinState
Matthieu Gallien [Thu, 20 Jul 2023 13:01:53 +0000 (15:01 +0200)]
Merge pull request #5853 from m7913d/ignoredFilesExcludedPinState

Set VFS PinState to Excluded for ignored files.

3 years agoSmall coding improvements
Dries Mys [Wed, 19 Jul 2023 08:55:36 +0000 (10:55 +0200)]
Small coding improvements

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years agoRemove warning when querying pin state on non-placeholder file
Dries Mys [Tue, 18 Jul 2023 20:49:16 +0000 (22:49 +0200)]
Remove warning when querying pin state on non-placeholder file

F.ex. Folder::slotWatchedPathChanged calls this function on non-
placeholder files to check if the ignored file is already assigned an
Excluded pin state. Note that it is allowed to set the pin state to
Excluded on non-placeholder files.

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years agoSet VFS PinState to Excluded for ignored files.
Dries Mys [Sun, 2 Jul 2023 17:05:37 +0000 (19:05 +0200)]
Set VFS PinState to Excluded for ignored files.

Setting PinState to Excluded ensures the syncing icon is not shown for ignored items.
If the PinState is not set to Excluded, also all parent directories are shown as being synced, which is very inconvenient for the end user as it seems that some folder are never fully synced by Nextcloud which isn't the case.
As long as .lnk files are not converted to placeholder files, also set them to Excluded to hide the syncing icon.

Closes #5524
Closes #5594

Co-authored-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 20 Jul 2023 02:35:26 +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 [Wed, 19 Jul 2023 02:35:31 +0000 (02:35 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #5885 from nextcloud/bugfix/sharing-api-disabled-share-view
Claudio Cambra [Tue, 18 Jul 2023 13:58:13 +0000 (15:58 +0200)]
Merge pull request #5885 from nextcloud/bugfix/sharing-api-disabled-share-view

Disable share view completely when server does not support/has disabled file sharing

3 years agoSwap folder nullness assert for return
Claudio Cambra [Tue, 18 Jul 2023 08:40:33 +0000 (16:40 +0800)]
Swap folder nullness assert for return

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoCompress share page tab button width and height when sharing API is disabled
Claudio Cambra [Thu, 13 Jul 2023 04:42:06 +0000 (12:42 +0800)]
Compress share page tab button width and height when sharing API is disabled

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMake swipeIndex properties readonly
Claudio Cambra [Thu, 13 Jul 2023 04:41:51 +0000 (12:41 +0800)]
Make swipeIndex properties readonly

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoFix background of tabbar in file details page
Claudio Cambra [Thu, 13 Jul 2023 02:36:27 +0000 (10:36 +0800)]
Fix background of tabbar in file details page

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDo not handle setting page to sharing page if sharing not available
Claudio Cambra [Thu, 13 Jul 2023 02:28:31 +0000 (10:28 +0800)]
Do not handle setting page to sharing page if sharing not available

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoDo not display sharing entry if sharing is not available on server
Claudio Cambra [Thu, 13 Jul 2023 02:28:10 +0000 (10:28 +0800)]
Do not display sharing entry if sharing is not available on server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoSet sharingAvailable property in FileDetails from Folder account capabilities
Claudio Cambra [Thu, 13 Jul 2023 01:28:54 +0000 (09:28 +0800)]
Set sharingAvailable property in FileDetails from Folder account capabilities

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoAdd sharingAvailable property to FileDetails class
Claudio Cambra [Thu, 13 Jul 2023 01:27:07 +0000 (09:27 +0800)]
Add sharingAvailable property to FileDetails class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
3 years agoMerge pull request #4977 from tomdereub/patch-1
Matthieu Gallien [Tue, 18 Jul 2023 12:32:23 +0000 (14:32 +0200)]
Merge pull request #4977 from tomdereub/patch-1

windows reserved word silently excluded - csync exclude.cpp

3 years agoAdapt test 2
tomdereub [Sat, 8 Oct 2022 21:42:48 +0000 (23:42 +0200)]
Adapt test 2

Signed-off-by: tomdereub <pbtom@lamonerie.net>
3 years agoAdapt test to silent exclusion
tomdereub [Sat, 8 Oct 2022 19:49:09 +0000 (21:49 +0200)]
Adapt test to silent exclusion

Signed-off-by: tomdereub <pbtom@lamonerie.net>
3 years agowindows reserved word silently excluded - csync exclude.cpp
tomdereub [Tue, 27 Sep 2022 11:22:34 +0000 (13:22 +0200)]
windows reserved word silently excluded - csync exclude.cpp

Proposal to solve https://github.com/nextcloud/desktop/issues/3826, by excluding silently windows reserved word like $RECYCLE.BIN.

Signed-off-by: tomdereub <pbtom@lamonerie.net>
3 years agoMerge pull request #5879 from nextcloud/bugfix/fix-incorrect-seen-chat-notifications...
Matthieu Gallien [Tue, 18 Jul 2023 08:56:31 +0000 (10:56 +0200)]
Merge pull request #5879 from nextcloud/bugfix/fix-incorrect-seen-chat-notifications-removal

Fix crash and incorrect implementation of seen chat notofications removal

3 years agotry to force use of python 3.8 for windows as required by craft
Matthieu Gallien [Tue, 18 Jul 2023 07:53:12 +0000 (09:53 +0200)]
try to force use of python 3.8 for windows as required by craft

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>