Commit Graph

210 Commits (6ddd9d788e16c6aa0594c383a4eedf891237f42f)

Author SHA1 Message Date
Michael Kirk ff10f52779 remove unneccessary hack
Now that we have a nice system message design, we don't need to shoe
horn group updates into the TSCall adapter.

// FREEBIE
8 years ago
Michael Kirk bef3a56e50 DebugUI: create fake unread messages
helpful for printing unread indicator

// FREEBIE
8 years ago
Michael Kirk 964e558139 log when starting token sync in prod
// FREEBIE
8 years ago
Michael Kirk 4f3278db1e Fix layout of timestamp for system messages
Incorporate topLabelSize into cell size for system messages.

We are using the term "bubble size" to describe the interaction specific
views of a collection cell. It's a crappy name, but coincides with other
usage.

// FREEBIE
8 years ago
Matthew Chen 119f1f3429 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6276dcb34c Fix “Invalid media attachments” crash.
// FREEBIE
8 years ago
Matthew Chen ab95b04e56 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bd440f0878 Respond to post-holiday code reviews.
// FREEBIE
8 years ago
Matthew Chen 91af4f93e1 Use reference cells for measurement.
// FREEBIE
8 years ago
Matthew Chen 1ef9ba0659 Clea up usage of fail macro.
// FREEBIE
8 years ago
Michael Kirk 1a3204bf46 create interaction in thread when missing call due to changed identity
// FREEBIE
8 years ago
Matthew Chen 15074cdb8f Clean up system message cells, make them tappable, etc.
// FREEBIE
8 years ago
Matthew Chen a013a7206e Rework and unify the system messages.
// FREEBIE
8 years ago
Matthew Chen 459c6c6ed4 Rework and unify the system messages.
// FREEBIE
8 years ago
Matthew Chen 9cdf907e20 Rework and unify the system messages.
// FREEBIE
8 years ago
Matthew Chen 2cbf1e1d05 Rework and unify the system messages.
// FREEBIE
8 years ago
Michael Kirk 52aa8a3744 require explicit avatar diameter
This will help us get crisper text in our generated avatars.

// FREEBIE
9 years ago
Michael Kirk 19d74d91e0 Build higher res avatar for call screen
Initials avatar looks blurry on call screen

// FREEBIE
9 years ago
Matthew Chen 8a6ca8c012 Fix glitch around downloading attachments.
// FREEBIE
9 years ago
Matthew Chen 02df277d19 Respond to CR.
* Add [TSInteraction compareForSorting].
* Add a separate database view for safety number changes.

// FREEBIE
9 years ago
Matthew Chen 7afcad81c6 Fix data type issue around losing millisecond precision in message expiration times.
// FREEBIE
9 years ago
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
9 years ago
Matthew Chen bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
9 years ago
Matthew Chen 1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
9 years ago
Matthew Chen 78f443374f Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 964e6f1adf Improve asserts and logging in attachment adapters.
// FREEBIE
9 years ago
Matthew Chen b1f7cf0d62 Cache image size and audio duration on attachments.
// FREEBIE
9 years ago
Matthew Chen 632cb78751 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen db097ab8de Fix caching of message bubble sizes.
// FREEBIE
9 years ago
Matthew Chen 7db19df742 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen c70487be80 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen db07ea8a8e Persist attachment file paths.
// FREEBIE
9 years ago
Matthew Chen ac458cc7ad Add unread indicator.
// FREEBIE
9 years ago
Matthew Chen ebf500d805 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 6704396998 Lazy load attachments in messages view, etc.
// FREEBIE
9 years ago
Matthew Chen 00d972db48 Rework appearance of audio and generic attachment messages.
// FREEBIE
9 years ago
Matthew Chen b8b2ae10a2 Rework appearance of generic attachment messages.
// FREEBIE
9 years ago
Matthew Chen 2c31a0bdb5 Rework appearance of audio messages.
// FREEBIE
9 years ago
Matthew Chen 02843958f7 Rework appearance of audio messages.
// FREEBIE
9 years ago
Matthew Chen bcc7007812 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen e1fba208ae Align photo and audio bubble widths.
// FREEBIE
9 years ago
Matthew Chen 3e8b4225b3 Show alert when user tries to play an invalid audio file.
// FREEBIE
9 years ago
Matthew Chen 1b99fd1df4 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 46b6a59d6d Clean up ahead of PR.
// FREEBIE
9 years ago
Matthew Chen a15d11c3e6 Rework appearance of voice messages and audio attachments.
// FREEBIE
9 years ago
Matthew Chen ea34cec0d9 Clean up ahead of PR.
// FREEBIE
9 years ago
Matthew Chen 96e155c75e Rework appearance of voice messages and audio attachments.
// FREEBIE
9 years ago
Michael Kirk d3a96725a1 fix block scoping. I'm not even sure how this compiled before.
// FREEBIE
9 years ago
Michael Kirk 755d5dc4e6 resolve push-token changes from RI of hotfix/2.11.4
// FREEBIE
9 years ago
Michael Kirk 929ba06263 Merge branch 'hotfix/2.11.4' into mkirk/fix-push-sync-job 9 years ago
Matthew Chen 2cffe78c22 Sync push tokens to service after every app upgrade.
// FREEBIE
9 years ago
Matthew Chen 0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
9 years ago
Matthew Chen 73db16e068 Improve logging around push token sync.
// FREEBIE
9 years ago
Matthew Chen 2f3831e04b Respond to CR.
// FREEBIE
9 years ago
Matthew Chen dd3d63623a Pull logging into SyncPushTokensJob.
// FREEBIE
9 years ago
Matthew Chen 716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
9 years ago
Matthew Chen ad3a1a671a Merge remote-tracking branch 'origin/hotfix/2.11.3' 9 years ago
Matthew Chen 34a7f9cba5 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 7f92b5a96b Respond to CR.
// FREEBIE
9 years ago
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
9 years ago
Michael Kirk 2ec893d315 Ensure we're retaining all promises to completion
// FREEBIE
9 years ago
Matthew Chen 33415eaa0f Respond to CR.
// FREEBIE
9 years ago
Matthew Chen ae7934c117 Update appearance of audio and generic attachment adapters.
// FREEBIE
9 years ago
Matthew Chen 800715a5e0 Remove waveform from audio message bubbles.
// FREEBIE
9 years ago
Michael Kirk adbc6eb71a style cleanup
// FREEBIE
9 years ago
Michael Kirk 4d5d808675 Ensure push token update job runs to completion
Promises must be retained.

