123 Commits

Author SHA1 Message Date
Andreas Linde
aa5e68536d Fix formatting of appname in crash reports
Fixes highlights on HockeyApp backend of apps with special chars in their name
2014-09-03 14:14:34 +02:00
Andreas Linde
cae1226b38 Allow customizable attachments to feedback
- New `BITHockeyAttachment` class, which `BITCrashAttachment` is now a subclass of
- Can also be used in `prepareWithItems:` for BITFeedbackComposeViewController
- Allows to set a custom filename and content-type for attachments that can be used with crash reports and with feedback
2014-06-21 16:23:55 +02:00
Andreas Linde
7963fdf5a7 Merge branch 'refs/heads/feature/instancetype' into develop 2014-06-12 00:26:27 +02:00
Lukas Spieß
42738397a6 Replace initialiser return types of id with new instancetype 2014-06-11 15:35:45 +02:00
Andreas Linde
12682d9e3d Fix handling of some edge cases in relation to sending approved crash reports 2014-06-10 15:37:13 +02:00
Andreas Linde
05e0e7ccd6 Make sure checking for non approved crash reports also works when there is no crash in the last session 2014-06-10 12:36:41 +02:00
Andreas Linde
f51a0a8b86 Fix using the correct meta filename when sending crash reports 2014-06-10 01:00:53 +02:00
Andreas Linde
4465bb402f Add osVersion and osBuild to BITCrashDetails 2014-06-09 15:49:58 +02:00
Andreas Linde
9ca84408d3 Merge branch 'refs/heads/feature/feedback_screenshot' into develop 2014-05-26 14:57:53 +02:00
Andreas Linde
347c4dc743 Merge branch 'refs/heads/develop' into feature/feedback_screenshot 2014-05-25 23:04:21 +02:00
Andreas Linde
b48bb8fb12 Cleanup and bugfixes
- Remove not used code
- Fixed some code style
- use a subdirectory in the SDK caches folder, instead of creating another folder directly under caches
- Height of feedback cells only considers attachments that actually can be previewed.
- If an attachment has no source URL and no local URL, don't show it, not even a loading placeholder, don't consider to reserve space in the cell for it
- refresh attachment cache when new data is loaded or one or all message(s) with attachments have been deleted locally
- `feedbackObservationMode` is a property instead of a method
2014-05-25 18:55:24 +02:00
Andreas Linde
b5731ab923 Merge branch 'refs/heads/develop' into feature/CrashReporting 2014-05-20 13:31:30 +02:00
Andreas Linde
89a7398971 Allow the developer to set more than just the description when handling user alert for crashes
- Also fixes a bug where crash caches dir could get deleted
- Some refactoring
2014-05-20 13:28:05 +02:00
Andreas Linde
58f6854a5e Update BITCrashDetails and remove non needed properties in BITCrashManager
cleanup :)
2014-05-20 12:03:22 +02:00
Andreas Linde
0f117b27c5 Send each crash report individually one after another and only if the previous succeeds
This reduces unnecessary network traffic and performance issues if there are lots of crashes pending for sending on the device
2014-05-04 17:56:45 +02:00
Andreas Linde
cf926593f5 Don't delete all crash reports when the user denies to send the latest one 2014-05-04 17:55:00 +02:00
Andreas Linde
2155f5f93b Add app build property to BITCrashDetails 2014-05-01 16:57:28 +02:00
Andreas Linde
75263f64fc Change attachmentData property of BITCrashAttachment to crashAttachmentData 2014-04-29 13:46:01 +02:00
Andreas Linde
db45c6654a Minor code format update 2014-04-27 23:33:07 +02:00
Andreas Linde
38a59fc73f Naming convention cleanup 2014-04-27 20:20:10 +02:00
Andreas Linde
b5a79f9761 Merge branch 'refs/heads/feature/CrashReporting' into feature/CrashNetwork
Conflicts:
	Classes/BITCrashManager.m
	Classes/BITCrashManagerPrivate.h
