Commit graph

1249 commits

Author SHA1 Message Date
Michael Kirk 1f8042685d Show loading cell when contacts are still loading.
// FREEBIE
2017-12-14 13:53:02 -05:00
Michael Kirk c07d7777cb Reinstate notification when SignalAccounts change
// FREEBIE
2017-12-14 13:18:51 -05:00
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 2017-12-14 11:42:57 -05:00
Michael Kirk 64e90d29fd CR: extract method, more asserts and annotations
// FREEBIE
2017-12-14 10:52:04 -05:00
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
2017-12-13 17:31:36 -05:00
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
2017-12-11 20:34:47 -05:00
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
2017-12-11 20:16:34 -05:00
Matthew Chen f684482c54 Don't emit "user profile changed" notifications if nothing changed. 2017-12-11 12:28:28 -05:00
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 2017-12-11 12:28:28 -05:00
Matthew Chen 80ae5e0fcf Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 11b4848530 Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Michael Kirk d9cca77e23 update header references
// FREEBIE
2017-12-08 13:32:52 -05:00
Matthew Chen b12f192c6f Respond to CR. 2017-12-07 14:31:00 -05:00
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 2017-12-07 13:57:45 -05:00
Michael Kirk eca19e5874 Reconcile MediaMessageView zoom behavior with AppExtension
Previously it was predicated on UIApplication.shared

// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk 3eceb86371 Show alert if we fail to build the attachment
// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk a58f1f385c Share a photo from photos app
Shows the conversation picker, and sends the attachment to that
conversation.

There's still a lot TODO

-[ ] resolve JSQ dependency
-[ ] properly wait for app to load
-[ ] dismiss share extension after send is complete
-[ ] support non jpeg file types
-[ ] Fix device sleep manager

// FREEBIE
2017-12-07 10:13:06 -05:00
Matthew Chen 150f417a5e Clean up ahead of PR. 2017-12-05 11:32:19 -05:00
Matthew Chen 9da165b846 Continue conversion of app setup. 2017-12-05 11:19:11 -05:00
Matthew Chen 2eba371656 Clean up ahead of PR. 2017-12-05 10:29:29 -05:00
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 2017-12-05 10:29:28 -05:00
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 2017-12-05 10:28:46 -05:00
Michael Kirk 27ddf4a352 Cleanup before PR 2017-12-04 13:57:11 -05:00
Michael Kirk cd440b839f Consolidate search logic
// FREEBIE
2017-12-04 13:53:10 -05:00
Michael Kirk 766e579961 Share picker searches by profile name
Consolidate some of the share logic

// FREEBIE
2017-12-04 12:52:59 -05:00
Michael Kirk 286463bb22 Thread picker adds sections for threads vs other contacts 2017-12-04 12:52:59 -05:00
Michael Kirk 71bafcc8f0 Search SignalAccounts by profile name
...and fixup some tests
2017-12-04 12:52:59 -05:00
Michael Kirk fcb17585b0 fix compiler warnings
// FREEBIE
2017-12-04 12:50:28 -05:00
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 8cc33b3de1 Refine loading view of share extension. 2017-12-01 10:48:18 -05:00
Matthew Chen 64762eb427 Observe YapDatabaseModifiedExternallyNotification. 2017-11-30 10:28:05 -05:00
Michael Kirk 9ac3ce3758 Memoize bubble factory
Shaves 5% off of initial conversation load.

