From 37b41c535f442aa85750679dccc7885655cb3429 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 6 Mar 2010 02:10:35 +0000 Subject: Improve Feedback reporter privacy and functionality: - Update to a development version of the feedback reporter, which improves logging and allows functionality like exception reporting from non-main threads (together with many other improvements). - Use the new preference privacy delegate methods to remove query history and favorite settings, together with other hostname/user path type settings, to anonymise the preferences submitted - Limit the console log submitted to 10k - Move the framework into the Frameworks folder --- .../FeedbackReporter.framework/FeedbackReporter | 1 + Frameworks/FeedbackReporter.framework/Headers | 1 + Frameworks/FeedbackReporter.framework/Resources | 1 + .../Versions/A/FeedbackReporter | Bin 0 -> 255716 bytes .../A/Headers/FRExceptionReportingApplication.h | 22 +++++++++++ .../Versions/A/Headers/FRFeedbackReporter.h | 42 +++++++++++++++++++++ .../Armenian.lproj/FeedbackReporter.strings | Bin 0 -> 4492 bytes .../English.lproj/FeedbackReporter.strings | Bin 0 -> 4518 bytes .../Versions/A/Resources/FeedbackReporter.nib | Bin 0 -> 30807 bytes .../German.lproj/FeedbackReporter.strings | Bin 0 -> 4724 bytes .../Versions/A/Resources/Info.plist | 22 +++++++++++ .../Italian.lproj/FeedbackReporter.strings | Bin 0 -> 4682 bytes .../Russian.lproj/FeedbackReporter.strings | Bin 0 -> 4608 bytes .../FeedbackReporter.framework/Versions/Current | 1 + 14 files changed, 90 insertions(+) create mode 120000 Frameworks/FeedbackReporter.framework/FeedbackReporter create mode 120000 Frameworks/FeedbackReporter.framework/Headers create mode 120000 Frameworks/FeedbackReporter.framework/Resources create mode 100755 Frameworks/FeedbackReporter.framework/Versions/A/FeedbackReporter create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/Armenian.lproj/FeedbackReporter.strings create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/Info.plist create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings create mode 100644 Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings create mode 120000 Frameworks/FeedbackReporter.framework/Versions/Current (limited to 'Frameworks') diff --git a/Frameworks/FeedbackReporter.framework/FeedbackReporter b/Frameworks/FeedbackReporter.framework/FeedbackReporter new file mode 120000 index 00000000..141078a4 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/FeedbackReporter @@ -0,0 +1 @@ +Versions/Current/FeedbackReporter \ No newline at end of file diff --git a/Frameworks/FeedbackReporter.framework/Headers b/Frameworks/FeedbackReporter.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Frameworks/FeedbackReporter.framework/Resources b/Frameworks/FeedbackReporter.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/FeedbackReporter b/Frameworks/FeedbackReporter.framework/Versions/A/FeedbackReporter new file mode 100755 index 00000000..ea6fdf2c Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/FeedbackReporter differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h new file mode 100644 index 00000000..a0fc992d --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h @@ -0,0 +1,22 @@ +/* + * Copyright 2008, Jens Alfke, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + + +@interface FRExceptionReportingApplication : NSApplication + +@end diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h new file mode 100644 index 00000000..e1ffe927 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h @@ -0,0 +1,42 @@ +/* + * Copyright 2008, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@protocol FRFeedbackReporterDelegate +@optional +- (NSDictionary*) customParametersForFeedbackReport; +- (NSMutableDictionary*) anonymizePreferencesForFeedbackReport:(NSMutableDictionary *)preferences; +@end + +@interface FRFeedbackReporter : NSObject { + + @private + id feedbackController; + id delegate; +} + ++ (FRFeedbackReporter *)sharedReporter; + +- (id) delegate; +- (void) setDelegate:(id) delegate; + +- (BOOL) reportFeedback; +- (BOOL) reportIfCrash; +- (BOOL) reportException:(NSException *)exception; + +@end + diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Armenian.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Armenian.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..f48cf8b3 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Armenian.lproj/FeedbackReporter.strings differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..d52f8111 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib new file mode 100644 index 00000000..27bb1077 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..2c55a954 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Info.plist b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..5400f5f5 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + FeedbackReporter + CFBundleIdentifier + org.vafer.FeedbackReporter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FeedbackReporter + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.3 + CFBundleVersion + 1 + + diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..504ad6c2 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..176a0824 Binary files /dev/null and b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings differ diff --git a/Frameworks/FeedbackReporter.framework/Versions/Current b/Frameworks/FeedbackReporter.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file -- cgit v1.2.3