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
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
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
1878e6a7e4
Remove some #warnings
...
There surely will be someone integrating the SDK via source, use iOS 7 as base SDK and enabled to treat warnings as errors.
2013-08-18 17:34:27 +02:00
Andreas Linde
ada030c170
Get rid of warnings when compiling with JMC and Xcode 5
2013-08-17 21:30:11 +02:00
Andreas Linde
9c18797fbb
Adjust some feedback view to iOS 7 a bit more
2013-08-17 18:15:24 +02:00
Andreas Linde
584b25245b
Adjust button border color when it is deactivated on iOS 7
2013-08-17 17:43:40 +02:00
Andreas Linde
e016871733
Update update view background color on iOS 7
2013-08-17 17:38:50 +02:00
Andreas Linde
5dd995d1b2
Adjust update view header to iOS 7 style
2013-08-17 17:31:12 +02:00
Andreas Linde
5b43944128
Adjust update view button appearance on iOS 7
2013-08-17 17:02:33 +02:00
Andreas Linde
fa009300cf
Don't set the barStyle for the Update view navigation bar to black in iOS 7 or later
2013-08-17 16:33:36 +02:00
Andreas Linde
cd7790aec7
Adopt helper for custom UINavigationBars
2013-08-17 16:33:07 +02:00
Andreas Linde
a95b690409
Add helper to create a custom UINavigationBarController
...
This will apply the defined customization settings
2013-08-17 16:29:51 +02:00
Andreas Linde
0a50c94df1
Add possibility to check for iOS 7 or older at runtime
...
This will be needed to adjust UI customizations in iOS7 and later
2013-08-17 16:15:59 +02:00
Andreas Linde
9a83bb20db
Update link to PLCrashReporter website
2013-08-17 16:03:39 +02:00
Andreas Linde
da3c5f2c4a
Do not enable PLCrashReporter Exception or Signal handlers if the debugger is attached
...
This check is only done in non app store environment!
2013-08-17 16:01:05 +02:00
Andreas Linde
59db07771e
Make sure not to process a crash report file that could not be parsed
2013-08-17 15:42:15 +02:00
Andreas Linde
81014659ed
Remove deprecated log messages in crashmanager, since the delegate itself is already marked as being deprecated
2013-08-17 15:38:22 +02:00
Andreas Linde
88627a48b4
Guard PLCR initialization with dispatch_once instead of try/catch
...
PLCrashReporter may only be initialized once. So make sure the developer can't break this
2013-08-17 15:36:20 +02:00
Andreas Linde
22dd9006ab
Use NS_ENUM for BITCrashManagerStatus and move its documentation to the correct place
2013-08-17 15:24:57 +02:00
Andreas Linde
6a27b6f453
Remove empty BITCrashManagerPrivate.h
2013-08-17 15:14:00 +02:00
Andreas Linde
0ce166c005
Document some more BITCrashManager methods
2013-08-17 14:57:58 +02:00
Andreas Linde
f7eda241ee
Adopt renamed tintColor property to navigationBarTintColor
2013-08-16 23:17:56 +02:00
Andreas Linde
2392e0d169
Merge branch 'refs/heads/develop-public' into develop
2013-08-16 23:13:50 +02:00
Andreas Linde
2e24f654c4
Remove UUID based authorization feature, since UUIDs are completely removed in iOS7
...
A new auth feature will be added, that is based on HockeyApp user accounts
2013-08-16 22:18:28 +02:00
Andreas Linde
5de53de18b
change misleading "tintColor" property in BITHockeyBaseManager
2013-08-16 18:11:15 +02:00
Stephan Diederich
439c32d6f0
add authenticator to main header
2013-08-15 23:02:17 +02:00
Stephan Diederich
d80e8090a7
add cancellation support
2013-08-15 22:59:08 +02:00
Stephan Diederich
4f6f871bf3
add authenticator to the HockeyManager
...
& make protocol methods optional
2013-08-15 22:38:24 +02:00
Stephan Diederich
c39053dbd2
better completion block handling
...
make sure to remove the completion block once done.
This should help in cases the user forgot to do the weak-dance
as well as when the copied objects are release
2013-08-15 22:31:53 +02:00
Stephan Diederich
ff555cb87d
refine validation logic
2013-08-15 22:30:39 +02:00
Stephan Diederich
4647907ea0
allow to create URL-requests with parameters
2013-08-15 22:29:38 +02:00
Stephan Diederich
447d850207
provide access to the response
...
e.g. http status codes
2013-08-15 22:27:49 +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
Pedro Milanez
e57e6da043
Update to ios6 compatible on Modalviewcontroller
2013-08-14 11:31:52 -03:00
Andreas Linde
151f311563
Make sure to call substringToIndex when creating the crash report in text format only if the path string actually is not empty
...
How this could ever happen is beyond my imagination
2013-08-13 02:49:28 +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
2a3a8d62cb
add validation logic
2013-08-11 22:42:31 +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