You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3954bc5
Browse filesBrowse the repository at this point in the historyBrowse files
Allow telemetry options to be enabled/disabled via BrandingConstants
Adds the following settings to BrandingConstants in client-core:
- CENTRAL_USER_REGISTRATION - When false, disables the sending of user
demographic information and hides the registration and marketing
consent boxes from the first time login screen.
- MANDATORY_USER_REGISTRATION - used in conjunction with
CENTRAL_USER_REGISTRATION. When this is setting is true and the user
id is 1, then the user will not be able to unselect the registration
checkbox.
- CHECK_FOR_NOTIFICATIONS - When false, allows for notification fetching
from the client to be disabled. The notification menu task is also
removed.
- SEND_USAGE_STATISTICS - When false, allows for sending of usage
statistics to be disabled. Also hides the setting which allows users
to opt-in or opt-out of sending statistics.
With the restoration of the registration checkbox when the appropriate
settings are enabled, the adjustment of which fields are required on the
user profile has also been restored.
Co-authored-by: Tony Germano <tony@germano.name>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Tony Germano <tony@germano.name>
Issue: #5
registerCheckBox.setText(String.format("Register user with %s", BrandingConstants.COMPANY_NAME));
156
162
registerCheckBox.setToolTipText(String.format("<html>Register your user information with %s to help us<br>improve the product and provide better service.</html>", BrandingConstants.COMPANY_NAME));
addTask(TaskConstants.OTHER_VIEW_USER_API, "View User API", String.format("View documentation for the %s User API.", BrandingConstants.PRODUCT_NAME), "", newImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/page_white_text.png")), otherPane, null);
1255
1261
addTask(TaskConstants.OTHER_VIEW_CLIENT_API, "View Client API", String.format("View documentation for the %s Client API.", BrandingConstants.PRODUCT_NAME), "", newImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/page_white_text.png")), otherPane, null);
1256
1262
addTask(TaskConstants.OTHER_HELP, "Help", String.format("View help for %s.", BrandingConstants.PRODUCT_NAME), "", newImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/help.png")), otherPane, null);
@@ -1268,6 +1274,10 @@ public JXTaskPane getOtherPane() {
@@ -81,8 +83,12 @@ public SettingsPanelServer(String tabName) {
81
83
addTask(TaskConstants.SETTINGS_SERVER_RESTORE, "Restore Config", "Restore your server configuration from a server configuration XML file. This will remove and restore your channels, alerts, code templates, server properties, global scripts, and plugin properties.", "", newImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/report_go.png")));
82
84
addTask(TaskConstants.SETTINGS_CLEAR_ALL_STATS, "Clear All Statistics", "Reset the current and lifetime statistics for all channels.", "", newImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/chart_bar_delete.png")));
0 commit comments