135 Commits

Author SHA1 Message Date
Andreas Linde
23ec4f9320 Use custom build arch setting to it works in Xcode 4.6 too 2013-09-13 11:25:42 +02:00
Andreas Linde
596d218128 Add missing public headers 2013-09-12 23:12:12 +02:00
Andreas Linde
754479b17f Bump version string to 3.5.0b1 2013-09-12 22:47:50 +02:00
Andreas Linde
11e354a7d3 Set version string to 3.1.0b1 2013-09-12 12:21:40 +02:00
Andreas Linde
d7ae69860d Various documentation fixes and updates 2013-09-12 12:21:12 +02:00
Andreas Linde
67a4e1b6f9 Build the static lib also with 64bit slice 2013-09-12 11:27:27 +02:00
Andreas Linde
d17ac0945d Bump arm64 to iOS7 deployment target since that's the earliest iOS version that runs on arm64 2013-09-12 10:53:18 +02:00
Andreas Linde
5d8b42e92f Upgrade Xcode project setting 2013-09-11 23:57:18 +02:00
Andreas Linde
7fd05d76ab Bump version to 3.1.0 2013-09-11 23:38:46 +02:00
Andreas Linde
abc8501969 Set deployment target to iOS 6.0 for arm64 2013-09-11 23:32:03 +02:00
Andreas Linde
11a8a14e4f Add support for excluding features at compile time
Features can be excluded/included at compile-time using #define statements, e.g. using `Preprocessor Macros`. These don't influence if the feature will actually be enabled, since that can also be done at runtime and some features are disabled automatically in the App Store or disabled by default in general.

The BITHockeyManager header file will still reference all modules, but accessing the modules will not be possible if excluded from the library.

Value of 1 includes the feature into the static library, 0 will exclude the feature from the static library.

Defaults:

Crash Reporting: HOCKEYSDK_FEATURE_CRASH_REPORTER 1
Feedback: HOCKEYSDK_FEATURE_FEEDBACK 1
App Store Updates: HOCKEYSDK_FEATURE_STORE_UPDATES 1 (This feature is disabled by default in code!)
Authenticator: HOCKEYSDK_FEATURE_AUTHENTICATOR 1
Beta Updates: HOCKEYSDK_FEATURE_UPDATES 1
Jira Mobile Connect: HOCKEYSDK_FEATURE_JIRA_MOBILE_CONNECT 0
2013-09-11 19:18:21 +02:00
Stephan Diederich
c534e5d566 also reset auth token if authType changed
saves us a round-trip when validating, as when
the authType changed, server would return nope.
2013-09-11 16:46:07 +02:00
Stephan Diederich
378c4e91f5 fix tests for validation / authviewcontroller
bringing up authViewController again is handled by the default
completion block. So we need to pass it along
2013-09-11 14:55:23 +02:00
Stephan Diederich
ea5452603b store the type of the token with the token itself
updater needs it as well and we actually don't want to send
the wrong type to the server
2013-09-11 14:52:33 +02:00
Stephan Diederich
30b93a0468 only reauthenticate if validation failed 2013-09-11 00:05:22 +02:00
Stephan Diederich
34bf1bf611 add flag to tell if app is currently validated 2013-09-10 23:41:48 +02:00
Stephan Diederich
3144247dc9 in "optional"-mode, show authentication exactly once 2013-09-10 23:41:48 +02:00
Stephan Diederich
2886ac4d77 rename skip to cancel 2013-09-10 23:41:48 +02:00
Stephan Diederich
ebbe6dc0af use helper method from BITHelpers instead of home-brewed solution 2013-09-10 23:41:48 +02:00
Stephan Diederich
7c2e2b88a0 bail if secret is missing and we're trying to authenticate 2013-09-09 02:16:58 +02:00
Stephan Diederich
2d97ac7cf7 reset auth-token if identifierForVendor changed 2013-09-07 19:01:17 +02:00
Stephan Diederich
567b0def60 refactoring: move auth-logic to the authenticator
via a delegation-completionBlock-combo
2013-09-06 19:23:58 +02:00
Stephan Diederich
6c29a72a98 fix authenticator tests - initialize _NOT_ being in the appstore 2013-09-06 19:23:15 +02:00
Stephan Diederich
e784213184 cleanup Authenticator interface
* remove additional delegate methods
* remove validation/authentication calls from public interface
2013-09-06 18:01:29 +02:00
Stephan Diederich
6f64b8e5d6 make installationIdentification KVO'able 2013-09-06 17:24:01 +02:00
Stephan Diederich
96304ac639 factor out BITHockeyAppClient to provide network services
* factor out HockeyAppClient
* configure Authenticator with HockeyAppClient
* move appendPostValue to HockeyAppClient (& add the missing boundary parameter)
* move tests over to new file
2013-09-06 17:11:55 +02:00
Stephan Diederich
b25796742e Merge branch 'develop' into feature/#19-verifyBetaUsers
Conflicts:
	Support/HockeySDK.xcodeproj/project.pbxproj
