49 Commits

Author SHA1 Message Date
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
5fc0014385 Set data type specific attachment filenames 2014-06-21 01:24:33 +02:00
Andreas Linde
c1d75806c7 Minor code cleanup in Feedback component 2014-06-20 16:43:58 +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
Matthias Wenz
d18183f3ae cleanup/normalize method naming and braces 2014-06-02 10:39:45 +02:00
Andreas Linde
3cf56aa9d6 Various fixes and documentation improvements 2014-05-27 23:43:37 +02:00
Andreas Linde
795b9e59e4 Improve feedback compose view on iPad further (for iOS 6.1) 2014-05-25 20:44:54 +02:00
Andreas Linde
0f142f0ec5 Improvements for feedback compose view on iPad
When the actionsheet is visible, disable the add image button and remove the first responder from the textview
2014-05-25 20:37:14 +02:00
Andreas Linde
429af075bc Improve handling of attachments in compose view
- Only UIImage attachments can be edited
- All others can only be deleted
- Remove scrollview when the last attachment is removed (and avoid a crash if the user clicks on an attachment that doesn't exist any longer)
- Add action sheet button texts to localization files (not localized!)
- Delete local attachment files if compose view is cancelled
- Only show image attachments in the compose view
2014-05-25 20:25:30 +02:00
Andreas Linde
4f18945133 Add support for attaching NSData objects to a feedback compose view 2014-05-25 19:18:34 +02:00
moritz haarmann
3338486c53 + Reintegrated categorized methods into BITFeedbackMessageAttachment. 2014-05-12 12:36:52 +02:00
moritz haarmann
d736b35f04 + Append new Attachments on top. Solves some problems. 2014-05-12 12:28:00 +02:00
Moritz Haarmann
7f0a04044c Some fixes, but too much movement. ATM. 2014-05-12 01:25:30 +02:00
moritz haarmann
b230c964a6 + WIP 2014-04-11 17:43:34 +02:00
moritz haarmann
6151ed6ac7 + Adapted Add Photo Layout to iOS6 style. 2014-04-11 15:01:24 +02:00
moritz haarmann
14947a577c + Re-Enabled the ability to well, submit, reviews. 2014-03-19 13:39:56 +01:00
moritz haarmann
e0057f650e + Removed some Deprecation warnings. 2014-03-19 13:14:38 +01:00
moritz haarmann
672e38a7e2 + Fixes a Bug where attachments in the compose view are hidden on an iPad. 2014-03-06 10:57:32 +01:00
moritz haarmann
74f9e5d5ca + Prevent Messages without any text from ever being sent. 2014-02-27 11:16:22 +01:00
moritz haarmann
35dc6c58d5 + Fixes ActionSheet madness 2014-02-26 10:10:56 +01:00
moritz haarmann
28eee0eb3d + Some basic image editing functionality. 2014-02-25 15:07:59 +01:00
moritz haarmann
21e5ca3b9d + prepareWithItems accepts UIImages now. 2014-02-24 11:37:18 +01:00
moritz haarmann
47594faf5f + Improved Persistence handling. 2014-02-18 11:56:07 +01:00
moritz haarmann
2146788f7b Added Delete/Edit ActionSheet
Fixed a Bug where the Feedback cannot be sent if no text is entered.
2014-02-18 10:56:40 +01:00
Moritz Haarmann
6b09e75cd6 + Original Filename of picked image is used as attachment name. 2014-02-17 23:49:49 +01:00
moritz haarmann
38af43bdb5 + Changing machines.. 2014-02-17 21:04:03 +01:00
moritz haarmann
4b359e7771 + Fixes a warning 2014-02-13 11:32:54 +01:00
moritz haarmann
36371dcd30 + Finalized preliminary feedback support. Now comes the polish. 2014-02-13 11:04:32 +01:00
moritz haarmann
9b57875a47 Added Photo Picker functionality to Feedback Composer (#3) 2014-02-12 18:15:24 +01:00
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +01:00
Andreas Linde
9f28d4ae25 Workaround for iOS 7 bug with multiple modal view controllers in landscape on iPad
The feedback compose view will be moved out of the center position (only iPad in landscape and iOS 7) if the textview becomes firstResponder in viewDidAppear. Moving that into the next runloop fixes the issue.
2013-09-17 15:33:23 +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
11a8a14e4f Add support for excluding features at compile time
Features can be excluded/included at compile-time using #define statements, e.g. using `Preprocessor Macros`. These don't influence if the feature will actually be enabled, since that can also be done at runtime and some features are disabled automatically in the App Store or disabled by default in general.

The BITHockeyManager header file will still reference all modules, but accessing the modules will not be possible if excluded from the library.

Value of 1 includes the feature into the static library, 0 will exclude the feature from the static library.

Defaults:

Crash Reporting: HOCKEYSDK_FEATURE_CRASH_REPORTER 1
Feedback: HOCKEYSDK_FEATURE_FEEDBACK 1
App Store Updates: HOCKEYSDK_FEATURE_STORE_UPDATES 1 (This feature is disabled by default in code!)
Authenticator: HOCKEYSDK_FEATURE_AUTHENTICATOR 1
Beta Updates: HOCKEYSDK_FEATURE_UPDATES 1
Jira Mobile Connect: HOCKEYSDK_FEATURE_JIRA_MOBILE_CONNECT 0
2013-09-11 19:18:21 +02:00
Andreas Linde
cd7790aec7 Adopt helper for custom UINavigationBars 2013-08-17 16:33:07 +02:00
Andreas Linde
f7eda241ee Adopt renamed tintColor property to navigationBarTintColor 2013-08-16 23:17:56 +02:00
Stephan Diederich
27919a28ae provide a result in feedbackComposeViewController's delegate
fixes #31
2013-07-16 13:43:49 +02:00
Stephan Diederich
cc9e403a3e fix typo 2013-07-16 12:00:45 +02:00
Stefan Haubold
bafd9a0fff fixed "dismissModalViewControllerAnimated is deprecated" warning when compiling the SDK with deployment target 6.0 2013-02-20 13:38:48 +01:00
Andreas Linde
9f2f40bc06 Update copyright 2013-01-04 14:44:44 +01:00
Andreas Linde
c9c66390ef Add usage of barStyle and tintColor to Activity, compose and user data views 2012-12-02 02:00:13 +01:00
Andreas Linde
0285c61485 Fix user data UI not being presented as a form sheet on the iPad 2012-11-17 13:37:14 +01:00
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
3cb7a23bd0 Various bug fixes 2012-10-19 13:48:36 +02:00
Andreas Linde
4ac8c6e7a8 Fix rotation issues with Feedback list view 2012-10-19 00:25:35 +02:00
Andreas Linde
34bb4cb758 Add option to Feedback compose UI to be pre filled with data
Accepts an array with data to fill it up with, much like UIActivity. Allows easier option to expand with more content types in the future
2012-10-18 20:04:51 +02:00
Andreas Linde
28b2d802d0 Fix FeedbackActivity using Navigation Controller
No idea why I couldn't get this simple thing working the other day
2012-10-16 17:32:25 +02:00
Andreas Linde
ca08b982c3 Add a UIActivity subclass and the option to invoke compose view from anywhere modally 2012-10-16 01:50:21 +02:00
Andreas Linde
9b8f51fe5f Restructure project targets and binary distribution target
- Use one common static lib target
- create embeddedFramework as binary distribution including docset in one zip
- Add HockeySDK.xcconfig for easier build setting setup
- Move everything into a single directory, too many problems making binary and subproject work without requing recursive header search paths
- Documentation update pending
2012-10-07 21:49:47 +02:00