Stephan Diederich
036d86bc15
hide done button when doing UDID style auth
2013-09-11 15:00: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
Andreas Linde
d93da3ee32
More authenticator integration
...
- Only start the updateManager if the installation is authenticated (not yet tested)
- Provide the installation data to the updateManager requests
- Some more documentation
- Authenticator defaults to BITAuthenticatorAuthTypeUDIDProvider and BITAuthenticatorValidationTypeNever
- Reset usage time if installation identification changes (not yet tested)
2013-09-11 14:05:09 +02:00
Andreas Linde
d7dbb06666
We don't need the advertisingIdentifier
2013-09-11 13:05:45 +02:00
Andreas Linde
d9bcfbb88d
Update license headers in new files
2013-09-11 12:57:27 +02:00
Stephan Diederich
148d10896a
update isValid in startManager depending on validationType
2013-09-11 00:10:10 +02:00
Stephan Diederich
30b93a0468
only reauthenticate if validation failed
2013-09-11 00:05:22 +02:00
Stephan Diederich
1938e480cc
fix auth-viewcontroller unusable after failed authentication
2013-09-10 23:57:00 +02:00
Stephan Diederich
34bf1bf611
add flag to tell if app is currently validated
2013-09-10 23:41:48 +02:00
Stephan Diederich
d60a6d2a97
use done instead of save button
2013-09-10 23:41:48 +02:00
Stephan Diederich
c7f883b91c
provide initial set of english localized string in HockeyAuthenticationViewController
2013-09-10 23:41:48 +02:00
Stephan Diederich
5bdd1fdebf
use done instead of "save" button
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
e3dcfa629f
don't register twice
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
Andreas Linde
c58aad929e
Fix height calculation of feedback messages to cause UI glitches
2013-09-10 23:30:40 +02:00
Andreas Linde
a0af921da4
More UI updates for iOS 7 style feedback
2013-09-10 18:08:34 +02:00
Andreas Linde
2d3e1c503d
Initialise Authenticator before all other modules
2013-09-10 18:08:34 +02:00
Andreas Linde
9456ef97e9
Fix typo
2013-09-10 18:08:34 +02:00
Stephan Diederich
3c9e84f85b
add missing call of completion block & comment
...
thanks @therealkerni
2013-09-09 02:21:12 +02:00
Stephan Diederich
7c2e2b88a0
bail if secret is missing and we're trying to authenticate
2013-09-09 02:16:58 +02:00
Andreas Linde
43db55de17
Add support for minimum OS Version check
...
App versions that require a newer OS Version than the current device provides will be ignored.
2013-09-09 01:26:49 +02:00
Stephan Diederich
484cca06dc
formatting
2013-09-07 22:21:08 +02:00
Stephan Diederich
c72fa30108
allow customization of UDID provider webpageURL
...
and don't mix up SDK and webpage endpoints, but use
the right one for each job
2013-09-07 22:20:34 +02:00
Stephan Diederich
1504b2d9d9
rename auth type to UDIDProvider
...
naming can be hard - thanks @therealkerni
2013-09-07 22:19:38 +02:00
Stephan Diederich
2d97ac7cf7
reset auth-token if identifierForVendor changed
2013-09-07 19:01:17 +02:00
Stephan Diederich
41d7a0da6a
add udid auth via safari roundtrip
2013-09-07 18:10:57 +02:00
Stephan Diederich
41b1d72f83
adjust locallizable strings in authenticationViewController
2013-09-07 16:02:47 +02:00
Stephan Diederich
bdb8b690e7
fix typo
2013-09-07 15:59:18 +02:00
Stephan Diederich
0e1b435eb7
fix button's disabled after failed login
...
* rename method
* invert logic
2013-09-06 19:27:48 +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
9747495ae3
move email-validation to a common place
...
instead of c&p it - lazy bastard :-)
2013-09-06 19:18:32 +02:00
Stephan Diederich
79df67ec4a
disable authenticator when running the appStore version
2013-09-06 18:03:04 +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
6a0cfdd4dc
update documentation on Authenticator
2013-09-06 15:19:11 +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
Stephan Diederich
3497c4399a
cleanup header
...
* remove pre iOS 5 defines
* move header guard to end of file
* remove BITHockeyParseJSON declaration (imp is already gone)
2013-09-06 13:38:05 +02:00
Andreas Linde
23619f5edd
Remove logging how to which doesn't work as expected
2013-09-02 00:34:06 +02:00
Andreas Linde
2b124c8887
Remove cisimple from README as they shut down on 9/1.
2013-09-01 21:24:55 +02:00
Andreas Linde
71318505bc
Remove cisimple from README as they shut down on 9/1.
2013-09-01 21:24:12 +02:00
Andreas Linde
53d164d25d
Update to custom PLCrashReporter v1.2 Beta 1 build with BIT namespace
...
- Adjust to new PLCR initialization scheme
- Don't enable PLCR if the app is starting with a debugger attached
- Add option to enable Mach exception handler. It is strongly discouraged to use this in release builds!
2013-08-31 13:19:52 +02:00
Andreas Linde
43fbe3bf65
These NSLogs shouldn't actually be there
2013-08-30 19:27:52 +02:00
Andreas Linde
29e60062ee
Make the SDK still compile with iOS 6.1 as base SDK
2013-08-30 19:13:41 +02:00
Andreas Linde
4408c60618
Make sure the button title does appear
2013-08-30 19:13:25 +02:00
Andreas Linde
5a030ada9b
Add new line to xcconfig file
2013-08-28 02:04:13 +02:00