Commit graph

109 commits

Author SHA1 Message Date
Matthew Chen 76df8431a8 Reset the unread indicator state if possible while app is in the background.
* Clean up timer usage.

// FREEBIE
2017-05-31 09:45:17 -04:00
Matthew Chen 0bccd58213 Make “send message” button easier to tap.
// FREEBIE
2017-05-31 09:37:11 -04:00
Michael Kirk 9a2f218bf3 show SN confirmation before adding to group
* Extract SN confirmation dialog

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk 2d7f03a1c8 interstitial SN confirmation for attachments/voicenotes
// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk 47783a9df0 request confirmation when calling changed SN
...rather than failing with "SN Changed" error

// FREEBIE
2017-05-30 13:10:45 -07:00
Matthew Chen 746d131a89 Respond to CR.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen 19390abc41 Refine the unseen indicators.
* Fix sizing of the unread indicator cells.
* Fix conflicts between paging and “load window” of conversation view and unseen indicator.
* Modify unseen indicator to indicate whether there are more unseen messages and safety number changes.
* Fix conflicts between modifying the “load window” size and updating the dynamic interactions.
* Clear the “bubble size calculator” cache whenever the view changes size.
* Improve the scrolling behavior around “load more messages”.
* Improve management of “load window” size.
* Fix issues around caching of bubble sizes.

// FREEBIE
2017-05-30 10:05:22 -04:00
Matthew Chen b2fa93e2ad Skip redundant layout pass in messages view.
// FREEBIE
2017-05-30 10:05:21 -04:00
Michael Kirk 37e0b1a004 Sending to unconfirmed idnetity presents confirmation
Rather than send/fail

// FREEBIE
2017-05-26 15:39:10 -07:00
Michael Kirk 1a03be8ae7 Fetch safety number upon entering thread
* uniform method to get recipients in group/contact thread
  * use it to clean up markAsSeenJob

// FREEBIE
2017-05-26 09:50:09 -07:00
Michael Kirk bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
2017-05-24 18:01:24 -07:00
Matthew Chen 964e6f1adf Improve asserts and logging in attachment adapters.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen eeb510b903 Respond to CR.
// FREEBIE
2017-05-24 09:33:17 -04:00
Matthew Chen df2ee6ba55 “Add to contacts” offer.
// FREEBIE
2017-05-22 18:27:11 -04:00
Matthew Chen bc63389d23 “Add to contacts” offer.
// FREEBIE
2017-05-22 18:27:11 -04:00
Matthew Chen 7b70fe674a “Add to contacts” offer.
// FREEBIE
2017-05-22 18:27:11 -04:00
Matthew Chen ac0c6e21de Respond to CR.
// FREEBIE
2017-05-19 18:28:40 -04:00
Matthew Chen 14ebc58d52 Revise scrolling behavior of messages view.
// FREEBIE
2017-05-19 18:14:27 -04:00
Matthew Chen c639926f2c Revise scrolling behavior of messages view.
// FREEBIE
2017-05-19 18:14:27 -04:00
Matthew Chen 4e1dda275d Revise scrolling behavior of messages view.
// FREEBIE
2017-05-19 18:14:27 -04:00
Matthew Chen db07ea8a8e Persist attachment file paths.
// FREEBIE
2017-05-19 17:21:31 -04:00
Matthew Chen ac458cc7ad Add unread indicator.
// FREEBIE
2017-05-19 14:30:27 -04:00
Matthew Chen 14fed91ea2 Fix edge cases in voice message recording.
// FREEBIE
2017-05-17 17:17:37 -04:00
Matthew Chen 5c8956f977 Dismiss keyboard before showing the “too short voice message” alert.
// FREEBIE
2017-05-17 16:30:30 -04:00
Michael Kirk 17cff1a26d Revert "Merge branch 'charlesmchen/bluetoothAudio'"
This reverts commit 48a2005aa2, reversing
changes made to de1332479c.

// FREEBIE
2017-05-15 18:14:51 -04:00
Matthew Chen 54bf103508 Fix Bluetooth audio when recording voice messages.
// FREEBIE
2017-05-15 17:23:53 -04:00
Michael Kirk 16032b9c61 strongSelf per CR
// FREEBIE
2017-05-15 17:03:46 -04:00
Michael Kirk c56ff7532c Fix confusing double permission request on new install when sending
voice notes

// FREEBIE
2017-05-15 16:51:12 -04:00
Matthew Chen 2048b330ac Don't hide keyboard when recording a voice message.
// FREEBIE
2017-05-12 17:58:26 -04:00
Matthew Chen 12e45eaf84 Ignore taps on outgoing messages while they are being sent.
// FREEBIE
2017-05-12 13:12:09 -04:00
Matthew Chen 1b99fd1df4 Respond to CR.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen a15d11c3e6 Rework appearance of voice messages and audio attachments.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen f10d530410 After sending a text message, the "send" button should revert to mic.
// FREEBIE
2017-05-11 16:19:52 -04:00
Matthew Chen 37278c22d5 Remove extra period in voice message file names.
// FREEBIE
2017-05-11 10:04:42 -04:00
Matthew Chen 033ce90dd3 Respond to CR.
// FREEBIE
2017-05-10 15:03:14 -04:00
Matthew Chen eabda5ad90 Clean up ahead of PR.
// FREEBIE
2017-05-10 15:02:16 -04:00
Matthew Chen 19b80d1f4b Rework the “disappearing messages” logic.
// FREEBIE
2017-05-10 15:02:16 -04:00
Matthew Chen e85aa045e1 Flag voice messages as such in protos.
// FREEBIE
2017-05-09 11:44:35 -04:00
Matthew Chen 29dd62a19a Always clear message drafts after sending a text message.
// FREEBIE
2017-05-09 11:39:40 -04:00
Matthew Chen 0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
2017-05-09 11:29:33 -04:00
Matthew Chen b47337c0ba Respond to CR.
// FREEBIE
2017-05-08 14:24:32 -04:00
Matthew Chen 34a7f9cba5 Respond to CR.
// FREEBIE
2017-05-08 14:24:32 -04:00
Matthew Chen b21e5c3248 Respond to CR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen 7f92b5a96b Respond to CR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen 7a37de28e5 Clean up ahead of PR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen bf6d8ec141 Clean up ahead of PR.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen 8ecdc8a2eb Move voice memo button to send button.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen c34d61b93f Add cancel-by-swipe of voice memo recording.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen 608cb70a3b Add voice memo recording.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen 45c8695ab4 Sketch out the voice memo UI.
// FREEBIE
2017-05-08 14:22:27 -04:00