Commit graph

59 commits

Author SHA1 Message Date
Michael Kirk 351f9ea263 Simplify attachment processor
We've accepted all attachment types for a long while now.

// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 3252866727 remove unused params
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 3334f2a063 tentative proto changes
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 51a4298c14 WIP: Send attachment info in protobuf (no thumbnails yet)
// 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 2975d4d5d2 Sync with android protos
// FREEBIE
2018-04-05 16:26:18 -04:00
Matthew Chen 9085609087 Fix interaction initializers and tests. 2018-04-05 09:36:52 -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 d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Matthew Chen abfd333a17 Address Indic script crash. 2018-02-16 10:19:47 -05:00
Matthew Chen 8930110efd Fix glitch in batch processing of incoming messages. 2018-02-14 14:56:47 -05:00
Matthew Chen 6f28c75257 Fix glitch in batch processing of incoming messages. 2018-02-14 14:56:47 -05:00
Michael Kirk a23f1b86ef nullability annotations for TSGroupModel
- add readonly where possible
- group members needn't be a mutable array

// FREEBIE
2018-02-13 09:50:01 -08:00
Joshua Lund 2c18a75d12 Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
Matthew Chen 78c4c00eac Respond to CR. 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 122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 799949e546 Refine sync messages. 2018-02-02 10:56:16 -05:00
Matthew Chen eb180ba5c4 Register all database views asynchronously. 2018-01-30 10:30:28 -05:00
Matthew Chen 17907dca10 Clean up ahead of PR. 2018-01-12 10:23:54 -05:00
Matthew Chen 15b8e58324 Retain changes from session database branch. 2018-01-12 10:23:54 -05:00
sdkjfhsdkjhfsdlkjhfsdf 92477c78b7 cleanup before PR 2017-12-20 14:26:53 -06:00
Michael Kirk bce18637f0 render attachments with captions
// FREEBIE
2017-12-20 14:26:53 -06:00
Matthew Chen d52eba739d Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen 137fe6fb8b Pull out OWSStorage base class for TSStorageManager. 2017-12-19 11:16:01 -05:00
Matthew Chen 9da165b846 Continue conversion of app setup. 2017-12-05 11:19:11 -05:00
Matthew Chen 64762eb427 Observe YapDatabaseModifiedExternallyNotification. 2017-11-30 10:28:05 -05:00
Matthew Chen e712e8bfc4 Use AppContext to resolve share extension FIXMEs. 2017-11-30 10:12:24 -05:00
Michael Kirk 7894a58769 FIXME: Changes to get share extension compiling
This was a slash and burn approach, and breaks existing functionality.
We need to address all of these before merging.

// FREEBIE
2017-11-29 13:58:27 -08:00
Matthew Chen 9b197fad03 Fix deadlock when responding to contacts sync messages. 2017-11-21 11:21:08 -05:00
Matthew Chen 21e9f57cbe Imitate Android's behavior of delaying local notifications based on incoming sync messages. 2017-11-16 10:18:02 -05:00
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
2017-11-15 13:21:31 -05:00
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 2017-11-15 07:16:12 -05:00
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Michael Kirk 98fd15fae7 Avoid groupsync deadlock - pass in transaction
// FREEBIE
2017-11-06 13:39:23 -05:00
Matthew Chen 0c46b770e9 Ignore group info requests if sender and recipient aren't both known group members.
// FREEBIE
2017-10-04 10:19:19 -04:00
Matthew Chen 13a6657991 Respond to CR.
// FREEBIE
2017-10-04 10:06:38 -04:00
Matthew Chen 2a5a0929e6 Create & access groups more carefully.
// FREEBIE
2017-10-04 09:45:09 -04:00
Matthew Chen 380ed0f82b Create & access groups more carefully.
// FREEBIE
2017-10-04 09:45:09 -04:00
Matthew Chen a31b1aeea6 Respond to "sync block list" request.
// FREEBIE
2017-10-04 09:23:14 -04:00
Michael Kirk 2125dbe72c CR: Avoid potential transaction nesting
also clean up description method

// FREEBIE
2017-10-03 11:11:15 -04:00
Michael Kirk ab5b090338 Sync read receipt config to linked devices
// FREEBIE
2017-10-02 16:35:53 -04:00
Michael Kirk be197621ac Add read receipts field/configuration protos
Also converge with Android protos where possible

// FREEBIE
2017-10-02 16:03:17 -04:00
Michael Kirk a2421d5b3e Fix "unknown attachment" notifications
The transaction in which the attachments were created hasn't been
committed yet.

// FREEBIE
2017-09-29 15:57:54 -04:00
Matthew Chen 9573e0e16d Move more work off the main thread.
// FREEBIE
2017-09-28 14:30:27 -04:00
Matthew Chen a4d285f50d Respond to CR.
// FREEBIE
2017-09-27 14:19:26 -04:00
Matthew Chen aa7329013d Handle new-style delivery receipts.
// FREEBIE
2017-09-27 14:09:47 -04:00
Matthew Chen 25c40ea3cf Handle new-style delivery receipts.
// FREEBIE
2017-09-27 14:09:47 -04:00