Commit Graph

9046 Commits (1b25a18e57a162a97033c27a3d95c69b10efb7db)
 

Author SHA1 Message Date
Michael Kirk df61316495 minimize diff senderTimestamp -> timestamp 7 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.
7 years ago
Michael Kirk 550e7ba63b Create disappearing message update info messages before messages they affect
Since we're no longer sorting by timestamp we have to ensure we save the update
info message before we save any affected message, e.g. in the case of implicit
updates.
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
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
7 years ago
Michael Kirk a60d8eb161 WIP: migration / autoincrement logic
TODO:

-[ ] 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?
7 years ago
Michael Kirk ae668ceca9 include sequence number in fake messages 7 years ago
Michael Kirk 87509df26a Merge branch 'mkirk/fix-release-compile' into release/2.30.1 7 years ago
Matthew Chen 72562920ed Fix author conversation colors. 7 years ago
Michael Kirk bccb633b6c fix release compile 7 years ago
Michael Kirk 4b9d720b9f ignore RI check for unreleased 2.30 tags 7 years ago
Michael Kirk 306c6ade71 "Bump build to 2.30.1.0." 7 years ago
Matthew Chen 4186ce9a72 Respond to CR. 7 years ago
Matthew Chen 7b2dd19fb8 Respond to CR. 7 years ago
Matthew Chen 8910f1f65a Enable conversation colors. 7 years ago
Matthew Chen ae84528dc3 Update avatar colors; add shaded conversation color constants, modify color picker to be color-name-based, not color-based, use shaded conversation colors, remove JSQ. 7 years ago
Matthew Chen c89033591d Merge branch 'charlesmchen/converationColorsMessageStatusLayout' 7 years ago
Matthew Chen a5628c4204 Rework layout of message status in home view. 7 years ago
Matthew Chen f0155c529e Merge branch 'charlesmchen/converationColorsUnreadBadges' 7 years ago
Matthew Chen 0701d2465b Replace shadow with stroke. 7 years ago
Matthew Chen 8106158780 Move unread badge on home view; propose shadow. 7 years ago
Matthew Chen 4b5021d8fd Merge branch 'charlesmchen/darkThemeReminders' 7 years ago
Matthew Chen d13624897d Fix reminder changes in home view. 7 years ago
Matthew Chen 0eb13dd827 Fix nag reminder v. dark theme. 7 years ago
Matthew Chen a02a5160f4 Merge branch 'charlesmchen/offerButtonMargins' 7 years ago
Matthew Chen b30bfec21f Fix contact offer button margins. 7 years ago
Matthew Chen 9c6902d179 Merge branch 'charlesmchen/contactUtils' 7 years ago
Matthew Chen 0b7d269017 Rename DebugContactsUtils. 7 years ago
Matthew Chen bcee59f5e5 Add contact utils class. 7 years ago
Matthew Chen 6a5935c6e8 Merge branch 'charlesmchen/fix-ssk-tests-o' 7 years ago
Matthew Chen be76267105 Update cocoapods. 7 years ago
Matthew Chen 98630cca50 Respond to CR; add db utility methods to test base classes. 7 years ago
Matthew Chen 559c496ae5 Clean up. 7 years ago
Matthew Chen 66fc389fba Get SSK tests building and running. 7 years ago
Matthew Chen c87eea2ab6 Merge branch 'charlesmchen/fix-ssk-tests-n' 7 years ago
Matthew Chen 87836f506b Move more singletons to SSKEnvironment. 7 years ago
Matthew Chen 6e3462c13f Merge branch 'charlesmchen/fixProtoStreamTest' 7 years ago
Matthew Chen b881bb467c Fix proto stream test. 7 years ago
Matthew Chen 52c27005ee Merge branch 'charlesmchen/logCurl' 7 years ago
Matthew Chen 39ebdf0921 Log curl command for failed requests in debug builds. 7 years ago
Matthew Chen 562d516a78 Merge branch 'charlesmchen/newGrayscalePalette' 7 years ago
Matthew Chen 6a712366ae Tweak gray 95. 7 years ago
Matthew Chen 922c505559 Respond to CR. 7 years ago
Matthew Chen ef6689410b Design feedback from Myles. 7 years ago
Matthew Chen 8cf5f3e58f New grayscale palette. 7 years ago
Matthew Chen c7eb80700e Fix memory leak in Curve25519Kit. 7 years ago
Matthew Chen e7b7fb9293 Merge branch 'charlesmchen/corruptThreadView' 7 years ago
Matthew Chen 15b52db8bf Respond to CR. 7 years ago
Matthew Chen 29bb69032a DRY up the debounce of db extension version increment. 7 years ago
Matthew Chen 20de087441 Repair corrupt thread view. 7 years ago