30 Commits

Author SHA1 Message Date
Andreas Linde
065f9e7b89 Assign more files to features
Make sure the implementation is only processed in all files, when the feature is actually set to build
2015-08-10 17:38:09 +02:00
Andreas Linde
cb00038222 Use UIAlertController when available 2015-07-22 15:37:51 +02:00
Andreas Linde
29acf3ef05 Fix iOS 9 warnings
- Require iOS 7 as base SDK  (for compiling)
- Hide deprecation message for NSURLConnection calls, these will be refactored soon
- Remove statusbar adjustment code (which isn't needed any longer)
- Remove kBITTextLabel... defines and use NSText.. instead
- Remove a few `#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1` since we require iOS 7 as base now (for real)
2015-07-22 15:33:53 +02:00
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +01:00
Andreas Linde
7608f8253d Set the tintColor in the auth view and modal views navigation controller on iOS 7
- The authentication controller now sets the buttons tintColor always to the default blue color. This fixes white UIWindow tintColor, since the auth view is using white as background.
- Navigation controllers for modal views now also set the tintColor of the navigationBar to the default blue color on iOS 7, if the developer did not set the `navigationBarTintColor`. This fixes white UIWindow tintColor for feedback and beta update modal views as they are defined to use the default style.
2014-01-09 15:44:21 +01:00
Andreas Linde
e15039e3a0 Fix password label being cut in authorization view for some languages and fix positioning 2013-10-29 12:16:00 +01:00
Stephan Diederich
ddaab3246c let authenticator set the description of the viewController 2013-10-11 17:17:56 +02:00
Andreas Linde
32318cac36 Move BITValidateEmail to BITHockeyHelper named bit_validateEmail and add some tests 2013-09-25 15:48:58 +02:00
Stephan Diederich
c2c6558687 redo BITAuthenticator interface
given the good feedback we got, this is take 2
of the BITAuthenticator interface.
It's simplified, cleaned up and now allows full
control over the authentication process.
Major changes:
* manual mode
  Authenticator provides the bits to show the
  viewController to identify the user as well as to
  trigger validation on behalf of the developer.
* process separation
  identification and app-usage-restriction are now
  2 completely separated things.
* public identifier
  Authenticator now allows the developer to query
  parts of the information, e.g. the UDID or the user's
  emailaddy once identified
2013-09-23 23:15:56 +02:00
Stefan Haubold
7afedd5132 UIButtonTypeSystem isn't available before iOS 7 use own kBITButtonTypeSystem instead 2013-09-13 11:00:04 +02:00
Andreas Linde
67d56af15d Fix warnings when building with iOS 7 as deployment target 2013-09-12 11:26:19 +02:00
Andreas Linde
1cb91ae323 Some authenticator string updates 2013-09-11 20:44:34 +02:00
Andreas Linde
a9395c78f8 Move description texts above input fields in authenticator UI 2013-09-11 20:36:09 +02:00
Stephan Diederich
036d86bc15 hide done button when doing UDID style auth 2013-09-11 15:00:07 +02:00
Andreas Linde
d9bcfbb88d Update license headers in new files 2013-09-11 12:57:27 +02:00
Stephan Diederich
1938e480cc fix auth-viewcontroller unusable after failed authentication 2013-09-10 23:57:00 +02:00
Stephan Diederich
d60a6d2a97 use done instead of save button 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
2886ac4d77 rename skip to cancel 2013-09-10 23:41:48 +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
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
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
a530df813d add authentication logic 2013-08-15 22:27:20 +02:00
Stephan Diederich
9ae6fa060e allow to hide cancel-Button in authenticator view controller
so the user is stuck in authentication
2013-08-15 17:27:08 +02:00
Stephan Diederich
d7f45267dd add some code to BITAuthenticatorViewController
and let it perform authentication. Still some TODOs to do.
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