Amir Abbas
ff5e13931f
Fixed WebDAVProvider.contents bug, refactored FTP Error
2017-04-09 14:09:03 +04:30
Amir Abbas
75af738d2e
Made SessionDelegate init public, fixed pod issue
2017-04-05 02:05:28 +04:30
Amir Abbas
f54a1253e4
Throwing error when trying to upload a directory
2017-04-05 00:24:24 +04:30
Amir Abbas
1394a92662
Add Documentation
2017-04-03 21:03:48 +04:30
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
e15a900ade
Renamed URLResourceKey additions to have Key prefix
2017-04-03 12:49:35 +04:30
Amir Abbas
5c2c56c44c
Fixed: Calling completion handler for upload task
...
- Added including (file object properties) argument to WebDAV provider (resolves #31 )
2017-04-03 12:41:11 +04:30
Amir Abbas Mousavian
163a218ac2
Fixed operation progress (in delegate) for all remote providers
...
- Now also compatible with background session
- added delegate notify (success, progress, failure) to FTP
- added `FTPFileProvider.useAppleImplementation`, allows developer choose to use apple download task instead of custom implementation
- enabling to download non-text files in FTP
- implementation of `url(of:) in FTP
- various fixes in error reporting
- disabled closing streams in ftpQuit() due to crash
2017-04-01 01:33:56 +04:30
Amir Abbas Mousavian
81401ee36f
Added Documentation, refactors of related Date methods
2017-03-31 10:15:39 +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
4023fbc62e
Fixed: WebDAV file listing omit files contains space in name
2017-03-26 02:03:43 +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
d61e51ba1c
Fixes #29 (WebDAV authentication), minor lints/optimiziations
2017-02-24 16:24:34 +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
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
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
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
c38ee1ccd3
standardized FileObject.path property
...
- FileObject.path now has heading slash in all scenarios
- fixes #27 , WebDAV fileObject.path was not relative
2017-02-01 21:23:11 +03:30
Amir Abbas Mousavian
1a44df3fd7
Refactoring, better webdav response handling
...
- Added Dropbox copy from reference method
- refactored `mapToFileObject` methods into `FileObject` initializers
- fixed `requestDictionary` type to `[String: AnyObject]`
2017-02-01 14:08:28 +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
09e39ada82
Resolved issue #24 , off-by-one bug in Range header
2017-01-30 18:37:25 +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
Amir Abbas
47885c0a4e
Deprecated FileObject.fileType with .type
2016-12-09 21:06:11 +03:30
Alek Slater and Amir Abbas Mousavian
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
7d8de9cefe
FileObject init accessors fixed, refactoring
2016-12-03 20:26:27 +03:30
Amir Abbas Mousavian
e84fef20ea
[gardening] Refactoring WebDAV copy, move and remove operations
2016-12-03 15:32:54 +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
66fc1e1284
Fixed unexpected behaviors in Remote providers:
...
- Calling delegate and completion methods
- refactoring codes
2016-11-23 23:42:36 +03:30
Amir Abbas Mousavian
97ae86cedb
- fixed a bug in fileByUniqueName() function
...
- more neat code
2016-11-11 03:45:37 +03:30
Amir Abbas Mousavian
a15f8f3809
Added OperationHandle, to cancel remote operations
2016-10-29 23:11:48 +03:30
Amir Abbas Mousavian
6d63322779
FileProviderOperationDelegate methods will call for WebDav and Dropbox providers
...
- Added Carthage to Travis
2016-09-30 14:07:02 +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