- Using a file stream instead of reading file data into memory.
- Caching NSDateFormatter so we don’t have to create multiple copies during each difference operation.
- Remove credential.expired check for deciding if we need to request a new credential. If the client time is ahead of the server time, the server could still send the same credential even though the client things it’s expired. Instead, we will rely on HTTP 401 exclusively to determine if we need to request a new credential.
- Updating documentation might be useful.
- Remove authenticating with refresh token.
- Add ‘token expired’ authentication state.
- Save requests while token expired.
- re-run saved requests when re-authenticated.
- Added
size
toLVCFileRevision
. - Fixed an alert about coding convention.
- Fix issue where unexpected refresh token failure would not log us out.
- Remove
file_size
assert. File size of 0 issues should be handled higher up the stack, or in the response.
- Added
userRole
toLVCOrganization
. - Added
LVCFileSyncStatusUnsupportedType
toLVCFile
.
- All syncChecking requires a file size parameter.
- Deprecated
checkSyncStatusForFilePath:md5:completion:
- Added
checkSyncStatusForFileAtRemotePath:md5:fileSize:completion:
- Fixed an issue where failed refresh authentication would prevent other url requests from executing.
- Added
loginWithEmail:password:completion:
toLVCAuthenticatedClient
- Fixed
LVCAuthenticatedClient
to only refresh the token once, even if multiple requests attempt it concurrently. - Added
NSURLRequest
andNSMutableURLRequest
OAuth bearer additions.
- Fixed
LVCAuthenticatedClient
, logout only called when/oauth/token
return 401.
- Fixed
LVCAuthenticatedClient
, refresh token always on 401 OR credential expired.
LVCAuthenticatedClient
is now considered authenticated only when acredential
is set (user
property no longer a factor).- [LVCAuthenticatedClient authenticationCallback]
no-longer passes auser
. Instead passessuccess
andoperation
.
- Added
LVCAmazonS3Bucket
to handle S3 Region buckets.
- Fixed
nil
key insertions inLVCAmazonS3Client
.
- Only refresh credential when we get 401 AND the credential is expired.
- Added
syncType
property toLVCOrganization
.
- Added
LVCOAuthCredentialStorage
to give more flexibility with OAuth Credentials. - Removed automatic saving to the keychain in LVCAuthenticatedClient.
- Many
LVCHTTPClientMethods
that take a path must now be percent encoded. See method doc for more info. - Added
NSString+PercentEncoding
to force percent encoding on reserved characters. Useful for filenames that may contain these reserved characters. - Added
userID
property to LVCUser. - Added
percentEncodedURLPath
property toLVCNode
andLVCFileRevision
. - Exposed
NSString *mimeForFile(NSURL *fileURL)
inLVCAmazonS3Client
. - Fixed issue where refreshing a token during
/me
would never execute completion. - Calling
- getMeWithCompletion:
will always update theuser
property inLVCAuthenticatedClient
. - Added
+ colorLabelForName:
toLVCColorUtils
. - Fixed a crash with the demo application when the first organization doesn’t have and projects.
- Fixed some compiler warning with
LVCMockResponses
.
- Added
LVCAutenticatedClient
to abstract out:- Handling Refresh Tokens
- Keychain Support
- Getting the Logged In User
- Exposed
defaultBaseURL
inLVCHTTPClient
- Fixed some non-passing tests
Initial release.