Commit graph

2766 commits

Author SHA1 Message Date
Matthew Chen f95e599c55 Don't overwrite draft after GIF send.
// FREEBIE
2017-11-01 12:36:36 -04:00
Matthew Chen db8a381960 Merge remote-tracking branch 'origin/release/2.18.0' 2017-11-01 12:02:37 -04:00
Matthew Chen a08bd0980c Bump build to 2.18.0.6.
// FREEBIE
2017-11-01 11:56:09 -04:00
Matthew Chen b0629fb6d5 Update l10n strings.
// FREEBIE
2017-11-01 11:55:58 -04:00
Matthew Chen a3600d8e89 Avoid stalls in GIF downloader.
// FREEBIE
2017-11-01 09:51:56 -04:00
Matthew Chen 94f3601d39 Avoid stalls in GIF downloader.
// FREEBIE
2017-11-01 09:51:22 -04:00
Matthew Chen b3e39e6584 Avoid stalls in GIF downloader.
// FREEBIE
2017-11-01 09:47:38 -04:00
Michael Kirk 5a6e739115 pull latest translations
// FREEBIE
2017-10-31 18:25:00 -04:00
Michael Kirk af82b02e4a bump version
// FREEBIE
2017-10-31 18:10:11 -04:00
Matthew Chen 7041f976d5 Use HTTP pipelining in Giphy asset requests.
// FREEBIE
2017-10-31 16:58:47 -04:00
Matthew Chen 98af9bcc65 Use HTTP pipelining in Giphy asset requests.
// FREEBIE
2017-10-31 16:43:49 -04:00
Matthew Chen a0ddb2a06d Respond to CR.
// FREEBIE
2017-10-31 15:01:29 -04:00
Matthew Chen 9053d038ac Remove extra logging.
// FREEBIE
2017-10-31 14:33:30 -04:00
Matthew Chen 5ac2f16ebc Skip redundant relayout.
// FREEBIE
2017-10-31 14:33:30 -04:00
Matthew Chen c2a17920ba Respond to CR.
// FREEBIE
2017-10-31 14:02:29 -04:00
Matthew Chen e3d8421b9e Respond to CR.
// FREEBIE
2017-10-31 13:56:30 -04:00
Matthew Chen 004c9e4809 Respond to CR.
// FREEBIE
2017-10-31 13:17:48 -04:00
Matthew Chen f37e7f26d2 Respond to CR.
// FREEBIE
2017-10-31 12:39:04 -04:00
Matthew Chen 487bd06755 Respond to CR.
// FREEBIE
2017-10-31 11:56:13 -04:00
Matthew Chen cfb2a720d7 Respond to CR.
// FREEBIE
2017-10-30 17:56:27 -04:00
Matthew Chen 89a04852df Respond to CR.
// FREEBIE
2017-10-30 16:12:47 -04:00
Matthew Chen 0a926567ed Respond to CR.
// FREEBIE
2017-10-30 13:05:11 -04:00
Matthew Chen c6047b72b4 Respond to CR.
// FREEBIE
2017-10-30 12:43:39 -04:00
Matthew Chen 563eed6c6e Respond to CR.
// FREEBIE
2017-10-30 12:25:38 -04:00
Matthew Chen 530b70d706 Respond to CR.
// FREEBIE
2017-10-30 12:23:13 -04:00
Matthew Chen 841a2333e3 Respond to CR.
// FREEBIE
2017-10-30 12:11:42 -04:00
Matthew Chen 12de1aa90c Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Matthew Chen 55d53ae222 Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Matthew Chen c83090a46e Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Matthew Chen e4602f2a12 Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Matthew Chen 2dfea25243 Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Matthew Chen 84406b5fec Split up GIF requests.
// FREEBIE
2017-10-27 17:23:51 -04:00
Michael Kirk cca33f02b2 Sync translations
// FREEBIE
2017-10-27 11:12:54 -07:00
Michael Kirk 259695a9fd Attachments require digest or show explanatory error.
// FREEBIE
2017-10-27 08:42:54 -07:00
Matthew Chen eb3ca43256 Jumbomoji.
// FREEBIE
2017-10-27 10:25:49 -04:00
Matthew Chen 997665a902 Hide MIME types in production builds.
// FREEBIE
2017-10-27 00:20:46 -04:00
Matthew Chen bee70fa028 Respond to CR.
// FREEBIE
2017-10-27 00:19:58 -04:00
Matthew Chen 5e1c6c02a0 Add "failed message send" badges.
// FREEBIE
2017-10-27 00:17:46 -04:00
Michael Kirk 6eeb78157a Include size in attachment pointer
// FREEBIE
2017-10-26 15:11:37 -07:00
Matthew Chen 8cb3e5d35d Fix edge cases around oversize test messages.
// FREEBIE
2017-10-26 14:34:30 -04:00
Matthew Chen 9cc4521d07 Respond to CR.
// FREEBIE
2017-10-26 12:09:36 -04:00
Matthew Chen bcf83a4c8e Rework handling of oversize text messages.
// FREEBIE
2017-10-26 11:56:03 -04:00
Matthew Chen 5af6b6f213 Respond to CR.
// FREEBIE
2017-10-26 11:53:35 -04:00
Matthew Chen 1b3b5fc9e5 Respond to CR.
// FREEBIE
2017-10-26 11:53:35 -04:00
Matthew Chen d1141581de Only one system contacts fetch at a time.
// FREEBIE
2017-10-26 11:53:35 -04:00
Matthew Chen 878fd3d842 Only one system contacts fetch at a time.
// FREEBIE
2017-10-26 11:53:35 -04:00
Matthew Chen 8c1dfe7ee6 Only one system contacts fetch at a time.
// FREEBIE
2017-10-26 11:53:35 -04:00
Michael Kirk 8f9311a6ac Show timer in navbar without reload
// FREEBIE
2017-10-25 14:40:05 -07:00
Michael Kirk 709010499f remove overzealous assert
// FREEBIE
2017-10-25 14:39:12 -07:00
Matthew Chen c8c09ec19c Respond to CR.
// FREEBIE
2017-10-25 16:21:10 -04:00
Matthew Chen 7e585b72aa Fix tests broken by the JSQ rewrite.
// FREEBIE
2017-10-25 16:08:15 -04:00
Matthew Chen 3927815a35 Fix tests broken by the JSQ rewrite.
// FREEBIE
2017-10-25 16:08:15 -04:00
Michael Kirk 2d7deff839 Make message bubbles a bit wider.
// FREEBIE
2017-10-25 11:43:12 -07:00
Michael Kirk cd291e19ff We conceivably want to to initiate calls more than once without leaving
the conversation view. e.g. from Contacts.app

