session-ios/Signal/src/util
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
..
AppStoreRating.h Respond to CR. 2017-09-19 17:45:18 -04:00
AppStoreRating.m Prevent iRate mechanism when handling local notifications 2016-12-09 15:56:58 -05:00
AppUpdateNag.h Show app update nag on launch if necessary. 2017-07-06 12:56:27 -04:00
AppUpdateNag.m Rename home view. 2017-09-06 13:59:39 -04:00
DateUtil.h Respond to CR. 2017-09-27 16:38:48 -04:00
DateUtil.m Rework message metadata view. 2017-09-28 10:06:50 -04:00
DeviceSleepManager.swift Code Cleanup 2017-07-10 11:09:39 -05:00
DisplayableTextFilter.swift Remove invalid assert in case of legitimately stacking unicode 2017-05-01 16:41:47 -04:00
FunctionalUtil.h Respond to CR. 2017-09-19 17:45:18 -04:00
FunctionalUtil.m Clean up prekey usage. 2017-02-14 13:46:08 -05:00
ImageCache.swift properly clear all cached avatar images 2017-08-25 12:40:19 -04:00
Launch Screen.storyboard Bump up launch screen logo size on iPhone6 and larger 2016-12-15 18:00:21 -05:00
NSAttributedString+OWS.h Respond to CR. 2017-09-27 16:38:48 -04:00
NSAttributedString+OWS.m Respond to CR. 2017-09-27 16:38:48 -04:00
NSString+OWS.h Rework message metadata view. 2017-09-28 10:06:50 -04:00
NSString+OWS.m Rework message metadata view. 2017-09-28 10:06:50 -04:00
NumberUtil.h Respond to CR. 2017-09-19 17:45:18 -04:00
NumberUtil.m Clean up prekey usage. 2017-02-14 13:46:08 -05:00
OWSAnalytics.swift Add more instrumentation to CallService. 2017-07-27 13:28:05 -04:00
OWSContactsSyncing.h Rename home view. 2017-09-06 13:59:39 -04:00
OWSContactsSyncing.m Respond to CR. 2017-09-19 09:30:01 -04:00
OWSLogger.h Add method to flush logs. 2017-01-12 09:56:10 -05:00
OWSLogger.m Add method to flush logs. 2017-01-12 09:56:10 -05:00
OWSMath.h Rework appearance of voice messages and audio attachments. 2017-05-12 09:46:54 -04:00
OWSScrubbingLogFormatter.h More logging, scrub phone numbers from file logs (#1357) 2016-09-27 21:20:58 -04:00
OWSScrubbingLogFormatter.m Add comment and clearer tests per CR 2017-07-12 16:06:35 -04:00
OWSSwiftUtils.swift Add script to extract and gather analytics event names. 2017-07-27 12:26:02 -04:00
Operation.h Respond to CR. 2017-09-19 17:45:18 -04:00
Operation.m TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
Pastelog.h intern Pastelog back into Signal. 2017-03-17 17:37:32 -04:00
Pastelog.m Apply assert to ensure singletons are only created once. 2017-03-31 18:45:51 -04:00
Platform.swift WIP: WebRTC calling 2017-01-12 09:56:05 -05:00
Promise+retainUntilComplete.swift Ensure we're retaining all promises to completion 2017-05-04 15:15:14 -04:00
StringUtil.h Respond to CR. 2017-09-19 17:45:18 -04:00
StringUtil.m Fix some compiler warnings 2017-05-05 14:26:29 -04:00
TextFieldHelper.swift proper handling for multibyte characters 2017-09-01 18:15:02 -04:00
ThreadUtil.h Show "share profile with group" banner. 2017-08-21 17:49:54 -04:00
ThreadUtil.m Fix the "is contact" test. 2017-10-02 17:38:54 -04:00
UIDevice+TSHardwareVersion.h Fixes [UIDevice isiPhoneVersionSixOrMore] 2016-10-28 00:18:03 -07:00
UIDevice+TSHardwareVersion.m Fixes [UIDevice isiPhoneVersionSixOrMore] 2016-10-28 00:18:03 -07:00
UIFont+OWS.h Respond to CR. 2017-08-15 16:47:12 -04:00
UIFont+OWS.m Respond to CR. 2017-08-15 16:47:12 -04:00
UIImage+OWS.h Create Flat UI rounded button class. 2017-09-12 14:45:57 -04:00
UIImage+OWS.m Respond to CR. 2017-09-19 09:40:29 -04:00
UIUtil.h Respond to CR. 2017-09-19 17:45:18 -04:00
UIUtil.m Add/Edit contacts in group list 2017-05-09 16:59:31 -04:00
UIViewController+CameraPermissions.h Move QR code scanning to a separate view. 2017-06-09 07:48:48 -04:00
UIViewController+CameraPermissions.m extract dismiss string -> CommonStrings.dismissButton 2017-07-13 17:08:41 -04:00
UIViewController+OWS.h Implement alternative approach to veto-able back buttons. 2017-08-21 10:10:22 -04:00
UIViewController+OWS.m Fix back button width on iOS 11. 2017-09-07 13:49:32 -04:00
Util.h Respond to CR. 2017-09-19 17:45:18 -04:00
Weak.swift Persist AudioService if CallViewController is dismissed 2017-01-24 14:13:29 -05:00
WeakTimer.swift migration to fix any half-registered users 2017-07-24 13:01:43 -04:00