Commit Graph

646 Commits (428f7fca19359ba85d19e9a8be11c12e5cdac9e3)
 

Author SHA1 Message Date
Michael Kirk 95ab3d677c must *always* be in main thread when dismissing view controller. (#1114)
Fixes intermittent crash when uploading new group photos.

// FREEBIE
9 years ago
Michael Kirk 5869fb8e06 Fix ability to attach photos from camera (#1112)
* Fix ability to attach photos from camera

Looks like this came about with the animated GIF handling. We'll only
go down the byte-comparison-mime-type-detecting code path for attaching
existing photos, since it only exists for animated GIFs.

This will also revert to properly compressing our image attachments, so
long as they are taken from the camera.

* Prevent crash when tapping broken image

It never makes sense to present a "full screen" nil image. Previously
this happened when camera-capture was broken, but could conceivably
happen for other as-of-yet unknown reasons.

// FREEBIE
9 years ago
Michael Kirk c0bb704d2d Cache instantiated interactions (#1152)
*most* of our time when scrolling around a message view is in this
method. Doubly so when these are media items.

remove interaction from cache when it is deleted/updated

// FREEBIE
9 years ago
Michael Kirk 7d8292fd53 show alert must happen in main thread (#1119)
//freebie
9 years ago
Michael Kirk 9d4befd08c bump up travis timeout for pod install (#1148) 9 years ago
Michael Kirk fc494d735f Merge pull request #1140 from michaelkirk/fix-screen-protection-image
After removing launch image, we need to update screen security
9 years ago
Frederic Jacobs 288ee04a1f Merge pull request #1139 from WhisperSystems/backlog 9 years ago
Michael Kirk 199ce49265 Fix smooshed launch image on iphone 6 by using storyboard instead of static launch image
This is recommended practice for iphone6/+ for iOS>=8

> Although it’s best to use a launch file for iPhone 6 and iPhone 6
> Plus, you can instead supply static launch images if necessary. If you
> need to create static launch images for these devices, use the
> following sizes:

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

Fixes #1136
Closes #1137
9 years ago
Michael Kirk 721ed066f2 Fixes This class is not key value coding-compliant for the key "keyPath"
Since "Key Path" is the header for run time attributes, my guess is that
this was a click misfire so long ago. I'm not clear if this was ever
causing a crash or just a warning, but we don't want the noise.

Fix "Unbalanced calls to begin/end appearance transitions"

You should not segue while animations are in progress. I'm not sure if
this was causing intermittent crashes or just the warning.

//FREEBIE

Closes #1130
9 years ago
2-4601 4f38e70a06 Add templates for issues and pull requests
GitHub recently introduced templates for issues and PRs.
These will hopefully improve both.

Fixes #1088

//FREEBIE
9 years ago
Arek Banas 72e1180e16 Removing unused didReceiveMemoryWarning methods from view controllers.
Closes #1078
9 years ago
2-4601 6f1ae778b8 Update README.md
- remove references to the mailing list (as suggested by Riya)
 - add links to the community forum
 - update copyright year

//FREEBIE
Closes #1087
9 years ago
Frederic Jacobs 8abfc3e2b3 Merge pull request #1138 from WhisperSystems/test_branch
Closing some backlog
9 years ago
Frederic Jacobs 4034baedb9 Adapting to renaming. 9 years ago
Frederic Jacobs 5ff06afe10 Update dependencies.
//FREEBIE
9 years ago
Michael Kirk f44393bb74 Re-introduces the delete action.
The delete action became opt-in in JSQMessagesViewController.
Fixes #913
Closes #1104

//FREEBIE
9 years ago
Michael Kirk 91d7ca2f53 Remove reference to + button, which was removed in #950.
Fixes #1080
Closes #1092
//FREEBIE
9 years ago
Michael Kirk b809890322 Fix unused_string.py uses python interpreter.
Closes #1081
// FREEBIE
9 years ago
Aayush Ranaut bd377e65af Network Signal and deactivate account row don't highlight.
Related #1026
9 years ago
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
9 years ago
Frederic Jacobs 1b02e186f8 Fixes #146 #147. 9 years ago
Frederic Jacobs 975cda312c Adding missing queue test.
The test wasn’t running because wasn’t prefixed with `test`.

//FREEBIE
9 years ago
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.
9 years ago
Mahyar McDonald 0c1a97a743 Some nits & add corner rounding to the message text box.
Closes #884
9 years ago
Adam Kunicki da97349d41 Add subtitle to Screen Security setting to explain its function.
Closes #1014
Fixes  #993
9 years ago
Frederic Jacobs 489407c46a Closes #1021 #977 #980
//FREEBIE
9 years ago
Frederic Jacobs 3acc47d6ad Fixes #832 9 years ago
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.
9 years ago
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
10 years ago
Rui 25293fd40b Fixes #957.
Exit button not displaying when scanning fingerprint.
10 years ago
Frederic Jacobs 53793e3c0f Fixes #950 10 years ago
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.
10 years ago
Frederic Jacobs ab86907991 Merge pull request #900 from big-r81/master
Showing BitHub price in README.md
10 years ago
Frederic Jacobs 861e3d6266 Fixes #930 10 years ago
Frederic Jacobs b70be4d559 Fixing bug with reused label appearing bold. 10 years ago
Frederic Jacobs 5e4a76622b Fixing Travis configuration. 10 years ago
Frederic Jacobs d33c80ddd9 Pulling in latest translations. 10 years ago
Frederic Jacobs 777e7e16f0 3D Touch: Quick Compose 10 years ago
Frederic Jacobs 0fd9acfb2c Phone emoji 10 years ago
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
10 years ago
Frederic Jacobs 087b7c38dc S3 ATS Policy
This partly reverts commit 1affdbb325.
10 years ago
Frederic Jacobs a29eb5470f Attachment type in notification and description. 10 years ago
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.
10 years ago
Frederic Jacobs 047262b95a Fixing typo in restrictions string. 10 years ago
Frederic Jacobs 3d4d4123f7 Removing APNavigation as a dependency. 10 years ago
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.
10 years ago
Frederic Jacobs 1affdbb325 Closes #891 10 years ago
Frederic Jacobs e98a6217fe TLS 1.2 on signaling tcp. 10 years ago
Frederic Jacobs 0ad55853f2 Adding staging environment. 10 years ago
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).
10 years ago