Commit Graph

1207 Commits

Author SHA1 Message Date
Lukas Spieß
65ca8883b2 Add nullability annotations and improve imports 2016-03-07 03:51:06 +01:00
Lukas Spieß
6d603c597d Remove unused setters and getters 2016-03-07 03:51:06 +01:00
Lukas Spieß
4990a62404 Remove BITOrderedDictionary 2016-03-07 03:51:06 +01:00
Lukas Spieß
1ed0610786 Remove unused properties from model class 2016-03-07 03:51:06 +01:00
Lukas Spieß
77873cc8d8 Add API for tracking events 2016-03-07 03:51:06 +01:00
Lukas Spieß
b1ed026349 Use nonatomic property declarations more consistently 2016-03-07 03:50:49 +01:00
Lukas Spieß
69edb5356e Merge branch 'develop' into feature/metrics 2016-03-05 02:20:41 +01:00
Lukas Spieß
30ce8af9c3 Update header attributes and small import fix 2016-03-05 00:06:20 +01:00
Christoph Wendt
ea7c4073a8 Merge pull request #251 from bitstadium/feature/fix-url-encoding
Fix URL encoding bug in BITUpdateManager
2016-03-02 11:28:53 -08:00
Christoph Wendt
9a2a553640 Merge pull request #257 from bitstadium/feature/feedback-image-fix
Fix bug where feedback image could only be added once
2016-03-02 11:25:39 -08:00
Lukas Spieß
fb91f306c7 Properly prefix all string constants 2016-03-02 19:11:26 +01:00
Lukas Spieß
24bc66b85b Refactor UpdateManager request creation 2016-02-29 18:50:47 +01:00
Lukas Spieß
d687938908 Extend requestForUpdateCheck tests 2016-02-29 18:50:47 +01:00
Lukas Spieß
ba2f424314 Add failing tests for URL encoding bug
The query part of the URL used to check for app updates is not always properly URL encoded
2016-02-29 18:50:47 +01:00
Lukas Spieß
f030def9fc Move request creation to separate method 2016-02-29 18:50:47 +01:00
Lukas Spieß
4cc83b999e Add early return if imagePath or processPath is nil
This fixes a crash where PLCrashReporter unexpectedly returns nil as the processPath
2016-02-29 15:43:17 +01:00
Lukas Spieß
fa97f77b56 Avoid variable re-assignment in crash text formatter 2016-02-29 15:42:33 +01:00
Lukas Spieß
a1ed1d2e56 Merge branch 'develop' into feature/metrics
# Conflicts:
#	README.md
#	docs/Guide-Installation-Setup-template.md
2016-02-19 18:11:16 +01:00
Lukas Spieß
e5eb376188 Merge pull request #248 from galbraithjoseph/username-for-app-kill-reports
Issue #247: username, email, etc. not included in app not terminating cleanly crashes
2016-02-09 16:48:21 +01:00
Christoph Wendt
c5d27b643c Merge pull request #232 from bitstadium/feature/synchronize
Remove unnecessary calls to -[NSUserDefaults synchronize]
2016-02-08 13:00:06 -08:00
Christoph Wendt
75cdb27c21 Merge pull request #239 from bitstadium/feature/returning-nil-fixes
Fixes some issues where nil could be passed unexpectedly
2016-02-08 12:59:52 -08:00
mtoon
ca67188cd2 Update BITHockeyHelper.m
Added additional characters to escape
2016-02-07 21:07:49 -05:00
Joseph Galbraith
67118c258a Use filename that does not have .fake in it when retrieving username, useremail, and userid from keychain. 2016-02-04 13:36:37 -07:00
Lukas Spieß
31afe81066 Merge branch 'develop' into feature/metrics 2016-02-02 16:11:44 +01:00
Lukas Spieß
d2f2dd8638 Remove previously deprecated feedbackComposeViewControllerDidFinish: method 2016-02-02 01:40:44 +01:00
Lukas Spieß
383b9d4435 Use stringForKey: instead of Key-Value method 2016-01-28 19:01:33 +01:00
Lukas Spieß
b4f170a1c9 Minor refactorings and casts to improve code
Fixes some minor type mismatch warnings
2016-01-27 15:31:22 +01:00
Lukas Spieß
483bffe080 Update Obj-C syntax use 2016-01-27 15:30:14 +01:00
Lukas Spieß
6d4197aae4 Fix userPath anonymization and add test 2016-01-27 15:28:04 +01:00
Lukas Spieß
e95fd415db Fix minor error in inline documentation 2016-01-23 00:07:24 +01:00
Lukas Spieß
a4d02db5a1 Fix documentation references after removing deprecated delegate methods 2016-01-21 16:36:13 +01:00
Lukas Spieß
dd128a3951 Merge branch 'develop' into feature/metrics
# Conflicts:
#	Classes/BITHockeyHelper.m
2016-01-21 16:19:47 +01:00
Lukas Spieß
23985f4085 Merge branch 'develop' into feature/metrics
# Conflicts:
#	Support/HockeySDK.xcodeproj/project.pbxproj
2016-01-19 03:24:38 +01:00
Lukas Spieß
7f55ffe07b Move NSURLSession availability checks to HockeyHelper
# Conflicts:
#	Classes/BITCrashManager.m
#	Classes/BITFeedbackListViewController.m
#	Classes/BITFeedbackManager.m
#	Classes/BITHockeyHelper.m
#	Classes/BITHockeyManager.m
#	Classes/BITStoreUpdateManager.m
#	Classes/BITUpdateManager.m
2016-01-19 02:58:35 +01:00
Lukas Spieß
53936dd44b Re-order helper methods
# Conflicts:
#	Classes/BITHockeyHelper.m
2016-01-19 02:56:34 +01:00
Lukas Spieß
bd3d14eafd Remove is sessionSupported parameter from methods
# Conflicts:
#	Classes/BITAuthenticator.m
2016-01-19 02:53:29 +01:00
Lukas Spieß
7900a4deb9 Use Apple recommended way to weakly link classes
Compare https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/cross_development/Using/using.html
2016-01-19 02:17:27 +01:00
Lukas Spieß
52183ad6ae Remove old parameter from inline documentation 2016-01-13 16:22:49 +01:00
Lukas Spieß
3e8d779310 Remove deprecated appStoreEnvironment property 2016-01-13 02:01:07 +01:00
Lukas Spieß
75bce064be Remove previously deprecated delegate methods, properties and enum 2016-01-13 02:01:07 +01:00
Lukas Spieß
f50ca6e4f4 Merge pull request #238 from bitstadium/feature/fix-swift-memory-leak
Fix NSURLSession memory leak in Swift apps
2016-01-12 20:29:28 +01:00
Lukas Spieß
cff5e2b5cd Rename everything to "Metrics" where appropriate
We consider for example users and sessions as metrics. These metrics are a subset of telemetry. Telemetry could also include other data such as crashes, exceptions, etc.
2016-01-12 19:10:14 +01:00
Lukas Spieß
79710a5f9f Fixes some issues where nil could be passed unexpectedly
This commit fixes some nullability warnings that are introduced with Xcode 7.3
2016-01-12 19:06:28 +01:00
Lukas Spieß
f150619229 Rename feature flag to HOCKEYSDK_FEATURE_METRICS 2016-01-11 18:41:40 +01:00
Andreas Linde
947afd2f33 Fix NSURLSession memory leak in Swift apps
This should fix the issue raised in https://github.com/bitstadium/HockeySDK-iOS/issues/237

Tested the changes before the patch with Instruments and also after the patch which prooved the leaks going away.
2016-01-07 14:27:18 +01:00
Lukas Spieß
e68b5b0cfe Fix bug where feedback image could only be added once 2016-01-06 12:54:35 +01:00
George
47a1365f80 Merge branch 'develop' into attachments-for-app-kill-reports 2015-12-29 17:14:52 -05:00
Lukas Spieß
4a73dbf757 Improve formatting in documentation 2015-12-29 22:57:19 +01:00
George Cox
50557405a5 Attachment now included with non-clean termination reports
- The fake crash report generated for this type of termination is saved with the .fake file extension. Normally, there is no extension and this wasn't being accounted for when loading the attachment (if any) when preparing to send the crash report. The '.fake' file extension is now stripped prior to loading the attachment.
2015-12-29 12:08:35 -05:00
Lukas Spieß
b443d2a75f Update check for existing value in NSUserDefaults 2015-12-10 01:11:34 +01:00