@@ -173,6 +173,11 @@ export interface IBaseSetting<T extends SettingValueType = SettingValueType> {
173173
174174 // Whether the setting should have a warning sign in the microcopy
175175 shouldWarn ?: boolean ;
176+
177+ /**
178+ * Whether the setting should be exported in a rageshake report.
179+ */
180+ shouldExportToRageshake ?: boolean ;
176181}
177182
178183export interface IFeature extends Omit < IBaseSetting < boolean > , "isFeature" > {
@@ -441,6 +446,8 @@ export const SETTINGS: Settings = {
441446 controller : new InviteRulesConfigController ( ) ,
442447 supportedLevels : [ SettingLevel . ACCOUNT ] ,
443448 default : InviteRulesConfigController . default ,
449+ // Contains server names
450+ shouldExportToRageshake : false ,
444451 } ,
445452 "feature_report_to_moderators" : {
446453 isFeature : true ,
@@ -503,10 +510,14 @@ export const SETTINGS: Settings = {
503510 "mjolnirRooms" : {
504511 supportedLevels : [ SettingLevel . ACCOUNT ] ,
505512 default : [ ] ,
513+ // Contains room IDs
514+ shouldExportToRageshake : false ,
506515 } ,
507516 "mjolnirPersonalRoom" : {
508517 supportedLevels : [ SettingLevel . ACCOUNT ] ,
509518 default : null ,
519+ // Contains room ID
520+ shouldExportToRageshake : false ,
510521 } ,
511522 "feature_html_topic" : {
512523 isFeature : true ,
@@ -797,6 +808,8 @@ export const SETTINGS: Settings = {
797808 supportedLevels : LEVELS_DEVICE_ONLY_SETTINGS ,
798809 displayName : _td ( "settings|preferences|user_timezone" ) ,
799810 default : "" ,
811+ // Location leak
812+ shouldExportToRageshake : false ,
800813 } ,
801814 "userTimezonePublish" : {
802815 // This is per-device so you can avoid having devices overwrite each other.
@@ -913,6 +926,8 @@ export const SETTINGS: Settings = {
913926 "custom_themes" : {
914927 supportedLevels : LEVELS_ACCOUNT_SETTINGS ,
915928 default : [ ] ,
929+ // Potential privacy leak via theme origin
930+ shouldExportToRageshake : false ,
916931 } ,
917932 "use_system_theme" : {
918933 supportedLevels : LEVELS_DEVICE_ONLY_SETTINGS ,
@@ -974,26 +989,36 @@ export const SETTINGS: Settings = {
974989 "language" : {
975990 supportedLevels : LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG ,
976991 default : "en" ,
992+ // For privacy
993+ shouldExportToRageshake : false ,
977994 } ,
978995 "breadcrumb_rooms" : {
979996 // not really a setting
980997 supportedLevels : [ SettingLevel . ACCOUNT ] ,
981998 default : [ ] ,
999+ // Contains joined rooms
1000+ shouldExportToRageshake : false ,
9821001 } ,
9831002 "recent_emoji" : {
9841003 // not really a setting
9851004 supportedLevels : [ SettingLevel . ACCOUNT ] ,
9861005 default : [ ] ,
1006+ // For privacy
1007+ shouldExportToRageshake : false ,
9871008 } ,
9881009 "SpotlightSearch.recentSearches" : {
9891010 // not really a setting
9901011 supportedLevels : [ SettingLevel . ACCOUNT ] ,
9911012 default : [ ] , // list of room IDs, most recent first
1013+ // For privacy
1014+ shouldExportToRageshake : false ,
9921015 } ,
9931016 "showMediaEventIds" : {
9941017 // not really a setting
9951018 supportedLevels : [ SettingLevel . DEVICE ] ,
9961019 default : { } , // List of events => is visible
1020+ // Exports event IDs
1021+ shouldExportToRageshake : false ,
9971022 } ,
9981023 "SpotlightSearch.showNsfwPublicRooms" : {
9991024 supportedLevels : LEVELS_ACCOUNT_SETTINGS ,
@@ -1003,6 +1028,8 @@ export const SETTINGS: Settings = {
10031028 "room_directory_servers" : {
10041029 supportedLevels : [ SettingLevel . ACCOUNT ] ,
10051030 default : [ ] ,
1031+ // Contains connected servers for user
1032+ shouldExportToRageshake : false ,
10061033 } ,
10071034 "integrationProvisioning" : {
10081035 supportedLevels : [ SettingLevel . ACCOUNT ] ,
@@ -1012,6 +1039,7 @@ export const SETTINGS: Settings = {
10121039 supportedLevels : [ SettingLevel . ROOM_ACCOUNT , SettingLevel . ROOM_DEVICE ] ,
10131040 supportedLevelsAreOrdered : true ,
10141041 default : { } , // none allowed
1042+ shouldExportToRageshake : false ,
10151043 } ,
10161044 // Legacy, kept around for transitionary purposes
10171045 "analyticsOptIn" : {
@@ -1086,6 +1114,8 @@ export const SETTINGS: Settings = {
10861114 "notificationSound" : {
10871115 supportedLevels : LEVELS_ROOM_OR_ACCOUNT ,
10881116 default : false ,
1117+ // Contains personal information in file name
1118+ shouldExportToRageshake : false ,
10891119 } ,
10901120 "notificationBodyEnabled" : {
10911121 supportedLevels : LEVELS_DEVICE_ONLY_SETTINGS ,
@@ -1112,6 +1142,8 @@ export const SETTINGS: Settings = {
11121142 allow : [ ] ,
11131143 deny : [ ] ,
11141144 } ,
1145+ // Expses widget information
1146+ shouldExportToRageshake : false ,
11151147 } ,
11161148 "breadcrumbs" : {
11171149 supportedLevels : LEVELS_ACCOUNT_SETTINGS ,
@@ -1201,6 +1233,8 @@ export const SETTINGS: Settings = {
12011233 // deprecated
12021234 supportedLevels : LEVELS_ROOM_OR_ACCOUNT ,
12031235 default : { } ,
1236+ // Sensitive information in widget ID
1237+ shouldExportToRageshake : false ,
12041238 } ,
12051239 "Widgets.layout" : {
12061240 supportedLevels : LEVELS_ROOM_OR_ACCOUNT ,
@@ -1275,6 +1309,8 @@ export const SETTINGS: Settings = {
12751309 "activeCallRoomIds" : {
12761310 supportedLevels : LEVELS_DEVICE_ONLY_SETTINGS ,
12771311 default : [ ] ,
1312+ // Contains room IDs
1313+ shouldExportToRageshake : false ,
12781314 } ,
12791315 /**
12801316 * Enable or disable the release announcement feature
0 commit comments