Jelajahi Sumber

Merge remote-tracking branch 'origin/master'

Marino Faggiana 8 tahun lalu
induk
melakukan
18f341e338
38 mengubah file dengan 7 tambahan dan 6 penghapusan
  1. 5 6
      Libraries external/OCCommunicationLib/OCCommunicationLib/OCWebDavClient/OCWebDAVClient.m
  2. 2 0
      Libraries external/OCCommunicationLib/ownCloud iOS library.xcodeproj/project.pbxproj
  3. TEMPAT SAMPAH
      iOSClient/ast.lproj/Localizable.strings
  4. TEMPAT SAMPAH
      iOSClient/ca.lproj/Localizable.strings
  5. TEMPAT SAMPAH
      iOSClient/da.lproj/Localizable.strings
  6. TEMPAT SAMPAH
      iOSClient/de.lproj/Intro.strings
  7. TEMPAT SAMPAH
      iOSClient/de.lproj/Localizable.strings
  8. TEMPAT SAMPAH
      iOSClient/el.lproj/Localizable.strings
  9. TEMPAT SAMPAH
      iOSClient/en_GB.lproj/Localizable.strings
  10. TEMPAT SAMPAH
      iOSClient/es.lproj/Localizable.strings
  11. TEMPAT SAMPAH
      iOSClient/fa.lproj/Localizable.strings
  12. TEMPAT SAMPAH
      iOSClient/fi_FI.lproj/Localizable.strings
  13. TEMPAT SAMPAH
      iOSClient/fr.lproj/InfoPlist.strings
  14. TEMPAT SAMPAH
      iOSClient/fr.lproj/Intro.strings
  15. TEMPAT SAMPAH
      iOSClient/fr.lproj/Localizable.strings
  16. TEMPAT SAMPAH
      iOSClient/gl.lproj/Localizable.strings
  17. TEMPAT SAMPAH
      iOSClient/hr.lproj/Localizable.strings
  18. TEMPAT SAMPAH
      iOSClient/id.lproj/Localizable.strings
  19. TEMPAT SAMPAH
      iOSClient/is.lproj/Localizable.strings
  20. TEMPAT SAMPAH
      iOSClient/it.lproj/Localizable.strings
  21. TEMPAT SAMPAH
      iOSClient/ja_JP.lproj/Localizable.strings
  22. TEMPAT SAMPAH
      iOSClient/lv.lproj/Localizable.strings
  23. TEMPAT SAMPAH
      iOSClient/nb_NO.lproj/Localizable.strings
  24. TEMPAT SAMPAH
      iOSClient/nl.lproj/Localizable.strings
  25. TEMPAT SAMPAH
      iOSClient/pl.lproj/Localizable.strings
  26. TEMPAT SAMPAH
      iOSClient/pt_BR.lproj/Localizable.strings
  27. TEMPAT SAMPAH
      iOSClient/pt_PT.lproj/Localizable.strings
  28. TEMPAT SAMPAH
      iOSClient/ro.lproj/Localizable.strings
  29. TEMPAT SAMPAH
      iOSClient/ru.lproj/Localizable.strings
  30. TEMPAT SAMPAH
      iOSClient/si_LK.lproj/Localizable.strings
  31. TEMPAT SAMPAH
      iOSClient/sl.lproj/Localizable.strings
  32. TEMPAT SAMPAH
      iOSClient/sq.lproj/Localizable.strings
  33. TEMPAT SAMPAH
      iOSClient/sv.lproj/Localizable.strings
  34. TEMPAT SAMPAH
      iOSClient/tr.lproj/Localizable.strings
  35. TEMPAT SAMPAH
      iOSClient/uk.lproj/Localizable.strings
  36. TEMPAT SAMPAH
      iOSClient/vi.lproj/Localizable.strings
  37. TEMPAT SAMPAH
      iOSClient/zh_CN.lproj/Localizable.strings
  38. TEMPAT SAMPAH
      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 */,

TEMPAT SAMPAH
iOSClient/ast.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/ca.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/da.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/de.lproj/Intro.strings


TEMPAT SAMPAH
iOSClient/de.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/el.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/en_GB.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/es.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/fa.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/fi_FI.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/fr.lproj/InfoPlist.strings


TEMPAT SAMPAH
iOSClient/fr.lproj/Intro.strings


TEMPAT SAMPAH
iOSClient/fr.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/gl.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/hr.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/id.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/is.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/it.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/ja_JP.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/lv.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/nb_NO.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/nl.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/pl.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/pt_BR.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/pt_PT.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/ro.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/ru.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/si_LK.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/sl.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/sq.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/sv.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/tr.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/uk.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/vi.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/zh_CN.lproj/Localizable.strings


TEMPAT SAMPAH
iOSClient/zh_TW.lproj/Localizable.strings