session-ios/Signal/src
Michael Kirk 1dd06a5e6c Fix registration flow / Keep push tokens in sync
* Separate registering an account from registering for push notifications
  * Allows us to complete registration without prompting user for
    notification settings.

UX Changes
----------
* Automatically keep push tokens in sync on startup.
  Push tokens *can* change, though they rarely do. It happens more often
  for people switching between appstore/beta builds.

  fixes #1174

* Show alert with registration failure
  * add secret 8-tap debug log gesture to registration flow

* Move registration to separate flow
  * don't see flash of inbox when first launching

* show useful error messages when given wrong code / no code

* remove background fetch
  We werent using it, but only relying on a side effect of it which is
  no longer necessary.

Code Changes
------------

* More registration logging.

* Install PromiseKit with carthage

  Our dependencies are not yet framework compatible, so we can't use
  cocoapods.

* Merge preferences util "category" into superclass.

  The immediate reason for this is Swift interop was assuming optional
  types were not optional, and exploding when a value was nil.

  This is clearer anyway, since we were treating it like a subclass, and
  it was the only thing using the class anyway.

* auto-genstrings now searches *.swift (and *.h, which was previously
  broken) for translateable strings.

// FREEBIE
2016-11-03 16:13:49 -04:00
..
audio Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
call Fixes lingering interactions after removing thread (#1297) 2016-07-31 15:25:07 -07:00
contact Explain send failures for text and media messages 2016-10-26 15:22:35 -04:00
crypto Return immutable data from generateSecureRandomData:length and use OSStatus to check the status of SecRandomCopyBytes. (#1306) 2016-08-17 16:09:57 -04:00
environment Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
Models Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
network Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
Observers Read receipts remove lockscreen notifications 2016-09-17 13:51:33 -04:00
phone Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
profiling TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
Storyboard Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
Storyboards Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
util Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
view controllers Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
views Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
AppDelegate.h Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
AppDelegate.m Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
NotificationTracker.h TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
NotificationTracker.m TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
Signal-Bridging-Header.h Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
UIColor+OWS.h Move colors into style class 2016-07-14 23:15:06 -07:00
UIColor+OWS.m Move colors into style class 2016-07-14 23:15:06 -07:00