// FREEBIE
2017-10-25 11:37:04 -07:00
Michael Kirk 4000760cf7 Fix "back button count" flash. Only call once.
This affects returning from message info or when leaving conversation
settings.

// FREEBIE
2017-10-25 11:31:06 -07:00
Matthew Chen df7d40ed4c Respond to CR.
// FREEBIE
2017-10-25 10:00:22 -04:00
Matthew Chen a23b8b717b RTL fixes for JSQ rewrite.
// FREEBIE
2017-10-25 09:36:43 -04:00
Michael Kirk 43dd3abf6c clamp value per CR
// FREEBIE
2017-10-24 15:29:04 -07:00
Michael Kirk 59b125c3fb Add clarifying comment per CR
// FREEBIE
2017-10-24 15:29:04 -07:00
Michael Kirk d87f000051 Interactive/Cancelable slide left for details
// FREEBIE
2017-10-24 15:29:03 -07:00
Matthew Chen 6b2f7e4842 Respond to CR.
// FREEBIE
2017-10-24 17:16:44 -04:00
Matthew Chen fb3bb852ca Tap image attachment preview to view full screen.
// FREEBIE
2017-10-24 17:12:26 -04:00
Matthew Chen 722fc4d7a7 Fix size of message previews.
// FREEBIE
2017-10-24 17:12:26 -04:00
Matthew Chen be0149ccf2 Update layout of views to reflect keyboard.
// FREEBIE
2017-10-24 17:10:12 -04:00
Matthew Chen 0eafbd8fe4 Respond to CR.
// FREEBIE
2017-10-24 17:09:25 -04:00
Matthew Chen 188b733d57 Don't send with return key.
// FREEBIE
2017-10-24 17:08:10 -04:00
Matthew Chen 1e2091e1e2 Add Hebrew l10n.
// FREEBIE
2017-10-24 16:00:13 -04:00
Matthew Chen 5cde74f505 Add Hebrew l10n.
// FREEBIE
2017-10-24 15:59:37 -04:00
Matthew Chen 27af310235 Auto-dismiss keyboard if user scrolls away from bottom of the conversation.
// FREEBIE
2017-10-24 13:58:56 -04:00
Matthew Chen 3fa2f22beb Fixes for input toolbar.
// FREEBIE
2017-10-24 11:43:42 -04:00
Matthew Chen c9e385920a Fix spacing around date headers.
// FREEBIE
2017-10-24 11:03:05 -04:00
Matthew Chen 429f833913 Center the progress bar within the bubble mask.
// FREEBIE
2017-10-24 10:01:04 -04:00
Matthew Chen 658c3c5599 Only show attachment upload UI for not-yet-uploaded attachments.
// FREEBIE
2017-10-24 09:55:58 -04:00
Matthew Chen 067b16903c Fix attachment uploads.
// FREEBIE
2017-10-24 09:54:08 -04:00
Matthew Chen c1f35a0ea6 Respond to CR.
// FREEBIE
2017-10-24 09:42:29 -04:00
Matthew Chen 2fa3cf1bc6 Rework attachment approval UI.
// FREEBIE
2017-10-24 09:42:29 -04:00
Matthew Chen cbb0030b12 Rework attachment approval UI.
// FREEBIE
2017-10-24 09:42:29 -04:00
Matthew Chen d04f9111db Rework attachment approval UI.
// FREEBIE
2017-10-24 09:42:29 -04:00
Michael Kirk 1fee5d97e6 Merge branch 'release/2.18.0' 2017-10-23 16:02:11 -07:00
Michael Kirk efd58022d0 bump version
// FREEBIE
2017-10-23 16:01:37 -07:00
Michael Kirk 288b975a17 Pull latest translations
// FREEBIE
2017-10-23 16:00:52 -07:00
Matthew Chen a1d8c7765d Respond to CR.
// FREEBIE
2017-10-23 17:35:35 -04:00
Matthew Chen 54c56f1c4b Fix layout of generic and audio messages.
// FREEBIE
2017-10-23 17:30:56 -04:00
Matthew Chen a16197f193 Respond to CR.
// FREEBIE
2017-10-23 17:30:03 -04:00
Matthew Chen b1b0ddbf2e Fix layout glitches in JSQ rewrite.
// FREEBIE
2017-10-23 17:25:34 -04:00
Michael Kirk 21df2dc047 Never hide "failed to send" footer
// FREEBIE
2017-10-23 08:40:26 -07:00
Daniel e8f92ede60 added accessibility labels for call screen controls FREEBIE
Added Prefix

