Commit Graph

451 Commits

Author SHA1 Message Date
Michael Kirk 91d7ca2f53 Remove reference to + button, which was removed in #950.
Fixes #1080
Closes #1092
//FREEBIE
2016-03-27 20:10:50 +02:00
Aayush Ranaut bd377e65af Network Signal and deactivate account row don't highlight.
Related #1026
2016-01-03 20:35:30 +01:00
Frederic Jacobs 2c83046ff6 Closes #990.
- Use single MessagesViewController. Goal: Being able to reuse that UI
for SplitViewController on iPad. Prevents unnecessary deallocations and
re-allocations.
- Remove custom archiving UI for default swipe right to left archive
action, like in iOS Mail.app.
- DynamicType for main view.
- Simplify API of MessagesViewController to prevent undefined behavior.
//FREEBIE
2015-12-26 18:12:13 +01:00
Frederic Jacobs 1b02e186f8 Fixes #146 #147. 2015-12-24 18:52:18 +01:00
Frederic Jacobs 975cda312c Adding missing queue test.
The test wasn’t running because wasn’t prefixed with `test`.

//FREEBIE
2015-12-24 16:35:20 +01:00
Frederic Jacobs a7ec383a7b Fixes #984 Fixes #948.
A future improvement could be to store the usage data in the encrypted
database than in the NSUserDefaults that are more vulnerable to
forensics.
2015-12-24 15:40:50 +01:00
Mahyar McDonald 0c1a97a743 Some nits & add corner rounding to the message text box.
Closes #884
2015-12-24 11:43:24 +01:00
Adam Kunicki da97349d41 Add subtitle to Screen Security setting to explain its function.
Closes #1014
Fixes  #993
2015-12-24 11:26:48 +01:00
Frederic Jacobs 3acc47d6ad Fixes #832 2015-12-23 00:11:03 +01:00
Frederic Jacobs c6d44e59e2 TextSecureKit Refactoring
- Using same clang format file for old and new files.
- Moving out all TextSecure code to allow other clients (OS X, iOS) to
  integrate easily TextSecure functionality.
- Use TextSecure API to signup.
2015-12-22 23:41:10 +01:00
Michael Okner 37b582beda Adding support for animated gifs
Implemented using corbett's suggestion in issue #525. Uses
Flipboard/FLAnimatedImage in an AttachmentAdapter. Detects gifs using
new Animated category in MIMETypeUtil.

Backwards compatible with previous versions of Signal on iOS for both
sending and receiving Gifs, though they are sent/received in older
versions as UIImage and won't animate. Gifs also animate on both ends of
conversations with TextSecure users on Android.

//FREEBIE
2015-11-29 12:59:34 +01:00
Rui 25293fd40b Fixes #957.
Exit button not displaying when scanning fingerprint.
2015-11-29 12:28:04 +01:00
Frederic Jacobs 53793e3c0f Fixes #950 2015-11-29 02:03:52 +01:00
Frederic Jacobs 26f9207cab Bye Bye Bloomfilters
For reasons outlined in
https://whispersystems.org/blog/contact-discovery/ , Signal will no
more use bloom filters for RedPhone contact intersection.
2015-11-29 01:14:49 +01:00
Frederic Jacobs 861e3d6266 Fixes #930 2015-11-03 00:26:48 +01:00
Frederic Jacobs b70be4d559 Fixing bug with reused label appearing bold. 2015-11-02 19:47:55 +01:00
Frederic Jacobs d33c80ddd9 Pulling in latest translations. 2015-10-31 23:44:16 +01:00
Frederic Jacobs 777e7e16f0 3D Touch: Quick Compose 2015-10-31 23:44:16 +01:00
Frederic Jacobs 0fd9acfb2c Phone emoji 2015-10-31 23:44:16 +01:00
Lilia c4dcb5f807 Fixes #907
Upon receiving a 404 to a prekey request for a particular device D, the client handles that error by removing device D from the recipient's device list, and proceeds to encrypt and send to the remaining known devices.

