Commit Graph

247 Commits (c8fa47d9c96c81474efc5e37c1469f767f68603c)
 

Author SHA1 Message Date
Matthew Chen 25695677d6 Merge branch 'charlesmchen/webrtcSetting2' into mkirk/webrtc 8 years ago
Matthew Chen ffb199bcd1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 08ba42c563 Update SignalRecipient with “is WebRTC enabled” property from service.
// FREEBIE
8 years ago
Matthew Chen 6791875ebc Merge branch 'feature/precommitClangFormatSwiftLint2' into mkirk/webrtc 8 years ago
Matthew Chen 6e9ae615ca Tweak commit script.
// FREEBIE
8 years ago
Matthew Chen db27f22c6a Merge branch 'feature/precommitClangFormatSwiftLint' into mkirk/webrtc 8 years ago
Matthew Chen b1c86d1a34 Modify precommit script to "swiftlint" and "git clang-format" files.
// FREEBIE
8 years ago
Matthew Chen 0f3391ad04 Merge branch 'feature/webrtcSetting' into mkirk/webrtc 8 years ago
Matthew Chen 0f45f292a1 Add WebRTC setting.
// FREEBIE
8 years ago
Michael Kirk d1aa253f87 WebRTC calling
* Stun server request
* settable TextSecureEnv
* nullability annotations for TSCall
* Better debug logging for message sending
* fixup tests and expiration time

// FREEBIE
8 years ago
Michael Kirk d7149c60dd unique error code for rate-limit
// FREEBIE
8 years ago
Matthew Chen 7b7b338075 Merge branch 'feature/databaseErrors' 8 years ago
Matthew Chen c5cf79c399 Detect, warn about and try to recover from database password retrieval and database load errors.
// FREEBIE
8 years ago
Matthew Chen 87719a3bfb Merge branch 'charlesmchen/analyticsStub' 8 years ago
Matthew Chen 2a55075e6c Add stub for analytics.
// FREEBIE
8 years ago
Matthew Chen ed98cf2627 Merge branch 'charlesmchen/iranVsDomainFronting' 8 years ago
Matthew Chen 6192351725 Remove Iran from censorship circumvention. Current approach isn't sufficient.
// FREEBIE
8 years ago
Matthew Chen 4e123e41d2 Merge branch 'charlesmchen/appVersion' 8 years ago
Matthew Chen c22085c1ab Add class to track app version.
// FREEBIE
8 years ago
Matthew Chen 19e4b2c3a2 Revert "Remove Iran from censorship circumvention. Current approach isn't sufficient."
This reverts commit 374b45146d.
8 years ago
Matthew Chen 374b45146d Remove Iran from censorship circumvention. Current approach isn't sufficient.
// FREEBIE
8 years ago
Matthew Chen 7bee4523c0 Merge branch 'charlesmchen/assertsVsPch' 8 years ago
Matthew Chen f470979434 Add asserts to .pch.
// FREEBIE
8 years ago
Matthew Chen a9340b06fd Merge branch 'charlesmchen/censorship-circumvention-2' 8 years ago
Matthew Chen 5b87af9bc6 Respond to CR, fix build break.
// FREEBIE
8 years ago
Matthew Chen c3af5bc742 Fix the UAE Google domain.
// FREEBIE
8 years ago
Matthew Chen cc78978be5 Update fronting to use country-specific Google domains.
// FREEBIE
8 years ago
Matthew Chen 566c6e15d1 Add asserts header.
// FREEBIE
8 years ago
Matthew Chen 2438bd16c5 Add Iran, Oman, Cuba to censorship list.
// FREEBIE
8 years ago
Matthew Chen 52762a1be9 Clean up.
// FREEBIE
8 years ago
Michael Kirk 78515377b1 Censorship circumvention in Egypt and UAE
* domain fronting
* non-websocket message fetching
* alternate pinning policy for google hosted reflector server

// FREEBIE
8 years ago
Michael Kirk b1ebfa9873 Revert "WIP: Censorship circumvention in Egypt and UAE"
This reverts commit f1ade83c3f.

No quite ready yet.
8 years ago
Michael Kirk f1ade83c3f WIP: Censorship circumvention in Egypt and UAE
* non-websocket message fetching

// FREEBIE
8 years ago
Michael Kirk 5ccbd4ca6d Bail if we can't build a database.
* Something is irrecoverably wrong at this point.
* Constantize error names

// FREEBIE
8 years ago
Sam Vevang f8bb46c46c check for errors in the keychain password retrieval
// FREEBIE
8 years ago
Michael Kirk 3eeb6c55d3 Use correct recipient ID when using sync message even if no contact
thread with self exists.

// FREEBIE
8 years ago
Michael Kirk 4c2a062fb4 provide custom copy for unauthorized messages
This happens when someone has registered their number on another device.

// FREEBIE
8 years ago
Michael Kirk edebd14d42 Ignore messages with unknown Envelope.Contents
// FREEBIE
9 years ago
Michael Kirk 745a5a2769 return immutable identifiers
// FREEBIE
9 years ago
Michael Kirk 7036c63392 Compatible with libphonenumber 0.9.1
// FREEBIE
9 years ago
Russ Shanahan 7125028159 Rename an OWSContactsManager method
From nameStringForPhoneIdentifier
  To displayNameForPhoneIdentifier

* Add nullability descriptions

* Fix the mock object to adhere to new nullability rules

// FREEBIE
9 years ago
Russ Shanahan 34ffce89f5 Only calculate fullName once, & sortable fullnames (#67)
1. Adds caching of the calculated fullName value
   (which will slightly improve performance)
2. Incorporates fullNames that respect the first-name-first
   rules of the currently unmerged PR #22
3. Adds two new fullName properties that can be used
   for sorting comparators
4. Move the comparator into the model object for easy testing

Includes tests to ensure that the first name first and last name
first sorts are behaving as expected.

// FREEBIE
9 years ago
Michael Kirk 3083e2929c OWSContact from CNContact
Used in new contact picker for the Signal invite flow 

* populate emails
* nullability annotations

// FREEBIE
9 years ago
Michael Kirk df756423f2 Ignore unknown group messages
otherwise when (e.g.) android adds a new group type they'll be shown as
empty bubbles.

// FREEBIE
9 years ago
Michael Kirk 1ba082356a Explicitly include newlines in numeric fingerprint
More straight forward than fudging / verifying different layout widths.

// FREEBIE
9 years ago
Michael Kirk e53422f765 Configurable safety number blocking enabled by default
// FREEBIE
9 years ago
Michael Kirk 60a39f93c6 Remove phone numbers from scannable QR Code
Initially they were there to offer richer error messages when the wrong
code was scanned.

However, we found that people were posting them publicly,
misunderstanding the QR codes to be a kind of personal identifier.

For one, this isn't useful because the QR codes, like safety numbers,
are unique *per* conversation. So they aren't useful in a generic sense.
And secondly this is bad because the QR code contains both parties phone
numbers.

// FREEBIE
9 years ago
Michael Kirk 70e536ca8f Privacy preferences for blocking identity change
// FREEBIE
9 years ago
Michael Kirk 725153307e Add some nullability annotations (#62)
* fix compiler warnings about info message initializers

// FREEBIE
9 years ago
Michael Kirk b0343ee1d1 Only fetch PreKey once.
Previously we were retrying as if it might succeed, and running into
rate-limit errors.

Also, added a specific rate limit error message.

// FREEBIE
9 years ago