// FREEBIE
2017-11-29 14:53:04 -08:00
Michael Kirk fd829ba575 Merge branch 'hotfix/2.19.1' 2017-11-29 14:07:33 -08:00
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
2017-11-29 13:58:27 -08:00
Michael Kirk 9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
2017-11-29 12:43:05 -08:00
Michael Kirk 1a99b34913 Fix iOS8 crash on type
// FREEBIE
2017-11-29 10:15:57 -08:00
Matthew Chen 40b2ecf580 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Matthew Chen bfc1445675 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Michael Kirk a542471bbe center "Loading More Messages" label
// FREEBIE
2017-11-22 13:32:20 -05:00
Matthew Chen f9f0f1c27d Revert "Force conversation view cells to update layout immediately."
This reverts commit ef820a3719.
2017-11-22 13:12:15 -05:00
Matthew Chen 35bdc86ab5 Reload adjacent rows using original indices, not final indices. 2017-11-22 13:06:54 -05:00
Matthew Chen 71f5ef5940 Improve handling of unread indicator edge cases. 2017-11-22 10:39:38 -05:00
Matthew Chen 2ec1e7e925 Respond to CR. 2017-11-22 09:39:43 -05:00
Matthew Chen 2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 2017-11-21 18:17:19 -05:00
Matthew Chen 5ef9d53c91 Update conversation view UI to reflect unread state. 2017-11-21 17:53:52 -05:00
Matthew Chen ef820a3719 Force conversation view cells to update layout immediately.
// FREEBIE
2017-11-21 17:52:14 -05:00
Matthew Chen 9b4ac4073f Improve robustness around unknown country codes. 2017-11-21 17:48:00 -05:00
Michael Kirk 370364c936 Scroll down button scrolls to unread
// FREEBIE
2017-11-21 11:42:33 -05:00
Matthew Chen b0c9add29c Update layout of "scroll down button" to reflect RTL. 2017-11-21 11:27:01 -05:00
Matthew Chen d9fcfdeeb7 Fix deadlock when responding to contacts sync messages. 2017-11-21 11:21:08 -05:00
Matthew Chen 92ef507810 Make swipe-for-details RTL-safe. 2017-11-21 11:17:05 -05:00
Matthew Chen a07e1e0cf9 For most views, only try to dismiss keyboard when scroll drag starts. 2017-11-20 17:17:49 -05:00
Matthew Chen aea2bf3e00 Fix scroll state insets in conversation view. 2017-11-20 17:17:10 -05:00
Matthew Chen 5cfa7e35f4 Respond to CR. 2017-11-20 17:08:10 -05:00
Michael Kirk 34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
2017-11-20 17:04:54 -05:00
Matthew Chen b76d9a4e68 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen a4879f6bb5 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen 8eb4e682d9 Revert "Show menu controller from centroid of message cells."
This reverts commit 08bb1c909d.
2017-11-20 15:21:48 -05:00
Matthew Chen cebeea9189 Reduce extremes of Jumbomoji behavior. 2017-11-20 15:02:45 -05:00
Matthew Chen d8ae5841d6 Respond to CR.
// FREEBIE
2017-11-20 14:50:43 -05:00
Matthew Chen 45c7d80d97 Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 658746093d Use finalIndex in row changes. 2017-11-20 14:44:10 -05:00
Michael Kirk 8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
2017-11-20 14:30:55 -05:00
Matthew Chen ceac36f910 Respond to CR.
// FREEBIE
2017-11-20 14:11:49 -05:00
Matthew Chen 6e60d99ecf Show push tokens in about view.
// FREEBIE
2017-11-20 14:10:37 -05:00
Matthew Chen e9bace34ba Fix "sliding tables" issue in linked devices view. 2017-11-20 14:05:57 -05:00
Michael Kirk 7fd3d665dc Request contacts as necessary when app is brought back to the foreground
// FREEBIE
2017-11-20 14:00:25 -05:00
Michael Kirk 01e1d10c30 Only show contact nag if we've denied contact access
// FREEBIE
2017-11-20 14:00:25 -05:00
Matthew Chen 7b1a846f79 Dismiss keyboard when leaving conversation view. 2017-11-20 13:12:57 -05:00
Matthew Chen e79613184a Respond to CR.
// FREEBIE
2017-11-17 16:04:54 -05:00
Matthew Chen 089e4a4a02 Fix layout of table views vs. nav bar. 2017-11-17 09:51:37 -05:00
Matthew Chen 572de11763 Apply dynamic type sizing to Jumbomoji. 2017-11-16 18:25:59 -05:00
Matthew Chen 937ac5830d Skip animations in conversation view. 2017-11-16 17:59:32 -05:00
Matthew Chen b67179b45d Skip animations in conversation view. 2017-11-16 17:53:05 -05:00
Matthew Chen 0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
2017-11-16 17:32:39 -05:00
Matthew Chen 96274a60a9 Respond to CR.
// FREEBIE
2017-11-16 17:30:19 -05:00
Matthew Chen 7aae47b021 Reduce font size of "load more" indicator. 2017-11-16 17:30:19 -05:00
Matthew Chen dffd776ace Increase the max text message length. 2017-11-16 17:29:26 -05:00
Michael Kirk 228e350e2a message details shows failed bubble when appropriate
// FREEBIE
2017-11-16 17:05:31 -05:00
Matthew Chen 6b8f4c7dde Dismiss menu controller if message cell is hidden or recycled. 2017-11-16 16:35:53 -05:00
Matthew Chen 08bb1c909d Show menu controller from centroid of message cells. 2017-11-16 15:38:11 -05:00
Matthew Chen aad93d2d89 Fix broken assert in conversation view item. 2017-11-16 13:23:47 -05:00
Matthew Chen ddf4bf28cc Load attachments for conversation view items using long-lived db connection. 2017-11-16 13:16:18 -05:00
Matthew Chen df5aa5ef67 Update UI to reflect changes to disappearing messages configuration. 2017-11-16 12:25:43 -05:00
Matthew Chen 81f37e9918 Respond to CR.
// FREEBIE
2017-11-16 09:39:48 -05:00
Matthew Chen e65010d511 Fix "sliding table content" issue on iOS 11. 2017-11-16 09:38:48 -05:00
Michael Kirk 9675cbb1e1 Scroll only as far as necessary
// FREEBIE
2017-11-15 17:30:45 -05:00
Matthew Chen cc90f4cb80 Respond to CR.
// FREEBIE
2017-11-15 15:46:27 -05:00
Matthew Chen 86fdd6dea2 Fix edge cases in conversation view. 2017-11-15 15:43:03 -05:00
Matthew Chen 451dc44e87 Add script to make random changes. 2017-11-15 13:56:17 -05:00
Matthew Chen bfde1aef58 Add script to make random changes. 2017-11-15 13:56:17 -05:00
Matthew Chen 6413bc8e4c Evacuate the view item cache. 2017-11-15 13:36:56 -05:00
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
2017-11-15 13:21:31 -05:00
Matthew Chen 00feb14b10 Respond to CR.
// FREEBIE
2017-11-15 13:15:48 -05:00
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 2017-11-15 07:16:12 -05:00
Michael Kirk a27b034090 Fix GIF picker footer for iPhoneX
// FREEBIE
2017-11-14 12:48:33 -05:00
Michael Kirk e5263dcf0e Clarify comment
// FREEBIE
2017-11-14 12:37:09 -05:00
Michael Kirk b40d2afc05 Scanner view for iPhoneX
// FREEBIE
2017-11-14 12:37:09 -05:00
Michael Kirk 8c69e00a3f Adapt ConversationViewController to iPhoneX
// FREEBIE
2017-11-14 12:37:09 -05:00
Michael Kirk a3153d29d0 Fix callscreen for iPhoneX
// FREEBIE
2017-11-14 12:37:09 -05:00
Michael Kirk b0ce60a38d Fix layout of registration page for iPhoneX
// FREEBIE
2017-11-14 12:37:09 -05:00
Matthew Chen c3b6c9055e Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 18:46:41 -05:00
Matthew Chen 3da1d8c63f Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 11:18:38 -05:00
Matthew Chen c91dda43e0 Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 11:15:58 -05:00
Matthew Chen c3087cf3df Don't dismiss keyboard when tapping in the conversation view. 2017-11-13 10:41:41 -05:00
Matthew Chen bf0f33e4b0 Temporarily alter animations in conversation view. 2017-11-10 14:51:34 -05:00
Matthew Chen af6a7c103c Add a comment. 2017-11-10 14:08:52 -05:00
Matthew Chen 42a70e0def Revert "Temporarily make logging around conversation view row updates more verbose."
This reverts commit 105b033761.
2017-11-10 14:04:56 -05:00
Matthew Chen f0a8e08df9 Temporarily alter animations in conversation view. 2017-11-10 13:17:38 -05:00
Matthew Chen 0abdbffe1f Improve handling of attachment edge cases. 2017-11-10 13:12:43 -05:00
Michael Kirk a9dca831d3 Fix method extraction.
method was recently moved, but not all callers were updated.

