Commit Graph

54 Commits

Author SHA1 Message Date
Michael Kirk 11fa08470d [JSQ] Fix: can't dismiss keyboard after sending
// FREEBIE
2017-06-20 17:45:28 -04:00
Michael Kirk 8898f4a6d4 CR: future proof view placement if we change hierarchy
// FREEBIE
2017-06-20 17:31:47 -04:00
Michael Kirk c70b1e9681 Make system messages deletable
// FREEBIE
2017-06-20 17:18:19 -04:00
Michael Kirk fbba2f5dd7 colocate CollectionViewDelegate methods
// FREEBIE
2017-06-20 17:18:19 -04:00
Matthew Chen de453b2960 Respond to CR.
// FREEBIE
2017-06-20 13:12:51 -04:00
Matthew Chen 5796bbd858 Max out the unread count at 99.
// FREEBIE
2017-06-20 13:02:25 -04:00
Michael Kirk 0419d35f12 CR: rename method
not always resized when used

// FREEBIE
2017-06-20 11:04:11 -04:00
Matthew Chen d01a52758b Respond to CR.
// FREEBIE
2017-06-19 17:41:30 -04:00
Matthew Chen 0d07e0222f Avoid stale mapping in conversation view.
// FREEBIE
2017-06-19 17:41:30 -04:00
Matthew Chen 331a1e90e3 Avoid stale mapping in conversation view.
// FREEBIE
2017-06-19 17:41:30 -04:00
Matthew Chen f6f08891eb Avoid stale mapping in conversation view.
// FREEBIE
2017-06-19 17:41:30 -04:00
Matthew Chen d4a6a35ee3 Avoid stale mapping in conversation view.
// FREEBIE
2017-06-19 17:41:30 -04:00
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
2017-06-19 09:16:37 -04:00
Michael Kirk 1125e2ac99 System messsages can show timestamp
added the JSQCollectionViewCell cellTopLabel to the system message
layout

// FREEBIE
2017-06-19 09:14:52 -04:00
Matthew Chen 104a548eb2 Ensure message mapping is up-to-date when app returns from background.
// FREEBIE
2017-06-17 14:59:46 -04:00
Matthew Chen e14b9b511d Respond to CR.
// FREEBIE
2017-06-17 14:03:44 -04:00
Matthew Chen 8649b26033 Don’t auto-scroll after “loading more messages” unless we have “more unseen messages”.
// FREEBIE
2017-06-17 13:55:50 -04:00
Matthew Chen ab95b04e56 Respond to CR.
// FREEBIE
2017-06-17 13:47:10 -04:00
Matthew Chen 90c4ba27bf Respond to post-holiday code reviews.
// FREEBIE
2017-06-17 13:38:19 -04:00
Matthew Chen bd440f0878 Respond to post-holiday code reviews.
// FREEBIE
2017-06-17 13:38:19 -04:00
Michael Kirk 1661e8dc34 assume contact in 1:1 thread
// FREEBIE
2017-06-16 12:34:15 -04:00
Michael Kirk a41b10a695 ignore tap on legacy non-blocking SN change message
// FREEBIE
2017-06-16 12:34:15 -04:00
Matthew Chen 35d68c6180 Fix "writes on long-lived read connection" issue.
// FREEBIE
2017-06-16 02:16:26 -04:00
Matthew Chen f71f33c2a6 Respond to CR.
// FREEBIE
2017-06-15 15:36:27 -04:00
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
2017-06-15 13:44:30 -04:00
Matthew Chen 6f1f1fac80 Improve handling of group creation failures.
// FREEBIE
2017-06-13 15:09:47 -04:00
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
2017-06-12 15:52:38 -04:00
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
2017-06-12 15:51:21 -04:00
Matthew Chen c18a670d6b Don’t update expiration for messages twice.
// FREEBIE
2017-06-12 13:28:29 -04:00
Matthew Chen 027cd8cb34 Rework how messages are marked read.
// FREEBIE
2017-06-12 11:52:21 -04:00
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
2017-06-09 16:58:00 -04:00
Matthew Chen 11ca51c95f Show verification state banner. Show verification state in conversation settings view.
// FREEBIE
2017-06-09 16:21:59 -04:00
Matthew Chen 471e307ecc Use checkmark to indicate verification status in conversation view header subtitle, fingerprint view, and in conversation settings row icon.
// FREEBIE
2017-06-09 13:12:33 -04:00
Matthew Chen 051b005582 Move QR code scanning to a separate view.
// FREEBIE
2017-06-09 07:48:48 -04:00
Matthew Chen 58ebebc97f Move QR code scanning to a separate view.
// FREEBIE
2017-06-09 07:48:48 -04:00
Matthew Chen fe0ddb53d2 Clean up ahead of PR.
// FREEBIE
2017-06-08 15:34:54 -04:00
Matthew Chen 3508feaec3 Convert FingerprintViewController to programmatic layout.
// FREEBIE
2017-06-08 14:55:26 -04:00
Matthew Chen bc63a72c25 Add verification state change messages.
// FREEBIE
2017-06-08 10:44:23 -04:00
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
2017-06-08 10:34:45 -04:00
Michael Kirk f7468acad2 Properly dismiss file view after proceeding with share to no-longer
verified identity

// FREEBIE
2017-06-07 22:31:52 -04:00
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
2017-06-07 22:31:52 -04:00
Michael Kirk 146031e4d5 update copy / remove some unused "unseen" tracking
// FREEBIE
2017-06-07 10:19:09 -04:00
Matthew Chen b6ddea9eae Sketch out OWSIdentityManager.
// FREEBIE
2017-06-07 10:18:16 -04:00
Matthew Chen 15074cdb8f Clean up system message cells, make them tappable, etc.
// FREEBIE
2017-06-06 10:26:06 -04:00
Matthew Chen 2d76f2beb9 Respond to CR.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen eb53958aeb Clean up ahead of PR.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen a013a7206e Rework and unify the system messages.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen 9cdf907e20 Rework and unify the system messages.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen 2cbf1e1d05 Rework and unify the system messages.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen 74209561cc Clean up ahead of PR.
// FREEBIE
2017-06-05 16:27:53 -04:00