combined similar labels to CALL_VIEW_MUTE_LABEL
2017-10-23 07:53:23 -07:00
Michael Kirk bd4b4f0041 Use proper color when messages fail to send.
// FREEBIE
2017-10-21 18:59:21 -07:00
Michael Kirk c5244e175e orphan cleanup shouldn't happen until DB is registered
// FREEBIE
2017-10-21 18:16:52 -07:00
Michael Kirk f3f0d591ea Revert "Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons."
This reverts commit 7c82f6d448.

This wasn't helping our crash rate, and on my device, as of iOS11.1B2,
the button is easily tappable, not detectably different from prior iOS
releases.
2017-10-20 16:37:07 -07:00
Michael Kirk 66ab4e2549 Merge tag '2.16.2.0' into release/2.18.0 2017-10-20 16:23:58 -07:00
Michael Kirk 2d10080c33 Merge tag '2.17.1.1' into release/2.18.0 2017-10-20 16:23:10 -07:00
Michael Kirk 68e755ade9 Merge branch 'release/2.18.0' 2017-10-20 16:10:07 -07:00
Matthew Chen e427d25c5a Bump build to 2.18.0.3.
// FREEBIE
2017-10-20 17:53:17 -04:00
Matthew Chen 8fdc980cad Update l10n strings.
// FREEBIE
2017-10-20 17:53:07 -04:00
Matthew Chen c11b82ba30 Respond to CR.
// FREEBIE
2017-10-20 16:21:52 -04:00
Matthew Chen 9274d7fd9b Fix proxying of Giphy requests.
// FREEBIE
2017-10-20 16:12:11 -04:00
Michael Kirk 0cd56d4bcc On iOS11 doc picker requires system appearance.
Otherwise nav items are illegible.

