Commit Graph

146 Commits (f8f4e5ee6fbac0633707419c376ef799f3bd7cbd)

Author SHA1 Message Date
Matthew Chen 11ca51c95f Show verification state banner. Show verification state in conversation settings view.
// FREEBIE
9 years ago
Matthew Chen 5264602106 Move QR code scanning to a separate view.
// FREEBIE
9 years ago
Matthew Chen 58ebebc97f Move QR code scanning to a separate view.
// FREEBIE
9 years ago
Matthew Chen 1ef9ba0659 Clea up usage of fail macro.
// FREEBIE
9 years ago
Matthew Chen 90cdb6fcc6 Only show unread indicator if there is more than one message in the thread.
// FREEBIE
9 years ago
Matthew Chen b5f5599774 Fix edge cases in the unseen indicator.
// FREEBIE
9 years ago
Matthew Chen 22fc69bbb4 Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior.
// FREEBIE
9 years ago
Matthew Chen f49309bf66 Add incoming and outgoing message database views.
// FREEBIE
9 years ago
Matthew Chen 76df8431a8 Reset the unread indicator state if possible while app is in the background.
* Clean up timer usage.

// FREEBIE
9 years ago
Michael Kirk c55f7044a6 Use avatar view in group views
// FREEBIE
9 years ago
Matthew Chen 746d131a89 Respond to CR.
// 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 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 ada4880dc3 Add a database view for dynamic interactions.
// FREEBIE
9 years ago
Matthew Chen d28467aac6 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen df2ee6ba55 “Add to contacts” offer.
// FREEBIE
9 years ago
Matthew Chen bc63389d23 “Add to contacts” offer.
// FREEBIE
9 years ago
Matthew Chen 7b70fe674a “Add to contacts” offer.
// FREEBIE
9 years ago
Matthew Chen 14ebc58d52 Revise scrolling behavior of messages view.
// FREEBIE
9 years ago
Matthew Chen db07ea8a8e Persist attachment file paths.
// FREEBIE
9 years ago
Matthew Chen 16549bee1f Clean up ahead of PR.
// FREEBIE
9 years ago
Matthew Chen ac458cc7ad Add unread indicator.
// 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
Matthew Chen 19b80d1f4b Rework the “disappearing messages” logic.
// FREEBIE
9 years ago
Michael Kirk 073c0d6639 Add/Edit contacts in group list
* properly populate phone fields
* Fix appearence for CNContactViewController
* "Add Contact" vs "Show Contact"

// FREEBIE
9 years ago
Matthew Chen e85aa045e1 Flag voice messages as such in protos.
// FREEBIE
9 years ago
Matthew Chen ad3a1a671a Merge remote-tracking branch 'origin/hotfix/2.11.3' 9 years ago
Michael Kirk a58a71f8f4 no contacts banner -> system settings 9 years ago
Matthew Chen 3f7d23e043 Fix two hotspots in contact parsing and contact syncing.
// FREEBIE
9 years ago
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// 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
Michael Kirk a056c1e052 Check for signalContact vs. AB setup.
Same intent as previous check but more to the point, and doesn't
require tracking additional state.

// FREEBIE
9 years ago
Matthew Chen 4bc98dba58 Rework the scaling and cropping of group avatars.
// FREEBIE
9 years ago
Matthew Chen 26f69b0063 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen ad11c50c1b Reworking observation of Contact and SignalAccount changes.
// FREEBIE
9 years ago
Matthew Chen 994aec0d86 Add SignalAccount class.
// FREEBIE
9 years ago
Matthew Chen 6801963a1b Add SignalAccount class.
// FREEBIE
9 years ago
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
9 years ago
Michael Kirk a1eef6fde5 Remove invalid assert in case of legitimately stacking unicode
This assert was being falsely triggered by legitimate unicode.

The current state of affairs (unchanged by this PR) is that all
diacriticals will be stripped from a message that also contains e.g. 3
flags in a sequence.

// FREEBIE
9 years ago
Michael Kirk 26b94bf94b Always send a filename
// FREEBIE
9 years ago
Matthew Chen 89de686809 Fix the “navigation titles are black after sharing” issue.
// FREEBIE
9 years ago
Matthew Chen a4709c9218 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen eb23252c6c Fix timer retain cycle.
// FREEBIE
9 years ago
Matthew Chen a29809e672 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen bfd29cd994 Send contacts sync messages whenever the contacts change.
// FREEBIE
9 years ago
Matthew Chen c8466912f0 Add muting of threads.
// FREEBIE
9 years ago
Matthew Chen e025b86e75 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 0018d0040b Honor attachment filenames.
// FREEBIE
9 years ago