Commit Graph

1861 Commits (235a842137c6642f10922c2024aa502cc9af43f9)

Author SHA1 Message Date
Matthew Chen dc134a991a Tweak font size on fingerprint view.
// FREEBIE
8 years ago
Matthew Chen 57c1519b1c Tweak font size on registration view.
// FREEBIE
8 years ago
Matthew Chen e14b9b511d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8649b26033 Don’t auto-scroll after “loading more messages” unless we have “more unseen messages”.
// FREEBIE
8 years ago
Matthew Chen 4d0b15f58c Show long-form app version in about view.
// 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 3c59678b7d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 90c4ba27bf Respond to post-holiday code reviews.
// FREEBIE
8 years ago
Matthew Chen bd440f0878 Respond to post-holiday code reviews.
// FREEBIE
8 years ago
Michael Kirk 1661e8dc34 assume contact in 1:1 thread
// FREEBIE
8 years ago
Michael Kirk a41b10a695 ignore tap on legacy non-blocking SN change message
// FREEBIE
8 years ago
Matthew Chen 3c28f15dbd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d340c3262d Tweak the database upgrade copy.
// FREEBIE
8 years ago
Matthew Chen 3e38967590 Do not show database upgrade screen for unregistered users.
// FREEBIE
8 years ago
Matthew Chen f9fcbad1aa Add a “last app completed launch” version.
// FREEBIE
8 years ago
Matthew Chen cf3101226b Improve the upgrade screen.
// FREEBIE
8 years ago
Matthew Chen 75ccff0e4f Improve debug tools for creating “fake” and “tiny attachment” messages.
// FREEBIE
8 years ago
Michael Kirk 60e87bb16f clearer copy for SN changes
// FREEBIE
8 years ago
Matthew Chen 631a2bbb12 Bump build number.
// FREEBIE
8 years ago
Matthew Chen 35d68c6180 Fix "writes on long-lived read connection" issue.
// FREEBIE
8 years ago
Matthew Chen da55f45af7 Bump build number.
// FREEBIE
8 years ago
Matthew Chen 16dd87a407 Use launch screen as root view controller while database views are loading.
// FREEBIE
8 years ago
Matthew Chen 12df7fae83 Update l10n strings.
// FREEBIE
8 years ago
Matthew Chen 7805119c03 Bump build number.
// FREEBIE
8 years ago
Matthew Chen 3bc73bea25 Don't return busy signal to untrusted callers.
// FREEBIE
8 years ago
Matthew Chen f71f33c2a6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c7426f9343 Avoid crashing on startup due to database view creation.
* Substitute unread view for unseen view until unseen view is ready.
* Register as many views as possible async.
* Perform blocking, safe migrations before async registration of views.
* Add debug settings view for internal app stats.
* Show blocking overlay until async registration of database views is complete.
* Convert version migrations to use AppVersions.

// FREEBIE
8 years ago
Matthew Chen b18e7cde34 Don’t show offers in conversation with self.
// FREEBIE
8 years ago
Matthew Chen 9fa1b295a4 Bump build number.
// FREEBIE
8 years ago
Matthew Chen 05e316381b Remove “block on safety number changes” setting in preferences.
// FREEBIE
8 years ago
Matthew Chen d0791bf510 Add debug UI to create fake messages.
// FREEBIE
8 years ago
Matthew Chen 575d631123 Reduce number of database views.
// FREEBIE.
8 years ago
Matthew Chen 6f1f1fac80 Improve handling of group creation failures.
// FREEBIE
8 years ago
Matthew Chen bdfa435738 Allow notification sound check from any thread.
// FREEBIE
8 years ago
Matthew Chen f5f506d06f Investigate “call stuck on connecting” issue.
// FREEBIE
8 years ago
Matthew Chen 55b86eba28 Use reference cells for measurement.
// FREEBIE
8 years ago
Matthew Chen 83b03c0047 Use reference cells for measurement.
// FREEBIE
8 years ago
Matthew Chen 91af4f93e1 Use reference cells for measurement.
// FREEBIE
8 years ago
Matthew Chen 389305e2b9 Fix build warnings.
// FREEBIE
8 years ago
Matthew Chen 5e993e72c1 Throttle notification sounds.
// FREEBIE
8 years ago
Matthew Chen a73c6ede60 Tweak verification UI.
* Add “tap for options” to verification banner copy.
* Add close button to banners.
* Always use shield icon for verification row in conversation settings view.
* Add action sheet to verification banner.

// FREEBIE
8 years ago
Matthew Chen 935244843e Tweak verification UI.
* Add “tap for options” to verification banner copy.
* Add close button to banners.
* Always use shield icon for verification row in conversation settings view.
* Add action sheet to verification banner.

