Commit Graph

23 Commits (eb68c19472c1cfd59a1865daf78f8d46e11bda81)

Author SHA1 Message Date
Michael Kirk af7ee5e1d1 address compiler breakage after rebase 6 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Matthew Chen fea40d571c Move contact offers to Conversation view model. 6 years ago
Matthew Chen ebae75af00 Revert 'new sort id'. 6 years ago
Michael Kirk df61316495 minimize diff senderTimestamp -> timestamp 6 years ago
Michael Kirk 00d0d1e002 Remove legacy Error backdating - no changes in functionality
Historically we would backdate the SN change messages, but since adopting
non-blocking SN changes long ago, they're already sorted properly by creation
time, so backdating has been unnecessary for a while.

I also audited that all other error messages are saved directly after creation.

I applied deprecation attributes as appropriate as I audited.
6 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.
6 years ago
Michael Kirk 6c5fbc6de5 Update existing contact offers in place
WIP: migration / autoincrement logic

TODO:

-[x] contact offer
-[ ] verify all paths that utilized timestampForSorting, e.g. make sure SN appear before the message they affect, etc.
-[x] Monotonic ID
-[x] New extension which sorts by id
-[x] Migration
  -[ ] batch migration?

fixup contact offers
6 years ago
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
6 years ago
Matthew Chen ecafe546b6 Rework unread indicators. 6 years ago
Matthew Chen 8d72bb032e Rework unread indicators. 6 years ago
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
6 years ago
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
6 years ago
Michael Kirk 64ff4cd660 tap-to-retry failed thumbnail downloads
// FREEBIE
6 years ago
Matthew Chen fc2704cf88 Label quoted replies to yourself as such. 6 years ago
Matthew Chen f6698501df Revert "Label quoted replies to yourself as such."
This reverts commit 24d7492f61.
6 years ago
Matthew Chen 24d7492f61 Label quoted replies to yourself as such. 6 years ago
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 6 years ago
Michael Kirk 81b2b57703 CR: add comments, make atomic
// FREEBIE
6 years ago
Michael Kirk 90486aa49c Inline method with one caller, fix formatting
// FREEBIE
6 years ago
Michael Kirk c56e8acc51 QuotedReplyModel from SSK->SignalMessaging
// FREEBIE
6 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.
6 years ago
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
7 years ago