Amir Abbas
3d9625e243
Fixed swift 3.0 compile error for type(of:)
2017-07-01 11:03:22 +04:30
Amir Abbas
0d017ebfc4
Fix #52 (Swift 4.0 source compatibility)
2017-07-01 10:47:48 +04:30
Amir Abbas
24af7aa4c2
Fixed LocalFileProvider init baseURL issue
2017-04-20 01:27:59 +04:30
Amir Abbas
06039ad993
CloudFileProvider operation handle improvements
2017-04-20 01:06:36 +04:30
Hans van Dam
5c93bc8731
making 'inProgress' of LocalFileProvider work more consistently
2017-04-18 11:03:35 +02:00
Hans van Dam
61ba245189
making 'inProgress' of LocalFileProvider work
2017-04-17 18:16:04 +02:00
Amir Abbas
ea5de2e2aa
Added progress for content(path:) method
...
- Fixed issue with colliding handlers between sessions.
- Sessions can be set.
- SessionDelegate class is now public.
2017-04-03 18:50:13 +04:30
Amir Abbas Mousavian
bf62d585fd
implemented FTP copy fallback, FTPS manual auth
2017-03-30 10:41:14 +04:30
Amir Abbas Mousavian
f21f658874
Deprecated create(file:) method, replaced by writeContents()
...
- RemoteOperationHandle now retains task
- FTP provider returns correct operation handle task
2017-03-29 23:03:04 +04:30
Amir Abbas Mousavian
c7b4e1f124
Ensure baseURL is absolute, fixed warnings for Swift 3.1
2017-03-28 19:25:41 +04:30
Amir Abbas Mousavian
99a433a0fc
Credential is open to set anytime
2017-03-26 15:54:55 +04:30
Amir Abbas Mousavian
1045901d7c
Added NSCoding support
...
- Better relative path handling in WebDAV
- obsolete deprecated methods
2017-03-25 19:19:49 +04:30
Amir Abbas
528d5eebc3
Fixed relativePath(of:) crash
2017-03-18 15:58:44 +03:30
Amir Abbas
079f8f4b77
Refactored methods to extensions
2017-03-17 15:52:58 +03:30
Amir Abbas
d61e51ba1c
Fixes #29 (WebDAV authentication), minor lints/optimiziations
2017-02-24 16:24:34 +03:30
Amir Abbas
cdff7db32e
Fixed OneDriveProvider bugs
...
- fixed and enhanced searching files in Dropbox
2017-02-21 00:48:59 +03:30
Amir Abbas
9533a0e3c9
Removed redundant isPathRelative property. Now is always true.
...
- Note: Check documentation to workaround
- Improvement: Disabling `LocalFileProviderMonitor` while handler is running
2017-02-20 00:14:55 +03:30
Amir Abbas
194673b3b6
Added NSPredicate to searchFiles method
...
- public functions became open, now is overridable
- fixed urlCache documentation
2017-02-19 13:34:55 +03:30
Amir Abbas Mousavian
330a22c45d
Completed Documentation, fixed a small bug.
2017-02-16 13:00:50 +03:30
Amir Abbas
e899804e28
Added isReachable method to test connectivity
...
- Fixed Cloud provider bug when moving/deleting evicted file
2017-02-14 22:58:07 +03:30
Amir Abbas
489a9a16d0
Updated documentation, fixed Cloud provider paths bugs
2017-02-14 12:24:06 +03:30
Amir Abbas
12ff3a410d
Fixed critical bug in LocalFileObject when decoding path
2017-02-13 16:31:29 +03:30
Amir Abbas
b1fe37cf2a
Updated Readme, fixed several bugs
...
- non-locking snapshot of file while uploading to iCloud
- fixed: `CloudFIleProvider.doOperation()` couldn’t handle local urls
- fixed: FileProvider.type didn’t work correctly
2017-02-12 22:45:30 +03:30
Amir Abbas
bd59eacee2
Fixed bugs in providers and LocalFileObject initializing
2017-02-12 03:07:40 +03:30
Amir Abbas
42579be371
Added FileProviderHTTPError protocol
...
- All errors from local provider is now from Cocoa error domain. No URL domain anymore.
- All errors from WebDAV/OneDrive/Dropbox conform to FileProviderHTTPError
2017-02-11 18:05:21 +03:30
Amir Abbas
ae4cd1dff3
Fixed undo manager bugs
...
- Fixed contents of file with offset method bugs
- Improved `LocalFileProvider.copy()` implementation
2017-02-09 03:02:21 +03:30
Amir Abbas
72520973e9
Changed FileObject.allValues key type to URLResourceKey
...
- LocalFileProvider.storageProperties method now uses url resource values
2017-02-08 07:30:41 +03:30
Amir Abbas
63016285af
Added UndoManager support to Local provider
...
- Refactored Local provider operations into one function
2017-02-08 04:54:18 +03:30
Amir Abbas
525825ff5d
Fixed Cloud provider listing (RunLoop) bug
...
- Added ubiquity scope to Cloud provider
- Renamed `temporaryLink` to `publicLink`
- Added deprecated renaming guide
2017-02-06 18:03:58 +03:30
Amir Abbas Mousavian
e30861ad18
Added publicLink method to OneDrive
...
- Added more Documentation, specially initializer
- Added option to conserve sessions after provider deinit to finish tasks
- Dropbox and OneDrive init are not bailable anymore
- Updated AEXML
2017-02-03 18:29:34 +03:30
Amir Abbas Mousavian
be7a370a42
Added Documentation, get contents handling in Local provider optimized
...
- Changed default thumbnail dimension to 64x64 in `LocalFileProvider`
2017-02-02 13:25:40 +03:30
Amir Abbas Mousavian
3e55cc60f7
Replaced absoluteURL with relative url ( resolved #27 ), improving performance.
...
- renamed `DropboxFileProvider.copyItem(path:toRemoteURL:) ` to `DropboxFileProvider.copyItem(remoteURL:toPath:)` due to logic
2017-01-31 17:19:45 +03:30
Amir Abbas Mousavian
29b7f720f5
Added iCloud provider change monitor and CloudOperationHandle
...
- fixed copyItem functions for local interoperability
2017-01-31 01:35:38 +03:30
Amir Abbas Mousavian
067e14b76f
Added CloudFileProvider and coordination to LocalFileProvider
...
- changed `operation_queue` type to `OperationQueue`
- added `LocalFileProvider.init(sharedContainerId:)`
- added `destination(ofSymbolicLink:)` to LocalFileProvider
- added expirationDate to `temporaryLink(to:)` methods
- known issue: `CloudFileProvider` monitoring is not implemented
- known issue: `CloudFileProvider` copy from local and to local works imperfect
2017-01-30 18:51:06 +03:30
Amir Abbas
96ce12f226
Added iCloud Drive provider CloudFileProvider
...
- Refactored initializers
- Replaced `NSSearchPathForDirectoriesInDomains` with `FileManager.urls(for:In:)`
2017-01-27 02:13:51 +03:30
Alek Slater
ac44aa190f
Overwrite param added to copyItem + minor bugfix and improvements ( #18 )
...
- Added overwrite param to copyItem from local to remote
- fixed an issue with file upload on dropbox that wouldnt work for people in non UTC timezones.
- made filebased upload for dropbox not read file data into memory let URLSession stream from the disk instead
2016-12-09 20:58:50 +03:30
Amir Abbas
779b38f381
Default values implemented in protocol level
2016-12-09 10:04:41 +03:30
Amir Abbas
0123d8b117
Overwrite option to writeContents
2016-12-07 21:24:19 +03:30
Amir Abbas Mousavian
1328a8e9e2
New FIleObject implementation, highlighted Readme
2016-12-03 13:21:13 +03:30
Amir Abbas Mousavian
5bf620916f
Fixes #12 , createFile method path in WebDAV is not correct.
...
- removed NSURL cast for resource values, now using swift 3 methods
2016-12-02 01:12:08 +03:30
Amir Abbas Mousavian
4f56e20441
createFile definition improved to resolve #10
2016-12-01 12:12:53 +03:30
Amir Abbas Mousavian
9dda618b73
Revert "createFile definition improved"
...
This reverts commit da60c05188 .
2016-12-01 12:10:14 +03:30
Amir Abbas Mousavian
da60c05188
createFile definition improved
2016-12-01 11:54:03 +03:30
Amir Abbas Mousavian
4366855d54
Added NSCopying conformance, SMB headers gardening
2016-11-28 19:40:09 +03:30
Amir Abbas Mousavian
826d207e6b
OperationHandle optimizations
...
- code refactoring for RemoteOperationHandle usage and description
- bug fix: move operation in Dropbox provider did copy
- bug fix: dynamic inProgress result for RemoteOperationHandle
2016-11-24 22:54:00 +03:30
Amir Abbas Mousavian
a15f8f3809
Added OperationHandle, to cancel remote operations
2016-10-29 23:11:48 +03:30
Amir Abbas Mousavian
fc6b46d17a
Updated swift 3 semantics
2016-09-28 19:15:05 +03:30
Amir Abbas Mousavian
bb9c08e309
Add .swift-version to pass cocoapods's validation, added static type var
2016-09-27 16:59:54 +03:30
Amir Abbas Mousavian
315ead606e
AnyObject casts changed to proper one according to data type
2016-09-17 12:12:52 +04:30
Amir Abbas Mousavian
542c18bab6
Convert to Swift 2
2016-09-15 02:48:04 +04:30