Commit graph

1297 commits

Author SHA1 Message Date
Matthew Chen
0bccd58213 Make “send message” button easier to tap.
// FREEBIE
2017-05-31 09:37:11 -04:00
Michael Kirk
9a2f218bf3 show SN confirmation before adding to group
* Extract SN confirmation dialog

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
2d7f03a1c8 interstitial SN confirmation for attachments/voicenotes
// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
47783a9df0 request confirmation when calling changed SN
...rather than failing with "SN Changed" error

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
76fafbce54 not using ibdesignable and it sometimes crashes interface builder. =/
// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
ea08faa550 remove default avatar image, we should always specify
// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
c55f7044a6 Use avatar view in group views
// FREEBIE
2017-05-30 13:07:34 -07:00
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
Michael Kirk
b11f8affa7 Use AvatarImageView
Conistently apply avatar style

* contact picker
* conversation settings
* home view

// FREEBIE
2017-05-30 13:07:34 -07:00
Matthew Chen
746d131a89 Respond to CR.
// FREEBIE
2017-05-30 10:05:53 -04: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
b2fa93e2ad Skip redundant layout pass in messages view.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
ada4880dc3 Add a database view for dynamic interactions.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
c871e2de3e Respond to CR.
// FREEBIE
2017-05-30 09:50:17 -04:00
Matthew Chen
616041c0fb Respond to CR.
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
86fb083079 Rationalize the attributed and unattributed display name formatting and caching.
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
dd3394be1b Cache display names for accounts.
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
3a83f93099 Tweak appearance of registration views.
// FREEBIE
2017-05-30 09:29:19 -04:00
Matthew Chen
d065c95270 Hide the socket status view when censorship circumvention is active.
// FREEBIE
2017-05-26 20:41:27 -04:00
Michael Kirk
fe54f4319f fix reply-from lockscreen on larger devices
// FREEBIE
2017-05-26 15:50:56 -07:00
Michael Kirk
37e0b1a004 Sending to unconfirmed idnetity presents confirmation
Rather than send/fail

// FREEBIE
2017-05-26 15:39:10 -07:00
Michael Kirk
643301eae6 Fix tag typo
// FREEBIE
2017-05-26 15:14:47 -07:00
Michael Kirk
1a03be8ae7 Fetch safety number upon entering thread
* uniform method to get recipients in group/contact thread
  * use it to clean up markAsSeenJob

// FREEBIE
2017-05-26 09:50:09 -07:00
Michael Kirk
2c7ccbe5db Make sure screen protection is applied before ending bg task
* code cleanup
* Prefer dispatch_async vs. dispatch_sync when possible

// FREEBIE
2017-05-26 09:45:51 -07:00
Matthew Chen
1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
2017-05-26 11:19:45 -04:00
Michael Kirk
4b8544d5f7 ensure atomic write to wasSeen property
// FREEBIE
2017-05-24 18:01:24 -07:00
Michael Kirk
6d00aac046 style cleanup, no functional changes
// FREEBIE
2017-05-24 18:01:24 -07:00
Michael Kirk
bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
2017-05-24 18:01:24 -07:00
Matthew Chen
2475406258 Respond to CR.
// FREEBIE
2017-05-24 17:47:56 -04:00
Matthew Chen
4680a2465a Remove registration storyboard.
// FREEBIE
2017-05-24 17:46:32 -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
9577038f11 Respond to CR.
// FREEBIE
2017-05-24 09:40:51 -04:00
Matthew Chen
7547d03a78 Clean up ahead of PR.
// FREEBIE
2017-05-24 09:40:01 -04:00
Matthew Chen
2fc683dd9d Add example phone number to registration view and make layout responsive.
// FREEBIE
2017-05-24 09:40:01 -04:00
Matthew Chen
070395e8b6 Rewrite registration view.
// FREEBIE
2017-05-24 09:40:01 -04:00
Matthew Chen
eeb510b903 Respond to CR.
// FREEBIE
2017-05-24 09:33:17 -04:00
Matthew Chen
4ac78d9b41 Replace app settings segue.
// FREEBIE
2017-05-24 09:17:25 -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
b0005ea932 Respond to CR.
// FREEBIE
2017-05-23 09:33:31 -04:00
Matthew Chen
bc501b16f2 Let users manually specify the domain fronting country.
// FREEBIE
2017-05-22 20:34:56 -04:00
Matthew Chen
98c5e7d69c Add support for manually activating censorship circumvention.
// FREEBIE
2017-05-22 20:34:26 -04:00
Matthew Chen
c07f28565e Revise manual censorship circumvention.
// FREEBIE
2017-05-22 20:34:25 -04:00