Commit Graph

859 Commits (5da4f7bb572a553047ab8b8bfac9c3661a8c425b)

Author SHA1 Message Date
Matthew Chen 7fd15d2fd9 Add server certificate methods to UD manager. 6 years ago
Matthew Chen 71da312336 Post-SMK ud changes. 6 years ago
Matthew Chen 24d7a97616 Fix rebase breakage. 6 years ago
Matthew Chen 3738155c81 Fix build breakage from SMK. 6 years ago
Matthew Chen 8ae200ac21 Fix build breakage around SignalCoreKit. 6 years ago
Matthew Chen 0125535d4d Pull out SignalCoreKit. 6 years ago
Michael Kirk 06eae47e09 ConversationViewItem -> protocol 6 years ago
Matthew Chen ebae75af00 Revert 'new sort id'. 6 years ago
Matthew Chen b076f14964 Swift exit(). 6 years ago
Matthew Chen 1e82caed03 Remove dark theme feature flag. 6 years ago
Matthew Chen fbeb07d2e4 Fix build break. 6 years ago
Michael Kirk acd042c35a Sort conversation colors 6 years ago
Michael Kirk 4765ed9a06 Color picker
TODO

-[x] tap to select/deselect
-[x] initially selected
-[x] integrate into conversation settings
-[x] colorPickerDelegate
-[x] translate strings
-[] reorder colors
-[x] SheetView: add top handle

Nice to have:

-[] SheetView: interactively swipe/unswipe to dismiss?
-[] preview color in bubbles
6 years ago
Michael Kirk 95a6df6496 Generic SheetViewController 6 years ago
Joshua Lund 97d0543cef String cleanup:
* Made our Title Case usage a little more consistent.
* Standardized on the ellipses special character.
* Rephrased a few buttons and descriptions.
6 years ago
Michael Kirk 79add78d51 Merge branch 'release/2.30.1' 6 years ago
Michael Kirk 3518d37c3e use autorelease pool in migration to avoid accumulating memory 6 years ago
Matthew Chen 2b75c4034d Pull out OWSConversationColor to its own file. 6 years ago
Matthew Chen 5a99cd347f Pull out OWSConversationColor to its own file. 6 years ago
Matthew Chen 43dc362fc7 Fix secondary color within message bubbles. 6 years ago
Matthew Chen 0e5f42defe Use new asset for default contact avatars. 6 years ago
Matthew Chen 857cdf4368 Map the legacy conversation color names. 6 years ago
Matthew Chen ec0206ff01 Adapt text size of default avatars to avatar size. 6 years ago
Matthew Chen 6d14a1b472 Local profile default avatars should use steel background. 6 years ago
Matthew Chen 27488f078a Replace old "default profile avatar" icon with default avatar for local user. 6 years ago
Matthew Chen e4ab360716 Respond to CR. 6 years ago
Matthew Chen 547724b5cf Add inner shadows to profile pics. 6 years ago
Matthew Chen 352777765e Add inner shadows to profile pics. 6 years ago
Matthew Chen ff6feafe8c Update text colors. 6 years ago
Matthew Chen 6715e3d1ad Respond to CR. 6 years ago
Matthew Chen b20cd57383 Rename OWSConversationColor. 6 years ago
Matthew Chen 3adc03fa2c Rework conversation message bubble colors; add "conversation colors" class. 6 years ago
Matthew Chen b3ad6e27dc Rework conversation message bubble colors; add "conversation colors" class. 6 years ago
Matthew Chen 26a2d568de Add "conversation color mode" enum. 6 years ago
Matthew Chen e5150267c2 Rework the conversation color constants. 6 years ago
Matthew Chen da63731447 Respond to CR. 6 years ago
Matthew Chen 8db4595bdc Rework group avatars to reflect conversation colors. 6 years ago
Matthew Chen 1c920c6be6 Rework group avatars to reflect conversation colors. 6 years ago
Matthew Chen 25d56b30c1 Rework group avatars to reflect conversation colors. 6 years ago
Matthew Chen 2f9eae5caf Respond to CR. 6 years ago
Michael Kirk 04a52980a3 fixup migration
- nested transaction for enumeration
- save when complete
6 years ago
Michael Kirk fe7d69e9c6 Update thread's sorting order based on whatever the currently last message is 6 years ago
Michael Kirk c2f87c738a trivial replace of timestampForSorting -> sortId in some logging 6 years ago
Michael Kirk 6f8eddc955 unread indicator uses sortId
- removed timestamp parameter. This wasn't totally obvious, previously we were tracking two pieces of state

1. `unreadIndicator.firstUnseenTimestamp`:
    the first unseen timestamp for a conversation that exists in the database
2. `unreadIndicator.timestamp`:
    the timestamp of the first interaction *after* the unread indicator that fits in the loading window

We don't actually need to track `2` because it was only used in a comparison like:

   viewItem.interaction.timestampForSorting >= unreadIndicator.timestamp

But by definition, unreadIndicator.firstUnseenTimestamp is always less than or
equal to unreadIndicator.timestamp. Put into terms of the `sortId` corallary,
the sortId of the first unseen interaction in the database is always less than
or equal to the sortId of the first unseen interaction that fits in the loading
window.

In other words, there's no situation where

   viewItem.interaction.sortId >= unreadIndicator.firstUnseenSortId
6 years ago
Michael Kirk 2eb3ec6d0c benchmark migration 6 years ago
Michael Kirk b281b37637 replace thread.lastMessageDate/archivalDate -> thread.lastSortId, thread.archivedAsOfSortId
Update migration accordingly

Date shown on home view cell is message.receivedAt
6 years ago
Michael Kirk c27d35f8f2 sort search results by sortId 6 years ago
Michael Kirk ab55e85304 step 1: timestampForSorting audit, change signature
No change in functionality in this commit, I just broke the signature to have a
systematic audit of the callsites. Added TODO's with the plan for each call.
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