Commit Graph

2478 Commits (7e41489d82e2933c04209d84d38455b200004fc3)

Author SHA1 Message Date
Michael Kirk 9a7e3cb9d8 Register for manual message fetching when unable to obtain push tokens
// 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
Matthew Chen b0e1904f96 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7923eafe7c Use separate Giphy API key for Signal iOS.
// FREEBIE
8 years ago
Michael Kirk f314b2e50a Fix registration screen layout
// FREEBIE
8 years ago
Michael Kirk b5258be9b5 respond to code review
// FREEBIE
8 years ago
Michael Kirk 876521f4c3 Fetch messages sooner when launched from background
The only reason a notification wakes/launches the app is to fetch
messages.

However, upon launching, especially if the app had been killed, it can
take a second or two before being notified of the notification that woke
us. Rather than wait, just fetch messages ASAP.

// FREEBIE
8 years ago
Michael Kirk c7cfe188ee Sync push tokens on background launch as well
// FREEBIE
8 years ago
Matthew Chen 7d9c2825d8 Add progressive search to Gif picker.
// FREEBIE
8 years ago
Matthew Chen 5999178e78 Remove FLAnimatedImage.
// FREEBIE
8 years ago
Matthew Chen fd28e54132 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 52a8fb4b88 Add loading background to gif cells, refactor gif cells.
// FREEBIE
8 years ago
Matthew Chen 334396dac6 Add activity indicator, "error", "no results" and retry to gif picker.
// FREEBIE
8 years ago
Matthew Chen 6fb9af6363 Rework gif picker background & giphy logo.
// FREEBIE
8 years ago
Michael Kirk 4c797151e6 Avoid divide by 0 error
Didn't actually see this in the wild - just being defensive.

// FREEBIE
8 years ago
Michael Kirk 3864880a6f CR: ensure view doesn't grow indefinitely
- explicitly mark constraint as required

// FREEBIE
8 years ago
Michael Kirk 3d3af21792 CR: clarify comment, proper linewrap
// FREEBIE
8 years ago
Michael Kirk 580e82beae CR: clamp reasonable aspect ratio
// FREEBIE
8 years ago
Michael Kirk 14b6f31635 position video view below status bar
// FREEBIE
8 years ago
Michael Kirk 15f6135639 Fix AspectRatio on legacy video view
// FREEBIE
8 years ago
Michael Kirk c3dc8508ab pre-PR cleanup
// FREEBIE
8 years ago
Michael Kirk f837a46245 Fix post call crash on iOS8
// FREEBIE
8 years ago
Michael Kirk 39e5875a36 remove overzealous assert 8 years ago
Michael Kirk 2a4e113c82 Cleanup
// FREEBIE
8 years ago
Michael Kirk 9b33bb0b6d fix layout on MetalKit view 8 years ago
Michael Kirk ff2f9ebaf0 fix compiling on 32bit.
// FREEBIE
8 years ago
Michael Kirk f171c56488 Video calls use MetalKit when available
Taking advantage of the new RTCMTLVideoView where available
(64bit && >=iOS9), should help performance (battery and rendering
quality).

// FREEBIE
8 years ago
Michael Kirk 4ab0ae273c pull translations
// FREEBIE
8 years ago
Michael Kirk 7b50a0c7d3 bump build
// FREEBIE
8 years ago
Matthew Chen 380ed0f82b Create & access groups more carefully.
// FREEBIE
8 years ago
Michael Kirk 4e30ec1aef bump build
// FREEBIE
8 years ago
Michael Kirk 7636f41b1a sync translations
(omitted blowing away existing "Submit" translation which was uploaded too recently)

// FREEBIE
8 years ago
Matthew Chen cef1f9186d Fix the scroll down button margins.
// FREEBIE
8 years ago
Michael Kirk b938ec6edf bump build
// FREEBIE
8 years ago
Michael Kirk e22db2adbd Shorter string fits button better on small devices
// FREEBIE
8 years ago
Michael Kirk 6fd6385397 sync translations
// FREEBIE
8 years ago
Michael Kirk d5f8c79336 bump build
// FREEBIE
8 years ago
Matthew Chen 9f5454a4cb Fix the "is contact" test.
// FREEBIE
8 years ago
Matthew Chen 10c00501fd Fix the "is contact" test.
// FREEBIE
8 years ago
Matthew Chen 50ec55c313 Fix the "is contact" test.
// FREEBIE
8 years ago
Michael Kirk ab5b090338 Sync read receipt config to linked devices
// FREEBIE
8 years ago
Matthew Chen 8b7d34e51c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen fd9188415f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen a0c9a84390 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen d73a1a02a8 Tweak GIF cells.
// FREEBIE
8 years ago
Matthew Chen 801734a938 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen e4556967b6 Ensure gif cells reload when app becomes active or network becomes available.
// FREEBIE
8 years ago
Matthew Chen 5b70116209 Unify the "message was sent" logic in conversation view. Ensure "message sent" sounds are played after sending attachments.
// FREEBIE
8 years ago
Matthew Chen 3bfb91d0c2 Ignore obsolete GIF requests.
// FREEBIE
8 years ago
Matthew Chen c32945b576 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 56e30d954e Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen e0194fd605 Allow multiple simultaneous GIF downloads.
// FREEBIE
8 years ago
Matthew Chen d9658ab9d1 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen a65a4b133c Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 48e6cea207 Replace FLAnimatedImage with YYImage.
// FREEBIE
8 years ago
Matthew Chen aa43fd69fd Improving parsing of stills.
// FREEBIE
8 years ago
Matthew Chen 6a5e07eee4 Use proper LRU cache for giphy assets.
// FREEBIE
8 years ago
Matthew Chen 4f77a2a504 Load GIFs progressively using stills.
// FREEBIE
8 years ago
Matthew Chen 2dfd7aa0e9 Actually send GIFs.
// FREEBIE

