nextcloud-desktop.git
2 years agochore(i18n): Add trailing space to show them separated at Transifex.
rakekniven [Tue, 23 Jul 2024 10:03:02 +0000 (12:03 +0200)]
chore(i18n): Add trailing space to show them separated at Transifex.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2 years agochore(i18n): Changed grammar
rakekniven [Tue, 23 Jul 2024 09:59:41 +0000 (11:59 +0200)]
chore(i18n): Changed grammar

Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2 years agoMerge pull request #6888 from nextcloud/bugfix/signupWithProviderPage
Matthieu Gallien [Tue, 6 Aug 2024 16:21:53 +0000 (18:21 +0200)]
Merge pull request #6888 from nextcloud/bugfix/signupWithProviderPage

Bugfix/signup with provider page

2 years agofix authentication using provider page and web page login flow
Matthieu Gallien [Mon, 8 Jul 2024 16:48:08 +0000 (18:48 +0200)]
fix authentication using provider page and web page login flow

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6975 from nextcloud/bugfix/fixImplicitHydrationCorruptedData
Matthieu Gallien [Tue, 6 Aug 2024 16:20:43 +0000 (18:20 +0200)]
Merge pull request #6975 from nextcloud/bugfix/fixImplicitHydrationCorruptedData

use QByteArray::left to send the newly received data during hydration

2 years agouse QByteArray::left to send the newly received data during hydration
Matthieu Gallien [Tue, 6 Aug 2024 14:39:41 +0000 (16:39 +0200)]
use QByteArray::left to send the newly received data during hydration

we use the proper method from QByteArray to forward the data received by
GETFileJob to the socket connected to teh fetch data CfApi callback

Close https://github.com/nextcloud/desktop/issues/6769

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoMerge pull request #6973 from nextcloud/bugfix/login-dialog-crash
Matthieu Gallien [Tue, 6 Aug 2024 15:30:44 +0000 (17:30 +0200)]
Merge pull request #6973 from nextcloud/bugfix/login-dialog-crash

Fix crash: web flow credential dialog is deleted when closing it.

2 years agoFix crash: web flow credential dialog is deleted when closing it.
Camila Ayres [Tue, 6 Aug 2024 10:34:08 +0000 (12:34 +0200)]
Fix crash: web flow credential dialog is deleted when closing it.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoMerge pull request #6966 from nextcloud/bugfix/mac-crafter-product-path
Camila Ayres [Tue, 6 Aug 2024 09:06:02 +0000 (11:06 +0200)]
Merge pull request #6966 from nextcloud/bugfix/mac-crafter-product-path

Fix product path handling in Mac Crafter

2 years agoAdd mac-crafter Package.resolved to gitignore
Claudio Cambra [Tue, 6 Aug 2024 08:59:23 +0000 (16:59 +0800)]
Add mac-crafter Package.resolved to gitignore

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd default product folder to gitignore
Claudio Cambra [Tue, 6 Aug 2024 08:57:33 +0000 (16:57 +0800)]
Add default product folder to gitignore

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoOnly create product path's directory if it doesn't exist already
Claudio Cambra [Mon, 5 Aug 2024 11:00:38 +0000 (19:00 +0800)]
Only create product path's directory if it doesn't exist already

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix final path that app is copied to in mac crafter
Claudio Cambra [Mon, 5 Aug 2024 11:00:21 +0000 (19:00 +0800)]
Fix final path that app is copied to in mac crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMerge pull request #6968 from nextcloud/bugfix/handlePermanentRedirect
Matthieu Gallien [Tue, 6 Aug 2024 08:31:29 +0000 (10:31 +0200)]
Merge pull request #6968 from nextcloud/bugfix/handlePermanentRedirect

forward the redirected signal from QNetworkReply to detect them

