session-ios/Signal/src
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
..
call CR: clarify comment, proper linewrap 2017-10-05 13:02:39 -04:00
contact Rework push registration 2017-10-12 12:02:22 -04:00
crypto Remove some more RP related code 2017-03-30 11:00:28 -04:00
environment Rework push registration 2017-10-12 12:02:22 -04:00
Jobs Store undecrypted envelopes before doing any processing. 2017-07-26 14:29:56 -04:00
Models Rework push registration 2017-10-12 12:02:22 -04:00
network Rework push registration 2017-10-12 12:02:22 -04:00
Profiles Address deadlocks in profile manager. 2017-09-27 13:00:01 -04:00
Storyboard Rename home view. 2017-09-06 13:59:39 -04:00
UserInterface black masking style for avatar cropper 2017-09-05 16:36:42 -04:00
util Rework push registration 2017-10-12 12:02:22 -04:00
ViewControllers Rework push registration 2017-10-12 12:02:22 -04:00
views Avoid divide by 0 error 2017-10-05 13:02:39 -04:00
AppDelegate.h Merge remote-tracking branch 'origin/hotfix/2.16.1' 2017-09-24 20:49:13 -04:00
AppDelegate.m Rework push registration 2017-10-12 12:02:22 -04:00
MessageSender+Promise.swift Debug actions for calling 2017-08-11 09:21:11 -04:00
MultiDeviceProfileKeyUpdateJob.swift Apply DataSource to message sender. 2017-09-11 10:20:48 -04:00
OWSMessagesBubbleImageFactory.swift Fix RTL bubbles in conversation and message detail view 2017-09-28 16:34:10 -04:00
Signal-Bridging-Header.h Remove FLAnimatedImage. 2017-10-10 09:50:13 -04:00
UIApplication+OWS.swift Fix assert during calls without camera permission. 2017-09-18 16:03:03 -04:00
UIColor+OWS.h Fix RTL bubbles in conversation and message detail view 2017-09-28 16:34:10 -04:00
UIColor+OWS.m Fix RTL bubbles in conversation and message detail view 2017-09-28 16:34:10 -04:00
UIDevice+featureSupport.swift one-time carousel of changes 2017-03-02 14:37:50 -05:00
UIStoryboard+OWS.swift Convert FingerprintViewController to programmatic layout. 2017-06-08 14:55:26 -04:00
UIView+OWS.h Fix AspectRatio on legacy video view 2017-10-05 13:02:38 -04:00
UIView+OWS.m CR: clamp reasonable aspect ratio 2017-10-05 13:02:39 -04:00