Commit graph

73 commits

Author SHA1 Message Date
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
Michael Kirk b24cf29189 don't request contacts until necessary
Most commonly this will be after hitting the "compose" button

But also we'll do it in the SignalViewController once you've received a
message.

- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code

// FREEBIE
2017-05-04 09:47:04 -04:00
Matthew Chen 800715a5e0 Remove waveform from audio message bubbles.
// FREEBIE
2017-05-03 17:05:27 -04:00
Matthew Chen 26f69b0063 Respond to CR.
// FREEBIE
2017-05-02 12:30:53 -04:00
Matthew Chen 2bec1db541 Respond to CR.
// FREEBIE
2017-05-02 10:54:07 -04:00
Matthew Chen da7dd1b128 Clean up debug scaffolding.
// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 6ae3a5395e Skip attachment approval dialog for image and video shot by camera.
// FREEBIE
2017-05-01 14:51:25 -04:00
Michael Kirk 48971478dd Allow importing of any file that's not a directory
// FREEBIE
2017-04-27 10:13:26 -04:00
Michael Kirk 93fe122323 display error if user picks directory/bundle e.g. .pxm
// FREEBIE
2017-04-26 18:34:49 -04:00
Matthew Chen e75ed5e477 Respond to CR.
// FREEBIE
2017-04-26 13:29:56 -04:00
Matthew Chen 6e36ce97a5 Let users share imported files to a thread or contact of their choice.
// FREEBIE
2017-04-26 13:29:56 -04:00
Matthew Chen 3c7574a908 Register Signal to handle a wide variety of common document types.
// FREEBIE
2017-04-26 13:29:43 -04:00
Michael Kirk 66e858a35a Validate all picked attachments/ show preview
// FREEBIE
2017-04-24 17:43:49 -04:00
Matthew Chen b99984f9d3 Fix the “message view subtitle mis-sized after muting” issue.
// FREEBIE
2017-04-24 12:26:16 -04:00
Matthew Chen a0a930aac3 Resolve the menu item conflicts between message view and media view.
// FREEBIE
2017-04-21 17:51:34 -04:00
Matthew Chen 866493c8ed Add icons to attachment action sheet.
// FREEBIE
2017-04-21 17:39:42 -04:00
Michael Kirk 474a6d3253 document picker uses approval dialog
// FREEBIE
2017-04-21 17:11:27 -04:00
Matthew Chen a59f49ceac Resolve the menu item conflicts between message view and media view.
// FREEBIE
2017-04-21 14:58:51 -04:00
Matthew Chen 62e6c9a120 Fix crash unsafely accessing optional media method.
// FREEBIE
2017-04-21 14:21:23 -04:00
Michael Kirk 70d235a670 Choose arbitrary attachments from iCloud/GDrive/Dropbox/etc
// FREEBIE
2017-04-20 18:49:30 -04:00
Matthew Chen 041badd295 Decouple the audio attachment player from the video attachment adapter.
// FREEBIE
2017-04-20 11:15:19 -04:00
Matthew Chen 980d726a48 Add audio attachment player.
* Fix two bugs around play/pause button appearance.
* Fix bugs around stopping playback when leaving view/entering background.
* Fix bugs around cleaning up playback state  when leaving view/entering background.
* Fix audio playback vs. hardware mute button.
* Improve handling of invalid audio attachments.

// FREEBIE
2017-04-20 09:44:25 -04:00
Michael Kirk d9e3e87735 New downloading progress view (#2006)
Replace previous "scary" warning-style attachment notifications with
something less alarming.

Includes file name and file type emoji when discernable.

// FREEBIE
2017-04-19 18:50:27 -04:00
Matthew Chen b2664158b1 Pause animated gifs when offscreen; clean up media views more aggressively.
// FREEBIE
2017-04-19 11:45:06 -04:00
Matthew Chen e36b5a4602 Improve group members view.
// FREEBIE
2017-04-19 11:37:27 -04:00
Matthew Chen 2a9ac87568 Fix paste of text.
// FREEBIE
2017-04-19 10:22:53 -04:00
Matthew Chen d968c899b5 Add muting of threads.
// FREEBIE
2017-04-19 09:57:12 -04:00
Matthew Chen 2ca122f579 Add muting of threads.
// FREEBIE
2017-04-19 09:57:12 -04:00
Matthew Chen 2c286c8b53 Add muting of threads.
// FREEBIE
2017-04-19 09:57:12 -04:00
Matthew Chen e025b86e75 Rework outgoing message state.
// FREEBIE
2017-04-17 18:05:47 -04:00
Matthew Chen cc766bcc53 Rework outgoing message state.
// FREEBIE
2017-04-17 18:05:47 -04:00
Matthew Chen 66d1a37859 Rework outgoing message state.
// FREEBIE
2017-04-17 18:05:47 -04:00
Matthew Chen d9ef27d802 Ignore hardware mute switch during video playback in messages view.
// FREEBIE
2017-04-13 16:17:35 -04:00
Matthew Chen 1cf45a26d0 Merge remote-tracking branch 'origin/hotfix/2.10.1' 2017-04-13 16:13:35 -04:00
Matthew Chen 193d9421ce Respond to CR.
// FREEBIE
2017-04-13 16:06:23 -04:00
Matthew Chen 0018d0040b Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:28 -04:00