Commit Graph

124 Commits (3e8b4225b363fc8fdeced45a3fd83aef590f3583)

Author SHA1 Message Date
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
Matthew Chen 55706e9bb9 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 878704cb12 Create block offer when non-contacts send you a message.
// FREEBIE
9 years ago
Michael Kirk a951d11d97 [SSK] move iOSVersion to SSK
// FREEBIE
9 years ago
Matthew Chen 8374ca149e Apply assert to ensure singletons are only created once.
// FREEBIE
9 years ago
Michael Kirk 0b49037179 Remove some more RP related code
// FREEBIE
9 years ago
Matthew Chen 77a775bbce Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 6b8d4ea7ae Sketch out debug UI.
// FREEBIE
9 years ago
Michael Kirk 6466e9f41f [SSK] Better logging for envelopes
Leave last 3 digits of recipientId when scrubbing logs.

This is in line with other Signal clients, and makes it possible to
trace interactions.

// FREEBIE
9 years ago
Michael Kirk cebfc479f8 Fixup acf3a6e syntax
// FREEBIE
9 years ago
Michael Kirk ab2bfb3a67 Fix spacing of custom back button
...and use it (only) in Messages VC

Otherwise we'd have to do lots of manual handling of
interactivePopGesture

// FREEBIE
9 years ago
Michael Kirk d76d04b8e8 Fixup 4814edf3d3
// FREEBIE
9 years ago
Michael Kirk 0b81523597 Clearer logging and added an assert per CR
// FREEBIE
9 years ago
Michael Kirk 6036e20079 Filter high diacritical text, regardless of length
// FREEBIE
9 years ago
Michael Kirk c39a26659e Merge pull request #1860 from WhisperSystems/mkirk/intern-pastelog
Intern pastelog
9 years ago
Matthew Chen 442546fba8 Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
9 years ago
Michael Kirk 42975e44e8 better debug log copy
"Email Support" and "Open a Bug Report"

// FREEBIE
9 years ago
Michael Kirk 8adba61b37 intern Pastelog back into Signal.
Not worth the cocaopods/framework/project mgmt machinery for making
changes to 1 class.

// FREEBIE
9 years ago
Michael Kirk 1e3f0fffeb Invert logging condition. (#1855)
We don't want to log here normally, only when we detect weird strings.

// FREEBIE
9 years ago
Kamal Nath Narayanan 153d4addb9 requestAccessForMediaType completionHandler to be called in UI thread. This leads to inconsistent behaviour once the permission is given 9 years ago
Michael Kirk 3e651fb8df filter undisplayable text
// FREEBIE
9 years ago
Matthew Chen a4093a5f7f Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
9 years ago