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
e12f386a9d
Refactored DispatchTime, better ExposureTime calculation
2017-03-11 03:02:02 +03:30
Amir Abbas
38e217bc19
Better LocalFileObject initialization with empty path
2017-03-09 17:34:00 +03:30
Amir Abbas
0b41abd4ef
Optimized PDF thumbnail/meta handling
...
- Fixed ISO speed and GPS Area image meta
- Fixed Dropbox `name ! BEGINSWiTH %` search query
2017-03-01 13:28:44 +03:30
Amir Abbas
aa781adeb2
Fixed searchFiles() from string, fixing “BEGINSWITH” typo
2017-02-24 16:53:59 +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
93359d5173
Made FileProviders equatable
2017-02-13 16:45:34 +03:30
Amir Abbas
12ff3a410d
Fixed critical bug in LocalFileObject when decoding path
2017-02-13 16:31:29 +03:30
Amir Abbas
a7de09362b
Equatable FileObject, async completion handler in cloud provider
2017-02-13 12:06:09 +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
edd4914ca7
Linting, fixed travis wrong device
2017-02-11 06:08:17 +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
a35384dc31
Refactoring: reducing complexity of properties methods
2017-02-03 23:15:23 +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
3f2fda638f
bugfix: path in LocalFileObject is not relative
2017-01-31 23:12:29 +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
Alek Slater
d7ae709cf7
contentURL was missing the trailing slash causing it to fail for all contentURL calls with the dropbox api ( #26 )
2017-01-31 13:05:20 +03:30
Amir Abbas Mousavian
b121fe6182
rectified macOS and tvOS version check
2017-01-31 01:42:03 +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 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
091fd14a88
OneDrive drive name bug fix. Added sorting method to [FileObject] array.
...
- now return `Error` for uploading a file with size higher than limit in OneDrive / Dropbox instead of asserting
2017-01-25 16:04:16 +03:30
Amir Abbas
10aac532f7
Fixed crashing bug
2017-01-18 10:20:10 +03:30
Amir Abbas
3aac0a88c4
Fixed path in url percent encoding
2017-01-16 23:28:32 +03:30
Amir Abbas
24355a4c6c
Added OneDrive support
...
- removed unnecessary MediaPlayer.framework dependency
- fixed multiple Dropbox provider bugs
2017-01-16 21:55:58 +03:30
Amir Abbas
d2cf657ab2
Added Thumbnail and Meta-information generator to Local and Dropbox
2017-01-16 15:20:44 +03:30
Alek Slater
f2d54c7f92
incorrect usage of string.remove in correctPath method
...
- string remove needs to be given the index before the endIndex or it will crash (#22 ) needs to be given the index before the endIndex or it will crash
2016-12-19 18:10:14 +03:30
Amir Abbas
0e9a82a288
Resolves #20 , Dropbox/WebDav file size
2016-12-15 14:42:00 +03:30
Amir Abbas
19ea14ebc1
Added FileObjectSorting to sort FileObjects conveniently
2016-12-12 01:57:34 +03:30
Amir Abbas
47885c0a4e
Deprecated FileObject.fileType with .type
2016-12-09 21:06:11 +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
50f6a393a0
Compiler Optimizations, Dropbox readme
2016-12-09 19:07:46 +03:30
Amir Abbas
779b38f381
Default values implemented in protocol level
2016-12-09 10:04:41 +03:30