Commit graph

144 commits

Author SHA1 Message Date
Michael Kirk 52aa8a3744 require explicit avatar diameter
This will help us get crisper text in our generated avatars.

// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk 19d74d91e0 Build higher res avatar for call screen
Initials avatar looks blurry on call screen

// FREEBIE
2017-05-30 13:07:34 -07:00
Matthew Chen 8a6ca8c012 Fix glitch around downloading attachments.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen 02df277d19 Respond to CR.
* Add [TSInteraction compareForSorting].
* Add a separate database view for safety number changes.

// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen 7afcad81c6 Fix data type issue around losing millisecond precision in message expiration times.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen 19390abc41 Refine the unseen indicators.
* Fix sizing of the unread indicator cells.
* Fix conflicts between paging and “load window” of conversation view and unseen indicator.
* Modify unseen indicator to indicate whether there are more unseen messages and safety number changes.
* Fix conflicts between modifying the “load window” size and updating the dynamic interactions.
* Clear the “bubble size calculator” cache whenever the view changes size.
* Improve the scrolling behavior around “load more messages”.
* Improve management of “load window” size.
* Fix issues around caching of bubble sizes.

// FREEBIE
2017-05-30 10:05:22 -04:00
Matthew Chen bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen 1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
2017-05-26 11:19:45 -04:00
Matthew Chen 78f443374f Respond to CR.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen 964e6f1adf Improve asserts and logging in attachment adapters.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen b1f7cf0d62 Cache image size and audio duration on attachments.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen 632cb78751 Respond to CR.
// FREEBIE
2017-05-23 22:08:22 -04:00
Matthew Chen db097ab8de Fix caching of message bubble sizes.
// FREEBIE
2017-05-23 13:24:10 -04:00
Matthew Chen 7db19df742 Respond to CR.
// FREEBIE
2017-05-19 17:33:24 -04:00
Matthew Chen c70487be80 Respond to CR.
// FREEBIE
2017-05-19 17:21:31 -04:00
Matthew Chen db07ea8a8e Persist attachment file paths.
// FREEBIE
2017-05-19 17:21:31 -04:00
Matthew Chen ac458cc7ad Add unread indicator.
// FREEBIE
2017-05-19 14:30:27 -04:00
Matthew Chen ebf500d805 Respond to CR.
// FREEBIE
2017-05-19 14:10:12 -04:00
Matthew Chen 6704396998 Lazy load attachments in messages view, etc.
// FREEBIE
2017-05-19 13:27:31 -04:00
Matthew Chen 00d972db48 Rework appearance of audio and generic attachment messages.
// FREEBIE
2017-05-12 16:39:39 -04:00
Matthew Chen b8b2ae10a2 Rework appearance of generic attachment messages.
// FREEBIE
2017-05-12 16:39:39 -04:00
Matthew Chen 2c31a0bdb5 Rework appearance of audio messages.
// FREEBIE
2017-05-12 16:39:39 -04:00
Matthew Chen 02843958f7 Rework appearance of audio messages.
// FREEBIE
2017-05-12 15:42:32 -04:00
Matthew Chen bcc7007812 Respond to CR.
// FREEBIE
2017-05-12 15:39:57 -04:00
Matthew Chen e1fba208ae Align photo and audio bubble widths.
// FREEBIE
2017-05-12 15:30:51 -04:00
Matthew Chen 3e8b4225b3 Show alert when user tries to play an invalid audio file.
// FREEBIE
2017-05-12 10:39:40 -04:00
Matthew Chen 1b99fd1df4 Respond to CR.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen 46b6a59d6d Clean up ahead of PR.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen a15d11c3e6 Rework appearance of voice messages and audio attachments.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen ea34cec0d9 Clean up ahead of PR.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen 96e155c75e Rework appearance of voice messages and audio attachments.
// FREEBIE
2017-05-12 09:46:54 -04:00
Michael Kirk d3a96725a1 fix block scoping. I'm not even sure how this compiled before.
// FREEBIE
2017-05-10 17:04:43 -04:00
Michael Kirk 755d5dc4e6 resolve push-token changes from RI of hotfix/2.11.4
// FREEBIE
2017-05-10 17:02:58 -04:00
Michael Kirk 929ba06263 Merge branch 'hotfix/2.11.4' into mkirk/fix-push-sync-job 2017-05-10 16:56:41 -04:00
Matthew Chen 2cffe78c22 Sync push tokens to service after every app upgrade.
// FREEBIE
2017-05-09 15:58:40 -04:00
Matthew Chen 0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
2017-05-09 11:29:33 -04:00
Matthew Chen 73db16e068 Improve logging around push token sync.
// FREEBIE
2017-05-09 11:24:09 -04:00
Matthew Chen 2f3831e04b Respond to CR.
// FREEBIE
2017-05-09 10:45:20 -04:00
Matthew Chen dd3d63623a Pull logging into SyncPushTokensJob.
// FREEBIE
2017-05-09 10:11:19 -04:00
Matthew Chen 716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
2017-05-09 10:04:48 -04:00
Matthew Chen ad3a1a671a Merge remote-tracking branch 'origin/hotfix/2.11.3' 2017-05-08 16:47:20 -04:00
Matthew Chen 34a7f9cba5 Respond to CR.
// FREEBIE
2017-05-08 14:24:32 -04:00
Matthew Chen 7f92b5a96b Respond to CR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Michael Kirk d7c7fff679 Fix some compiler warnings
* explicit optional usage in strings
* remove some unused StringUtil code
* swiftlint affected files
* more concise optional casting (and avoid a `!`)

Compiler warnings: 343 -> 318

(Actually most of these are in external libs, but 115 remain in Signal/SSK)

// FREEBIE
2017-05-05 14:26:29 -04:00
Michael Kirk 2ec893d315 Ensure we're retaining all promises to completion
// FREEBIE
2017-05-04 15:15:14 -04:00
Matthew Chen 33415eaa0f Respond to CR.
// FREEBIE
2017-05-03 17:05:27 -04:00
Matthew Chen ae7934c117 Update appearance of audio and generic attachment adapters.
// FREEBIE
2017-05-03 17:05:27 -04:00
Matthew Chen 800715a5e0 Remove waveform from audio message bubbles.
// FREEBIE
2017-05-03 17:05:27 -04:00
Michael Kirk adbc6eb71a style cleanup
// FREEBIE
2017-04-27 15:21:49 -04:00
Michael Kirk 4d5d808675 Ensure push token update job runs to completion
Promises must be retained.

// FREEBIE
2017-04-27 15:21:49 -04:00