Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
72dfa6c
classify common properties
kieferrm Sep 4, 2017
858d465
first batch events
kieferrm Sep 4, 2017
02b6db0
gdpr tooling
kieferrm Sep 4, 2017
94667ec
update snippets
kieferrm Sep 5, 2017
8671fe5
parse source comments
kieferrm Sep 6, 2017
d1e4c64
fix GDPR value
kieferrm Sep 7, 2017
0be8478
remove unused files
kieferrm Sep 7, 2017
cc1255c
more GDPR classification
kieferrm Sep 8, 2017
370f1e7
fix typo
kieferrm Sep 8, 2017
b059271
fix typo
kieferrm Sep 8, 2017
d821c08
fix typo
kieferrm Sep 8, 2017
ca8b412
more GDPR classification
kieferrm Sep 8, 2017
c28edb3
more GDPR classification
kieferrm Sep 8, 2017
7ee4c75
correct typos
kieferrm Sep 8, 2017
e1c04e5
more GDPR classification
kieferrm Sep 8, 2017
fb2da69
correct typos
kieferrm Sep 8, 2017
4f873b7
correct property names
kieferrm Sep 8, 2017
d54487e
replace invalid value
kieferrm Sep 8, 2017
fcd85f4
inline values
kieferrm Sep 9, 2017
f885522
change wildcard property
kieferrm Sep 12, 2017
1d7b0a2
use wildcard for files.joined
kieferrm Sep 12, 2017
f691cfe
classification for TS extension
kieferrm Sep 18, 2017
9cceab0
gdpr classification for markdown extension
kieferrm Sep 18, 2017
47000c3
GDPR classification for git extension
kieferrm Sep 19, 2017
f0e9b12
GDPR classification for save participants
kieferrm Sep 19, 2017
b4c594a
GDPR classify timer2 on IStartupMetrics
kieferrm Sep 19, 2017
da1fc46
review GDPR classifications
kieferrm Sep 19, 2017
8550b03
correct wildcard usage
kieferrm Sep 19, 2017
dca73b7
omit endPoint where it defaults to none
kieferrm Sep 20, 2017
15e6a82
GDPR comments
kieferrm Sep 23, 2017
8d48ed8
update GDPR todos
kieferrm Sep 25, 2017
146f868
fixing classification
kieferrm Sep 25, 2017
d5604cf
update extension install, update and uninstall events
kieferrm Sep 25, 2017
905eca3
add description for new common property
kieferrm Sep 25, 2017
15a5efc
formatting change
kieferrm Sep 25, 2017
3c70c36
indentation changes
kieferrm Sep 25, 2017
955adbf
add missing commas
kieferrm Sep 26, 2017
5aa3360
fix typos
kieferrm Sep 26, 2017
112f9a5
fix searchResultsShown event
kieferrm Sep 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update GDPR todos
  • Loading branch information
