Commit Graph

4973 Commits (f243914fe5aa8f9a2140183b7523e2ce43503ede)

Author SHA1 Message Date
Michael Kirk f243914fe5 NSTemporaryDirectory -> OWSTemporaryDirectory/AccessibleAfterFirstAuth
Remove redundant move - AFNetworking alread moves the CFNetwork tmp file for
us.
7 years ago
Michael Kirk e1e355bfec fixup filebrowser 7 years ago
Michael Kirk 2d3bd87de9 sync translations 7 years ago
Michael Kirk 9f7cdc3f85 "Bump build to 2.30.2.6." 7 years ago
Michael Kirk a065c391d7 "Bump build to 2.30.2.5." 7 years ago
Michael Kirk 6560358375 Fix failed attachment downloads in beta 7 years ago
Michael Kirk dcb65854eb More scaleable across device sizes. 7 years ago
Michael Kirk bdb5bd5596 minimize diff 7 years ago
Michael Kirk 375c8bee04 Use stand accessoryView mechanics 7 years ago
Michael Kirk 5127352f7a update color picker cell per design 7 years ago
Michael Kirk bbbc5bbb83 update copy per myles 7 years ago
Michael Kirk 7805e00441 work around multiple review's appearing 7 years ago
Michael Kirk 006021ea41 Fix: group color change doesn't immediately apply
Because we were fetching a new thread instance, instead of updating the
existing thread instance, classes which were bound to the old thread instance
weren't updating. This affected the HeaderView.AvatarView.thread and the
ConversationStyle.thread.
7 years ago
Matthew Chen 5fc21bce96 "Bump build to 2.30.2.4." 7 years ago
Matthew Chen 9474a1bfcb Fix "broken settings button layout in iOS 9" issue. 7 years ago
Matthew Chen 908d6dfd78 Ensure unread badges in home view are always at least a circle. 7 years ago
Matthew Chen b07de266c6 "Bump build to 2.30.2.3." 7 years ago
Michael Kirk 56387f3574 demo conversation colors when selecting 7 years ago
Michael Kirk 06eae47e09 ConversationViewItem -> protocol 7 years ago
Matthew Chen f56ac96d31 "Bump build to 2.30.2.2." 7 years ago
Matthew Chen ebae75af00 Revert 'new sort id'. 7 years ago
Matthew Chen 673dae83d9 Bump build to 2.30.2.1. 7 years ago
Matthew Chen 69b805c390 "Bump build to 2.30.1.1." 7 years ago
Matthew Chen b076f14964 Swift exit(). 7 years ago
Matthew Chen 1e82caed03 Remove dark theme feature flag. 7 years ago
Matthew Chen 99766fe07b Update l10n strings. 7 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
7 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.
7 years ago
Michael Kirk 79add78d51 Merge branch 'release/2.30.1' 7 years ago
Matthew Chen 2ef878bfc9 Add crash gesture to about view. 7 years ago
Matthew Chen 5a99cd347f Pull out OWSConversationColor to its own file. 7 years ago
Matthew Chen 0e5f42defe Use new asset for default contact avatars. 7 years ago
Matthew Chen 1c1d305a71 Respond to CR. 7 years ago
Matthew Chen 27488f078a Replace old "default profile avatar" icon with default avatar for local user. 7 years ago
Matthew Chen b5c5d1c3ef Use local avatar as app settings button. 7 years ago
Matthew Chen cbaf40d4ce Respond to CR. 7 years ago
Matthew Chen d161e5ff3d Add inner shadows to media thumbnails. 7 years ago
Matthew Chen 6715e3d1ad Respond to CR. 7 years ago
Matthew Chen b20cd57383 Rename OWSConversationColor. 7 years ago
Matthew Chen b3ad6e27dc Rework conversation message bubble colors; add "conversation colors" class. 7 years ago
Matthew Chen 26a2d568de Add "conversation color mode" enum. 7 years ago
Matthew Chen e5150267c2 Rework the conversation color constants. 7 years ago
Matthew Chen da63731447 Respond to CR. 7 years ago
Matthew Chen 8db4595bdc Rework group avatars to reflect conversation colors. 7 years ago
Matthew Chen 25d56b30c1 Rework group avatars to reflect conversation colors. 7 years ago
Michael Kirk c21020d7e7 Use received date for footer-collapse supression 7 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
7 years ago
Michael Kirk 3240e0d9d0 Be explicit about receivedAt time
We were often using `timestampForLegacySorting`, which is convoluted for when
we actually just want received time.

In some sense this is a superficial change, but it's part of auditing that
we've completed moved away from timestampForLegacySorting.
7 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
7 years ago
Michael Kirk 1459fad01a sort media gallery by sortId 7 years ago