Reviewed & Patched by @FredericJacobs
2015-10-31 23:44:16 +01:00
Frederic Jacobs 087b7c38dc S3 ATS Policy
This partly reverts commit 1affdbb325.
2015-10-31 23:44:15 +01:00
Frederic Jacobs a29eb5470f Attachment type in notification and description. 2015-10-31 23:44:15 +01:00
Frederic Jacobs ef6e658c38 Performance updates & smarter layout (2 lines)
- Adding support for ContactsUI when adding contacts on iOS 9.
- Multiple performance updates by liberating the main thread and
reusing tableview cells.
2015-10-31 23:44:15 +01:00
Frederic Jacobs 047262b95a Fixing typo in restrictions string. 2015-10-31 23:43:16 +01:00
Frederic Jacobs 3d4d4123f7 Removing APNavigation as a dependency. 2015-10-31 23:43:16 +01:00
Frederic Jacobs 8189e593ef Fixes glitching of inbox label when coming back from background.
The method was not called on the main thread, resulting in rendering
issues.
2015-10-31 05:00:05 +01:00
Frederic Jacobs 1affdbb325 Closes #891 2015-10-31 05:00:05 +01:00
Frederic Jacobs e98a6217fe TLS 1.2 on signaling tcp. 2015-10-31 05:00:05 +01:00
Frederic Jacobs 0ad55853f2 Adding staging environment. 2015-10-31 05:00:05 +01:00
Frederic Jacobs bbde7cd2a8 iOS 9 Support
- Fixing size classes rendering bugs.
- Supporting native iOS San Francisco font.
- Quick Reply
- Settings now slide to the left as suggested in original designed
  opposed to modal.
- Simplification of restraints on many screens.
- Full-API compatiblity with iOS 9 and iOS 8 legacy support.
- Customized AddressBook Permission prompt when restrictions are
  enabled. If user installed Signal previously and already approved
  access to Contacts, don't bugg him again.
- Fixes crash in migration for users who installed Signal <2.1.3 but hadn't signed up
  yet.

- Xcode 7 / iOS 9 Travis Support
- Bitcode Support is disabled until it is better understood how exactly
  optimizations are performed. In a first time, we will split out the
  crypto code into a separate binary to make it easier to optimize the
  non-sensitive code. Blog post with more details coming.