// FREEBIE
9 years ago
Matthew Chen e75ed5e477 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen d42588b957 Improve appearance of generic attachments and the attachment approval dialog.
// FREEBIE
9 years ago
Michael Kirk 077038b6cc Fix squashed "downloading" bubbles in groups
// FREEBIE
9 years ago
Michael Kirk 1d65d6dc42 clip upload mask to bounds of generic file bubble
// FREEBIE
9 years ago
Matthew Chen 210802994e Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 03a97cdd70 Only the last cell associated with a media adapter should clear its views.
// FREEBIE
9 years ago
Matthew Chen ef92d5e3bc Fix distorted images in messages view.
// FREEBIE
9 years ago
Matthew Chen 226dffff7a Fix distorted images in messages view.
// FREEBIE
9 years ago
Matthew Chen 041badd295 Decouple the audio attachment player from the video attachment adapter.
// FREEBIE
9 years ago
Matthew Chen 980d726a48 Add audio attachment player.
* Fix two bugs around play/pause button appearance.
* Fix bugs around stopping playback when leaving view/entering background.
* Fix bugs around cleaning up playback state  when leaving view/entering background.
* Fix audio playback vs. hardware mute button.
* Improve handling of invalid audio attachments.

// FREEBIE
9 years ago
Michael Kirk d9e3e87735 New downloading progress view (#2006)
Replace previous "scary" warning-style attachment notifications with
something less alarming.

Includes file name and file type emoji when discernable.

// FREEBIE
9 years ago
Matthew Chen b2664158b1 Pause animated gifs when offscreen; clean up media views more aggressively.
// FREEBIE
9 years ago
Matthew Chen 66d1a37859 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 1cf45a26d0 Merge remote-tracking branch 'origin/hotfix/2.10.1' 9 years ago
Matthew Chen 435a42bb3c Hide the edit menu for attachment until they are uploaded.
// FREEBIE
9 years ago
Matthew Chen ec129ea217 Improve attachment upload progress indicator.
* Should never show up for attachments in the failed state.
* Show show up without delay for attachments being sent.
* Show disappear when attachment upload fails in any way.

// FREEBIE
9 years ago
Michael Kirk 811a4ac4b5 add some missing asserts
// FREEBIE
9 years ago
Matthew Chen 79a2612dbe Fix audio playback.
// FREEBIE
9 years ago
Matthew Chen 8458fb69a4 Fix audio playback.
// FREEBIE
9 years ago
Matthew Chen d85dfb8a4e Improve support for arbitrary attachments.
// FREEBIE
9 years ago
Matthew Chen 7b84019251 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 3d451846a6 Fix build break.
// FREEBIE
9 years ago
Matthew Chen b0aa71fd40 Apply DisplayableTextFilter to oversize text messages.
// FREEBIE
9 years ago
Matthew Chen 80fbc093d9 Handle oversize text messages and arbitrary attachments.
// FREEBIE
9 years ago
Matthew Chen 8a9206d7e7 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
9 years ago
Matthew Chen 9db33a9651 Remove RedPhone code.
// FREEBIE
9 years ago
Michael Kirk 4b52a90c8e Fix test
//FREEBIE
9 years ago
Matthew Chen 26371499da Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
9 years ago
Matthew Chen e031e3c389 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 7aef297a27 Cleanup copy to pasteboard of video and audio.
// FREEBIE
9 years ago
Matthew Chen 86abb43c30 Copy images to pasteboard as data, not UIImage.
// FREEBIE
9 years ago
Matthew Chen d320cef1a9 Fix play button for incoming video attachments.
// FREEBIE
9 years ago
Michael Kirk 6036e20079 Filter high diacritical text, regardless of length
// FREEBIE
9 years ago
Matthew Chen b9b81ca8ef Honor call privacy settings in call notifications.
// FREEBIE
9 years ago