diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-06 02:10:35 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-06 02:10:35 +0000 |
commit | 37b41c535f442aa85750679dccc7885655cb3429 (patch) | |
tree | f2961fb4141f329ae0e17e111260993caf2cf0cb /Frameworks/FeedbackReporter.framework | |
parent | 0075403979eff53d16f928733247837d72d37a0b (diff) | |
download | sequelpro-37b41c535f442aa85750679dccc7885655cb3429.tar.gz sequelpro-37b41c535f442aa85750679dccc7885655cb3429.tar.bz2 sequelpro-37b41c535f442aa85750679dccc7885655cb3429.zip |
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
Diffstat (limited to 'Frameworks/FeedbackReporter.framework')
14 files changed, 90 insertions, 0 deletions
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 Binary files differnew file mode 100755 index 00000000..ea6fdf2c --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/FeedbackReporter 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 <Cocoa/Cocoa.h> + + +@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 <Cocoa/Cocoa.h> + +@protocol FRFeedbackReporterDelegate +@optional +- (NSDictionary*) customParametersForFeedbackReport; +- (NSMutableDictionary*) anonymizePreferencesForFeedbackReport:(NSMutableDictionary *)preferences; +@end + +@interface FRFeedbackReporter : NSObject { + + @private + id feedbackController; + id<FRFeedbackReporterDelegate> delegate; +} + ++ (FRFeedbackReporter *)sharedReporter; + +- (id<FRFeedbackReporterDelegate>) delegate; +- (void) setDelegate:(id<FRFeedbackReporterDelegate>) 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 Binary files differnew file mode 100644 index 00000000..f48cf8b3 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Armenian.lproj/FeedbackReporter.strings diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings Binary files differnew file mode 100644 index 00000000..d52f8111 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib Binary files differnew file mode 100644 index 00000000..27bb1077 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings Binary files differnew file mode 100644 index 00000000..2c55a954 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>FeedbackReporter</string> + <key>CFBundleIdentifier</key> + <string>org.vafer.FeedbackReporter</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>FeedbackReporter</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleShortVersionString</key> + <string>1.3</string> + <key>CFBundleVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings Binary files differnew file mode 100644 index 00000000..504ad6c2 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Italian.lproj/FeedbackReporter.strings diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings Binary files differnew file mode 100644 index 00000000..176a0824 --- /dev/null +++ b/Frameworks/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings 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 |