// FREEBIE
2017-11-10 13:10:57 -05:00
Matthew Chen 518f15155a Respond to CR.
// FREEBIE
2017-11-10 12:57:16 -05:00
Matthew Chen efcd42012c Respond to CR.
// FREEBIE
2017-11-10 12:57:16 -05:00
Matthew Chen b5f7a4746f Temporarily alter animations in conversation view. 2017-11-10 12:41:11 -05:00
Matthew Chen 3814464595 Increase content insets of attachment button. 2017-11-10 11:47:56 -05:00
Matthew Chen 105b033761 Temporarily make logging around conversation view row updates more verbose. 2017-11-10 11:37:16 -05:00
Matthew Chen c72f39e64b Layout cell content when presenting the cell. 2017-11-10 09:48:52 -05:00
Matthew Chen 87b0692af0 Fixes for scrolling in conversation view. 2017-11-10 09:41:27 -05:00
Matthew Chen 5cc292fb6c Don't ask for camera permissions if app is not active.
// FREEBIE
2017-11-09 03:02:05 -05:00
Matthew Chen 5e61307ce3 Don't ask for microphone permissions if app is not active.
// FREEBIE
2017-11-09 02:58:51 -05:00
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Matthew Chen 2d21e2ae2c Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Michael Kirk c0bcc40a6f Ensure we re-upload push tokens after re-registering.
// FREEBIE
2017-11-08 10:55:34 -05:00
Michael Kirk 90dad75446 CR: remove unnecessary property
// FREEBIE
2017-11-08 10:50:25 -05:00
Michael Kirk 1f5603760b Fix contact offer
We never assign interaction, but we can get it via the viewItem.

