Commit graph

97 commits

Author SHA1 Message Date
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen bb96454070 More outgoing message fixes. 2018-04-30 11:00:57 -04:00
Matthew Chen 752bca313c Fix glitches in outgoing messages. 2018-04-27 16:37:09 -04:00
Matthew Chen f16e9a2920 Fix issues in outgoing messages status changes. 2018-04-26 14:17:41 -04:00
Matthew Chen 5c6f9ec088 Fix issues in outgoing messages status changes. 2018-04-26 14:12:34 -04:00
Matthew Chen 4de4a4b229 Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen 40ac0daa9a Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen 9e6062f21c Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Matthew Chen 9275c67818 Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
2018-04-18 15:32:01 -04:00
Michael Kirk dfb2a034af Use explicit transactions.
- Start expiration within scope of existing transaction when we're
  already in a transaction

// FREEBIE
2018-04-18 15:32:01 -04:00
Matthew Chen 829cfd0428 Reduce oversize text size. 2018-04-11 17:57:53 -04:00
Michael Kirk 02efbd3069 Fix blip where thumbnail is initially missing from outgoing message
// FREEBIE
2018-04-09 12:47:57 -04:00
Michael Kirk 4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk fa2e1ba89b Fetch thumbnail when not available locally
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 42f454b075 Generate thumbnail when quoted attachment is available locally
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 253435b27f extract QuotedReplyDraft model 2018-04-09 12:47:56 -04:00
Michael Kirk 0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 53af41fcc6 Reusable UploadOperation based on extracted OWSOperation
// FREEBIE
2018-04-09 12:47:56 -04:00
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
2018-04-02 16:17:46 -04:00
Matthew Chen b067d81017 Don't log message send errors. 2018-03-22 15:47:57 -04:00
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen 2395dbf66b Fix redundant sync sends. 2018-03-02 15:05:14 -05:00
Matthew Chen c2f092018c Elaborate request factory. 2018-03-02 15:05:14 -05:00
Matthew Chen 004479a2ce Elaborate request factory. 2018-03-02 15:05:14 -05:00
Matthew Chen b9458fffef Respond to CR. 2018-03-02 10:53:22 -05:00
Matthew Chen dcf7f550ae Fix redundant sync sends. 2018-03-01 23:37:03 -05:00
Matthew Chen b07f466e08 Fix redundant sync sends. 2018-03-01 23:34:31 -05:00
Matthew Chen 8576da791c Improve handling of attachments with captions. 2018-02-22 16:03:00 -05:00
Matthew Chen 96b5f22799 Improve handling of attachments with captions. 2018-02-22 16:03:00 -05:00
Matthew Chen 81522e4a23 Respond to CR. 2018-02-14 10:38:08 -05:00
Matthew Chen 01496b2db8 Avoid deadlocks in message sender. 2018-02-14 10:38:08 -05:00
Michael Kirk ea12ed4c23 Fix dynamic type check which was too restrictive
// FREEBIE
2018-02-13 15:54:23 -08:00
Matthew Chen 6b357f9445 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen 43765ef3b5 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen 51cec20c50 Clean up ahead of PR. 2018-02-09 10:31:29 -05:00
Matthew Chen 074046b98e Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 71782e0369 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Michael Kirk 4f8db63fb3 Ensure keyspec is generated before DB is created
// FREEBIE
2018-01-31 18:05:44 -08:00
Matthew Chen 992e926142 Unpack oversize text messages if possible. 2018-01-25 13:26:10 -05:00
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen d81d85c386 Respond to CR. 2018-01-12 10:36:09 -05:00
sdkjfhsdkjhfsdlkjhfsdf 6e2d9c8141 identity change vs. share extension
// FREEBIE
2018-01-02 11:24:36 -06:00
Matthew Chen f9ce34f553 Improve background task logic. 2017-12-19 11:05:17 -05:00
Matthew Chen df8ded90b8 Use background task during attachment downloads. 2017-12-19 11:05:17 -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
Michael Kirk 0138777343 New @available syntax avoids compiler warnings
// FREEBIE
2017-12-04 12:50:28 -05:00