Matthew Chen
a477e01a4a
Apply LinkPreview model.
6 years ago
Michael Kirk
5671fd2520
Revert "Revert 'new sort id'."
...
This reverts commit ebae75af00
.
6 years ago
Matthew Chen
a98c82645c
Start work on typing indicators.
...
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
7 years ago
Michael Kirk
3560f3be5c
Durable send operation
...
TODO
-[x] respect order of queue
-[x] replacements
-[x] those w/o completion handler
-[x] basic send+log operation persists
-[x] send+ui completion
-[x] share extension
-[x] update state jobs
-[x] App Lifecyle
-[x] settable
-[x] Mark as ready on startup
-[x] Fail appropriate jobs on startup
NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
-[x] retry failed jobs on startup?
-[ ] reachability
DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
7 years ago
Matthew Chen
86e22edcb1
Send "sent message transcript" sync messages at the _end_ of a send, not after the first recipient is sent.
7 years ago
Matthew Chen
7e7fcc1698
Apply UD status from transcripts.
7 years ago
Matthew Chen
a6eed30127
Add 'is ud' property to outgoing messages.
7 years ago
Matthew Chen
ebae75af00
Revert 'new sort id'.
7 years ago
Michael Kirk
df61316495
minimize diff senderTimestamp -> timestamp
7 years ago
Michael Kirk
eef1368ad3
Timestamp audit step1: change signature
...
There is no change in functionality in this commit.
Apart from clarifying what the timestamp means (it's the timestamp of the
*sender*), this intentionally breaks all the call sites, so I could have a sane
way to thoroughly audit wherever we're passing in timestamps, to see where
we're depending on them to affect sort order.
For the sake of a cleaner diff of meaningful changes, instead of "fixing"
everything in this commit, I've just added comments and renamed signatures.
7 years ago
Matthew Chen
fac7f6932f
Rename TSGroupMetaMessage enum values.
7 years ago
Matthew Chen
8d814a5210
Code generate Swift wrappers for protocol buffers.
7 years ago
Matthew Chen
ab31e5a07f
Code generate Swift wrappers for protocol buffers.
7 years ago
Michael Kirk
0cf751d34f
Newly added group members should have expire time
...
Send expire timer with group info updates and in group updates that add a user.
7 years ago
Michael Kirk
7df158120b
Fix build warnings: mark initWithCoder as designated.
...
// FREEBIE
7 years ago
Matthew Chen
1343e4bc19
Preserve legacy outgoing message state; special case contact thread messages.
7 years ago
Michael Kirk
d3cda951ef
Fix/Simplify outgoing attachment proto building
...
// FREEBIE
7 years ago
Matthew Chen
0316a98eb8
Undo renaming of contactShare property of TSMessage.
7 years ago
Matthew Chen
0d8cfc5403
Rename contact share class to contact.
7 years ago
Matthew Chen
7490a55f61
Sketch out "contact share" model.
7 years ago
Matthew Chen
4b8a2fa8a3
Sketch out "contact share" model.
7 years ago
Matthew Chen
bb96454070
More outgoing message fixes.
7 years ago
Matthew Chen
204d379603
Respond to CR.
7 years ago
Matthew Chen
4de4a4b229
Respond to CR.
7 years ago
Matthew Chen
6486b99415
Clean up ahead of PR.
7 years ago
Matthew Chen
9e6062f21c
Rework outgoing message state.
7 years ago
Matthew Chen
9275c67818
Rework outgoing message state.
7 years ago
Michael Kirk
eec7678979
Group's meta message defaults to "Delivery"
...
// FREEBIE
7 years ago
Michael Kirk
253435b27f
extract QuotedReplyDraft model
7 years ago
Michael Kirk
0b8b3b4f16
WIP: towards avatar attachment streams
...
// FREEBIE
7 years ago
Matthew Chen
9085609087
Fix interaction initializers and tests.
7 years ago
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.
7 years ago
Michael Kirk
e20f44024c
WIP: Support sending attachment captions
...
Looks fine on other clients, but locally we don't display the caption.
// FREEBIE
8 years ago
Matthew Chen
2f84e0c426
Fix calling; be explicit about which messages should be saved.
8 years ago
Matthew Chen
00feb14b10
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
c6160a5a1e
Rework the "update with..." methods to avoid re-saving deleted models.
8 years ago
Matthew Chen
fce52841f9
Don't resurrect zombies.
8 years ago
Matthew Chen
9b5affb390
Send silent messages where appropriate.
...
// FREEBIE
8 years ago
Matthew Chen
d557817bb4
Format message statuses with date if possible.
...
// FREEBIE
8 years ago
Matthew Chen
a4d285f50d
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
aa7329013d
Handle new-style delivery receipts.
...
// FREEBIE
8 years ago
Matthew Chen
25c40ea3cf
Handle new-style delivery receipts.
...
// FREEBIE
8 years ago
Matthew Chen
9f9ac746d1
Sketch out message metadata view.
...
* Show message metadata view from conversation view.
* Pull out MediaMessageView class.
* Track recipient read timestamps.
* Add per-recipient status to message metadata view.
* Add share button to message metadata view.
// FREEBIE
8 years ago
Matthew Chen
b74da07f7e
Respond to CR.
...
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen
6fce2c26b7
Process messages in a single transaction (wherever possible).
...
// FREEBIE
8 years ago
Matthew Chen
05b1818874
Don't "scroll to bottom" when messages are sent from desktop.
...
// FREEBIE
8 years ago
Matthew Chen
83e2fbe28c
Rework where profile key is attached in photos.
...
// FREEBIE
8 years ago
Matthew Chen
aa6312b586
DRY up and refine the logic to attach the local profile key to outgoing messages.
...
// FREEBIE
8 years ago
Michael Kirk
ccb4a88742
Import SSK (and history) into Signal-iOS
...
git remote add ssk ../SignalServiceKit
git remote update
git merge -s ours --allow-unrelated-histories --no-commit ssk/master
git read-tree --prefix=SignalServiceKit -u ssk/master
git commit
8 years ago