// FREEBIE
2017-11-08 10:46:46 -05:00
Matthew Chen e3f7947da0 Emphasize borders of input toolbar.
// FREEBIE
2017-11-06 12:54:09 -05:00
Matthew Chen a5c4140a12 Reduce max text message bubble size.
// FREEBIE
2017-11-03 15:48:08 -04:00
Matthew Chen ea0b6065e3 Revert "Constrain the max text cell height to the height of the screen."
This reverts commit b9583a3c85a3b27f65b653a1d851c7c966fdc83d.

// FREEBIE
2017-11-03 15:48:08 -04:00
Matthew Chen 608cd2781f Constrain the max text cell height to the height of the screen.
// FREEBIE
2017-11-03 15:48:08 -04:00
Matthew Chen 2b8fc59a8f Respond to CR.
// FREEBIE
2017-11-03 14:40:47 -04:00
Matthew Chen 74854dd788 Tweak biases of the message status logic.
// FREEBIE
2017-11-03 14:24:13 -04:00
Matthew Chen 365e984b7a Tweak biases of the message status logic.
// FREEBIE
2017-11-03 14:24:13 -04:00
Matthew Chen e07a240ee5 Merge tag '2.18.0.9' 2017-11-03 14:23:47 -04:00
Michael Kirk 39e3e9b44f use .com when in US
// FREEBIE
2017-11-03 11:24:57 -04:00
Matthew Chen 4037e2ee39 Merge tag '2.18.0.7' 2017-11-02 17:21:17 -04:00
Michael Kirk 295646e5fa Rebase cleanup
// FREEBIE
2017-11-02 16:05:41 -04:00
Michael Kirk 58d4c95362 Re-register without losing your messages in Debug-UI
// FREEBIE
2017-11-02 16:05:41 -04:00
Michael Kirk ad8c1db689 Reduce progressive search delay
// FREEBIE
2017-11-02 15:47:27 -04:00
Matthew Chen 93ee029cf3 Respond to CR.
// FREEBIE
2017-11-02 14:54:14 -04:00
Matthew Chen ae48cf1de6 Fix sizing of text bubbles in message detail view.
// FREEBIE
2017-11-02 14:52:32 -04:00
Matthew Chen 7fd5b00d86 Fix text message links in conversation view.
// FREEBIE
2017-11-02 14:50:32 -04:00
Michael Kirk c7642cc628 Fix volume burst when call connects
By centralizing AudioSession management onto the AudioService, we can
avoid enabling the RTCAudioSession while we're mid-ring.

Also allows us to centralize and remove redundant audio session logic.

// FREEBIE
2017-11-02 08:49:46 -04:00
Matthew Chen af5489952c Don't animate message sends.
// FREEBIE
2017-11-01 20:43:43 -04:00
Matthew Chen 40e04ffb92 Respond to CR.
// FREEBIE
2017-11-01 20:43:43 -04:00
Matthew Chen 5df4ac92b7 Don't animate message sends.
// FREEBIE
2017-11-01 20:43:43 -04:00
Matthew Chen 5d4316755f Respond to CR.
// FREEBIE
2017-11-01 12:48:07 -04:00
Matthew Chen d52b19a69e Let users with external keyboards send messages using modifier-return (shift, command, option).
// FREEBIE
2017-11-01 12:46:55 -04:00
Matthew Chen 0c92850d38 Log voice memo durations.
// FREEBIE
2017-11-01 12:45:22 -04:00
Matthew Chen 89dbcb0fe8 Respond to CR.
// FREEBIE
2017-11-01 12:36:37 -04:00
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 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 487bd06755 Respond to CR.
// FREEBIE
2017-10-31 11:56: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 c83090a46e 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 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 1b3b5fc9e5 Respond to CR.
// 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 7e585b72aa 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 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
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 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
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 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
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
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