Commit graph

15 commits

Author SHA1 Message Date
Michael Kirk
2233d4c72c Add jenkinsfile 2019-01-07 12:51:35 -07:00
Michael Kirk
10af14d965 Remove legacy built in test runner from SSK.
You can run the SSK test suite by adding to your cocoaopods file:

    pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git', testspecs: ["Tests"]
2018-11-11 11:31:57 -06:00
Michael Kirk
91eba4dbfc Move WebRTC to separate submodule 2018-10-22 14:48:45 -06:00
Michael Kirk
dc8b5fb97f track pod dependencies publicly
// FREEBIE
2018-02-12 12:49:09 -08:00
Michael Kirk
b663a09c87 helpful tools for building ios11
// FREEBIE
2017-09-25 21:51:15 -04:00
Michael Kirk
40b99a15ed Fix up some tests
Included plausible test implementation for an in-memory profile manager.

Note two tests remain failing (they've been failing for a while)

// FREEBIE
2017-08-09 12:17:03 -04:00
Michael Kirk
1b8efb5255 CI runs SSK tests
Clean up Makefile cruft

// FREEBIE
2017-07-21 13:58:57 -04:00
Michael Kirk
f4d675e952 update ci to use latest XCode / fastlane
// FREEBIE
2017-07-11 16:36:50 -04:00
Michael Kirk
99c982fbb2 change ZXing to framework for faster incremental compiles in xcode
// FREEBIE
2017-03-16 12:04:45 -04:00
Michael Kirk
3db7867978 update dependencies
// FREEBIE
2017-03-15 16:35:51 -04:00
Michael Kirk
c6a2fbff23 Tapping corrupted message opens "session reset" activity
This action was previously hidden under a secret longpress gesture in
the fingerprint view controller.

Ideally we'd never receive corrupted messages, but at the point we do,
our sessions are out of whack, and the only recovery option is to reset.
Let's help our users do that.

* Resetting session sends END_SESSION message

  Otherwise the remote side wouldn't know we reset the session and will
  send us a message on the old ratchet.

* Don't reset their identity key when resetting sender ratchet.

* Updated translations

// FREEBIE
2016-11-04 14:57:37 -04:00
Michael Kirk
1dd06a5e6c Fix registration flow / Keep push tokens in sync
* Separate registering an account from registering for push notifications
  * Allows us to complete registration without prompting user for
    notification settings.

UX Changes
----------
* Automatically keep push tokens in sync on startup.
  Push tokens *can* change, though they rarely do. It happens more often
  for people switching between appstore/beta builds.

  fixes #1174

* Show alert with registration failure
  * add secret 8-tap debug log gesture to registration flow

* Move registration to separate flow
  * don't see flash of inbox when first launching

* show useful error messages when given wrong code / no code

* remove background fetch
  We werent using it, but only relying on a side effect of it which is
  no longer necessary.

Code Changes
------------

* More registration logging.

* Install PromiseKit with carthage

  Our dependencies are not yet framework compatible, so we can't use
  cocoapods.

* Merge preferences util "category" into superclass.

  The immediate reason for this is Swift interop was assuming optional
  types were not optional, and exploding when a value was nil.

  This is clearer anyway, since we were treating it like a subclass, and
  it was the only thing using the class anyway.

* auto-genstrings now searches *.swift (and *.h, which was previously
  broken) for translateable strings.

// FREEBIE
2016-11-03 16:13:49 -04:00
Michael Kirk
8bf4acd78a early boot the simulator to avoid false travis failures
Tests were frequently failing, especially during peak travis-ci hours.

Also, saved some time by removing redundant build from test script.

// FREEBIE
2016-10-20 11:32:31 -04:00
Michael Kirk
f63cfdac7e Fixing travis
// FREEBIE
2016-10-12 09:30:25 -04:00
Michael Kirk
9a9f24d8d1 Fix travis build
// FREEBIE
2016-10-12 09:30:25 -04:00