Commit Graph

364 Commits (feac8d264429f4f3e4467c212c7998321cd24e84)

Author SHA1 Message Date
Matthew Chen 9ab8bec2b1 Fix searching for 'note to self'. 6 years ago
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 35b6f6cf12 Respond to CR. 6 years ago
Matthew Chen db8bc58b6d Implement crop. 6 years ago
Matthew Chen bd40aacd53 Purge dynamic interactions from database. 6 years ago
Matthew Chen 639dac4e26 Add stroke drawing to the image editor. 6 years ago
Michael Kirk fd6a56b3af format bench in ms 6 years ago
Michael Kirk 6232b1ef67 CR: add debug asserts 6 years ago
Michael Kirk 81bc357bbb more robust handling of unsaved outgoing messages 6 years ago
Michael Kirk 668cc22af3 Perf: Insert outgoing message into conversation before save completes.
This was a huge savings - e.g. 50-70% of the time between tapping send and
rendering the message takes place in the save/postWriteTransaction blocks
6 years ago
Michael Kirk 67cc1027cc Fix compiler warnings 6 years ago
Michael Kirk ac2c9cc521 Benchmark Events by ID 6 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 6 years ago
Matthew Chen fea40d571c Move contact offers to Conversation view model. 6 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 6 years ago
Michael Kirk 1a5c47df2f Fix SAE, limit max attachments 6 years ago
Matthew Chen aeadea67e2 Send multiple attachments from the share extension. 7 years ago
Matthew Chen 7f89c90f16 Fix bug when sending non-body attachments (e.g. group avatars). 7 years ago
Matthew Chen 0e749d5521 Fix build break. 7 years ago
Matthew Chen 49c8e6db7d Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 4b213df950 Fix race in ProximityMonitoringManager. 7 years ago
Michael Kirk 0d7e94f2f6 Fix: Voice Messages don't restore audio to speaker when held up to the ear past
the voice notes duration.

Specifically:

- start a voice note
- hold to ear until complete
- remove from ear
- start another voice note (or the same one) with the phone away from your ear

You'd expect audio to play through the external speaker, but instead it comes
through the earpiece.

Based on the added logging, this seems to be an apple bug.
7 years ago
Michael Kirk 27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
7 years ago
Matthew Chen 60c5a84dd2 Fix issues in media gallery cells; Improve debug galleries. 7 years ago
Matthew Chen c7d427029b Respond to CR. 7 years ago
Matthew Chen f6591fac25 Add debug UI for multi-image sends. 7 years ago
Matthew Chen d04f1e6e36 Add debug UI for multi-image sends. 7 years ago
Michael Kirk 85a4fc7b66 restore calling banner
The `statusBarDidChange` is called when entering but not leaving landscape mode
we we've got to update manually before showing the call banner.
7 years ago
Michael Kirk 19f2d0db48 WIP: Media Landscape Mode 7 years ago
Matthew Chen 40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 7 years ago
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 7 years ago
Michael Kirk 6968dbab17 Update UIDevice on main thread 7 years ago
Michael Kirk 5632bd2d83 Use reference counting to disable proximity monitoring after audio message
Multiple overlapping activities require proximity monitoring (namely,
CallViewController and listening to audio messages).

These activities can overlap arbitrarily, so we use a reference counting
strategy to keep proximity monitoring on as long as one of these activities is
active.
7 years ago
Matthew Chen 408008d3e7 Use different contact avatar assets depending on size of output. 7 years ago
Matthew Chen 4ea6d72008 Improve default avatar quality. 7 years ago
Matthew Chen 5b339a642b Respond to CR. 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 28f37a7a34 Update contacts cells' dependencies. 7 years ago
Michael Kirk ce9ca1bdaa audio player type 7 years ago
Michael Kirk 3b4188f34b hoist audio session singleton to Environment 7 years ago
Michael Kirk 3d022adf4e WIP: audio activities 7 years ago
Matthew Chen 275414cbda Respond to CR. 7 years ago
Matthew Chen 7c1f1882d8 Sync "show UD indicators" setting. 7 years ago
Matthew Chen 603e3bf0b6 Move SM singletons to Environment. 7 years ago
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 7 years ago
Michael Kirk d5f69e4bba feature flag for group avatar color 7 years ago
Michael Kirk 1544f8db46 Optionally show UD status in message details 7 years ago
Matthew Chen 17541a8888 Change conversation bubble colors. 7 years ago