2013-09-06 13:40:39 +02:00
Andreas Linde
5a030ada9b Add new line to xcconfig file 2013-08-28 02:04:13 +02:00
Andreas Linde
6a27b6f453 Remove empty BITCrashManagerPrivate.h 2013-08-17 15:14:00 +02:00
Andreas Linde
e4d33595e9 Remove authorize_request images, since they are not used any more 2013-08-16 22:19:43 +02:00
Stephan Diederich
ff555cb87d refine validation logic 2013-08-15 22:30:39 +02:00
Stephan Diederich
039902da02 add networking helpers to BITAuthenticator
* NSOperation-based networking
* helpers for URLRequest, operation, getPath:error:
2013-08-11 22:42:31 +02:00
Stephan Diederich
ffc54256dd make BITAuthenticator public 2013-08-11 22:42:31 +02:00
Stephan Diederich
017b8495a8 add BITAuthenticator
class to control authentication and validation of an installation.

TODO:
* AuthenticatorViewController
* validation
* hooking into BITHockeyManager
2013-08-09 12:23:37 +02:00
Andreas Linde
b02e0673c0 Remove non needed build phase for unit test 2013-07-30 16:19:57 +02:00
Andreas Linde
20c055eb48 Merge pull request #41 from bitstadium/feature/#30-feedbackDelegate
Feedback manager delegate & strong typing of BITHockeyManager delegate
2013-07-29 05:03:32 -07:00
Stephan Diederich
c816f4dc19 add feedbackManager delegate that is informed about incoming feedback
fixes #30
2013-07-26 15:33:12 +02:00
Andreas Linde
b23e5134bc Add an optional delegate to get informed about new update being available 2013-07-26 14:46:17 +02:00
Andreas Linde
09647bc6c4 Move CodeCoverage into its own build configuration
That way integrating via Xcode project won't bother with coverage files
2013-07-26 14:46:17 +02:00
Andreas Linde
505535da41 Update unit tests to not modify lastCheck property but instead use NSDefaults as it would happen in real 2013-07-26 14:46:17 +02:00
Andreas Linde
72d203d00f More unit tests
And minor refactoring of method name
2013-07-26 14:46:17 +02:00
Andreas Linde
05dcca8ead Add code coverage
Yeah, coverage is poor right now. I know I know...
2013-07-26 14:46:17 +02:00
Andreas Linde
413cbb4fc7 Remove invalid reference in the Xcode project 2013-07-26 14:46:16 +02:00
Andreas Linde
4de8c898be Manual checks always being ignored 2013-07-26 14:46:16 +02:00
Andreas Linde
4921ecb690 Unit tests and refactoring 2013-07-26 14:46:16 +02:00
Andreas Linde
e89564a8d9 First version of new AppStore Update module 2013-07-26 14:46:16 +02:00
Stephan Diederich
c5499065a3 set ident-width of BitAttributedLabel to 4 spaces
seems this is the used one, so set it in the xcodeproject
2013-06-20 14:18:13 +02:00
Andreas Linde
93c2f05fac Use Keychain for some data
- Added SFHFKeyChainUtils with BIT prefix
- Save username, email or userid (if provided by the app or the user) in the keychain instead of user defaults or property files
2013-05-09 16:45:58 +02:00
Andreas Linde
2fc559403e Bump version to 3.0.0 build 17 2013-02-12 16:28:47 +01:00
Kevin Rohling
9e51b1cd89 Updating script to copy artifact to output dir 2013-02-10 14:21:19 -08:00