// FREEBIE
2017-10-20 12:35:21 -07:00
Michael Kirk 64c7c40b81 CR: add shadow to activity indicator
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 2af99eb710 Allow canceling GIF download
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 891cc6ee0d CR: better method names
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 6eaa49593d preview vs. sending have independent resolution min
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 688810c267 CR: Enforce "one time only" with a bool, not a cell ref
Since cell's can be re-used, at a later point, we might not be
referencing the data we intend. Since all we want to do is enforce a
"one time only" check, just use a bool.

// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 591cba6468 fix comment typos
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk a01de44917 Fix intermittent crash
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 6db5895269 dismiss keyboard when scrolling after auto-search
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk be51776d82 Fix mask appearing partially above search bar
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 37177de7cb Make sure user knows what they're picking
Abort selection until *some* kind of asset has been downloaded.

// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk e4ad169d71 Show retryable error alert when fetching GIF fails
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk 3939e8a6ac Download picked GIF faster: cancel pending request
// FREEBIE
2017-10-20 12:34:55 -07:00
Michael Kirk b8ce636afc Show loading screen while selected GIF downloads
// FREEBIE
2017-10-20 12:34:55 -07:00
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
2017-10-20 12:34:55 -07:00
Michael Kirk 2a4c6506fb log giphy data usage in debug
// FREEBIE
2017-10-20 12:34:55 -07:00
Matthew Chen 7fa7d5d526 Fix "mark as read."
// FREEBIE
2017-10-20 09:53:33 -04:00
Matthew Chen b0aa84e420 Clean up conversation view.
// FREEBIE
2017-10-19 23:02:59 -04:00
Matthew Chen d355b45bae Reduce relayout and reload churn; respond to dynamic type changes.
// FREEBIE
2017-10-19 22:53:06 -04:00
Matthew Chen c2608785e1 Reduce relayout and reload churn; respond to dynamic type changes.
// FREEBIE
2017-10-19 22:53:06 -04:00
Matthew Chen 4dc6934fc7 End text editing if we leave conversation view.
// FREEBIE
2017-10-19 22:48:28 -04:00
Matthew Chen bd5639baaf Linkify text messages.
// FREEBIE
2017-10-19 22:41:32 -04:00
Matthew Chen bf80e6dd36 Fix broken message cell layout.
// FREEBIE
2017-10-19 22:40:52 -04:00
Matthew Chen 45ba79d296 Auto-load more message if user scrolls near the top of the conversation.
// FREEBIE
2017-10-19 22:39:42 -04:00
Matthew Chen 1ad3add1d5 Fix message injection.
// FREEBIE
2017-10-19 22:39:01 -04:00
Matthew Chen c7097db939 Respond to CR.
// FREEBIE
2017-10-19 22:37:17 -04:00
Matthew Chen f28abbc2a1 Revert from numeric to default keyboard after message send.
// FREEBIE
2017-10-19 22:36:25 -04:00
Matthew Chen 4dabb71815 Fix "can't send same GIF twice" issue.
// FREEBIE
2017-10-19 22:33:51 -04:00
Matthew Chen fb4d43d542 Fix "can't send same GIF twice" issue.
// FREEBIE
2017-10-19 10:04:49 -07:00
Michael Kirk 9eb4909185 bump build
// FREEBIE
2017-10-18 16:30:57 -07:00
Matthew Chen f3102e2761 Fix presentation animation of new "attachment approval" state of input toolbar.
// FREEBIE
2017-10-18 12:50:16 -07:00
Matthew Chen 0fe76aaab8 Move "attachment approval" into input toolbar.
// FREEBIE
2017-10-18 12:50:16 -07:00
Matthew Chen 298a4aa108 Simplify and fix edge cases around menu controller.
// FREEBIE
2017-10-18 12:31:23 -07:00
Matthew Chen 06eb794db6 Simplify and fix edge cases around long pressing on system message cells.
// FREEBIE
2017-10-18 12:31:23 -07:00
Matthew Chen 37841d9b67 Respond to CR.
// FREEBIE
2017-10-18 12:21:17 -07:00
Matthew Chen 4a94d039e8 Restore the input toolbar's placeholder text.
// FREEBIE
2017-10-18 12:18:15 -07:00
Matthew Chen c47573334b Respond to CR.
// FREEBIE
2017-10-18 12:13:26 -07:00
Matthew Chen 3b945a9da2 Respond to CR.
// FREEBIE
2017-10-18 12:13:26 -07:00
Matthew Chen 88c874e4e6 Clean up ahead of PR.
// FREEBIE
2017-10-18 12:13:26 -07:00
Matthew Chen 257f8249bf Cull cached cell media outside a load window.
// FREEBIE
2017-10-18 12:13:26 -07:00
Matthew Chen 65efa7f836 Lazy load, eagerly unload & cache cell media.
// FREEBIE
2017-10-18 12:13:26 -07:00
Matthew Chen e77292c2a9 Add contentWidth property to ConversationViewCell.
// FREEBIE
2017-10-18 12:13:26 -07:00
Erik Strottmann d7f24e4808 Increase profile disclosure compression resistance
Prevents disclosure indicator in profile row of settings from collapsing
when the profile name is too long.

