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
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
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
Stephan Diederich
c81a2b0940
cleanup header
...
* remove pre iOS 5 defines
* move header guard to end of file
* remove BITHockeyParseJSON declaration (imp is already gone)
2013-08-08 16:03:42 +02:00
Andreas Linde
b02e0673c0
Remove non needed build phase for unit test
2013-07-30 16:19:57 +02:00
Andreas Linde
f091cb6c01
Update documentation that only BITHockeyManagerDelegate needs to be added as a protocol, since that now implements all other delegates
2013-07-29 14:09:49 +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
Andreas Linde
70a4310d24
Merge pull request #44 from bitstadium/feature/#31-feedbackCompletion
...
provide info in the delegate if feedback was submitted or cancelled
2013-07-29 02:34:32 -07:00
Andreas Linde
117bf95574
Update PLCrashReporter build with armv7s
2013-07-29 11:32:23 +02:00
Andreas Linde
ef1ae02a1e
Merge branch 'refs/heads/feature/v3.1' into develop
2013-07-28 01:55:40 +02:00
Andreas Linde
0a3ddc1373
Merge branch 'refs/heads/feature/AppStoreUpdate' into develop
2013-07-28 01:53:33 +02:00
Andreas Linde
c3776206cd
Merge pull request #43 from bitstadium/cleanup
...
Cleanup
2013-07-27 09:50:42 -07:00
Stephan Diederich
d39c39feb7
comment private header
2013-07-27 15:25:34 +02:00
Stephan Diederich
9acdf02a0e
add todo
2013-07-27 15:25:16 +02:00
Stephan Diederich
03081b4bcd
replace numbers with an enum
...
* use an enum instead of plain numbers
* move used method below the using method
2013-07-27 15:24:52 +02:00
Stephan Diederich
5d8f030547
remove initializations
...
the runtime already does a good
job at this
2013-07-27 15:24:35 +02:00
Stephan Diederich
d660dd8b7c
factor out mainBundleIdentifier helper
2013-07-27 15:24:24 +02:00
Stephan Diederich
c71c764303
strongly type the BITHockeyManagerDelegate
...
instead of being id, use the proper protocol. Also
let the BITHockeyManagerDelegate protocol implement
the module protocols.
2013-07-26 15:34:39 +02:00
Stephan Diederich
c816f4dc19
add feedbackManager delegate that is informed about incoming feedback
...
fixes #30
2013-07-26 15:33:12 +02:00
Stephan Diederich
949613d7e5
move protocol to class extension
2013-07-26 15:06:17 +02:00
Stephan Diederich
d347153e1c
remove unused simulated new version
...
it's not needed in the tests and currently just adds overhead
2013-07-26 14:46:18 +02:00
Stephan Diederich
c92c6b379e
move protocol to class continuation
...
no need this must be public
2013-07-26 14:46:18 +02:00
Stephan Diederich
609dbcccb8
adjust property declarations
...
while those are probably singletons, it should be more safe
to retain them.
2013-07-26 14:46:18 +02:00
Stephan Diederich
0a1931d20e
adjust comment
2013-07-26 14:46:18 +02:00
Stephan Diederich
125e84b9ac
remove check for nil
2013-07-26 14:46:18 +02:00
Stephan Diederich
f7136ec9d1
NSDate is non-mutable, should be safe to retain it
2013-07-26 14:46:18 +02:00
Andreas Linde
56a5f546c4
Added a hint to enable the StoreUpdateManager to make the simulation actually work
2013-07-26 14:46:17 +02:00
Andreas Linde
7582f02a08
Add simulating an app store update being available
...
Will be automatically disabled when run from a build distributed by the App Store
2013-07-26 14:46:17 +02:00
Andreas Linde
166f2c7ccd
Also return the storeURL for the app
2013-07-26 14:46:17 +02:00
Andreas Linde
f4e9c8724d
New property to disable the StoreUpdateAlert
2013-07-26 14:46:17 +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
c4921bb9de
Make sure not to check for store updates if NSLocaleCountryCode returns nil
...
And also make sure it doesn't crash in that case :)
2013-07-26 14:46:17 +02:00
Andreas Linde
77f1522b44
Add more debug logging to BITStoreUpateManager
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
f11bee044b
Missed that method call change
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
8c6adec552
Disable built in UI if HockeySDK bundle is not present
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