Commit Graph

  • c31648ec8e show message before really send nixzhu 2015-03-30 14:03:39 +08:00
  • 5bedc88be6 delete pod MZFayeClient nixzhu 2015-03-30 13:55:36 +08:00
  • d4c1a7a4ed Add S3 Upload Support kevinzhow 2015-03-30 08:52:15 +08:00
  • f12c3c20d7 Add Token API kevinzhow 2015-03-30 07:32:11 +08:00
  • 3cdca83ca6 Refine message view scroll logic kevinzhow 2015-03-30 04:03:19 +08:00
  • 6cf0967b69 print something wait a little time nixzhu 2015-03-28 23:19:52 +08:00
  • e83d60d368 fix cell select in Conversations (need better solution, update UI "after" realm updated) nixzhu 2015-03-28 23:15:02 +08:00
  • 280868d420 fix: put syncMessageWithMessageInfo:inRealm:andDoFurtherAction: out of realmQueue for receive Faye message to sync UI nixzhu 2015-03-28 22:37:01 +08:00
  • 70863a08f9 rename syncGroupWithGroupInfo: to syncGroupWithGroupInfo:inRealm: nixzhu 2015-03-28 22:09:46 +08:00
  • 4b756e45b2 make syncMessageWithMessageInfo:inRealm: independent, use it in FayeService when receive message nixzhu 2015-03-28 21:48:26 +08:00
  • 12ec195bf3 Fix faye bug kevinzhow 2015-03-28 14:26:55 +08:00
  • 4cc617993f Merge remote-tracking branch 'origin/master' nixzhu 2015-03-28 13:55:44 +08:00
  • 1ff28214d7 fix group delete (do not delete realm object in RLMResults's enumerate) nixzhu 2015-03-28 13:35:01 +08:00
  • f30a9e22fe Search Friend kevinzhow 2015-03-28 03:37:56 +08:00
  • 012e31ff88 Fix tabbar black shadow kevinzhow 2015-03-28 02:09:15 +08:00
  • 29f88e578c clean code nixzhu 2015-03-28 00:56:43 +08:00
  • 54823ad1e0 keyboard animation (Imperfect) nixzhu 2015-03-28 00:52:49 +08:00
  • 2160bf3cb5 move almost all realm write into realmQueue nixzhu 2015-03-27 15:31:24 +08:00
  • 2835ea03b8 updateConversationsTableView if YepNewMessagesReceivedNotification; do not use Realm's notification (too much) nixzhu 2015-03-27 13:49:55 +08:00
  • 21f4a4d1bf not need phone number in Faye extension nixzhu 2015-03-27 13:45:06 +08:00
  • 2c8597ddcc delay setV1AccessToken; it use to fire something (they may need userID..., so put it to bottom) nixzhu 2015-03-27 13:42:56 +08:00
  • 11d3ebd89d TODO of registerMobile nixzhu 2015-03-27 13:36:46 +08:00
  • b385f865b2 fix condition to userNeedRelogin nixzhu 2015-03-27 13:30:38 +08:00
  • ca4235caa7 tryGetOrCreateMe do not in outer beginWriteTransaction commitWriteTransaction nixzhu 2015-03-27 13:26:58 +08:00
  • 7fe24747ba Merge remote-tracking branch 'origin/master' nixzhu 2015-03-27 12:14:27 +08:00
  • 19eea2edf8 when HTTP Token: Access denied, userNeedRelogin nixzhu 2015-03-27 12:14:01 +08:00
  • dc26a9df47 Update create user logic kevinzhow 2015-03-27 02:26:57 +08:00
  • 923afbc40a Update faye logic kevinzhow 2015-03-27 01:32:45 +08:00
  • 97a5037107 rename YepMessageService to FayeService; code order; better logic for startFaye nixzhu 2015-03-27 00:35:08 +08:00
  • e3cbed08c3 Merge remote-tracking branch 'origin/master' nixzhu 2015-03-27 00:08:14 +08:00
  • 7af7772d45 remove Spring; move conversationCollectionView to bottom at first see nixzhu 2015-03-26 23:44:28 +08:00
  • b2d3154dca Add faye client kevinzhow 2015-03-26 23:34:16 +08:00
  • 15783dc7e6 remove updateUIAfterCreatedMessage, it's too easy broken nixzhu 2015-03-26 23:22:33 +08:00
  • 77b797c60b updateConversationCollectionView when YepNewMessagesReceivedNotification nixzhu 2015-03-26 23:07:07 +08:00
  • 62b341942a Update read me kevinzhow 2015-03-26 22:21:06 +08:00
  • 11cbad90a1 Add Faye kevinzhow 2015-03-26 22:13:58 +08:00
  • c0ad48c5d4 Update font on cell kevinzhow 2015-03-26 21:24:46 +08:00
  • 41655931cc add framework kevinzhow 2015-03-26 21:20:05 +08:00
  • 8b1a36d367 Add crash report kevinzhow 2015-03-26 21:19:57 +08:00
  • 72131f4ec6 better logic of register push nixzhu 2015-03-26 19:26:54 +08:00
  • 3135c885ca when login or finish register, record the pusher_id for push; better JPush settings logic nixzhu 2015-03-26 18:32:01 +08:00
  • 226a75330a Add jpush kevinzhow 2015-03-26 16:40:55 +08:00
  • 5ec95c2f1b Complete Notification kevinzhow 2015-03-26 15:50:35 +08:00
  • 8a2a98465f Clean path kevinzhow 2015-03-26 15:40:22 +08:00
  • fb27634502 Add Jpush kevinzhow 2015-03-26 15:38:15 +08:00
  • 93ef723b5e Begin with iOS 8 kevinzhow 2015-03-26 14:33:16 +08:00
  • 0bacba31ec call afterCreatedMessage for make sure updateUIAfterCreatedMessage nixzhu 2015-03-26 13:13:59 +08:00
  • d4319adbcb conversations sort with updatedAt; updateUI when Realm have object change nixzhu 2015-03-26 12:55:03 +08:00
  • cd8ca3267b set conversation.updatedAt properly nixzhu 2015-03-26 12:37:56 +08:00
  • d45e7c7650 send text in group conversation nixzhu 2015-03-26 12:24:57 +08:00
  • 703288dbd0 add messagesInConversation for ordered messages nixzhu 2015-03-26 12:09:30 +08:00
  • 41318499ac show real conversation nixzhu 2015-03-26 11:17:34 +08:00
  • 50720b6b3f createMessageWithMessageInfo & sendText nixzhu 2015-03-25 20:57:36 +08:00
  • 17be9883b8 failureHandler no use resource anymore; MessageMediaType use Int nixzhu 2015-03-25 20:27:04 +08:00
  • c2bc4a5867 sync when setV1AccessToken nixzhu 2015-03-25 20:24:17 +08:00
  • 615843373c add ConversationLayout for Spring Effect when scroll in Conversation nixzhu 2015-03-25 16:20:05 +08:00
  • 5a825700ed dynamic cell height; TextCell's textLabel in centerY nixzhu 2015-03-25 13:47:55 +08:00
  • 1b3a685d29 add textSendAction for messageToolbar nixzhu 2015-03-25 11:24:57 +08:00
  • b65ea34945 add state for MessageToolbar; show sendButton when have text input nixzhu 2015-03-25 10:54:40 +08:00
  • 1a163e99a8 add roundAvatarWithAvatarURLString:::; check avatar before create new one; ConversationViewController show avatar (Now only work in OneToOne) nixzhu 2015-03-24 19:15:42 +08:00
  • 1f39bda7aa right_bubble in ChatRightTextCell nixzhu 2015-03-24 18:44:39 +08:00
  • 5d293c3f30 left bubble in ChatLeftTextCell nixzhu 2015-03-24 18:31:18 +08:00
  • e9d2e03ead funny dummy data nixzhu 2015-03-24 17:44:18 +08:00
  • 0648be0700 make conversationCollectionView' content pin with keyboard's show/hide nixzhu 2015-03-24 17:11:34 +08:00
  • 3da503d47a updateUIWithKeyboardChange, conversationCollectionView.contentInset properly nixzhu 2015-03-24 15:06:57 +08:00
  • 370559216e updateMessageToolbarWithKeyboardChange nixzhu 2015-03-24 14:46:16 +08:00
  • 789172b263 add MessageToolbar nixzhu 2015-03-24 13:42:56 +08:00
  • c0f1a896d1 add ChatLeftTextCell & ChatRightTextCell nixzhu 2015-03-24 10:51:57 +08:00
  • 702cc10655 basic conversationCollectionView nixzhu 2015-03-24 10:15:14 +08:00
  • bd590ebdf1 add ConversationViewController, 开始挖坑 nixzhu 2015-03-23 17:00:43 +08:00
  • 244c7b9f23 remove DummyData. "Valar Morghulis, valar dohaeris." nixzhu 2015-03-23 16:22:23 +08:00
  • 1d82a07e4e fill real data in ConversationsViewController nixzhu 2015-03-23 16:19:54 +08:00
  • 39b366bac7 syncUnreadMessagesAndDoFurtherAction; modify Message Model, better property name nixzhu 2015-03-23 14:43:14 +08:00
  • 446494a7ef complete unreadMessages nixzhu 2015-03-23 13:33:53 +08:00
  • 985f1c1d3d moreUnreadMessages nixzhu 2015-03-23 12:27:56 +08:00
  • 7e7dad82f8 add syncGroupsAndDoFurtherAction nixzhu 2015-03-23 12:04:16 +08:00
  • 762022248b get groups nixzhu 2015-03-23 10:51:19 +08:00
  • 9292086016 delete old avatar if user have new one nixzhu 2015-03-20 23:42:08 +08:00
  • 59b5c54b3a add roundAvatarOfUser:withRadius: in AvatarCache, use Realm to persistent Avatar, it's brilliant! ---- nix nixzhu 2015-03-20 23:02:20 +08:00
  • 0340df4968 use roundImageFromURL:ofRadius: set Contacts' avatar nixzhu 2015-03-20 21:58:15 +08:00
  • a6934c1287 basic ContactsViewController nixzhu 2015-03-20 21:25:55 +08:00
  • 638d3b9aa6 syncFriendshipsAndDoFurtherAction; models must init nixzhu 2015-03-20 20:51:01 +08:00
  • a575d46658 get friendships nixzhu 2015-03-20 17:28:46 +08:00
  • 44018c4da0 Models' Inverse Relationships nixzhu 2015-03-20 16:09:34 +08:00
  • c75404a252 fix nixzhu 2015-03-20 15:36:11 +08:00
  • d8a0c39871 add Models, but need better Inverse Relationships nixzhu 2015-03-20 15:35:26 +08:00
  • f27544464d remove AWS s3 pod; test Realm nixzhu 2015-03-20 13:43:52 +08:00
  • ea3f0650f5 use CocoaPods for AWS s3, realm nixzhu 2015-03-20 12:09:28 +08:00
  • ac4e20e814 publicUploadToken of Qiniu nixzhu 2015-03-20 11:15:33 +08:00
  • 9064b57773 add takePicturePromptLabel; better logic for session.startRunning() nixzhu 2015-03-20 10:44:59 +08:00
  • 52e818e9fe verifyRegisterMobile nixzhu 2015-03-19 23:13:34 +08:00
  • eee404e6bb registerMobile nixzhu 2015-03-19 22:18:46 +08:00
  • 1474490d9b validateMobile in register nixzhu 2015-03-19 18:54:07 +08:00
  • 1607909eae we need modify URL for GET, HEAD, DELETE; add validateMobile nixzhu 2015-03-19 18:38:06 +08:00
  • 08461b7773 buttons color nixzhu 2015-03-19 16:26:14 +08:00
  • a5cb849b01 capture avatar nixzhu 2015-03-19 16:16:11 +08:00
  • 4b078b5252 more buttons & PickAvatarState nixzhu 2015-03-19 15:35:15 +08:00
  • 97a7eb1eea add RegisterPickAvatarViewController, tryOpenCamera nixzhu 2015-03-19 14:38:17 +08:00
  • 0f100aec9d better logic for authJsonResource nixzhu 2015-03-18 22:05:56 +08:00
  • 16277c8c18 better logic of use constants, try do not pollute the namespace nixzhu 2015-03-18 16:14:34 +08:00