Fixes #2515.

// FREEBIE
2017-10-18 11:53:19 -07:00
Matthew Chen b269c72acb Respond to CR.
// FREEBIE
2017-10-18 09:43:24 -07:00
Matthew Chen f36ecbdfa6 Button locations in input toolbar should reflect RTL.
// FREEBIE
2017-10-18 09:37:08 -07:00
Matthew Chen cec614706e Button locations in input toolbar should reflect RTL.
// FREEBIE
2017-10-18 09:37:08 -07:00
Matthew Chen 2ec8522355 Fix the input toolbar.
// FREEBIE
2017-10-18 09:37:08 -07:00
Matthew Chen b9f6bbb369 Clean up ahead of PR.
// FREEBIE
2017-10-18 09:30:03 -07:00
Matthew Chen 163e66dd4f Restore "load more messages" functionality.
// FREEBIE
2017-10-18 09:30:03 -07:00
Matthew Chen ccb37bfac3 Respond to CR.
// FREEBIE
2017-10-18 08:50:47 -07:00
Matthew Chen ae550fa960 Add actions to debug UI to inject fake incoming messages.
// FREEBIE
2017-10-18 08:45:24 -07:00
Matthew Chen ed350f8ea6 Add vertical scroll indicator to conversation view.
// FREEBIE
2017-10-18 08:37:47 -07:00
Matthew Chen a386ac5685 Respond to CR.
// FREEBIE
2017-10-18 08:32:28 -07:00
Matthew Chen b90e9fcd64 Skip redundant GIF searches.
// FREEBIE
2017-10-17 18:07:29 -07:00
Matthew Chen 33d3c4123a Progressive GIF search shouldn't dismiss keyboard.
// FREEBIE
2017-10-17 17:56:05 -07:00
Matthew Chen 032ec59d1c Respond to CR.
// FREEBIE
2017-10-16 21:05:29 -07:00
Matthew Chen 01691b7ade Ensure attachment masking is updated to reflect cell relayout.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen 212d5dd112 Clean up ahead of PR.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen ae27d062f6 Clamp content aspect ratio.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen b6a61afd5c Clean up ahead of PR.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen 46dc0acdfb Fix media cropping.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen 132d5b3408 Clean up ahead of PR.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen e91599d986 Restore message cell footers.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen 3723a4845f Restore message cell footers.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen c2f07bb3d8 Restore message cell footers.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen 227fd5280d Resize conversation view cells as necessary.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen f7bd813c9f Restore the date headers to the conversation view cells.
// FREEBIE
2017-10-16 20:41:14 -07:00
Michael Kirk 2716f50399 Bump version
// FREEBIE
2017-10-16 18:20:35 -07:00
Michael Kirk 6e12b9c898 Fix trailing edge of group member listing
// FREEBIE
2017-10-16 13:33:07 -07:00
Michael Kirk 603a7d2639 Merge branch 'release/2.18.0' 2017-10-16 12:59:53 -07:00
Michael Kirk ab05bd32e8 compose search cleanup per code review
// FREEBIE
2017-10-16 12:59:15 -07:00
Michael Kirk 0f859d6b20 Merge branch 'release/2.18.0' 2017-10-16 12:27:20 -07:00
Michael Kirk 9ae4a26eb1 Message details shows entire message
When viewing a longer message, to avoid the risk of the user not being
aware they can scroll down, we scroll to the last couple lines of the
message, ensuring they can see the meta-data.