// FREEBIE
8 years ago
Matthew Chen e9ed91fb07 Update l10n strings.
// FREEBIE
8 years ago
Matthew Chen c18a670d6b Don’t update expiration for messages twice.
// FREEBIE
8 years ago
Matthew Chen 027cd8cb34 Rework how messages are marked read.
// FREEBIE
8 years ago
Matthew Chen 65d84fd043 Throttle profile fetch and retry on failure.
// FREEBIE
8 years ago
Matthew Chen f8f4e5ee6f Throttle profile fetch and retry on failure.
// FREEBIE
8 years ago
Matthew Chen 1d27fc62d6 Bump version and build number to v2.13.0.0.
// FREEBIE
8 years ago
Matthew Chen b68b188379 Use shield instead of checkmark in conversation settings view when users is not verified.
// FREEBIE
8 years ago
Matthew Chen 7d7b6689c4 Tweak verification state messages.
// FREEBIE
8 years ago
Matthew Chen 7da28bd5dc Multiple refinements around verification.
* Check for identity key before presenting fingerprint view.
* Show verification state in a separate subtitle in conversation view.
* Let users verify from group members view.

// FREEBIE
8 years ago
Matthew Chen 11ca51c95f Show verification state banner. Show verification state in conversation settings view.
// FREEBIE
8 years ago
Matthew Chen 471e307ecc Use checkmark to indicate verification status in conversation view header subtitle, fingerprint view, and in conversation settings row icon.
// FREEBIE
8 years ago
Matthew Chen a7269a9a5d Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 128e147c1b Show verification state in fingerprint view and let user change that state.
// FREEBIE
8 years ago
Matthew Chen 10f3f7fe13 Add “learn link”. Move “scan” button into QR code.
// FREEBIE
8 years ago
Matthew Chen 8b9a1e41b4 DRY up safety number success and failure handling.
* Add “mark as verified” option to success case.

// FREEBIE
8 years ago
Matthew Chen 051b005582 Move QR code scanning to a separate view.
// FREEBIE
8 years ago
Matthew Chen 5264602106 Move QR code scanning to a separate view.
// FREEBIE
8 years ago
Matthew Chen 5a867e3f6c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 58ebebc97f Move QR code scanning to a separate view.
// FREEBIE
8 years ago
Michael Kirk 6d3d06bd1a CR: continue to delete sessions for EndSession
// FREEBIE
8 years ago
Michael Kirk 6715e76c99 Prefer archiving, to deleting old sessions for better handling of out of
order decryption.

// FREEBIE
8 years ago
Michael Kirk a139bd73e6 Remove deprecated info message from debug UI
// FREEBIE
8 years ago
Matthew Chen fe0ddb53d2 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 93a587c896 Convert FingerprintViewController to programmatic layout.
// FREEBIE
8 years ago
Matthew Chen 3508feaec3 Convert FingerprintViewController to programmatic layout.
// FREEBIE
8 years ago
Matthew Chen 869cdfd12c Add verification state change messages.
// FREEBIE
8 years ago
Matthew Chen bc63a72c25 Add verification state change messages.
// FREEBIE
8 years ago
Michael Kirk 64efa2b3c6 [SSK] remove redundant SN changes when sending to new identity
// FREEBIE
8 years ago
Michael Kirk 75bab75dc8 Show no redundant error when failing to send due to changed identity
The old "blocking" style SN alerts are deprecated. We maintain the
functionality to decrypt incoming messages from legacy SN alerts so that
users have time to recover their undecrypted messages.

// FREEBIE
8 years ago
Matthew Chen 1ef9ba0659 Clea up usage of fail macro.
// FREEBIE
8 years ago
Matthew Chen c3edbd9aa4 Fix paste of text fragments.
// FREEBIE
8 years ago
Michael Kirk 842baa3072 CR: use weak self
// FREEBIE
8 years ago
Michael Kirk f7468acad2 Properly dismiss file view after proceeding with share to no-longer
verified identity

// FREEBIE
8 years ago
Michael Kirk 4e995b76f3 Don't try to share file to untrusted identity
There's a problem with this approach - specifically we need to dismiss
the external file share view controller eventually.

But more generally, because SN can present a view controller, it's kind
success/retry handling is contextual to it's presenting view controller.

So, probably the thing to do is duplicate this logic at it's various
presentation contexts.

// FREEBIE
8 years ago
Michael Kirk 1a3204bf46 create interaction in thread when missing call due to changed identity
// FREEBIE
8 years ago
Michael Kirk 022292e2e5 CR: extract method for readability
// FREEBIE
8 years ago
Michael Kirk 5b2428c8a5 debug toggle verification state
// FREEBIE
8 years ago
Michael Kirk 4000908f43 clarify assert per code review
// FREEBIE
8 years ago
Michael Kirk bae91d97d6 clearer code style
// FREEBIE
8 years ago
Michael Kirk d77addc01e extract session state debug utils into section
// FREEBIE
8 years ago
Michael Kirk 54865e43ed debug item to locally simulate a SN change
...because constantly reinstalling a secondary device takes too long

