Matthew Chen
4ad7ca79b7
Respond to CR.
2018-09-18 16:44:33 -04:00
Matthew Chen
b883209f91
Refine logging.
2018-09-18 16:35:12 -04:00
Michael Kirk
920a82564f
Merge tag '2.29.3.3'
2018-09-15 09:17:08 -05:00
Michael Kirk
b282d51da0
SyncMessages for blocked groups
2018-09-12 19:16:14 -05:00
Matthew Chen
3a12446be8
Modify environment accessors to use our 'shared' convention.
2018-09-07 16:20:41 -04:00
Matthew Chen
bd05cdc031
Rename TextSecureKitEnv to SSKEnvironment.
2018-09-07 16:19:00 -04:00
Michael Kirk
c7662b5a86
Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
...
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
fac7f6932f
Rename TSGroupMetaMessage enum values.
2018-09-04 09:30:01 -04:00
Matthew Chen
f473f60111
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
cc5a480baa
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c
Rename fail macros in Obj-C.
2018-08-27 10:29:51 -04:00
Matthew Chen
52be2127ff
Sync conversation colors.
2018-08-16 15:21:39 -04:00
Matthew Chen
e5eda8b45d
Add convenience initializers to proto wrappers.
2018-08-08 13:08:47 -04:00
Matthew Chen
21523ac522
Respond to CR.
2018-08-07 15:29:21 -04:00
Matthew Chen
a5ffbdebb3
Remove Obj-c proto parser.
2018-08-07 15:10:48 -04:00
Matthew Chen
eaf59b122d
Migrate to provisioning proto wrappers.
2018-08-07 13:20:22 -04:00
Matthew Chen
d709a02493
Clean up formatting.
2018-08-06 09:02:40 -04:00
Matthew Chen
3f47524373
Respond to CR.
2018-08-03 14:52:55 -04:00
Matthew Chen
03a9b21cfd
Respond to CR.
2018-08-03 14:35:22 -04:00
Matthew Chen
8d814a5210
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
950cab7eb9
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
ff8565dbd5
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
d3adb80242
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
ab31e5a07f
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
d14f764b50
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Michael Kirk
d591fb7f2c
Fix some compiler warnings
2018-07-17 19:22:58 -06:00
Michael Kirk
f0175c0b6f
feature gate color syncing
...
// FREEBIE
2018-07-10 13:25:38 -06:00
Michael Kirk
a66c88e3cf
Fix getter for contact threads, remove sneaky read transaction for DM config.
2018-07-10 13:25:38 -06:00
Michael Kirk
d53f583e45
sync colors with group
2018-07-10 13:25:38 -06:00
Michael Kirk
4d3d5d98e1
Sync colors with contacts
2018-07-10 13:25:38 -06:00
Matthew Chen
08ca4fdb50
Lazy-load contact avatar data and images. Use NSCache for avatar images.
2018-06-20 17:55:14 -04:00
Michael Kirk
95b1dced18
add: messages in Book Club will disappear in 1 minute
...
Show different message when joining group with disappearing messages
2018-06-14 15:20:45 -04:00
Michael Kirk
74b741e9de
Update timer
...
// FREEBIE
2018-06-14 15:18:42 -04:00
Michael Kirk
7df158120b
Fix build warnings: mark initWithCoder as designated.
...
// FREEBIE
2018-06-11 09:56:14 -04:00
Matthew Chen
3cd6a33aa6
Fix build warnings.
2018-06-01 12:39:13 -04:00
Michael Kirk
a10ae1835e
respond to code review
...
// FREEBIE
2018-05-07 12:51:55 -04:00
Matthew Chen
8e84f89239
Respond to CR.
2018-05-04 09:38:37 -04:00
Michael Kirk
d67a3b4167
WORKS GREAT
...
// FREEBIE
2018-05-01 18:54:14 -04:00
Matthew Chen
0316a98eb8
Undo renaming of contactShare property of TSMessage.
2018-05-01 11:26:01 -04:00
Matthew Chen
0d8cfc5403
Rename contact share class to contact.
2018-05-01 11:03:25 -04:00
Matthew Chen
4b8a2fa8a3
Sketch out "contact share" model.
2018-05-01 11:03:25 -04:00
Matthew Chen
7912598ccb
Merge branch 'release/2.24.0'
2018-04-21 14:27:27 -04:00
Michael Kirk
eec7678979
Group's meta message defaults to "Delivery"
...
// FREEBIE
2018-04-19 14:57:42 -04:00
Michael Kirk
c88ce07f66
CR: Clean up comments, use property setter instead of ivar
...
// FREEBIE
2018-04-18 15:32:01 -04:00
Michael Kirk
a9e7c5e879
Cleanup: simplify migration, remove unused code
...
// FREEBIE
2018-04-18 15:32:01 -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
Michael Kirk
88d6a83954
Add assertion canary so we know to re-test syncing once desktop
...
supports sending quoted replies
// FREEBIE
2018-04-09 12:47:57 -04:00
Michael Kirk
f1714bf252
Handle synced quotes
...
// 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
0b8b3b4f16
WIP: towards avatar attachment streams
...
// 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
db430d6aa7
Revert unwanted changes.
2018-03-06 17:12:13 -03:00
Matthew Chen
d6f4db1523
Rename TSStorageManager to OWSPrimaryStorage.
2018-03-06 17:12:13 -03:00
Matthew Chen
59c745756a
Clean up codebase.
2018-03-02 15:05:14 -05:00
Matthew Chen
b07f466e08
Fix redundant sync sends.
2018-03-01 23:34:31 -05:00
Matthew Chen
71972ebe2f
Be more explicit about expire timer.
2018-03-01 13:41:15 -05:00
Michael Kirk
28c30bbe5c
Be explicit when disappearing messages are disabled
...
// FREEBIE
2018-02-28 20:04:25 -05:00
Michael Kirk
b48452a747
Fix group-sync disabling disappearing timer
...
Must add properties *before* build
// FREEBIE
2018-02-28 16:27:25 -05:00
Michael Kirk
4d0362f9a6
Don't create redundant caption for sync'd transcripts.
...
Note: For test devices running HEAD, there may have already been some
redundant captions created for sync'd transcripts.
However the existing `TSMessage#initWithCoder:` migration will address
this for our production users, so I'm not going to bother with a second
migration just for our test devices.
// FREEBIE
2018-02-14 09:03:55 -08: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
43ed8d9a5d
Send "disappearing messages" state for groups.
2018-02-02 10:42:56 -05:00
Matthew Chen
b16a65a4cd
Sync block state for contacts.
2018-02-02 10:42:56 -05:00
Matthew Chen
742d4cabc2
Send "disappearing messages" state for contacts.
2018-02-02 10:42:56 -05:00
Matthew Chen
fec2410ac2
Respond to CR.
2018-01-12 10:36:09 -05:00
Matthew Chen
3f2bee8383
Respond to CR.
2018-01-12 10:36:09 -05:00
Matthew Chen
d81d85c386
Respond to CR.
2018-01-12 10:36:09 -05:00
Matthew Chen
c308e25115
Skip redundant sync messages.
2018-01-12 10:36:09 -05:00
Matthew Chen
a2b67a17fd
Skip redundant sync messages.
2018-01-12 10:36:09 -05:00
Matthew Chen
41e6eaeafc
Skip redundant sync messages.
2018-01-12 10:36:09 -05:00
Matthew Chen
d52eba739d
Clean up TSStorageManager usage.
2017-12-19 11:41:31 -05:00
Michael Kirk
a11d83187b
WIP: Framework-friendly - compiles but crashes on launch
...
// FREEBIE
2017-11-29 13:58:27 -08: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
2f84e0c426
Fix calling; be explicit about which messages should be saved.
2017-11-15 20:52:07 -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
bac3bd4b68
Respond to CR.
...
// FREEBIE
2017-11-10 12:57:53 -05:00
Matthew Chen
518f15155a
Respond to CR.
...
// FREEBIE
2017-11-10 12:57:16 -05:00
Matthew Chen
efcd42012c
Respond to CR.
...
// FREEBIE
2017-11-10 12:57:16 -05:00
Matthew Chen
6e840ff956
Fix build warnings from XCode 9.
2017-11-09 02:52:44 -05: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
Matthew Chen
1df1144e43
Respond to CR.
...
// FREEBIE
2017-09-28 09:18:38 -04:00
Matthew Chen
33376f66d2
Simplify processing of messages from linked devices.
...
// FREEBIE
2017-09-27 20:41:12 -04:00
Matthew Chen
9b5affb390
Send silent messages where appropriate.
...
// FREEBIE
2017-09-27 17:13:29 -04:00
Matthew Chen
ee13084d5c
Respond to CR.
...
// FREEBIE
2017-09-27 14:05:21 -04:00
Matthew Chen
ffe44e68be
Refactor linked device read receipts.
...
// FREEBIE
2017-09-27 13:17:43 -04:00
Michael Kirk
ce2a4422e3
fix desktop linking for some users
...
// FREEBIE
2017-09-25 17:00:50 -04:00
Matthew Chen
b74da07f7e
Respond to CR.
...
// FREEBIE
2017-09-22 15:15:04 -04:00
Matthew Chen
11cadf4200
Send, receive & show read receipts to senders/from receivers.
...
* Send read receipts to senders.
* Honor "send read receipts" preference.
* Process read receipts from recipients.
* Refactor "mark as read" logic.
* Serialize and apply recipient read receipts received before sync transcript.
* Show recipient read receipts in conversation view.
// FREEBIE
2017-09-22 14:24:17 -04:00
Matthew Chen
7268bde506
Add stress group to debug UI.
...
// FREEBIE
2017-09-22 10:30:35 -04:00
Matthew Chen
bfb03c0db4
Fix message processing edge cases.
...
// FREEBIE
2017-09-21 17:06:08 -04:00
Matthew Chen
35a2470cb7
Post notifications asynchronously.
...
// FREEBIE
2017-09-21 17:03:57 -04:00
Matthew Chen
1c8dbcd223
Respond to CR.
...
// FREEBIE
2017-09-21 16:58:07 -04:00
Matthew Chen
3eaeb4e0ec
Add read receipts manager.
...
* Simplify read receipts plumbing.
* Rework incoming read receipts handling.
* Rework outgoing read receipts handling.
* Make "database view registration complete" check thread-safe.
* Don't send sync messages to self if no linked devices.
// FREEBIE
2017-09-21 16:23:03 -04:00
Matthew Chen
f1b7d895e2
Modify precommit script to clean up includes and forward declarations.
...
// FREEBIE
2017-09-20 15:33:17 -04:00
Matthew Chen
993df25f3f
Respond to CR.
...
// FREEBIE
2017-09-20 11:48:37 -04:00
Matthew Chen
fa353259c3
Process messages in a single transaction (wherever possible).
...
// FREEBIE
2017-09-20 10:56:04 -04:00