session-ios/Signal/src/Models
Michael Kirk df15c904bc Rework push registration
== Account Registration ==

Not complete until push tokens are uploaded

== Remote Notifications Registration ==

Extracted from PushManager

- wait for notification-settings registration to complete before
  requesting push tokens, otherwise it's possible token requests will
  be ignored.

- Less state required for push notification callbacks, specifically, we
  no longer need to ensure we've created a promise before the
  registration delegate methods get called.

- no more TOCFuture in Signal-iOS (still in SSK for now). It's not in
  cases of inexplicable behavior - one a recently, push notification
  premature free, in redphone, and more popular use, and I've seen two
  futures inexplicably being nil.  Instead, let's consolidate around
  PromiseKit for popularly used, maintained, strongly-typed futures.

- separate logic for registering for vanilla push/voip notifications
  (few dependencies) from responding to UILocalNotifications (lots of
  dependencies). Ultimately I'd like to consolidate the remaining
  UILocalNotifications logic with the existing NotificationsManager

== Misc ==

more debug logging
more uniform logging
remove stale logic around newly registered user

// FREEBIE
2017-10-12 12:02:22 -04:00
..
TSMessageAdapaters Replace FLAnimatedImage with YYImage. 2017-10-02 13:37:32 -04:00
AccountManager.swift Rework push registration 2017-10-12 12:02:22 -04:00
CompareSafetyNumbersActivity.swift Fix some compiler warnings 2017-05-05 14:26:29 -04:00
OWSAvatarBuilder.h [DEBUG-UI] Add avatar to (some) fake contacts 2017-08-03 13:18:36 -04:00
OWSAvatarBuilder.m Use profile name/image when available. 2017-08-07 16:50:55 -04:00
OWSCall.h remove unneccessary hack 2017-07-05 11:51:18 -05:00
OWSCall.m create interaction in thread when missing call due to changed identity 2017-06-07 15:04:21 -04:00
OWSContactAvatarBuilder.h Use profile name/image when available. 2017-08-07 16:50:55 -04:00
OWSContactAvatarBuilder.m Ensure avatar upates right after profile change. 2017-08-25 12:40:19 -04:00
OWSContactOffersInteraction.h Respond to CR. 2017-08-21 17:13:36 -04:00
OWSContactOffersInteraction.m Respond to CR. 2017-08-21 17:13:36 -04:00
OWSDeviceProvisioningURLParser.h Provision device from QRCode. 2016-09-02 12:40:21 -04:00
OWSDeviceProvisioningURLParser.m Provision device from QRCode. 2016-09-02 12:40:21 -04:00
OWSGroupAvatarBuilder.h Disappearing Messages 2016-10-12 09:30:25 -04:00
OWSGroupAvatarBuilder.m Avoid unnecessariy flashing avatars 2017-08-01 12:07:54 -04:00
OWSMessagesBubblesSizeCalculator.h Update SignalServiceKit pod. 2017-01-06 13:28:41 -05:00
OWSMessagesBubblesSizeCalculator.m Unbound message bubble cache size and DRY up cache logic. 2017-08-25 17:01:13 -04:00
SignalAttachment.swift Respond to CR. 2017-09-19 09:30:01 -04:00
SyncPushTokensJob.swift Rework push registration 2017-10-12 12:02:22 -04:00
TSUnreadIndicatorInteraction.h Start reworking the contact offers. 2017-08-21 17:05:42 -04:00
TSUnreadIndicatorInteraction.m Start reworking the contact offers. 2017-08-21 17:05:42 -04:00