- 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
sizetoLVCFileRevision. - Fixed an alert about coding convention.
- Fix issue where unexpected refresh token failure would not log us out.
- Remove
file_sizeassert. File size of 0 issues should be handled higher up the stack, or in the response.
- Added
userRoletoLVCOrganization. - Added
LVCFileSyncStatusUnsupportedTypetoLVCFile.
- 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
LVCAuthenticatedClientto only refresh the token once, even if multiple requests attempt it concurrently. - Added
NSURLRequestandNSMutableURLRequestOAuth bearer additions.
- Fixed
LVCAuthenticatedClient, logout only called when/oauth/tokenreturn 401.
- Fixed
LVCAuthenticatedClient, refresh token always on 401 OR credential expired.
LVCAuthenticatedClientis now considered authenticated only when acredentialis set (userproperty no longer a factor).- [LVCAuthenticatedClient authenticationCallback]no-longer passes auser. Instead passessuccessandoperation.
- Added
LVCAmazonS3Bucketto handle S3 Region buckets.
- Fixed
nilkey insertions inLVCAmazonS3Client.
- Only refresh credential when we get 401 AND the credential is expired.
- Added
syncTypeproperty toLVCOrganization.
- Added
LVCOAuthCredentialStorageto give more flexibility with OAuth Credentials. - Removed automatic saving to the keychain in LVCAuthenticatedClient.
- Many
LVCHTTPClientMethodsthat take a path must now be percent encoded. See method doc for more info. - Added
NSString+PercentEncodingto force percent encoding on reserved characters. Useful for filenames that may contain these reserved characters. - Added
userIDproperty to LVCUser. - Added
percentEncodedURLPathproperty toLVCNodeandLVCFileRevision. - Exposed
NSString *mimeForFile(NSURL *fileURL)inLVCAmazonS3Client. - Fixed issue where refreshing a token during
/mewould never execute completion. - Calling
- getMeWithCompletion:will always update theuserproperty 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
LVCAutenticatedClientto abstract out:- Handling Refresh Tokens
- Keychain Support
- Getting the Logged In User
- Exposed
defaultBaseURLinLVCHTTPClient - Fixed some non-passing tests
Initial release.