You can toggle twice to switch it back, but most of the time you'll
simply pull the latest (real) key when the message view regains focus.

// FREEBIE
8 years ago
Michael Kirk 8c592a373a log error on assertion failure
// FREEBIE
8 years ago
Michael Kirk f74c3a0e87 remove unused code
// FREEBIE
8 years ago
Michael Kirk c8d547a08f Only allow callback for identities that were not previously verified
// FREEBIE
8 years ago
Michael Kirk 1127553041 restore "confirm and callback" functionality
// FREEBIE
8 years ago
Michael Kirk 146031e4d5 update copy / remove some unused "unseen" tracking
// FREEBIE
8 years ago
Michael Kirk 41a34e572b Update Safety Number alerts to work with verification
// FREEBIE
8 years ago
Matthew Chen c7c243cfed Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen b6ddea9eae Sketch out OWSIdentityManager.
// FREEBIE
8 years ago
Matthew Chen ceb210748e Sketch out OWSIdentityManager.
// FREEBIE
8 years ago
Matthew Chen 1dffdb5ca0 Indicate if censorship circumvention is active in the main app settings view.
// FREEBIE
8 years ago
Matthew Chen 15074cdb8f Clean up system message cells, make them tappable, etc.
// FREEBIE
8 years ago
Matthew Chen 2d76f2beb9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 301c8c51a1 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen eb53958aeb Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen efa40dbdb7 Rework icons in conversation settings view.
// FREEBIE
8 years ago
Matthew Chen b3c42f0c3e Rework and unify the system messages.
// 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 177800c641 only run migration once
// FREEBIE
8 years ago
Matthew Chen 74209561cc Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 713d31ea6a Rework appearance of the unread indicator.
// FREEBIE
8 years ago
Matthew Chen c8fc47c08c Rework appearance of the unread indicator.
// FREEBIE
8 years ago
Matthew Chen a847a5c86b Fix layout of unread indicator cell subtitle.
// FREEBIE
8 years ago
Matthew Chen dab8ddb37d Rework appearance of the unread indicator.
// FREEBIE
8 years ago
Matthew Chen 90cdb6fcc6 Only show unread indicator if there is more than one message in the thread.
// FREEBIE
8 years ago
Matthew Chen 165de573c5 Fix edge cases in the unseen indicator.
// FREEBIE
8 years ago
Matthew Chen 84d5ee8e47 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen a69c6cce4e Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior.
// FREEBIE
8 years ago
Matthew Chen 831046338e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e48bf65347 Fix “can’t paste GIF from iMessage” issue.
// FREEBIE
8 years ago
Matthew Chen 5dcdace26f Fix “can’t paste GIF from iMessage” issue.
// FREEBIE
8 years ago
Matthew Chen 5fad3304a5 Streamline observation of database modifications in home view.
// FREEBIE
8 years ago
Matthew Chen b5f5599774 Fix edge cases in the unseen indicator.
// FREEBIE
8 years ago
Matthew Chen 226a975859 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 22fc69bbb4 Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior.
// FREEBIE
8 years ago
Michael Kirk 1059cc062c replace FOUNDATION_EXPORT with extern per code review
// FREEBIE
8 years ago
Michael Kirk 295ba5c854 update copy "safety number" is not uppercased
...unless it's a button, which is always title cased.

// FREEBIE
8 years ago
Michael Kirk 5b12f4afae Prevent outgoing calls started from various places unless have been seen
e.g. from contacts app

// FREEBIE
8 years ago
Michael Kirk 130aa132a0 Reject incoming calls from an unseen changed identity
// FREEBIE
8 years ago
Matthew Chen b31ef7231a Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f49309bf66 Add incoming and outgoing message database views.
// FREEBIE
8 years ago
Matthew Chen 78982f2377 Fix issues around initial layout of messages view.
// FREEBIE
8 years ago
Matthew Chen 76df8431a8 Reset the unread indicator state if possible while app is in the background.
* Clean up timer usage.

// FREEBIE
8 years ago
Matthew Chen 0bccd58213 Make “send message” button easier to tap.
// FREEBIE
8 years ago
Michael Kirk 9a2f218bf3 show SN confirmation before adding to group
* Extract SN confirmation dialog

// FREEBIE
8 years ago
Michael Kirk 2d7f03a1c8 interstitial SN confirmation for attachments/voicenotes
// FREEBIE
8 years ago
Michael Kirk 47783a9df0 request confirmation when calling changed SN
...rather than failing with "SN Changed" error

