214 Commits

Author SHA1 Message Date
Andreas Linde
dc654a0a3f Adjusting the feedback UI to use BITAttributedLabel and fix some bugs 2012-10-17 19:20:07 +02:00
Andreas Linde
806812098e Integrate TTTAttributedLabel by @mattt
Changed the class and protocol prefix to BIT to make sure no problems come up if the app has its own version of that class
2012-10-17 19:18:37 +02:00
Andreas Linde
356e9fb4da Save feedback data into NSApplicationSupportDirectory instead of NSCachesDirectory
We don't want that data to be purged by the system, since there is user entered data in it like name and email, also thread token etc.
2012-10-17 01:10:16 +02:00
Andreas Linde
1f902b4389 Show the proper app name in feedback activity 2012-10-17 00:47:55 +02:00
Andreas Linde
3d23e36b59 Show app name and default icon in FeedbackActivity 2012-10-16 18:43:57 +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
eb05becb5b Remove JSON pre iOS5 lib support, always use NSJsonSerialization 2012-10-16 02:10:37 +02:00
Andreas Linde
a54e20b48b Define an extra string for the UIActivity button title 2012-10-16 01:54:27 +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
795381d72f Use AlertView instead of ActionSheet when asking to delete all feedback messages on the iPad 2012-10-15 20:39:54 +02:00
Andreas Linde
147b5ec621 Add support for deleting single or all messages 2012-10-15 19:32:15 +02:00
Andreas Linde
669d03d603 Don't show a new feedback alert message, if the newest message on the server is from the same users email
This can happen, if the user responds to the email directly instead of using the in-app feedback
2012-10-15 15:25:01 +02:00
Andreas Linde
389f2ab876 Change the default of Feedback username and email to optional instead of required 2012-10-15 15:23:33 +02:00
Andreas Linde
7fdf39148f Use NSLog if non App Store environment for deprecated messages 2012-10-15 13:33:57 +02:00
Andreas Linde
f4b685ef47 If the message is from the same day, show the time instead of the date 2012-10-15 01:22:13 +02:00
Andreas Linde
343b8b0abb Fix Feedback list repositioning problem in iOS6 when using pull to refresh and new messages coming in 2012-10-15 01:11:29 +02:00
Andreas Linde
003de59f3d If an email field is entered, validate the string and only allow addresses that look correct 2012-10-15 00:47:50 +02:00
Andreas Linde
4de48051a8 Add latest local stored message id to each request, so we get only get newer messages back from the server 2012-10-15 00:47:10 +02:00
Andreas Linde
8e7c08b4db Fix date handling to correctly use UTC date time format 2012-10-15 00:41:43 +02:00
Andreas Linde
d884936029 Improve feedback handling
- Messages deleted on the server will be internally marked as being archived
- Pre-send a token for each new message for easier identification and detection of double sending
2012-10-15 00:07:02 +02:00
Andreas Linde
8c013f7884 Fix buttons in feedback view showing artifacts of the other button 2012-10-15 00:03:52 +02:00
Andreas Linde
b47cbf78c8 Fix modal views not having a done button 2012-10-15 00:03:25 +02:00
Andreas Linde
f8cb400a92 Improve documentation 2012-10-15 00:03:08 +02:00
Andreas Linde
be04800759 Various feedback related bug fixes 2012-10-12 18:14:22 +02:00
Andreas Linde
1887ee7501 Also use old delegates in CrashManager for username and email if present, but mark them as deprecated 2012-10-12 16:56:44 +02:00
Andreas Linde
f34d458d95 Fix iOS6 reloading activity with no messages present to never stop 2012-10-11 16:56:02 +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
Andreas Linde
98ce579f40 Make subdirectory structure build when used as sub project 2012-10-07 13:58:24 +02:00
Andreas Linde
4911af849c Improve Feedbacklist updates and sending of new messages
- Update feedback list reloading actions depending on loading status
- Reload feedback list from network if last request is older than 30 seconds when appearing
- Queue submitting message if there is another network request already in progress
2012-10-07 13:14:09 +02:00
Andreas Linde
1b7d073998 Fix requiring recursive header search due to subdirectory structure of modules 2012-10-07 02:06:18 +02:00
Andreas Linde
4615751004 Feedback UI polish 2012-10-07 01:51:43 +02:00
Andreas Linde
b9d5b19b3c Remove unused feature to modally show feedback compose view directly
Also has the problem, that we would need to copy the modal view code in there, since it can be a subclass from BITBaseViewController right now, since that is a subclass of UITableViewController to get the iOS6 pull to refresh feature
2012-10-06 21:39:27 +02:00
Andreas Linde
478f26a7f6 Fixes for iPad and Message composer presentation 2012-10-06 01:43:39 +02:00
Andreas Linde
4d8ed6b408 Some more minor cleanup 2012-10-05 23:21:46 +02:00
Andreas Linde
b7cda2625f Code cleanup 2012-10-05 23:04:55 +02:00
Andreas Linde
798dd8b9b2 Use the the assigned serverURL in FeedbackManager 2012-10-05 22:46:37 +02:00
Andreas Linde
aee8ad245c Move BITUpdateManager to subclass of BITHockeyBaseManager and adjust some more code styling 2012-10-05 22:37:43 +02:00
Andreas Linde
512db251aa More feedback improvements
- Mark messages as archived that got deleted on the server
- Send message even if the thread got deleted on the server, so create a new thread
- Support Pull-To-Refresh in iOS6
- Update feedback and send pending message when the app gets into the foreground again
- Always update user data via delegates before sending a new message, since those could have changed in the app
2012-10-05 21:48:01 +02:00
Andreas Linde
c8809ec038 Inform the UI wether we got new messages or nothing new 2012-10-05 15:26:50 +02:00
Andreas Linde
4839afca97 Remove messages that got removed from the server
When changing to API to only load new messages, we need to provide this info otherwise in the response
2012-10-05 15:26:00 +02:00
Andreas Linde
3f12ce70ee Remove not needed vars 2012-10-05 15:25:04 +02:00
Andreas Linde
218e255378 Save to archive, property list doesn't work anyway for custom objects 2012-10-05 13:36:39 +02:00
Andreas Linde
61483d4437 Fix header 2012-10-05 13:35:14 +02:00
Andreas Linde
8b842e9cd0 Merge remote-tracking branch 'private/develop' into feature/feedback 2012-10-04 23:28:20 +02:00
Andreas Linde
2aca4995a0 Fix authorisation not being saved for a version and requesting on each cold app start again 2012-10-02 13:20:45 +01:00
Andreas Linde
53eb832bb6 Remove header string for application log 2012-09-28 21:27:17 +02:00
Andreas Linde
109e985fc9 Migrate previous crash AutoSend user setting 2012-09-28 19:09:14 +02:00
Andreas Linde
6c913beac5 Remove unused key 2012-09-28 12:35:01 +02:00
Andreas Linde
6706778f53 Fix auto send button not persisting 2012-09-28 12:34:26 +02:00
Andreas Linde
1a71aa2ea5 Initial Feedback component
- First implementation on feedback, not finished yet!
- Move all components into their own subdirectory
- Restructure common delegates into BITHockeyManagerDelegate
- Restructure common component methods into new superclass (not finished yet)
2012-09-28 12:30:19 +02:00