2014-04-27 20:17:08 +02:00
Andreas Linde
c4e7754a8b Merge branch 'refs/heads/feature/CrashReporting' into feature/CrashDetails
Conflicts:
	Classes/BITCrashManager.h
2014-04-27 20:04:31 +02:00
Andreas Linde
56f5fa9ddd Merge branch 'refs/heads/feature/CrashReporting' into feature/CrashCallback
Conflicts:
	Classes/BITCrashManager.h
	Classes/BITCrashManager.m
	Support/HockeySDK.xcodeproj/project.pbxproj
2014-04-27 20:02:26 +02:00
Lukas Spieß
82b217f19d Much better test for attachment persisting 2014-04-25 16:23:39 +02:00
Lukas Spieß
535537aa73 add additional tests 2014-04-25 14:23:33 +02:00
Lukas Spieß
654620ee3f add test for persistUserProvidedCrashDescription 2014-04-24 18:18:09 +02:00
Lukas Spieß
d232fe58f6 move cleanup to separate method 2014-04-24 18:17:46 +02:00
Lukas Spieß
5442b217eb Use .desc file extension for userProvidedCrashDescription 2014-04-24 16:47:47 +02:00
Lukas Spieß
3b2b76b34e move persisting of userProvidedCrashDescription to own method 2014-04-24 16:46:27 +02:00
Lukas Spieß
b5348f7dcb Types should start with a capital letter 2014-04-24 16:38:23 +02:00
Lukas Spieß
10c5475a02 make method signature consistent and reflect those changes in documentation 2014-04-24 16:32:34 +02:00
Lukas Spieß
3fd8cdc7e0 replace ugly block notation with clean typedef 2014-04-24 16:11:34 +02:00
Lukas Spieß
1311846241 update method signature 2014-04-24 16:10:12 +02:00
Lukas Spieß
4aee9f81b5 Small optimizations 2014-04-24 15:38:31 +02:00
Lukas Spieß
27cc84a84c Maybe a switch case should return a value... 2014-04-24 15:38:10 +02:00
Lukas Spieß
15582b7734 Cleanup and small logic error fix 2014-04-24 12:32:01 +02:00
Lukas Spieß
7a5077e7c1 semi-working prototype of custom Alert 2014-04-23 16:09:23 +02:00
Lukas Spieß
d22fb02ec2 Add ability to add a description to a crash report 2014-04-22 17:52:14 +02:00
Andreas Linde
20c73dcdc3 Send each crash report using an individual network request 2014-04-18 00:20:27 +02:00
Andreas Linde
973e130325 Migrate BITCrashManager to use BITHockeyAppClient 2014-04-17 22:50:22 +02:00
Lukas Spieß
91698b85a3 updates formatting and documentation 2014-04-16 17:12:17 +02:00
Lukas Spieß
9f9f44916a adds public method to handle user input from an alert view 2014-04-16 12:51:39 +02:00
Andreas Linde
06adc38535 Add a generic object which contains some basic information about the crash in the last session 2014-04-04 15:21:31 +02:00
Andreas Linde
e66714afca Define our own crash callback struct, so we don't need the PLCrashReporter headers to be public any longer 2014-04-04 15:15:48 +02:00
Andreas Linde
1f96aaab5e Fix installString not being added to the crash report 2014-04-04 13:12:39 +02:00
Lukas Spieß
50b0eb9bd1 remove unnecessary property 2014-03-28 12:39:06 +01:00
Lukas Spieß
c62b444272 start refactoring AlertView delegate 2014-03-28 12:30:45 +01:00
Andreas Linde
1068bb119c Add support for binary attachments to crash reports 2014-02-27 18:21:17 +01:00
Andreas Linde
1df317b59f If BITAuthenticator is set to BITAuthenticatorIdentificationTypeWebAuth then also attach the user email to crash reports 2014-02-20 14:02:02 +01:00
Andreas Linde
94ce869993 Merge branch 'refs/heads/develop' into feature/LowMemoryKills 2014-02-12 23:48:07 +01:00