The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/server/settings/troubleshoot.ts

47 lines
1.7 KiB

import { settingsRegistry } from '../../app/settings/server';
export const createTroubleshootSettings = () =>
settingsRegistry.addGroup('Troubleshoot', async function () {
await this.add('Troubleshoot_Disable_Notifications', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Notifications_Alert',
});
// this settings will let clients know in case presence has been disabled
await this.add('Presence_broadcast_disabled', false, {
type: 'boolean',
public: true,
readonly: true,
});
await this.add('Troubleshoot_Disable_Presence_Broadcast', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Presence_Broadcast_Alert',
enableQuery: { _id: 'Presence_broadcast_disabled', value: false },
});
await this.add('Troubleshoot_Disable_Instance_Broadcast', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Instance_Broadcast_Alert',
});
await this.add('Troubleshoot_Disable_Sessions_Monitor', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Sessions_Monitor_Alert',
});
await this.add('Troubleshoot_Disable_Livechat_Activity_Monitor', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Livechat_Activity_Monitor_Alert',
});
await this.add('Troubleshoot_Disable_Statistics_Generator', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Statistics_Generator_Alert',
});
await this.add('Troubleshoot_Disable_Data_Exporter_Processor', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Data_Exporter_Processor_Alert',
});
await this.add('Troubleshoot_Disable_Workspace_Sync', false, {
type: 'boolean',
i18nDescription: 'Troubleshoot_Disable_Workspace_Sync_Alert',
});
});