Commit Graph

387 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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
Frederic Jacobs bb1a4c1800 Addressing issues with managing socket connections in background. 2015-05-18 22:40:27 +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 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 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 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 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 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
Frederic Jacobs c1a2f006be Fixes bug spotted by @jlund with the unread count. 2015-02-21 12:11:49 +01:00
Frederic Jacobs 24616735e5 Fixing issue when migration closed and re-opened. 2015-02-21 12:11:49 +01:00
Frederic Jacobs 311a758d27 Preparing release
- Incrementing build number
- Fetching latest translations
- Pod lock
2015-02-21 12:11:49 +01:00
Frederic Jacobs 3ade708040 Fixes based on corbett and abolishme's feedback 2015-02-21 12:10:28 +01:00
Frederic Jacobs 7968821055 Fixing Storyboard warnings. 2015-02-20 23:15:41 +01:00
Frederic Jacobs 9872bed428 Addressing some storage related fixes.
- Tested on jailbroken phone that correct files are getting encrypted
- Fixes #557
- Stores image file extension
- Addresses issue with deletion of debug logs
- Preventing user to browse in app if not registered with TS server
2015-02-20 22:59:38 +01:00
Christine Corbett 1ede61f272 Localizing the TextSecure component of Signal. 2015-02-20 19:31:44 +01:00
Frederic Jacobs ae5410fa69 Making sure that registrationID > 0. 2015-02-20 17:14:04 +01:00
Christine Corbett b37683c0ed Fixed positioning of "+" on group create screen. 2015-02-20 12:47:56 +01:00
Frederic Jacobs 19ca10d431 Allows retry of failed downloads. 2015-02-19 01:57:38 +01:00
Frederic Jacobs 9569a9b9c6 Multiple visual enhancements and repo cleanup.
- Revising iconography to stick to v2.0 design.
- Multiple bug fixes based on testers feedback
- Integration with system addressbook
- Removing unused assets.
2015-02-18 18:20:02 +01:00
Christine Corbett 1befa98617 Should use new Inbox and Archive icons 2015-02-16 23:54:05 +01:00
Christine Corbett be6c412cd2 Navigation bar hidden upon connection completed. 2015-02-16 23:54:05 +01:00
Frederic Jacobs d912471a94 Settings and Empty States of the 98 issues list.
- Fixes some thread ordering issues.
- Green color for settings.
- New archive placeholder.
- Warning before unregistering.
2015-02-16 23:54:05 +01:00
Christine Corbett 414c44df80 Closes #590 - New Conversation Iconography.
- Use new Cancel button icon
- Use new Add Group button icon
- Use new Call Contact (d/w) button icon
2015-02-16 23:53:26 +01:00
Christine Corbett 667cc983e9 Closes #589 - Enhancements conversation view.
- Call button should be removed from compose bar (when no text is in the input, or ever).
- Attachment options should be Choose from Library..., or Take Photo or Video
- Call button should move to right side of nav bar, and be solid white.
- Send button in compose bar should be the word Send.
- Attachment icon should be paperclip
2015-02-16 23:53:25 +01:00
Frederic Jacobs 3112bd9a15 Design enhancements, part of #577
- Settings iconography.
- Close buttons.
- Add gesture recognizers on navigation bar label, not the entire bar.
- Group view and conversation view back buttons.
2015-02-16 23:53:25 +01:00
Christine Corbett d70a9403b6 Empty states.
- With the exception of the first launch states, none of the empty states should include any artwork
- First Launch Inbox State should read: Start your first Signal conversation! Tap on the + button.
- Empty Inbox State should read Done. Done. Done. Tip: add a conversation as a reminder!
- First Launch Archive State [should read][first-launch-archive] Save conversations for reference. You can swipe conversations into your Archive from the Inbox
- Empty Archive State should read Squeaky Freaking Clean. None. Zero. Zilch. Nada.
2015-02-16 23:53:25 +01:00
Christine Corbett 70248837e7 New avatar placeholders.
- avatar colors implemented
- removed grey border on default group avatars and avatars with images
2015-02-16 23:53:25 +01:00
Frederic Jacobs dfdd0a1974 Support for `remoteRegistrationId`.
1) Supporting `remoteRegistrationId` on sending messages. Now showing
warning before sending the message if key conflict exists. Fixes #574
2) Upgrading dependencies: adapting to new libPhoneNumber API.
3) Fixes race condition in database code.
4) Fixing ordering bug. Hopefully once and for good.
2015-02-16 23:49:35 +01:00
Christine Corbett cbc7a59a5c Tapping signal icon should return user to last conversations mode. Closes #580. 2015-02-13 12:12:07 +01:00
Frederic Jacobs b80f99b8ac Cleanup iconography & fixes #582 2015-02-13 12:12:06 +01:00
Frederic Jacobs d6fd2ff610 Fixes #584 #585 #586 2015-02-12 23:52:49 +01:00
Frederic Jacobs bbc4e3648e Closes #575 2015-02-06 10:45:32 +01:00
Frederic Jacobs 7242680464 Contact ordering and graying out RedPhone-only users. 2015-01-31 02:26:38 -10:00
Christine Corbett 8a5c5efd73 Group avatar relationship for deletion. 2015-01-31 01:37:39 -10:00
Frederic Jacobs 585079de21 Fixes #553 2015-01-31 01:35:49 -10:00