diff --git a/deploy/windows/installer/ShopDBFlask.iss b/deploy/windows/installer/ShopDBFlask.iss index 31e47078..eef5dc47 100644 --- a/deploy/windows/installer/ShopDBFlask.iss +++ b/deploy/windows/installer/ShopDBFlask.iss @@ -244,20 +244,21 @@ begin else Result := Name; end; -// True when a fresh install should tick this by default. The five omitted here +// True when a fresh install should tick this by default. The four omitted here // are specialised; a site that wants them can tick them. -// Pre-tick to match each plugin's own manifest. These five ship +// Pre-tick to match each plugin's own manifest. These four ship // "default_enabled": false, so a site gets them only by asking. The list used to // omit measuringtools and printedparts, which meant the wizard installed and // enabled them against their manifests on every site that took the defaults - -// creating tables nobody asked for. +// creating tables nobody asked for. measuringtools was later promoted to +// default_enabled true and removed from this exclusion list. // // Keep this in step with the manifests. tests/test_installer_defaults.py fails // if they drift. function PluginDefault(const Name: String): Boolean; begin Result := (Name <> 'usb') and (Name <> 'employees') and (Name <> 'geenforce') - and (Name <> 'measuringtools') and (Name <> 'printedparts'); + and (Name <> 'printedparts'); end; // Comma-separated list of what the operator ticked. diff --git a/plugins/endpoints/api/routes.py b/plugins/endpoints/api/routes.py index ce16c266..5504afe0 100644 --- a/plugins/endpoints/api/routes.py +++ b/plugins/endpoints/api/routes.py @@ -3548,7 +3548,6 @@ def _send_operator_report_alert(report, asset_id, hostname): current_app.logger.warning('Failed to generate screenshot URL: %s', e) # Get PC access domain to build FQDN - from shopdb.core.models import Setting pc_access_domain_setting = Setting.query.filter_by(key='pc_access_domain').first() pc_access_domain = pc_access_domain_setting.value if pc_access_domain_setting else ''