Commit graph

21 commits

Author SHA1 Message Date
Matthew Chen
bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Matthew Chen
9b4ac4073f Improve robustness around unknown country codes. 2017-11-21 17:48:00 -05:00
Matthew Chen
6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
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
Matthew Chen
80e5f281c6 Rename app preferences class.
// FREEBIE
2017-09-19 17:35:42 -04:00
Michael Kirk
2e83643327 Don't consider registration complete until user registers their push
notification tokens.

// FREEBIE
2017-08-17 10:56:36 -04:00
Matthew Chen
c1139a3a28 Fix many leaks in the view controllers.
// FREEBIE
2017-07-26 11:59:00 -04:00
Matthew Chen
eaacac9d8b DRY up common table cell patterns.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen
81a4ebdaf5 Apply OWSTableViewController to more views.
// FREEBIE
2017-07-19 09:34:55 -04:00
Matthew Chen
b0005ea932 Respond to CR.
// FREEBIE
2017-05-23 09:33:31 -04:00
Matthew Chen
bc501b16f2 Let users manually specify the domain fronting country.
// FREEBIE
2017-05-22 20:34:56 -04:00
Matthew Chen
98c5e7d69c Add support for manually activating censorship circumvention.
// FREEBIE
2017-05-22 20:34:26 -04:00
Matthew Chen
c07f28565e Revise manual censorship circumvention.
// FREEBIE
2017-05-22 20:34:25 -04:00
Matthew Chen
e746636c7c Expose manual censorship circumvention setting.
// FREEBIE
2017-05-22 20:34:25 -04:00
Matthew Chen
db10cbaeea Convert AdvancedSettingsTableViewController to OWSTableView.
// FREEBIE
2017-05-22 20:34:25 -04:00
Michael Kirk
755d5dc4e6 resolve push-token changes from RI of hotfix/2.11.4
// FREEBIE
2017-05-10 17:02:58 -04:00
Matthew Chen
2f3831e04b Respond to CR.
// FREEBIE
2017-05-09 10:45:20 -04:00
Matthew Chen
dd3d63623a Pull logging into SyncPushTokensJob.
// FREEBIE
2017-05-09 10:11:19 -04:00
Matthew Chen
716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
2017-05-09 10:04:48 -04:00
Matthew Chen
aba29ac5ce Improve logging around SyncPushTokensJob.
// FREEBIE
2017-05-08 17:01:50 -04:00
Matthew Chen
d12a582ee3 Rename source directories with a space in their name.
// FREEBIE
2017-03-31 11:58:52 -04:00
Renamed from Signal/src/view controllers/AdvancedSettingsTableViewController.m (Browse further)