Commit Graph

195 Commits (6ddd9d788e16c6aa0594c383a4eedf891237f42f)

Author SHA1 Message Date
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 8 years ago
Matthew Chen abfd333a17 Address Indic script crash. 8 years ago
Matthew Chen f9f60bc14f Ensure app delegate hooks are ignored until app is ready. 8 years ago
Matthew Chen b21f793756 Register all database views asynchronously. 8 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 8 years ago
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 8 years ago
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 8 years ago
Matthew Chen 9a990b58e8 Respond to CR. 8 years ago
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 8 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 8 years ago
Michael Kirk 5e7ca89930 Proper function prototypes
// FREEBIE
8 years ago
Matthew Chen 8cc33b3de1 Refine loading view of share extension. 8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Matthew Chen 21e9f57cbe Imitate Android's behavior of delaying local notifications based on incoming sync messages. 8 years ago
Matthew Chen 2d8a7b03d0 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d7b0424c75 Don't back up profile pics, attachments or gifs.
// FREEBIE
8 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Matthew Chen 03241128f6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db8a381960 Merge remote-tracking branch 'origin/release/2.18.0' 8 years ago
Matthew Chen a3600d8e89 Avoid stalls in GIF downloader.
// FREEBIE
8 years ago
Matthew Chen 94f3601d39 Avoid stalls in GIF downloader.
// FREEBIE
8 years ago
Matthew Chen b3e39e6584 Avoid stalls in GIF downloader.
// FREEBIE
8 years ago
Matthew Chen 7041f976d5 Use HTTP pipelining in Giphy asset requests.
// FREEBIE
8 years ago
Matthew Chen 98af9bcc65 Use HTTP pipelining in Giphy asset requests.
// FREEBIE
8 years ago
Matthew Chen c2a17920ba Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 004c9e4809 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f37e7f26d2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 487bd06755 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen cfb2a720d7 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 89a04852df Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 12de1aa90c Split up GIF requests.
// FREEBIE
8 years ago
Matthew Chen 55d53ae222 Split up GIF requests.
// FREEBIE
8 years ago
Matthew Chen c83090a46e Split up GIF requests.
// FREEBIE
8 years ago
Matthew Chen e4602f2a12 Split up GIF requests.
// FREEBIE
8 years ago
Matthew Chen 2dfea25243 Split up GIF requests.
// FREEBIE
8 years ago
Matthew Chen 84406b5fec Split up GIF requests.
// FREEBIE
8 years ago
Michael Kirk 68e755ade9 Merge branch 'release/2.18.0' 8 years ago
Matthew Chen c11b82ba30 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9274d7fd9b Fix proxying of Giphy requests.
// FREEBIE
8 years ago
Michael Kirk 891cc6ee0d CR: better method names
// FREEBIE
8 years ago
Michael Kirk 6eaa49593d preview vs. sending have independent resolution min
// FREEBIE
8 years ago
Michael Kirk e4ad169d71 Show retryable error alert when fetching GIF fails
// FREEBIE
8 years ago
Michael Kirk 3939e8a6ac Download picked GIF faster: cancel pending request
// FREEBIE
8 years ago
Michael Kirk ddf2fe21a1 Download smaller GIF for previews.
Previously we were downloading a full sized GIF for each cell, which can
take dozens of seconds on a slower connection. Now we download a smaller
GIF for the picker view, and only download the full sized GIF for the
selected cell.

Some stats:

Before:

Scenario: search "Cat" and no scrolling, no picking
~10 MB

Scenario: search "Cat" and no scrolling, then pick
~10 MB

Scenario: search "Cat" and scroll 3 screens, no picking
~30 MB

Scenario: search "Cat" and scroll 3 screens, then pick
~30 MB

After:

Scenarios: search "Cat" and no scrolling, no picking
~1.0 MB (savings 90%)

Scenarios: search "Cat" and no scrolling, then pick
~3.5 MB (savings 65%)

Scenarios: search "Cat" and scroll 3 screens, no picking
~3.0 MB (savings 90%)

Scenarios: search "Cat" and scroll 3 screens, then pick
~5.5 MB (savings 81%)

// FREEBIE
8 years ago
Michael Kirk 2a4c6506fb log giphy data usage in debug
// FREEBIE
8 years ago
Michael Kirk 0f859d6b20 Merge branch 'release/2.18.0' 8 years ago
Michael Kirk 6a65ee6def Pull to refresh on homeview fetches messages.
This is useful when you're using censorship circumvention and unable to
receive push notifications.

// FREEBIE
8 years ago
Matthew Chen fb408f980c Remove JSQ.
// FREEBIE
8 years ago
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
8 years ago