Commit graph

59 commits

Author SHA1 Message Date
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
Matthew Chen da13506db1 Respond to CR.
// FREEBIE
2017-04-13 14:42:05 -04:00
Matthew Chen db7cb8d388 Send oversize text messages as attachments.
// FREEBIE
2017-04-13 14:36:58 -04:00
Matthew Chen fc33b00830 Add animated image preview to attachment approval dialog.
// FREEBIE
2017-04-12 16:37:37 -04:00
Matthew Chen 878704cb12 Create block offer when non-contacts send you a message.
// FREEBIE
2017-04-12 08:38:54 -04:00
Matthew Chen c2e94f57ed Respond to CR.
// FREEBIE
2017-04-11 18:18:50 -04:00
Matthew Chen 660e4dd4c4 Show attachment approval dialog for all attachments.
// FREEBIE
2017-04-11 18:17:43 -04:00
Matthew Chen 1ac487835a Reload data and invalidate layout whenever message view returns from background.
// FREEBIE
2017-04-11 18:09:45 -04:00
Matthew Chen f503d7f93c Stay scrolled to the bottom during in conversation view during updates.
// FREEBIE
2017-04-11 17:46:28 -04:00
Matthew Chen 79a2612dbe Fix audio playback.
// FREEBIE
2017-04-11 09:47:53 -04:00
Michael Kirk 91fc6b4d04 Stretch to fit wider message counts
// FREEBIE
2017-04-10 19:31:40 -04:00
Michael Kirk 9bd2ff0572 Don't repaint back-button unread badge
There's not much benefit to this being done async, and making it sync
avoids the repaint.

Also, simplified the code around drawing the badge.

// FREEBIE
2017-04-10 19:04:14 -04:00
Matthew Chen 6fde2852b1 Respond to CR.
// FREEBIE
2017-04-10 12:44:03 -04:00
Matthew Chen dc78e32bbf Reload data and invalidate layout whenever message view will appear.
// FREEBIE
2017-04-10 12:42:37 -04:00
Matthew Chen 1ab4417687 Fix paste when pasteboard has multiple items.
// FREEBIE
2017-04-07 12:04:04 -04:00