kieferrm committed Sep 25, 2017
commit 8d48ed835ecaa15b7e6e84aabb0671374ba6208e
2 changes: 1 addition & 1 deletion extensions/typescript/src/typescriptServiceClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
"typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
}
*/
// GDPR__COMMENT: Other events are defined by TypeScript.
// __GDPR__COMMENT__: Other events are defined by TypeScript.
this.logTelemetry(telemetryData.telemetryEventName, properties);
}
}
2 changes: 1 addition & 1 deletion src/vs/code/electron-main/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ class FileDialog {

// Telemetry
if (options.telemetryEventName) {
// __GDPR__TODO
// __GDPR__TODO__ Dynamic event names and dynamic properties. Can not be registered statically.
this.telemetryService.publicLog(options.telemetryEventName, {
...options.telemetryExtraData,
outcome: numberOfPaths ? 'success' : 'canceled',
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/suggest/browser/completionModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ICompletionItem extends ISuggestionItem {
"textCount": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
// __GDPR__TODO: This is an extensible structure which can not be statically declared.
// __GDPR__TODO__: This is a dynamically extensible structure which can not be declared statically.
export interface ICompletionStats {
suggestionCount: number;
snippetCount: number;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/telemetry/browser/errorTelemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default class ErrorTelemetry {
"column": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
}
*/
// __GDPR__TODO what's the complete set of properties?
// __GDPR__TODO__ what's the complete set of properties?
this._telemetryService.publicLog('UnhandledError', error);
}
this._buffer.length = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/api/node/extHostLanguageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ export class ExtHostLanguageFeatures implements ExtHostLanguageFeaturesShape {
const handle = this._nextHandle();
this._adapter.set(handle, new HoverAdapter(this._documents, provider, once((name: string, data: any) => {
data['extension'] = extensionId;
// __GDPR__TODO Dynamic event names and dynamic properties. Can not be registered statically.
// __GDPR__TODO__ Dynamic event names and dynamic properties. Can not be registered statically.
this._telemetry.$publicLog(name, data);
})));
this._proxy.$registerHoverProvider(handle, selector);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class DebugService implements debug.IDebugService {
// only log telemetry events from debug adapter if the adapter provided the telemetry key
// and the user opted in telemetry
if (session.customTelemetryService && this.telemetryService.isOptedIn) {
// __GDPR__TODO Need to move off dynamic event names or properties. They cannot be registered upfront.
// __GDPR__TODO__ We're sending events in the name of the debug adapter and we can not ensure that those are declared correctly.
session.customTelemetryService.publicLog(event.body.output, event.body.data);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ export class RawDebugSession extends V8Protocol implements debug.ISession {
*/
this.telemetryService.publicLog('debugProtocolErrorResponse', { error: telemetryMessage });
if (this.customTelemetryService) {
// __GDPR__TODO the message is sent in the name of the adapter but since the adapters are an open set, this can not be statically declared
/* __GDPR__TODO__
* The message is sent in the name of the adapter but the adapter doesn't know about it. However, since adapters are an open-ended set,
* we can not declared the events statically either.
*/
this.customTelemetryService.publicLog('debugProtocolErrorResponse', { error: telemetryMessage });
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export class KeybindingsEditor extends BaseEditor implements IKeybindingsEditor
}

private reportKeybindingAction(action: string, command: string, keybinding: ResolvedKeybinding | string): void {
// __GDPR__TODO need to move off dynamic event names and properties as they cannot be registered statically
// __GDPR__TODO__ Need to move off dynamic event names and properties as they cannot be registered statically
this.telemetryService.publicLog(action, { command, keybinding: keybinding ? (typeof keybinding === 'string' ? keybinding : keybinding.getUserSettingsLabel()) : '' });
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class LanguageSurvey {
const message = nls.localize('helpUs', "Help us improve our support for {0}", data.languageId);

const takeSurveyAction = new Action('takeSurvey', nls.localize('takeShortSurvey', "Take Short Survey"), '', true, () => {
// __GDPR__TODO need to move away from dynamic event names as those cannot be registered statically
// __GDPR__TODO__ Need to move away from dynamic event names as those cannot be registered statically
telemetryService.publicLog(`${data.surveyId}.survey/takeShortSurvey`);
return telemetryService.getTelemetryInfo().then(info => {
window.open(`${data.surveyUrl}?o=${encodeURIComponent(process.platform)}&v=${encodeURIComponent(pkg.version)}&m=${encodeURIComponent(info.machineId)}`);
Expand All @@ -98,22 +98,22 @@ class LanguageSurvey {
});

const remindMeLaterAction = new Action('later', nls.localize('remindLater', "Remind Me later"), '', true, () => {
// __GDPR__TODO need to move away from dynamic event names as those cannot be registered statically
// __GDPR__TODO__ Need to move away from dynamic event names as those cannot be registered statically
telemetryService.publicLog(`${data.surveyId}.survey/remindMeLater`);
storageService.store(SESSION_COUNT_KEY, sessionCount - 3, StorageScope.GLOBAL);
return TPromise.as(null);
});

const neverAgainAction = new Action('never', nls.localize('neverAgain', "Don't Show Again"), '', true, () => {
// __GDPR__TODO need to move away from dynamic event names as those cannot be registered statically
// __GDPR__TODO__ Need to move away from dynamic event names as those cannot be registered statically
telemetryService.publicLog(`${data.surveyId}.survey/dontShowAgain`);
storageService.store(IS_CANDIDATE_KEY, false, StorageScope.GLOBAL);
storageService.store(SKIP_VERSION_KEY, pkg.version, StorageScope.GLOBAL);
return TPromise.as(null);
});

const actions = [neverAgainAction, remindMeLaterAction, takeSurveyAction];
// __GDPR__TODO need to move away from dynamic event names as those cannot be registered statically
// __GDPR__TODO__ Need to move away from dynamic event names as those cannot be registered statically
telemetryService.publicLog(`${data.surveyId}.survey/userAsked`);
messageService.show(Severity.Info, { message, actions });
}
Expand Down