// FREEBIE
2017-10-16 12:26:16 -07:00
Michael Kirk 038ca0d6a9 Fix invite via SMS in search
- whispersystems.org -> signal.org
- nav color was wrong since iOS10
- update search results after clearing post SMS invite

// FREEBIE
2017-10-16 12:25:48 -07:00
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
2017-10-16 12:25:07 -07:00
Michael Kirk 3080cb512b Compose View: collation index and group search
- Include table index for contacts
- Fix extra spacing in OWS table view
- Separate search results into contact/invite sections
- Include groups in search results when composing new message
- Compose Screen search matches on group member names

// FREEBIE
2017-10-16 12:22:02 -07:00
Matthew Chen 866be07434 Bump build to 2.17.1.1.
// FREEBIE
2017-10-13 13:38:57 -04:00
Matthew Chen 7c82f6d448 Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
2017-10-13 12:57:44 -04:00
Matthew Chen 49501a5d1b Respond to CR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen b1624d6818 Respond to CR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen b833976b77 Clean up ahead of PR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen 5621fe893c Clean up ahead of PR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen fb408f980c Remove JSQ.
// FREEBIE
2017-10-12 16:23:48 -04:00
Michael Kirk 796be18c56 enable gif picker
// FREEBIE
2017-10-12 14:58:25 -04:00
Michael Kirk dd5a19d1fd Suspend while answering shows "Missed Call"
When awakened by a voip push, we get some arbitrary amount of background
time to connect the call (in practice this is ~30s) before the app is
suspended.

Though we were properly terminating the call upon being suspended, we
were not notifying the user that they had missed a call.

// FREEBIE
2017-10-12 14:34:36 -04:00
Michael Kirk a434a381f7 Merge branch 'hotfix/2.17.1' 2017-10-12 12:54:02 -04:00
Michael Kirk 23b8560b79 sync translations
// FREEBIE
2017-10-12 12:52:34 -04:00
Michael Kirk 2cc59dc166 bump version
// FREEBIE
2017-10-12 12:47:29 -04:00
Matthew Chen 44051bd7e7 Avoid deadlock in profile manager.
// FREEBIE
2017-10-12 12:46:53 -04:00
Michael Kirk 9a7e3cb9d8 Register for manual message fetching when unable to obtain push tokens
// FREEBIE
2017-10-12 12:02:22 -04: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 b0e1904f96 Respond to CR.
// FREEBIE
2017-10-11 10:03:09 -04:00
Matthew Chen 7923eafe7c Use separate Giphy API key for Signal iOS.
// FREEBIE
2017-10-11 10:00:49 -04:00
Michael Kirk f314b2e50a Fix registration screen layout
// FREEBIE
2017-10-10 16:02:56 -04:00
Michael Kirk b5258be9b5 respond to code review
// FREEBIE
2017-10-10 11:33:40 -04:00
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
2017-10-10 11:33:40 -04:00
Michael Kirk c7cfe188ee Sync push tokens on background launch as well
// FREEBIE
2017-10-10 11:33:40 -04:00
Matthew Chen 7d9c2825d8 Add progressive search to Gif picker.
// FREEBIE
2017-10-10 09:51:13 -04:00
Matthew Chen 5999178e78 Remove FLAnimatedImage.
// FREEBIE
2017-10-10 09:50:13 -04:00
Matthew Chen fd28e54132 Respond to CR.
// FREEBIE
2017-10-06 16:26:50 -04:00
Matthew Chen 52a8fb4b88 Add loading background to gif cells, refactor gif cells.
// FREEBIE
2017-10-06 16:25:40 -04:00
Matthew Chen 334396dac6 Add activity indicator, "error", "no results" and retry to gif picker.
// FREEBIE
2017-10-06 16:25:40 -04:00
Matthew Chen 6fb9af6363 Rework gif picker background & giphy logo.
// FREEBIE
2017-10-06 16:25:40 -04:00