SQUASH ME.

SQUASH ME.
8 years ago
Matthew Chen c50ccf3eed Fix gif download cancellation.
// FREEBIE
8 years ago
Matthew Chen 789cea118d Pull out GifDownloader class.
// FREEBIE
8 years ago
Matthew Chen e9885af973 Sketch out the GIF picker.
// FREEBIE
8 years ago
Matthew Chen 4242001828 Sketch out the GIF picker.
// FREEBIE
8 years ago
Matthew Chen ee9101eb16 Sketch out the GIF picker.
// FREEBIE
8 years ago
Matthew Chen 3b9726a4fa Sketch out the GIF picker.
// FREEBIE
8 years ago
Matthew Chen 206f96c9af Sketch out GIF picker.
// FREEBIE
8 years ago
Matthew Chen 62ba5701f6 Sketch out GIF picker.
// FREEBIE
8 years ago
Matthew Chen 27e5a2f1b2 Sketch out GIF picker.
// FREEBIE
8 years ago
Matthew Chen 30a77c5977 Parse Giphy API responses.
// FREEBIE
8 years ago
Matthew Chen b4d29bd5d8 Parse Giphy API responses.
// FREEBIE
8 years ago
Matthew Chen 9710964e38 Sketch out the GIF manager.
// FREEBIE
8 years ago
Matthew Chen ac649a474e Bump build to 2.17.0.4.
// FREEBIE
8 years ago
Matthew Chen 0263dbb00a Update l10n strings.
// FREEBIE
8 years ago
Matthew Chen dbe2c6aa76 Fix scroll down button.
// FREEBIE
8 years ago
Michael Kirk c093cf0831 sync latest translations
// FREEBIE
8 years ago
Michael Kirk 9983cfa026 bump build
// FREEBIE
8 years ago
Matthew Chen f99ce23e69 Fix wrongful "add to contacts offer" issue.
// FREEBIE
8 years ago
Michael Kirk 175474e0d1 Read receipt update screen
// FREEBIE
8 years ago
Michael Kirk a2421d5b3e Fix "unknown attachment" notifications
The transaction in which the attachments were created hasn't been
committed yet.

// FREEBIE
8 years ago
Matthew Chen 6abc4bed90 Increase hot area of scroll down button.
// FREEBIE
8 years ago
Matthew Chen 34218feece Disable contact cells in message metadata view.
// FREEBIE
8 years ago
Matthew Chen 256b5ab446 Don't show recipient status group titles for 1:1 threads.
// FREEBIE
8 years ago
Matthew Chen ffea39abd0 Cap the flat button text size.
// FREEBIE
8 years ago
Matthew Chen e5387a3971 Update l10n strings.
// FREEBIE
8 years ago
Matthew Chen b3da6a9774 Change the "group members" item name.
// FREEBIE
8 years ago
Michael Kirk 791613a3ee bump build
// FREEBIE
8 years ago
Michael Kirk 5706683dd3 sync translations
// FREEBIE
8 years ago
Michael Kirk e2445e6ed2 Fix RTL bubbles in conversation and message detail view
// FREEBIE
8 years ago
Michael Kirk 09a457ee62 Check all preconditions up front
// FREEBIE
8 years ago
Michael Kirk 2b05326d73 bump build
// FREEBIE
8 years ago
Michael Kirk 549c39c6c8 sync latest translations
// FREEBIE
8 years ago
Michael Kirk c3bb8a0190 on main thread, per CR
// FREEBIE
8 years ago
Michael Kirk 5704bf1765 message bubbles for message detail view controller
// FREEBIE
8 years ago
Michael Kirk 344903fa5b Show proper thread from notification
// FREEBIE
8 years ago
Michael Kirk 08e3c6cc04 regenerate source l10n, replace lost JSQMVC strings
// FREEBIE
8 years ago
Matthew Chen 9573e0e16d Move more work off the main thread.
// FREEBIE
8 years ago
Michael Kirk e77a7e09bb Fix assert for empty thread
// FREEBIE
8 years ago
Matthew Chen 5faeed4d59 Fix breakage.
// FREEBIE
8 years ago
Matthew Chen 3566ed8ded Update read receipts setting copy.
// FREEBIE
8 years ago
Matthew Chen 2dce0e9b1b Respond to CR.
// FREEBIE
8 years ago