// FREEBIE
8 years ago
Michael Kirk 76fafbce54 not using ibdesignable and it sometimes crashes interface builder. =/
// FREEBIE
8 years ago
Michael Kirk ea08faa550 remove default avatar image, we should always specify
// FREEBIE
8 years ago
Michael Kirk c55f7044a6 Use avatar view in group views
// FREEBIE
8 years ago
Michael Kirk 52aa8a3744 require explicit avatar diameter
This will help us get crisper text in our generated avatars.

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

// FREEBIE
8 years ago
Michael Kirk b11f8affa7 Use AvatarImageView
Conistently apply avatar style

* contact picker
* conversation settings
* home view

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

// FREEBIE
8 years ago
Matthew Chen 7afcad81c6 Fix data type issue around losing millisecond precision in message expiration times.
// FREEBIE
8 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
8 years ago
Matthew Chen b2fa93e2ad Skip redundant layout pass in messages view.
// FREEBIE
8 years ago
Matthew Chen bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
8 years ago
Matthew Chen ada4880dc3 Add a database view for dynamic interactions.
// FREEBIE
8 years ago
Matthew Chen c871e2de3e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 616041c0fb Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 86fb083079 Rationalize the attributed and unattributed display name formatting and caching.
// FREEBIE
8 years ago
Matthew Chen dd3394be1b Cache display names for accounts.
// FREEBIE
8 years ago
Matthew Chen 3a83f93099 Tweak appearance of registration views.
// FREEBIE
8 years ago
Matthew Chen d065c95270 Hide the socket status view when censorship circumvention is active.
// FREEBIE
8 years ago
Michael Kirk fe54f4319f fix reply-from lockscreen on larger devices
// FREEBIE
8 years ago
Michael Kirk 37e0b1a004 Sending to unconfirmed idnetity presents confirmation
Rather than send/fail

// FREEBIE
8 years ago
Michael Kirk 643301eae6 Fix tag typo
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk 2c7ccbe5db Make sure screen protection is applied before ending bg task
* code cleanup
* Prefer dispatch_async vs. dispatch_sync when possible

// FREEBIE
8 years ago
Matthew Chen 1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
8 years ago
Michael Kirk 4b8544d5f7 ensure atomic write to wasSeen property
// FREEBIE
8 years ago
Michael Kirk 6d00aac046 style cleanup, no functional changes
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 2475406258 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4680a2465a Remove registration storyboard.
// FREEBIE
8 years ago
Matthew Chen 78f443374f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 964e6f1adf Improve asserts and logging in attachment adapters.
// FREEBIE
8 years ago
Matthew Chen b1f7cf0d62 Cache image size and audio duration on attachments.
// FREEBIE
8 years ago
Matthew Chen 9577038f11 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7547d03a78 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 2fc683dd9d Add example phone number to registration view and make layout responsive.
// FREEBIE
8 years ago
Matthew Chen 070395e8b6 Rewrite registration view.
// FREEBIE
8 years ago
Matthew Chen eeb510b903 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4ac78d9b41 Replace app settings segue.
// FREEBIE
8 years ago
Matthew Chen 632cb78751 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db097ab8de Fix caching of message bubble sizes.
// FREEBIE
8 years ago
Matthew Chen b0005ea932 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bc501b16f2 Let users manually specify the domain fronting country.
// FREEBIE
8 years ago
Matthew Chen 98c5e7d69c Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen c07f28565e Revise manual censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen e746636c7c Expose manual censorship circumvention setting.
// FREEBIE
8 years ago
Matthew Chen db10cbaeea Convert AdvancedSettingsTableViewController to OWSTableView.
// FREEBIE
8 years ago
Matthew Chen 7f3d76d8bb Convert the app settings view to OWSTableView.
// FREEBIE
8 years ago
Matthew Chen 4bb702fe0d Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen 2e36f41838 Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen 6550680f60 Fix glitch in unread indicator layout.
// FREEBIE
8 years ago
Matthew Chen dac5483fdd Clean up CountryCodeViewController delegates.
// FREEBIE
8 years ago
Matthew Chen 61de84a203 Clean up CountryCodeViewController delegates.
// FREEBIE
8 years ago
Matthew Chen 867eb7d741 Convert CountryCodeViewController.
// FREEBIE
8 years ago
Matthew Chen ea9dc3fe77 Rationalize the segues between registration view and country code view.
// FREEBIE
8 years ago
Matthew Chen a37b194dc0 Add debug functions for sending media messages.
// FREEBIE
8 years ago
Matthew Chen d28467aac6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen df2ee6ba55 “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen bc63389d23 “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen 7b70fe674a “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen ac0c6e21de Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 14ebc58d52 Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen c639926f2c Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen 4e1dda275d Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen 55dab36ce1 Respond to CR.
// FREEBIE
8 years ago