浏览代码

Merge remote-tracking branch 'origin/master'

Marino Faggiana 8 年之前
父节点
当前提交
18f341e338
共有 38 个文件被更改,包括 7 次插入6 次删除
  1. 5 6
      Libraries external/OCCommunicationLib/OCCommunicationLib/OCWebDavClient/OCWebDAVClient.m
  2. 2 0
      Libraries external/OCCommunicationLib/ownCloud iOS library.xcodeproj/project.pbxproj
  3. 二进制
      iOSClient/ast.lproj/Localizable.strings
  4. 二进制
      iOSClient/ca.lproj/Localizable.strings
  5. 二进制
      iOSClient/da.lproj/Localizable.strings
  6. 二进制
      iOSClient/de.lproj/Intro.strings
  7. 二进制
      iOSClient/de.lproj/Localizable.strings
  8. 二进制
      iOSClient/el.lproj/Localizable.strings
  9. 二进制
      iOSClient/en_GB.lproj/Localizable.strings
  10. 二进制
      iOSClient/es.lproj/Localizable.strings
  11. 二进制
      iOSClient/fa.lproj/Localizable.strings
  12. 二进制
      iOSClient/fi_FI.lproj/Localizable.strings
  13. 二进制
      iOSClient/fr.lproj/InfoPlist.strings
  14. 二进制
      iOSClient/fr.lproj/Intro.strings
  15. 二进制
      iOSClient/fr.lproj/Localizable.strings
  16. 二进制
      iOSClient/gl.lproj/Localizable.strings
  17. 二进制
      iOSClient/hr.lproj/Localizable.strings
  18. 二进制
      iOSClient/id.lproj/Localizable.strings
  19. 二进制
      iOSClient/is.lproj/Localizable.strings
  20. 二进制
      iOSClient/it.lproj/Localizable.strings
  21. 二进制
      iOSClient/ja_JP.lproj/Localizable.strings
  22. 二进制
      iOSClient/lv.lproj/Localizable.strings
  23. 二进制
      iOSClient/nb_NO.lproj/Localizable.strings
  24. 二进制
      iOSClient/nl.lproj/Localizable.strings
  25. 二进制
      iOSClient/pl.lproj/Localizable.strings
  26. 二进制
      iOSClient/pt_BR.lproj/Localizable.strings
  27. 二进制
      iOSClient/pt_PT.lproj/Localizable.strings
  28. 二进制
      iOSClient/ro.lproj/Localizable.strings
  29. 二进制
      iOSClient/ru.lproj/Localizable.strings
  30. 二进制
      iOSClient/si_LK.lproj/Localizable.strings
  31. 二进制
      iOSClient/sl.lproj/Localizable.strings
  32. 二进制
      iOSClient/sq.lproj/Localizable.strings
  33. 二进制
      iOSClient/sv.lproj/Localizable.strings
  34. 二进制
      iOSClient/tr.lproj/Localizable.strings
  35. 二进制
      iOSClient/uk.lproj/Localizable.strings
  36. 二进制
      iOSClient/vi.lproj/Localizable.strings
  37. 二进制
      iOSClient/zh_CN.lproj/Localizable.strings
  38. 二进制
      iOSClient/zh_TW.lproj/Localizable.strings

+ 5 - 6
Libraries external/OCCommunicationLib/OCCommunicationLib/OCWebDavClient/OCWebDAVClient.m

@@ -622,14 +622,13 @@ NSString const *OCWebDAVModificationDateKey	= @"modificationdate";
 
 #pragma mark - Get Notification
 
-- (void) getNotificationsOfTheServer:(NSString *)serverPath
-                onCommunication:(OCCommunication *)sharedOCCommunication
-                        success:(void(^)(NSHTTPURLResponse *, id))success
-                        failure:(void(^)(NSHTTPURLResponse *, id  _Nullable responseObject, NSError *))failure {
-    
-    NSParameterAssert(success);
+- (void) getNotificationsOfTheServer:(NSString*)serverPath onCommunication:(OCCommunication *)sharedOCCommunication success:(void(^)(NSHTTPURLResponse *operation, id response))success
+                             failure:(void(^)(NSHTTPURLResponse *operation, id  _Nullable responseObject, NSError *error))failure{
     
     _requestMethod = @"GET";
+
+    NSString *jsonQuery = [NSString stringWithFormat:@"?format=json"];
+    serverPath = [serverPath stringByAppendingString:jsonQuery];
     
     NSMutableURLRequest *request = [self sharedRequestWithMethod:_requestMethod path:serverPath parameters:nil];
     

+ 2 - 0
Libraries external/OCCommunicationLib/ownCloud iOS library.xcodeproj/project.pbxproj

@@ -217,6 +217,8 @@
 			children = (
 				EAABAA30183E688900909831 /* OCFileDto.h */,
 				EAABAA31183E688900909831 /* OCFileDto.m */,
+				F71DB38B1E35FAD80057BEE3 /* OCNotifications.h */,
+				F71DB38C1E35FAD80057BEE3 /* OCNotifications.m */,
 				EA0599981BB96D14002C2864 /* OCShareUser.h */,
 				EA0599991BB96D14002C2864 /* OCShareUser.m */,
 				13AA8634187C211900A10927 /* OCSharedDto.h */,

二进制
iOSClient/ast.lproj/Localizable.strings


二进制
iOSClient/ca.lproj/Localizable.strings


二进制
iOSClient/da.lproj/Localizable.strings


二进制
iOSClient/de.lproj/Intro.strings


二进制
iOSClient/de.lproj/Localizable.strings


二进制
iOSClient/el.lproj/Localizable.strings


二进制
iOSClient/en_GB.lproj/Localizable.strings


二进制
iOSClient/es.lproj/Localizable.strings


二进制
iOSClient/fa.lproj/Localizable.strings


二进制
iOSClient/fi_FI.lproj/Localizable.strings


二进制
iOSClient/fr.lproj/InfoPlist.strings


二进制
iOSClient/fr.lproj/Intro.strings


二进制
iOSClient/fr.lproj/Localizable.strings


二进制
iOSClient/gl.lproj/Localizable.strings


二进制
iOSClient/hr.lproj/Localizable.strings


二进制
iOSClient/id.lproj/Localizable.strings


二进制
iOSClient/is.lproj/Localizable.strings


二进制
iOSClient/it.lproj/Localizable.strings


二进制
iOSClient/ja_JP.lproj/Localizable.strings


二进制
iOSClient/lv.lproj/Localizable.strings


二进制
iOSClient/nb_NO.lproj/Localizable.strings


二进制
iOSClient/nl.lproj/Localizable.strings


二进制
iOSClient/pl.lproj/Localizable.strings


二进制
iOSClient/pt_BR.lproj/Localizable.strings


二进制
iOSClient/pt_PT.lproj/Localizable.strings


二进制
iOSClient/ro.lproj/Localizable.strings


二进制
iOSClient/ru.lproj/Localizable.strings


二进制
iOSClient/si_LK.lproj/Localizable.strings


二进制
iOSClient/sl.lproj/Localizable.strings


二进制
iOSClient/sq.lproj/Localizable.strings


二进制
iOSClient/sv.lproj/Localizable.strings


二进制
iOSClient/tr.lproj/Localizable.strings


二进制
iOSClient/uk.lproj/Localizable.strings


二进制
iOSClient/vi.lproj/Localizable.strings


二进制
iOSClient/zh_CN.lproj/Localizable.strings


二进制
iOSClient/zh_TW.lproj/Localizable.strings