Commit graph

39 commits

Author SHA1 Message Date
dtsbourg e48ea52924 ContactDetail: Fix crash on parsedPhoneNumbers 2015-01-04 11:30:21 +01:00
Frederic Jacobs 6dd04a49fe Refactoring signup flow, storage, contacts.
- Signal preferences and keying material moved to the unified storage
- Set up for staging environment to try out the new APIs
- Changes in the push registration flow to send token to RP & TS
2015-01-04 11:29:59 +01:00
Frederic Jacobs b9907b9a32 Laying ground for signup flow refactoring 2015-01-04 11:28:38 +01:00
Frederic Jacobs 43af8c18e3 Merging UI code with some basic TextSecureKit code. 2015-01-04 11:28:38 +01:00
Ben Sandofsky f65d552f6d Prefix NSArray categories.
Begin process of prefixing categories on Foundation and UIKit. This
follows Cocoa best practices. This makes sense given the number of third
party libraries the project incorporates, which may include their own
colliding category method names.

Use OWS prefix on classes that may be used across apps.
2014-11-20 00:34:47 -08:00
Craig Gidney abb0486ec1 Fixed a warning in PriorityQueueTest, and some dot syntax //FREEBIE
- Also simplified the comparators
2014-11-18 23:17:06 -05:00
Craig Gidney f98d661eaa Removed size-assuming NSUInteger parsing tests 2014-09-21 17:05:10 -04:00
Craig Gidney 06a4597859 Fixed RecentCall unconditionally setting userNotified, even for missed calls //FREEBIE 2014-09-21 12:54:45 +02:00
Frederic Jacobs cd0bda7105 iOS 8 Support
- Supporting iOS 8
- Updating translations
- Rewriting PushManager to extensively use futures
- Pick up calls directly from the lock-screen
2014-09-15 01:32:19 +02:00
Frederic Jacobs 8b42036f16 Reverting timestamp RTP field
See discussion in #143
//FREEBIE
2014-09-12 07:31:05 +02:00
Craig Gidney f1de95ab06 Recursively added dot syntax, translating more terms when they were encountered in the dif
FREEBIE
2014-09-12 07:21:17 +02:00
Craig Gidney baaef78323 Using dot syntax for local*, all*, full*, first*, last*, to*, encodedAs*, copy*
FREEBIE
2014-09-07 11:43:53 -07:00
Craig Gidney 97e2285b23 Setting timestamp based on number of samples sent
- Added timeStamp property to EncodedAudioPacket
- Added timeStamp parameter to rtpPackageWithDefaults constructor
- Added nextTimeStamp to AudioPacker with random initial value and sample length increases
- AudioSocket forwards timeStamp
- Added generateSecureRandomUInt32 to CryptoTools
- Updated tests
FREEBIE
2014-09-06 22:58:14 -07:00
Craig Gidney 03ce3635cb Improved the phone number editing during registration
- Fixed a crash where an offset wrapped around when deleting the opening bracket
- Backspacing now skips over formatting characters
- Cursor position is maintained more accurately when reformatting
- Added a few utility methods
- Also fixed a test not having "test" as a prefix, causing it not to run
//FREEBIE
2014-09-02 18:11:11 +02:00
Craig Gidney e9f8881bd4 Checking error codes and cleaning up when errors occur in EvpKeyAgreement
- Added a test to actually exercise the DH agreement path
//FREEBIE
2014-09-01 09:30:09 +02:00
Craig Gidney 5401056d31 Checked indentation, future source results, directory layout, thenTry vs then, dependencies 2014-08-20 19:43:33 -04:00
Craig Gidney ced4fc8947 Initial work to depend on external futures library instead of internal implementation
Still need to:
- Fix indentation
- Check for any FutureSource being returned instead of FutureSource.future
- Check for then: vs thenTry: mixups
- Check for main thread related issues
- Check for other exception catching issues
- Adjust directory layout
- Manual end-to-end testing
2014-08-20 08:08:32 -04:00
Craig Gidney 5d31f76f3e Fixed packEcCoordinatesFromEcPoint having variable-sized output, prevent reconstruction of public key 2014-08-19 12:18:00 +02:00
Craig Gidney 4cd30f32ed Using getter syntax for shared*, is*, and has* 2014-08-19 00:14:19 -04:00
Craig Gidney 9e36872644 Using dot syntax for count and length 2014-08-13 21:13:24 -04:00
Craig Gidney 1e9a3e9a46 Ran "Edit -> Refactor -> Convert to Modern Objective-C Syntax"
- dictionaryWithObject -> @{key: val}
- objectAtIndex -> a[i]
- numberWithBool/Int/etc -> @1, @(val)
- Reverted friendly fire on ProtocolBuffers
- Did not do ANY other changes (including changes to make more refactorings succeed)
//FREEBIE
2014-08-13 12:36:36 +02:00
Craig Gidney 6fd78ef143 Added canary test to notify future maintainers when safety pads can be removed from spandsp usage //FREEBIE 2014-08-13 12:36:20 +02:00
Frederic Jacobs 619b53cb0b Screen security feature. Closes #31 2014-08-09 18:27:26 +02:00
Frederic Jacobs f5bbf9d480 Enhancements to certificate pinning
//FREEBIE
2014-08-09 02:39:09 +02:00
Frederic Jacobs aca4733ac0 Multiple fixes
- Make logging optional if desired
- HTTPS external URLs
- Clean app data when re-registering
- If registration future fails, bring back user interaction
2014-08-09 01:01:05 +02:00
Frederic Jacobs 9240a095ae Travis CI-support and iOS8 push notifications
//FREEBIE
2014-08-05 05:44:43 +02:00
Frederic Jacobs dd73eafe47 Preparing tests for Travis
- Removing test server tests
- Getting ZRTP values from Keychain
- Getting NSCFErrors in NetworkStreamTest
- Fixing PriorityQueueTest comparator
2014-08-04 17:17:05 +02:00
mjewkes 2031a95092 UInt16 variance test //FREEBIE 2014-08-04 02:06:52 +02:00
Frederic Jacobs 60fb869baa Closes #80 #37
- Use of new Keychain Access attribute
- Error management (notifying the user) when opening app without
required push and microphone permission
- Enforcing APNID are sent to server, retry later if not able to reach
server
2014-08-01 01:53:58 -04:00
Frederic Jacobs 3113665f08 Removing some test headers 2014-07-30 21:55:17 -04:00
Frederic Jacobs c33e38e926 Merging various bug fixes 2014-07-30 21:09:13 -04:00
Frederic Jacobs 7ec22427c0 Closes #75 2014-07-30 21:03:20 -04:00
mjewkes 65e9b47822 Class comment in the header. 2014-07-29 21:34:53 -03:00
mjewkes e48bea1a32 Final removal of the CryptoUtils class name, replaced with CryptoTools. 2014-07-29 21:33:38 -03:00
mjewkes eabb5f43f6 Handshake HMAC Authentication success/failure test. Random uint16 generation variance testing for full CryptoTools test coverage. Removal of stub tests. 2014-07-29 21:31:57 -03:00
Frederic Jacobs 675956f792 Goodbye OCTest, Hello XCTest
Some tests are still failing after the new key datastore transition.
2014-07-17 01:14:12 +02:00
Frederic Jacobs 05fe10612e Advanced network logging 2014-07-13 00:40:05 +02:00
Frederic Jacobs bdf6f957a3 NSComparator for unit tests 2014-07-03 15:50:36 +02:00
Frederic Jacobs 6373507108 initial commit 2014-05-06 19:41:08 +02:00