Claudio Cambra
|
5237822221
|
Add sets for actions, to be able to track multiple actions
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-07-23 14:06:28 +08:00 |
|
Claudio Cambra
|
e7a164d312
|
Remove unused urlsession stuff in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-07-19 16:24:21 +08:00 |
|
Claudio Cambra
|
73fde5065d
|
Adapt to remoteInterface changes in NCFPK
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-07-19 16:24:21 +08:00 |
|
Claudio Cambra
|
68370ade88
|
Add change observer from NCFPK
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:05 +08:00 |
|
Claudio Cambra
|
6a64248ff6
|
Always signal enumerator after errors to try and recover from what the error might have been
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:04 +08:00 |
|
Claudio Cambra
|
33e2c084a5
|
Provide NCFPK enumerator with extension domain
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:04 +08:00 |
|
Claudio Cambra
|
c082c446c1
|
Fix passing of wrong item into item.modify
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:04 +08:00 |
|
Claudio Cambra
|
dab28f20f4
|
Improve logging in delete item procedure of FPExt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:04 +08:00 |
|
Claudio Cambra
|
485b07a805
|
Use NCFPK item modify method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
c9a131736a
|
Use NCFPK Item.create in createItem
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
2373cd4dde
|
Use fetchContents from NCFPK item
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
3ec18ba1a6
|
Simplify FileProviderExtension's deleteItem method by leveraging Item's delete method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
788fd7f363
|
Greatly simplify item method of FIleProviderExtension by using item storedItem method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
6200cab957
|
Use new convenience method to get Item for root container from NCFPK
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:03 +08:00 |
|
Claudio Cambra
|
e8d1afa3df
|
Adapt to new NextcloudFileProviderKit item nomenclature
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:02 +08:00 |
|
Claudio Cambra
|
913d724254
|
Make use of NextcloudFileProviderKit materialisedenumerationobserver
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:02 +08:00 |
|
Claudio Cambra
|
2c0688f82b
|
Use FileProviderItem from NextcloudFileProviderKit
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:02 +08:00 |
|
Claudio Cambra
|
5a774756b6
|
Use Enumerator in NextcloudFileProviderKit
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:02 +08:00 |
|
Claudio Cambra
|
b9483f0c55
|
Remove use of all code now available in NextcloudFileProviderKit
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:15:01 +08:00 |
|
Claudio Cambra
|
a3e1d66707
|
Use value from config for fastEnumeration when creating enumerator
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-03-06 18:46:41 +08:00 |
|
Claudio Cambra
|
1fc6014230
|
Add a starter FileProviderConfig
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-03-06 18:46:41 +08:00 |
|
Claudio Cambra
|
cac263f174
|
Clean up properties and init/invalidate in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-03-06 18:46:41 +08:00 |
|
Claudio Cambra
|
179a368f9f
|
Add option to do a fast enumeration of changes which ignores new, unexplored folders
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-03-06 18:46:41 +08:00 |
|
Claudio Cambra
|
a2d69fcf7c
|
Keep pointer to FileProviderExtension around in ClientCommunicationService
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-02-19 22:39:37 +08:00 |
|
Claudio Cambra
|
d707ccc5b3
|
Clean up file provider extension property declarations and init
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-02-06 11:45:44 +01:00 |
|
Claudio Cambra
|
3928573ff4
|
Run swift-format on swift code
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-02-06 11:45:44 +01:00 |
|
Claudio Cambra
|
e245ec0d2a
|
Set interpolated log strings in FileProvider logs to public
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:38 +08:00 |
|
Claudio Cambra
|
7e1ebed8c7
|
Split client interfacing code into FileProviderExtension extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:38 +08:00 |
|
Claudio Cambra
|
ebf96e3e81
|
Make NKError extension code more Swift-like, clean up
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:38 +08:00 |
|
Claudio Cambra
|
0f578fabdd
|
Use specific signalEnumerator method in FileProviderExtension item renaming instead of reinventing wheel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:38 +08:00 |
|
Claudio Cambra
|
7550ed7a1b
|
Properly handle metadata delete after item deletion in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:37 +08:00 |
|
Claudio Cambra
|
2853b88258
|
Move NKFile to metadata conversion methods to a new extension for NextcloudItemMetadataTable, where they are better placed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 16:02:37 +08:00 |
|
Claudio Cambra
|
34a43fea69
|
Make sure to notify when folder moved in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:29:57 +08:00 |
|
Claudio Cambra
|
872186248a
|
Remove redundant directory metadata tables in File Provider
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:29:55 +08:00 |
|
Claudio Cambra
|
2e70c82663
|
Prevent premature running of completion handler when modifying folder in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:29:55 +08:00 |
|
Claudio Cambra
|
d3c3181c0d
|
Ensure we are logging error description itself and not NKError wrapper or any Error type
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:29:53 +08:00 |
|
Claudio Cambra
|
4f1f4388af
|
Rewrite modifyItem to make it non-blocking on the main thread in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:29:53 +08:00 |
|
Claudio Cambra
|
762aee8e41
|
Simplify temp local file creation while fetching contents, use File Provider volume
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:28:46 +08:00 |
|
Claudio Cambra
|
221848f230
|
Properly set cancellation, pausing, and resuming handlers on FileProviderExtension task progress
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:28:46 +08:00 |
|
Claudio Cambra
|
d4d5c8f8da
|
Removed unused tracking of outstanding session and ocID related tasks
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:28:45 +08:00 |
|
Claudio Cambra
|
5e8d7217a9
|
Warn when retrieved size of file upload is different to the expected size in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:28:45 +08:00 |
|
Claudio Cambra
|
b8224212ca
|
Ensure item upload/download states are properly set and reset in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:28:45 +08:00 |
|
Claudio Cambra
|
4e536dcd65
|
Ensure upload errors for modified files are recorded in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:35 +08:00 |
|
Claudio Cambra
|
f4be264eee
|
Ensure existing metadatas being uploaded are set to uploading status in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:35 +08:00 |
|
Claudio Cambra
|
9083f982d9
|
Use completion handler to retrieve updated metadata after status change, fixing race condition in FileProviderDatabaseManager
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:35 +08:00 |
|
Claudio Cambra
|
5ae1936328
|
Handle different interpolated string types differently in FileProviderExtension logging
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:35 +08:00 |
|
Claudio Cambra
|
3082850e68
|
Ensure errors are always publicly displayed in unified logging of File Provider
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:34 +08:00 |
|
Claudio Cambra
|
5c72c6a2e9
|
Replace NSLog in FileProviderExtension with use of Logger
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:34 +08:00 |
|
Claudio Cambra
|
8994f31cb9
|
Remove unnecessary full reimport after initial account configuration in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:33 +08:00 |
|
Claudio Cambra
|
7863ba8594
|
Improve error handling in fetchContents if path is not available FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2023-05-12 13:21:33 +08:00 |
|