2 years agoforward the redirected signal from QNetworkReply to detect them
Matthieu Gallien [Mon, 5 Aug 2024 14:41:01 +0000 (16:41 +0200)]
forward the redirected signal from QNetworkReply to detect them

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 6 Aug 2024 02:44:04 +0000 (02:44 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #6963 from nextcloud/bugfix/enterprise-channel-infinite-recursion
Camila Ayres [Sun, 4 Aug 2024 18:37:41 +0000 (20:37 +0200)]
Merge pull request #6963 from nextcloud/bugfix/enterprise-channel-infinite-recursion

Fix infinite recursion caused by default value call in desktopEnterpriseChannel

2 years agoFix infinite recursion caused by default value call in desktopEnterpriseChannel
Claudio Cambra [Fri, 2 Aug 2024 11:30:05 +0000 (19:30 +0800)]
Fix infinite recursion caused by default value call in desktopEnterpriseChannel

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 3 Aug 2024 03:29:56 +0000 (03:29 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 2 Aug 2024 02:40:24 +0000 (02:40 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 1 Aug 2024 05:44:41 +0000 (05:44 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 31 Jul 2024 02:42:29 +0000 (02:42 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #6882 from nextcloud/enh/syncing-status
Camila Ayres [Tue, 30 Jul 2024 10:35:44 +0000 (12:35 +0200)]
Merge pull request #6882 from nextcloud/enh/syncing-status

Improve the syncing status text displayed to the user

2 years agoList less file names in the sync progress bar text.
Camila Ayres [Mon, 29 Jul 2024 17:30:09 +0000 (19:30 +0200)]
List less file names in the sync progress bar text.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoCapitalize sync instruction strings returned by Progress::asActionString.
Camila Ayres [Mon, 29 Jul 2024 15:51:55 +0000 (17:51 +0200)]
Capitalize sync instruction strings returned by Progress::asActionString.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoMake sync status text easier to understand.
Camila Ayres [Fri, 5 Jul 2024 09:48:50 +0000 (11:48 +0200)]
Make sync status text easier to understand.

- Never display "please wait" to users.
- Only start displaying status starting at 1. e.g. "0 f 6 files" => "1 of 6 files"
- Improve text for FolderStatusDelegate::FolderSyncText.
- Reconciling => Syncing.
- Syncing => Sync.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoModernize FolderStatusModel::slotSetProgress.
Camila Ayres [Wed, 7 Feb 2024 21:03:04 +0000 (22:03 +0100)]
Modernize FolderStatusModel::slotSetProgress.

- Add const auto.
- Change variable names to be more clear.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoDisplay more details of the sync progress in the settings dialog.
Camila Ayres [Wed, 7 Feb 2024 21:01:00 +0000 (22:01 +0100)]
Display more details of the sync progress in the settings dialog.

- Add margin to sync progress text.
- Make use of the text in FolderStatusDelegate::FolderSyncText.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2 years agoMerge pull request #6951 from nextcloud/bugfix/ncfpk-stable-ncaccount-changes
Claudio Cambra [Mon, 29 Jul 2024 09:28:53 +0000 (17:28 +0800)]
Merge pull request #6951 from nextcloud/bugfix/ncfpk-stable-ncaccount-changes

Remove ncAccount usages removed in NCFPK API

2 years agoRemove ncAccount usages removed in NCFPK API
Claudio Cambra [Mon, 29 Jul 2024 08:05:51 +0000 (16:05 +0800)]
Remove ncAccount usages removed in NCFPK API

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 26 Jul 2024 02:40:45 +0000 (02:40 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 25 Jul 2024 02:40:32 +0000 (02:40 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 24 Jul 2024 02:40:42 +0000 (02:40 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #6930 from nextcloud/bugfix/file-provider-sync-status
Claudio Cambra [Tue, 23 Jul 2024 06:58:04 +0000 (14:58 +0800)]
Merge pull request #6930 from nextcloud/bugfix/file-provider-sync-status

Reflect File Provider domain sync status in tray icon (macOS VFS)

2 years agoEnsure file provider instance gets initialised at app launch WITHOUT creating a separ...
Claudio Cambra [Fri, 19 Jul 2024 10:21:00 +0000 (18:21 +0800)]
Ensure file provider instance gets initialised at app launch WITHOUT creating a separate instance from expected singleton

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoClean up unused components in file provider socket controller
Claudio Cambra [Fri, 19 Jul 2024 08:10:31 +0000 (16:10 +0800)]
Clean up unused components in file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoProvide state message in popup for vfs accounts that synced successfully or had an...
Claudio Cambra [Fri, 19 Jul 2024 07:32:55 +0000 (15:32 +0800)]
Provide state message in popup for vfs accounts that synced successfully or had an issue

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure all sync result status types are handled for file provider in owncloudgui
Claudio Cambra [Fri, 19 Jul 2024 07:06:20 +0000 (15:06 +0800)]
Ensure all sync result status types are handled for file provider in owncloudgui

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoCheck if the extension is reachable in owncloudgui compute sync status
Claudio Cambra [Fri, 19 Jul 2024 06:51:55 +0000 (14:51 +0800)]
Check if the extension is reachable in owncloudgui compute sync status

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd method to fileproviderxpc to check if the file provider extension is reachable
Claudio Cambra [Fri, 19 Jul 2024 06:51:37 +0000 (14:51 +0800)]
Add method to fileproviderxpc to check if the file provider extension is reachable

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoModernise problem account handling in slot compute overall sync state
Claudio Cambra [Thu, 18 Jul 2024 11:30:25 +0000 (19:30 +0800)]
Modernise problem account handling in slot compute overall sync state

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoStore and provide latest account's file provider sync state as there is no guarantee...
Claudio Cambra [Thu, 18 Jul 2024 11:27:49 +0000 (19:27 +0800)]
Store and provide latest account's file provider sync state as there is no guarantee (nor should we ensure) the socket with the extension stays alive

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDo not report account sync state on socket controller if we haven't received account...
Claudio Cambra [Thu, 18 Jul 2024 11:27:00 +0000 (19:27 +0800)]
Do not report account sync state on socket controller if we haven't received account info yet

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAccount for file provider states when setting tray icon
Claudio Cambra [Wed, 17 Jul 2024 09:39:15 +0000 (17:39 +0800)]
Account for file provider states when setting tray icon

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAppend macOS vfs environment state strings to tray message when computing sync status
Claudio Cambra [Wed, 17 Jul 2024 09:33:01 +0000 (17:33 +0800)]
Append macOS vfs environment state strings to tray message when computing sync status

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoProcess state of file provider account domains in slotComputeOverallSyncStatus
Claudio Cambra [Wed, 17 Jul 2024 09:32:35 +0000 (17:32 +0800)]
Process state of file provider account domains in slotComputeOverallSyncStatus

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoConnect sync state changed signal in file provider socket server to compute overall...
Claudio Cambra [Wed, 17 Jul 2024 09:31:49 +0000 (17:31 +0800)]
Connect sync state changed signal in file provider socket server to compute overall sync status slot in owncloudgui

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd file provider socket state provider method in socket server
Claudio Cambra [Wed, 17 Jul 2024 09:30:01 +0000 (17:30 +0800)]
Add file provider socket state provider method in socket server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd file provider socket state struct
Claudio Cambra [Wed, 17 Jul 2024 09:29:38 +0000 (17:29 +0800)]
Add file provider socket state struct

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoReport sync state after initial connection of socket in socket controller
Claudio Cambra [Wed, 17 Jul 2024 09:29:18 +0000 (17:29 +0800)]
Report sync state after initial connection of socket in socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd support for SYNC_PREPARING arg in socket controller reportsyncstate
Claudio Cambra [Wed, 17 Jul 2024 09:29:03 +0000 (17:29 +0800)]
Add support for SYNC_PREPARING arg in socket controller reportsyncstate

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoExpose latest sync state in file provider socket controller
Claudio Cambra [Wed, 17 Jul 2024 09:28:27 +0000 (17:28 +0800)]
Expose latest sync state in file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoStore latest sync state in file provider socket controller
Claudio Cambra [Wed, 17 Jul 2024 09:28:11 +0000 (17:28 +0800)]
Store latest sync state in file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoExpose account state in file provider socket controller
Claudio Cambra [Wed, 17 Jul 2024 09:27:38 +0000 (17:27 +0800)]
Expose account state in file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoExpose socket server in FileProvider class
Claudio Cambra [Wed, 17 Jul 2024 09:24:11 +0000 (17:24 +0800)]
Expose socket server in FileProvider class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRemove pointless setStatusText in slotComputeOverallStatus
Claudio Cambra [Wed, 17 Jul 2024 07:46:03 +0000 (15:46 +0800)]
Remove pointless setStatusText in slotComputeOverallStatus

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoLock and unlock when accessing sync actions in FileProviderExt to protect against...
Claudio Cambra [Tue, 16 Jul 2024 11:35:09 +0000 (19:35 +0800)]
Lock and unlock when accessing sync actions in FileProviderExt to protect against possible races

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoSet self as listener for Enumerator in FileProviderExt
Claudio Cambra [Tue, 16 Jul 2024 11:24:09 +0000 (19:24 +0800)]
Set self as listener for Enumerator in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd conformance to NextcloudFileProviderKit's EnumerationListener protocol in FilePro...
Claudio Cambra [Tue, 16 Jul 2024 11:23:53 +0000 (19:23 +0800)]
Add conformance to NextcloudFileProviderKit's EnumerationListener protocol in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoTrack sync actions in main FileProviderExt procedures
Claudio Cambra [Tue, 16 Jul 2024 11:21:26 +0000 (19:21 +0800)]
Track sync actions in main FileProviderExt procedures

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd method to remove finished sync action in FileProviderExt
Claudio Cambra [Tue, 16 Jul 2024 11:18:25 +0000 (19:18 +0800)]
Add method to remove finished sync action in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd method to mark action as error sync action in FileProviderExt
Claudio Cambra [Tue, 16 Jul 2024 11:18:16 +0000 (19:18 +0800)]
Add method to mark action as error sync action in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd method to insert new sync action in FileProviderExt
Claudio Cambra [Tue, 16 Jul 2024 11:18:00 +0000 (19:18 +0800)]
Add method to insert new sync action in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd method to report a change in sync state if applicable in FileProviderExt
Claudio Cambra [Tue, 16 Jul 2024 11:19:58 +0000 (19:19 +0800)]
Add method to report a change in sync state if applicable in FileProviderExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd sets for actions, to be able to track multiple actions
Claudio Cambra [Tue, 16 Jul 2024 11:17:15 +0000 (19:17 +0800)]
Add sets for actions, to be able to track multiple actions

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoBounce sync state change signals from socket controller in socket server
Claudio Cambra [Tue, 16 Jul 2024 10:58:12 +0000 (18:58 +0800)]
Bounce sync state change signals from socket controller in socket server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd support for FILE_PROVIDER_DOMAIN_SYNC_STATE_CHANGE socket messages in client...
Claudio Cambra [Tue, 16 Jul 2024 10:57:52 +0000 (18:57 +0800)]
Add support for FILE_PROVIDER_DOMAIN_SYNC_STATE_CHANGE socket messages in client file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoModernise slotComputeOverallSyncStatus
Claudio Cambra [Tue, 16 Jul 2024 10:57:00 +0000 (18:57 +0800)]
Modernise slotComputeOverallSyncStatus

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 23 Jul 2024 02:39:54 +0000 (02:39 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #6803 from nextcloud/feature/edit-locally-macos-vfs
Claudio Cambra [Mon, 22 Jul 2024 13:00:51 +0000 (21:00 +0800)]
Merge pull request #6803 from nextcloud/feature/edit-locally-macos-vfs

Add Edit Locally support to macOS virtual files module

2 years agoFix crash upon removing edit locally file provider jobs in edit locally manager
Claudio Cambra [Tue, 28 May 2024 16:37:23 +0000 (00:37 +0800)]
Fix crash upon removing edit locally file provider jobs in edit locally manager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoStart the FileProviderEditLocallyJob in editlocallymanager
Claudio Cambra [Tue, 28 May 2024 16:03:38 +0000 (00:03 +0800)]
Start the FileProviderEditLocallyJob in editlocallymanager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoImprove logging in editlocallymanager
Claudio Cambra [Tue, 28 May 2024 16:03:23 +0000 (00:03 +0800)]
Improve logging in editlocallymanager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoConnect receipt of a file's ocId with file opening procedure in FileProviderEditLocal...
Claudio Cambra [Tue, 28 May 2024 16:03:07 +0000 (00:03 +0800)]
Connect receipt of a file's ocId with file opening procedure in FileProviderEditLocallyJob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoImplement opening of a file with a given ocId in File Provider files
Claudio Cambra [Tue, 28 May 2024 16:02:44 +0000 (00:02 +0800)]
Implement opening of a file with a given ocId in File Provider files

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRemove redundant includes in editlocallymanager
Claudio Cambra [Tue, 28 May 2024 16:02:11 +0000 (00:02 +0800)]
Remove redundant includes in editlocallymanager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAnticipate null reply in idGetError of FileProviderEditLocallyJob
Claudio Cambra [Tue, 28 May 2024 16:01:11 +0000 (00:01 +0800)]
Anticipate null reply in idGetError of FileProviderEditLocallyJob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAllow retrieval of domain associated with account in FileProviderDomainManager
Claudio Cambra [Tue, 28 May 2024 16:00:33 +0000 (00:00 +0800)]
Allow retrieval of domain associated with account in FileProviderDomainManager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoExpose domain manager in Mac::FileProvider
Claudio Cambra [Tue, 28 May 2024 16:00:17 +0000 (00:00 +0800)]
Expose domain manager in Mac::FileProvider

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoFetch ocId for a given relative path
Claudio Cambra [Tue, 28 May 2024 11:17:55 +0000 (19:17 +0800)]
Fetch ocId for a given relative path

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoBegin setting up dialog for file provider edit locally job
Claudio Cambra [Tue, 28 May 2024 11:06:34 +0000 (19:06 +0800)]
Begin setting up dialog for file provider edit locally job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd showError to FileProviderEditLocally
Claudio Cambra [Tue, 28 May 2024 11:05:39 +0000 (19:05 +0800)]
Add showError to FileProviderEditLocally

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoTry to use FileProviderEditLocallyJob before attempting standard EditLocallyJob in...
Claudio Cambra [Tue, 28 May 2024 10:37:54 +0000 (18:37 +0800)]
Try to use FileProviderEditLocallyJob before attempting standard EditLocallyJob in EditLocallyManager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd completion signals to fileprovidereditlocallyjob
Claudio Cambra [Tue, 28 May 2024 10:33:37 +0000 (18:33 +0800)]
Add completion signals to fileprovidereditlocallyjob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd FileProviderEditLocallyPtr type
Claudio Cambra [Tue, 28 May 2024 10:31:18 +0000 (18:31 +0800)]
Add FileProviderEditLocallyPtr type

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd starter FileProviderEditLocally class
Claudio Cambra [Tue, 28 May 2024 08:03:19 +0000 (16:03 +0800)]
Add starter FileProviderEditLocally class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDo not automatically delete edit locally token verification job upon completion,...
Claudio Cambra [Mon, 27 May 2024 14:49:41 +0000 (22:49 +0800)]
Do not automatically delete edit locally token verification job upon completion, rely on manager's smart pointers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoShow edit locally loading dialog with filename immediately in editlocallyjob constructor
Claudio Cambra [Mon, 27 May 2024 14:45:20 +0000 (22:45 +0800)]
Show edit locally loading dialog with filename immediately in editlocallyjob constructor

By the time we launch this job we ahve already finished verifying the
token after recent changes

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDisplay token verification failure through GUI in edit locally manager
Claudio Cambra [Mon, 27 May 2024 14:40:45 +0000 (22:40 +0800)]
Display token verification failure through GUI in edit locally manager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoRemove token related tasks from editlocallyjob
Claudio Cambra [Mon, 27 May 2024 14:40:11 +0000 (22:40 +0800)]
Remove token related tasks from editlocallyjob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMove show error display features from editlocallyjob to editlocallymanager
Claudio Cambra [Mon, 27 May 2024 14:30:27 +0000 (22:30 +0800)]
Move show error display features from editlocallyjob to editlocallymanager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMove verification job handling and scheduling out of editlocallyjob, into editlocally...
Claudio Cambra [Mon, 27 May 2024 11:01:44 +0000 (19:01 +0800)]
Move verification job handling and scheduling out of editlocallyjob, into editlocallymanager

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd a EditLocallyVerificationJobPtr type
Claudio Cambra [Mon, 27 May 2024 10:54:14 +0000 (18:54 +0800)]
Add a EditLocallyVerificationJobPtr type

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoDirectly use accountstate in editlocallyjob
Claudio Cambra [Mon, 27 May 2024 10:31:11 +0000 (18:31 +0800)]
Directly use accountstate in editlocallyjob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure we emit error during edit locally job setup issues
Claudio Cambra [Mon, 27 May 2024 10:26:25 +0000 (18:26 +0800)]
Ensure we emit error during edit locally job setup issues

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoMove token and relpath validity checks to edit locally verification job
Claudio Cambra [Thu, 23 May 2024 16:46:50 +0000 (00:46 +0800)]
Move token and relpath validity checks to edit locally verification job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoUse verification job within edit locally job
Claudio Cambra [Thu, 23 May 2024 16:17:09 +0000 (00:17 +0800)]
Use verification job within edit locally job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoEnsure verification job gets deleted after finish
Claudio Cambra [Thu, 23 May 2024 16:16:41 +0000 (00:16 +0800)]
Ensure verification job gets deleted after finish

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoSend and respond to SimpleApiJob to verify edit locally request with server in valida...
Claudio Cambra [Thu, 23 May 2024 16:00:39 +0000 (00:00 +0800)]
Send and respond to SimpleApiJob to verify edit locally request with server in validation job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2 years agoAdd starter EditLocallyVerificationJob
Claudio Cambra [Thu, 23 May 2024 15:56:45 +0000 (23:56 +0800)]
Add starter EditLocallyVerificationJob

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>