", {id: templateId});
+ page.load(templatePath + cacheBuster, function(response, status) {
+ if (status === "success") {
+ $('body').append(page);
+ resolve();
+ } else {
+ reject(new Error(`Failed to load template: ${templatePath}`));
+ }
+ });
+ });
+
+ templatePromises.push(promise);
+ return promise;
}
diff --git a/html/js/components/detection-panel.test.js b/html/js/components/detection-panel.test.js
index e5c95643..83b02df2 100644
--- a/html/js/components/detection-panel.test.js
+++ b/html/js/components/detection-panel.test.js
@@ -10,7 +10,7 @@ let comp;
beforeEach(() => {
resetPapi();
- comp = getComponent("Detection-Panel");
+ comp = getComponent("DetectionPanel");
comp.detection = {
id: 'test-123',
publicId: '1000',
diff --git a/html/js/test_common.js b/html/js/test_common.js
index b06859b6..f56b33ed 100644
--- a/html/js/test_common.js
+++ b/html/js/test_common.js
@@ -266,8 +266,20 @@ global.mockShowError = function(logError = false) {
// Import SO app modules
////////////////////////////////////
require('./i18n.js');
+
+// stub Promise.all so it's synchronous
+const orig = Promise.all;
+Promise.all = () => {
+ return {
+ then: (f) => { f(); },
+ }
+};
+
require('./app.js');
+// restore Promise.all
+Promise.all = orig;
+
global.FEAT_TTR = 'ttr';
global.JobStatusPending = 0;
global.JobStatusCompleted = 1;
diff --git a/html/pages/grid.html b/html/pages/grid.html
index 8fed7f27..96d96891 100644
--- a/html/pages/grid.html
+++ b/html/pages/grid.html
@@ -366,7 +366,7 @@ {{ i18n.gridEps }} {{ formatCo
{{ i18n.description }}:
{{ item.description }}
-
+
fa-chart-line
diff --git a/html/pages/hunt.html b/html/pages/hunt.html
index dc23f139..2b3d9caa 100644
--- a/html/pages/hunt.html
+++ b/html/pages/hunt.html
@@ -514,11 +514,11 @@ {{ i18n.eventTotal }} {{
v-if="highlightedDetection"
:detection="highlightedDetection"
:zone="zone"
- :alertInfo="highlightedAlertInfo"
- :ackColor="colorSeverity((highlightedAlertInfo?.item?.['event.severity_label'] || '') + '_' + isFilterToggleEnabled('acknowledged'))"
+ :alert-info="highlightedAlertInfo"
+ :ack-color="colorSeverity((highlightedAlertInfo?.item?.['event.severity_label'] || '') + '_' + isFilterToggleEnabled('acknowledged'))"
@close="highlightedDetection = highlightedAlertInfo = null;"
@ack="panelAck($event)"
- @chooseCase="toggleEscalationMenu(...$event)">
+ @choose-case="toggleEscalationMenu(...$event)">
diff --git a/html/pages/settings.html b/html/pages/settings.html
index 788cd6ca..8c785813 100644
--- a/html/pages/settings.html
+++ b/html/pages/settings.html
@@ -29,12 +29,11 @@
{{ i18n.defaults }}
-
+
-
{{ i18n.profileInstructions }}
@@ -54,7 +53,6 @@
-
{{ i18n.securityInstructions }}
@@ -151,7 +149,6 @@
-
diff --git a/html/pages/terms.html b/html/pages/terms.html
index 900bf4fb..f4bf91a8 100644
--- a/html/pages/terms.html
+++ b/html/pages/terms.html
@@ -151,9 +151,9 @@ You're missing out on some Pro features!
Limitations
You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
-
+
You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
-
+
You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
@@ -165,7 +165,7 @@
You're missing out on some Pro features!
Notices
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
-
+
If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
@@ -187,15 +187,15 @@
You're missing out on some Pro features!
Definitions
The licensor is the entity offering these terms, and the software is the software the licensor makes available under these terms, including any portion of it.
-
+
you refers to the individual or entity agreeing to these terms.
-
+
your company is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. control means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
-
+
your licenses are all the licenses granted to you for the software under these terms.
-
+
use means anything you do with the software requiring one of your licenses.
-
+
trademark means trademarks, service marks, and similar rights.