- Partial ATS support. We are running our own Certificate Authority at
  Open Whisper Systems. Signal is doing certificate pinning to verify
  that certificates were signed by our own CA. Unfortunately Apple's App
  Transport Security requires to hand over chain verification to their
  framework with no control over the trust store. We have filed a radar
  to get ATS features with pinned certificates. In the meanwhile, ATS is
  disabled on our domain. We also followed Amazon's recommendations for
  our S3 domain we use to upload/download attachments. (#891)
- Implement a unified `AFSecurityOWSPolicy` pinning strategy accross
  libraries (AFNetworking RedPhone/TextSecure & SocketRocket).
2015-10-31 04:45:55 +01:00
Frederic Jacobs eb94a1114a Fixing issue with message ordering. 2015-09-14 10:23:29 +02:00
Frederic Jacobs f2e58de164 Bump up version number & fetch latest translations.
//FREEBIE
2015-08-24 22:24:03 +02:00
Frederic Jacobs c95f190140 Require AddressBook permission.
Signal requires the AddressBook permission to use the app at the
moment. This avoids the edgecases where a user doesn’t allow access to
his address book and then tries to use the app. We’re also doing a
significantly better job at explaining why we need this permission to
the user.
2015-08-24 01:47:25 +02:00
Frederic Jacobs 0090030f3d Adding rating code
We’ve noticed that most people went to the App Store to leave really
bad reviews of the app and it is severely affecting our discoverability.
We will ask for a rating if we see you’ve been using the app for some
time. If you rate the app or decline to rate, that’s fine. We will
never bug you again!
2015-08-24 00:28:50 +02:00
Frederic Jacobs 2d5d8db721 Fixes #871
//FREEBIE
2015-08-23 00:13:04 +02:00
Frederic Jacobs ada07351e1 Support for `supportsVOIP` attribute.
- Deprecates RedPhone upgrade flow.
- Adds a generic upgrade dialog.
- Upgrades dependencies.
- Reorganizes `TSStorageManager` & TSNetworkManager imports.
2015-08-23 00:00:39 +02:00
Orta Therox 0ab32b80d1 Stop the spinner when registration fails on a RegistrationVC 2015-08-19 14:59:05 -04:00
Frederic Jacobs c4bf4a8f50 Preliminary iOS9 support and upgrading to CocoaLumberjack 2.0 2015-08-14 00:19:29 +02:00
Frederic Jacobs f6c0625c2c Removing unused imported classes.
//FREEBIE
2015-07-27 16:19:08 +02:00
Frederic Jacobs e7328bd673 Upgrading cert pinning & flagging release. 2015-07-27 16:19:03 +02:00
Frederic Jacobs 07abcaf7da Register extra keying material at registration. 2015-07-14 21:55:25 +02:00
Mert Buran 040e4c750b Removing literals and self within block.
declaring constants instead of string literals
avoiding using self within block
removed unused method decleration from header file

Reviewed-by: @FredericJacobs
2015-07-13 13:49:43 +02:00
Craig Gidney 485748068f Checking the result of SecRandomCopyBytes
Built and verified by @FredericJacobs
2015-07-13 13:49:02 +02:00
Frederic Jacobs 02560f8b2f Flagging release.
- Bump up version number.
- Fetching latest localizations.
- Upgrading libPhoneNumber and Mantle dependencies.
//FREEBIE
2015-06-24 11:06:45 +02:00
Frederic Jacobs 2fc20702d9 Fixing crash on responding to phone call. 2015-06-19 16:09:05 +02:00
Frederic Jacobs 7acd8fff26 Fixing memory issue with allocation of the socket status view. 2015-06-19 14:00:49 +02:00
Frederic Jacobs 4c96ea1c91 Fixes crash on launch for unregistered users who updated. 2015-06-19 13:11:08 +02:00
Frederic Jacobs fd3e75b51d Bumping up version number & pulling localizations
//FREEBIE
2015-06-08 00:00:36 +02:00
Frederic Jacobs 08e3b31eec Recipient's name in group key conflict on send. 2015-06-07 22:41:59 +02:00
Frederic Jacobs 912b617a11 Support for Mismatched Devices. 2015-06-07 22:41:59 +02:00
Frederic Jacobs cd0fb8bc51 Fixing graphical glitch in tread with images. 2015-06-07 22:41:59 +02:00
Frederic Jacobs 57f86008d1 UX and Notifications fixes
- Removes large confusing UX bar and related assets. Replaced with UISwitch.
- Enhanced user experience for missed calls.
- Fixes issue where missed call would appear as incoming call in call log.
- Fixing issues where PushKit handler not called on launch.
2015-06-07 22:38:28 +02:00
Frederic Jacobs 93de0a4326 UX improvements in how failed messages can be resent. 2015-06-07 19:33:27 +02:00
Alex Dunn d347df9a46 App Icon: shift speech bubble up to improve visual alignment
The oval part of the speech bubble was vertically centered, but the hanging triangle made it appear to be lower-than-center.  This pushes the entire bubble up to correct for that.
2015-05-21 10:42:51 +02:00
Frederic Jacobs b1b936e436 Bumping up version number
- Upgrading dependencies.
- Fetching latest localizations.
2015-05-18 22:41:01 +02:00
Frederic Jacobs bb1a4c1800 Addressing issues with managing socket connections in background. 2015-05-18 22:40:27 +02:00
Frederic Jacobs 0f04132b81 Bumping up version number
- Upgraded dependencies.
- Fetching latest localizations.
2015-05-12 22:43:40 +02:00
Frederic Jacobs 0f45294221 Reliability enhancements for notifications. 2015-05-12 22:43:32 +02:00
Brendan Ragan 0f57804eef Enable data selectors. 2015-05-12 18:37:19 +02:00
Frederic Jacobs 61ab11d45c Fixes #775. 2015-05-06 12:38:07 +02:00
Frederic Jacobs 1550c61216 Addressing issues with background decryption.
- Simplifying background timeout strategy for reliabilty.
- Adding Notifications settings.
- Dropping support for VOIP Push < 8.2 because buggy.
2015-05-06 12:36:40 +02:00
Frederic Jacobs 2d41a3e25e Permissions dialog description. 2015-04-30 15:43:28 +02:00
Frederic Jacobs 9652584ada Upgrading dependencies. 2015-04-28 02:15:41 +02:00
Frederic Jacobs e47e9759e9 Fixing leaky caches. 2015-04-28 02:15:41 +02:00
Frederic Jacobs 89dd9efe05 Fixing call message errors. 2015-04-28 02:15:41 +02:00
Frederic Jacobs 13448bdb2d Notifications enhancements.
- Tap to reply to a message.
- Badges application with the number of unread messages.
- Pick up a phone call from lock screen, or decline it.
- Settings for notification sounds while app in foreground and text displayed on local notifications.
2015-04-28 02:15:37 +02:00
Frederic Jacobs abc63eca27 Fixes issues with registration in iOS simulator. 2015-04-10 22:35:26 +02:00
Frederic Jacobs dceb1c9976 Bump up version number, pull localizations and dependencies 2015-04-07 17:28:50 +02:00
Frederic Jacobs c6cdbea89a Fixes #761 2015-04-07 17:22:57 +02:00
Rainer Killinger d12c5b308e Fixes #680
Hour format was set to static “h:mm a” leading to localization issues.
Current locale will now be respected in every formatting.
Adjusted the decision when to label the message with a date from
“more then 24 hours ago” to “not today”.
2015-04-01 09:35:04 +02:00
Frederic Jacobs 8e8ad7668c Bump up version number and new localizations
Note: Removing left to right languages until they are properly supported.
2015-03-23 01:38:18 +01:00
Frederic Jacobs 788aa8cb4f Dropping some required permissions. Smarter microphone permission. 2015-03-23 01:34:33 +01:00
Frederic Jacobs 7a5f9f1413 Remove initialization on MIMETypeUtil 2015-03-21 19:33:58 +01:00
Frederic Jacobs 1f61291e0c Addresses some performance issues on loading from database. 2015-03-21 19:15:43 +01:00
Frederic Jacobs 82a9029c37 Fixes #713 2015-03-21 17:53:39 +01:00
Frederic Jacobs fa1791a4d7 Show phone number instead of "Unknown Caller" in call view. 2015-03-21 17:53:39 +01:00
Frederic Jacobs 0c93679a3d Fixes #709 2015-03-21 17:53:39 +01:00
Frederic Jacobs 5dd8c47474 Fixes #578 2015-03-21 17:53:38 +01:00
Frederic Jacobs 9bf5518f6f Fixes #724 2015-03-21 17:53:38 +01:00
Frederic Jacobs 099bea05ba OpenSSL 1.0.2a 2015-03-21 17:53:38 +01:00
Frederic Jacobs 8e48c596ba Fixes #244 2015-03-21 17:53:38 +01:00
Frederic Jacobs e8ea00d71a Perform contact intersection on AddressBook change. 2015-03-21 17:53:38 +01:00
Aaron Raimist 0d97edf7af Fixes #673 2015-03-21 17:53:38 +01:00
Frederic Jacobs 9c611fad79 Fixes #725 2015-03-21 17:53:38 +01:00
Frederic Jacobs ea37894846 Fixes #708 2015-03-21 16:33:23 +01:00
Dirk-Willem van Gulik a1d0b6b1ad Lets user select country by country code.
Allow the entry of the country dial code to also pre-select/filter
the list of options. Useful for countries way down the list, or
countries that tend to be spelled in widely different ways.

Closes #662
2015-03-21 16:33:23 +01:00
Frederic Jacobs ff82f60e05 Fixes #674 2015-03-16 11:35:25 +01:00
Frederic Jacobs b3a4a20216 Tuning WebSocket heart beat to 30s. 2015-03-12 00:58:04 +01:00
Frederic Jacobs 5aa560c0e3 Updating translations for 2.0.1-2 release. 2015-03-12 00:56:58 +01:00
Frederic Jacobs b6ef5f0b7f Bloomfilter moves to Cache folder
The bloom filter is not user generated content so Apple is not going to
let us store it into the Documents folder. Moving it to the Cache
folder.
2015-03-12 00:46:31 +01:00
Frederic Jacobs 50fa491c7b Fixes #620 2015-03-05 17:38:16 +01:00
Frederic Jacobs 4873b9538b Bumping up release number to 2.0.1
(also fetches latest translations)
2015-03-03 02:49:08 +01:00
Frederic Jacobs a2f20de411 Code cleanup.
- Clarification about pinning strategy.
- Removing unused code in TSRecipient.
2015-03-03 01:33:33 +01:00
Frederic Jacobs ee62cbdf23 Fixes #404
Support for drafts. Unsent messages are saved in case you want to send them later on and were interrupted while redacting them.
2015-03-01 08:49:20 +01:00
Frederic Jacobs daac2c0db3 Fixes #566
This fixes the issue with duplicate numbers in group chats. This is just a "fix" for 2.0.1 but the group code is still pretty messy and should be refactored for 2.1
2015-02-28 23:28:50 +01:00
Frederic Jacobs 7aad5c5971 Fixing UX issue with unsynchronized clocks.
TextSecure messages don’t get assigned a timestamp by the server. All
of it is done end-to-end between both clients. A client could have a
misconfigured clock or might want to forge a timestamp. Therefore, we
address this issue by introducing a new receivedAt timestamp for
incoming messages that will be used to sort the messages.
2015-02-28 15:27:56 +01:00
Frederic Jacobs 456d1c479a Fixes #530 2015-02-28 11:40:00 +01:00
Frederic Jacobs 212f0d4350 Fixes #611 2015-02-26 01:20:44 +01:00
Frederic Jacobs 763d56c5d5 Fixes #613 2015-02-22 22:24:16 +01:00
Frederic Jacobs d4e7096e83 Fixes #609
- Also addresses a typo where the cipher key was checked to exist twice.
2015-02-21 14:50:14 +01:00