From 4a61dbfae8f28f2140fa76cd1d1130c4e7615830 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 17:47:06 -0400
Subject: [PATCH 01/60] spelling: from
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/css/realopinsight.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/css/realopinsight.css b/resources/css/realopinsight.css
index 5f1ee660..efc45b7c 100644
--- a/resources/css/realopinsight.css
+++ b/resources/css/realopinsight.css
@@ -97,7 +97,7 @@ ul {
}
-/* these classes come from from bootstrap */
+/* these classes come from bootstrap */
.navbar {
margin: 0;
padding: 0;
From 44b55feb54f1308a387092752f75c450e1745875 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 17:47:41 -0400
Subject: [PATCH 02/60] spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
contribs/etc/wt_config.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contribs/etc/wt_config.xml b/contribs/etc/wt_config.xml
index d3d6d006..77d41265 100644
--- a/contribs/etc/wt_config.xml
+++ b/contribs/etc/wt_config.xml
@@ -207,7 +207,7 @@
1024
-
+
@@ -597,7 +597,7 @@
${add-as-source-button}
${delete-button}
-
+
@@ -725,7 +725,7 @@
${notification-settings-save-button}
-
+
From f801df56328edfff62b85e58a52db21bd2ca4293 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:07:27 -0400
Subject: [PATCH 24/60] spelling: infinity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/jPlayer/jquery.jplayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/jPlayer/jquery.jplayer.js b/resources/jPlayer/jquery.jplayer.js
index 842f31b6..bb33d62f 100644
--- a/resources/jPlayer/jquery.jplayer.js
+++ b/resources/jPlayer/jquery.jplayer.js
@@ -1573,7 +1573,7 @@
var ct = 0, cpa = 0, sp = 0, cpr = 0;
// Fixes the duration bug in iOS, where the durationchange event occurs when media.duration is not always correct.
- // Fixes the initial duration bug in BB OS7, where the media.duration is infinity and displays as NaN:NaN due to Date() using inifity.
+ // Fixes the initial duration bug in BB OS7, where the media.duration is infinity and displays as NaN:NaN due to Date() using infinity.
if(isFinite(media.duration)) {
this.status.duration = media.duration;
}
From 0c1123d6aaea588c53c2d73a7e3541cf6cd65776 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:07:16 -0400
Subject: [PATCH 25/60] spelling: info
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbo/src/UserManagement.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbo/src/UserManagement.hpp b/dbo/src/UserManagement.hpp
index 3b343ab6..5a46245f 100644
--- a/dbo/src/UserManagement.hpp
+++ b/dbo/src/UserManagement.hpp
@@ -68,7 +68,7 @@ class ConfirmPasswordValidator : public Wt::WValidator
class UserFormModel : public Wt::WFormModel
{
public:
- static constexpr Wt::WFormModel::Field InfoBoxField = "infox-box";
+ static constexpr Wt::WFormModel::Field InfoBoxField = "info-box";
static constexpr Wt::WFormModel::Field UsernameField = "user-name";
static constexpr Wt::WFormModel::Field CurrentPasswordField = "current-password";
static constexpr Wt::WFormModel::Field PasswordField = "password";
From eff2855960847ffd58dcc540a1b0a183c32977a4 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:07:34 -0400
Subject: [PATCH 26/60] spelling: initialize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
web/src/LdapHelper.cpp | 2 +-
web/src/realopinsight-reportd.cpp | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/src/LdapHelper.cpp b/web/src/LdapHelper.cpp
index 740c220e..efc8aa01 100644
--- a/web/src/LdapHelper.cpp
+++ b/web/src/LdapHelper.cpp
@@ -90,7 +90,7 @@ void LdapHelper::setSslSettings(void)
bool LdapHelper::loginWithDistinguishName(const std::string& dn, const std::string& password)
{
- // Intialize a connection handler
+ // Initialize a connection handler
if (! ldap_is_ldap_url(m_serverUri.c_str()) ) {
m_lastError = QObject::tr("Invalid LDAP URL: %1").arg(m_serverUri.c_str());
return false;
diff --git a/web/src/realopinsight-reportd.cpp b/web/src/realopinsight-reportd.cpp
index 9ba0fbc3..c0f9b6fc 100644
--- a/web/src/realopinsight-reportd.cpp
+++ b/web/src/realopinsight-reportd.cpp
@@ -87,9 +87,9 @@ void runCollector(int period)
auto& promStatusMinor = promMetrics.Add({{"scope", view.name}, {"status", "minor"}});
auto& promStatusNormal = promMetrics.Add({{"scope", view.name}, {"status", "normal"}});
- auto initilizeOut = collector.initialize(view.path.c_str());
- if (initilizeOut.first != ngrt4n::RcSuccess) {
- REPORTD_LOG("error", QObject::tr("%1: %2").arg(view.name.c_str(), initilizeOut.second).toStdString());
+ auto initializeOut = collector.initialize(view.path.c_str());
+ if (initializeOut.first != ngrt4n::RcSuccess) {
+ REPORTD_LOG("error", QObject::tr("%1: %2").arg(view.name.c_str(), initializeOut.second).toStdString());
promStatusOverall.Set(ngrt4n::Unknown);
promStatusCritical.Set(-1);
promStatusUnknown.Set(-1);
From 4046934b982290679f7e989db449176983a22f15 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:08:25 -0400
Subject: [PATCH 27/60] spelling: interoperability
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
web/src/utils/wtwithqt/WQApplication.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/src/utils/wtwithqt/WQApplication.h b/web/src/utils/wtwithqt/WQApplication.h
index 7b988918..fd276dfe 100644
--- a/web/src/utils/wtwithqt/WQApplication.h
+++ b/web/src/utils/wtwithqt/WQApplication.h
@@ -38,10 +38,10 @@ namespace Wt {
class DispatchThread;
/*! \class WQApplication WQApplication WQApplication
- * \brief An application class that provides interopability between
+ * \brief An application class that provides interoperability between
* Wt and Qt.
*
- * This class provides interopability between the Wt's multi threading
+ * This class provides interoperability between the Wt's multi threading
* model and Qt's threading requirements for QObject. This is needed
* because Qt's object model, which defines a hierarchy of QObjects,
* requires that every QObject in the hierarchy is created from within
From c9565c774b2cbc778b4601a9394cd873315740b7 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:08:53 -0400
Subject: [PATCH 28/60] spelling: lessthan
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
core/src/Base.hpp | 2 +-
core/src/Parser.cpp | 2 +-
core/src/StatusAggregator.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/Base.hpp b/core/src/Base.hpp
index 084511e4..0857fe97 100644
--- a/core/src/Base.hpp
+++ b/core/src/Base.hpp
@@ -282,7 +282,7 @@ struct ThresholdT {
int sev_out;
};
-struct ThresholdLessthanFnt {
+struct ThresholdLessThanFnt {
bool operator () (const ThresholdT& th1, const ThresholdT& th2)
{
if (th1.sev_out < th2.sev_out)
diff --git a/core/src/Parser.cpp b/core/src/Parser.cpp
index 2b09838b..8eb3ad6f 100644
--- a/core/src/Parser.cpp
+++ b/core/src/Parser.cpp
@@ -113,7 +113,7 @@ std::pair Parser::parse(const QString& viewFile)
if (node.sev_crule == CalcRules::WeightedAverageWithThresholds) {
QString thdata = xmlNode.firstChildElement("Thresholds").text().trimmed();
node.thresholdLimits = ThresholdHelper::dataToList(thdata);
- std::sort(node.thresholdLimits.begin(), node.thresholdLimits.end(), ThresholdLessthanFnt());
+ std::sort(node.thresholdLimits.begin(), node.thresholdLimits.end(), ThresholdLessThanFnt());
}
node.check.status = -1;
diff --git a/core/src/StatusAggregator.cpp b/core/src/StatusAggregator.cpp
index abb2e06c..98ad993d 100644
--- a/core/src/StatusAggregator.cpp
+++ b/core/src/StatusAggregator.cpp
@@ -57,7 +57,7 @@ void StatusAggregator::addSeverity(int value, double weight)
void StatusAggregator::addThresholdLimit(QVector& thresholdsLimits, const ThresholdT& th)
{
thresholdsLimits.push_back(th);
- std::sort(thresholdsLimits.begin(), thresholdsLimits.end(), ThresholdLessthanFnt());
+ std::sort(thresholdsLimits.begin(), thresholdsLimits.end(), ThresholdLessThanFnt());
}
From 823ac35fd68e92eacc039fa92d25a5132d138c9f Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:09:20 -0400
Subject: [PATCH 29/60] spelling: match
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
core/src/K8sHelper.cpp | 4 ++--
core/src/K8sHelper.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/K8sHelper.cpp b/core/src/K8sHelper.cpp
index caa4df18..c9ccd30a 100644
--- a/core/src/K8sHelper.cpp
+++ b/core/src/K8sHelper.cpp
@@ -212,7 +212,7 @@ std::pair K8sHelper::parseNamespaces(const QByteArray& data)
std::pair K8sHelper::parseNamespacedServices(const QByteArray& in_data,
- const QString& in_macthNamespace,
+ const QString& in_matchNamespace,
QMap>& out_selectorMaps,
NodeListT& out_bpnodes)
{
@@ -238,7 +238,7 @@ std::pair K8sHelper::parseNamespacedServices(const QByteArray& in_
auto&& k8sNamespace = metaData["namespace"].toString();
// escape service if not matches the given namespac
- if (k8sNamespace != in_macthNamespace) {
+ if (k8sNamespace != in_matchNamespace) {
continue;
}
diff --git a/core/src/K8sHelper.hpp b/core/src/K8sHelper.hpp
index e00c8ed5..029b91bc 100644
--- a/core/src/K8sHelper.hpp
+++ b/core/src/K8sHelper.hpp
@@ -44,7 +44,7 @@ class K8sHelper : public QNetworkAccessManager
std::pair parseNamespaces(const QByteArray& data);
std::pair parseNamespacedServices(const QByteArray& in_data,
- const QString& in_macthNamespace,
+ const QString& in_matchNamespace,
QMap>& out_selectorMaps,
NodeListT& out_bpnodes);
From 93f391e284e8df4540c2be941a8d360e83ea61f9 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:09:39 -0400
Subject: [PATCH 30/60] spelling: nagios
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/i18n/messages.xml | 2 +-
web/src/WebEditor.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/i18n/messages.xml b/resources/i18n/messages.xml
index a44917c5..a8dff1c9 100644
--- a/resources/i18n/messages.xml
+++ b/resources/i18n/messages.xml
@@ -649,7 +649,7 @@
${open-service-view}
${import-native-config}
${import-zabbix-it-service}
- ${import-nabios-bpi}
+ ${import-nagios-bpi}
diff --git a/web/src/WebEditor.cpp b/web/src/WebEditor.cpp
index eeb9e71d..c58d4a07 100644
--- a/web/src/WebEditor.cpp
+++ b/web/src/WebEditor.cpp
@@ -103,7 +103,7 @@ WebEditor::WebEditor(void)
auto importNagiosBpiBtn = std::make_unique(Wt::WLink("images/built-in/import-nagios_32x32.png"));
importNagiosBpiBtn->setToolTip(Q_TR("Import Nagios BPI"));
importNagiosBpiBtn->clicked().connect(this, &WebEditor::handleImportNagiosBpiButton);
- m_editionPaneRef->bindWidget("import-nabios-bpi", std::move(importNagiosBpiBtn));
+ m_editionPaneRef->bindWidget("import-nagios-bpi", std::move(importNagiosBpiBtn));
// name field
m_nameFieldRef = m_editionPaneRef->bindNew("name-field");
From c2c67f140e3bd61933cc3f3165d05a63547ada1f Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:09:45 -0400
Subject: [PATCH 31/60] spelling: namespace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
core/src/K8sHelper.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/K8sHelper.cpp b/core/src/K8sHelper.cpp
index c9ccd30a..b7aacf29 100644
--- a/core/src/K8sHelper.cpp
+++ b/core/src/K8sHelper.cpp
@@ -237,7 +237,7 @@ std::pair K8sHelper::parseNamespacedServices(const QByteArray& in_
auto&& metaData = serviceData["metadata"].toObject();
auto&& k8sNamespace = metaData["namespace"].toString();
- // escape service if not matches the given namespac
+ // escape service if not matches the given namespace
if (k8sNamespace != in_matchNamespace) {
continue;
}
From 8e35902df6aaa567ade42873930bb69fc4a65ca9 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:10:38 -0400
Subject: [PATCH 32/60] spelling: overall
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
web/src/WebMainUI.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/src/WebMainUI.cpp b/web/src/WebMainUI.cpp
index 89ddd401..7dc8d02c 100644
--- a/web/src/WebMainUI.cpp
+++ b/web/src/WebMainUI.cpp
@@ -506,9 +506,9 @@ void WebMainUI::handleRefresh(void)
currentBoard->updateAllNodesStatus();
currentBoard->updateMap();
NodeT currentRootNode = currentBoard->rootNode();
- int overvallSeverity = qMin(currentRootNode.sev, static_cast(ngrt4n::Unknown));
- if (overvallSeverity != ngrt4n::Normal) {
- ++appStates[overvallSeverity];
+ int overallSeverity = qMin(currentRootNode.sev, static_cast(ngrt4n::Unknown));
+ if (overallSeverity != ngrt4n::Normal) {
+ ++appStates[overallSeverity];
if (m_notificationManager) {
m_notificationManager->updateServiceData(currentRootNode);
}
From 3338249b82fdeee66d73b158b86736c405c25951 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:10:50 -0400
Subject: [PATCH 33/60] spelling: password
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbo/src/UserManagement.cpp | 8 ++++----
dbo/src/UserManagement.hpp | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dbo/src/UserManagement.cpp b/dbo/src/UserManagement.cpp
index 917ae63d..2096df8b 100644
--- a/dbo/src/UserManagement.cpp
+++ b/dbo/src/UserManagement.cpp
@@ -182,9 +182,9 @@ UserFormView::UserFormView(const DboUserT* user, bool changePasswordTriggered, b
setTemplateText(tr("userForm-template"));
addFunction("id", &WTemplate::Functions::id);
setFormWidget(UserFormModel::UsernameField, std::make_unique());
- setFormWidget(UserFormModel::CurrentPasswordField, std::move(createPaswordField()));
- setFormWidget(UserFormModel::PasswordField, std::move(createPaswordField()));
- setFormWidget(UserFormModel::PasswordConfirmationField, std::move(createPaswordField()));
+ setFormWidget(UserFormModel::CurrentPasswordField, std::move(createPasswordField()));
+ setFormWidget(UserFormModel::PasswordField, std::move(createPasswordField()));
+ setFormWidget(UserFormModel::PasswordConfirmationField, std::move(createPasswordField()));
setFormWidget(UserFormModel::FirstNameField, std::make_unique());
auto lastNameField = std::make_unique();
@@ -383,7 +383,7 @@ std::unique_ptr UserFormView::createUserRoleField(void)
}
-std::unique_ptr UserFormView::createPaswordField(void)
+std::unique_ptr UserFormView::createPasswordField(void)
{
auto field = std::make_unique();
field->setEchoMode(Wt::EchoMode::Password);
diff --git a/dbo/src/UserManagement.hpp b/dbo/src/UserManagement.hpp
index 5a46245f..00acad7f 100644
--- a/dbo/src/UserManagement.hpp
+++ b/dbo/src/UserManagement.hpp
@@ -136,7 +136,7 @@ class UserFormView : public Wt::WTemplateFormView
void handleCancelClick(Wt::WMouseEvent ev);
void handleChangePasswordClick(const std::string& login, const std::string& currentPass,const std::string& newPass);
std::unique_ptr createUserRoleField(void);
- std::unique_ptr createPaswordField(void);
+ std::unique_ptr createPasswordField(void);
void createChangePasswordDialog(void);
std::unique_ptr createDashboardDisplayModeField(void);
std::unique_ptr createDashboardTilesPerRowField(void);
From 5601cbdfde23cc6f27e74337438481b83ec5d30b Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:11:06 -0400
Subject: [PATCH 34/60] spelling: persisted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/jPlayer/jquery.jplayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/jPlayer/jquery.jplayer.js b/resources/jPlayer/jquery.jplayer.js
index bb33d62f..5db95a9f 100644
--- a/resources/jPlayer/jquery.jplayer.js
+++ b/resources/jPlayer/jquery.jplayer.js
@@ -1212,7 +1212,7 @@
// MJP: The background change remains. Would need to store the original to restore it correctly.
// MJP: The jPlayer element's size change remains.
- // Clear the media to reset the GUI and stop any downloads. Streams on some browsers had persited. (Chrome)
+ // Clear the media to reset the GUI and stop any downloads. Streams on some browsers had persisted. (Chrome)
this.clearMedia();
// Remove the size/sizeFull cssClass from the cssSelectorAncestor
this._removeUiClass();
From 39460a6fa93fccb73c2bfed91f00085ef6010d4d Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:11:01 -0400
Subject: [PATCH 35/60] spelling: persistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/jPlayer/jquery.jplayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/jPlayer/jquery.jplayer.js b/resources/jPlayer/jquery.jplayer.js
index 5db95a9f..57aae9e5 100644
--- a/resources/jPlayer/jquery.jplayer.js
+++ b/resources/jPlayer/jquery.jplayer.js
@@ -699,7 +699,7 @@
playbackRate: 1, // Warning - Now both an option and a status property
ended: 0
-/* Persistant status properties created dynamically at _init():
+/* Persistent status properties created dynamically at _init():
width
height
cssClass
From f1877dc2ec4465c1637784c1101292a001805e3f Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:11:16 -0400
Subject: [PATCH 36/60] spelling: platform
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbo/src/DbSession.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dbo/src/DbSession.cpp b/dbo/src/DbSession.cpp
index a3e8959b..255636d2 100644
--- a/dbo/src/DbSession.cpp
+++ b/dbo/src/DbSession.cpp
@@ -724,7 +724,7 @@ int DbSession::listStatusHistory(PlatformMappedStatusHistoryT& statusHistory, co
return count;
}
-int DbSession::getLastPlatformStatus(PlatformStatusT &platfotmStatus, const std::string &view)
+int DbSession::getLastPlatformStatus(PlatformStatusT &platformStatus, const std::string &view)
{
int count = -1;
dbo::Transaction transaction(*this);
@@ -743,7 +743,7 @@ int DbSession::getLastPlatformStatus(PlatformStatusT &platfotmStatus, const std:
if (queryResults.size() == 1) {
count = 0;
- platfotmStatus = queryResults.begin()->modify()->data();
+ platformStatus = queryResults.begin()->modify()->data();
}
}
catch (const dbo::Exception &ex)
From 7393887abe099aee4c3e8104e752260a70e0629d Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:11:25 -0400
Subject: [PATCH 37/60] spelling: priority
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
resources/jPlayer/jquery.jplayer.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/jPlayer/jquery.jplayer.js b/resources/jPlayer/jquery.jplayer.js
index 57aae9e5..fc717ab4 100644
--- a/resources/jPlayer/jquery.jplayer.js
+++ b/resources/jPlayer/jquery.jplayer.js
@@ -865,7 +865,7 @@
this.options.volume = this._limitValue(this.options.volume, 0, 1); // Limit volume value's bounds.
- // Create the formats array, with prority based on the order of the supplied formats string
+ // Create the formats array, with priority based on the order of the supplied formats string
$.each(this.options.supplied.toLowerCase().split(","), function(index1, value1) {
var format = value1.replace(/^\s+|\s+$/g, ""); //trim
if(self.format[format]) { // Check format is valid.
@@ -882,7 +882,7 @@
}
});
- // Create the solutions array, with prority based on the order of the solution string
+ // Create the solutions array, with priority based on the order of the solution string
$.each(this.options.solution.toLowerCase().split(","), function(index1, value1) {
var solution = value1.replace(/^\s+|\s+$/g, ""); //trim
if(self.solution[solution]) { // Check solution is valid.
From 51be994c68ce285b60b2d0f2ee68fab9e1a70206 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:11:40 -0400
Subject: [PATCH 38/60] spelling: querying
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
core/src/DashboardBase.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/DashboardBase.cpp b/core/src/DashboardBase.cpp
index d02d58a7..c9817fc7 100644
--- a/core/src/DashboardBase.cpp
+++ b/core/src/DashboardBase.cpp
@@ -147,7 +147,7 @@ void DashboardBase::signalUpdateProcessing(const SourceT& src)
{
QString monitorName = MonitorT::toString(src.mon_type);
if (src.mon_type == MonitorT::Nagios) {
- Q_EMIT updateMessageChanged(QObject::tr("quering %1/%2 => %3:%4...").arg(monitorName, src.id, src.ls_addr, QString::number(src.ls_port)).toStdString());
+ Q_EMIT updateMessageChanged(QObject::tr("querying %1/%2 => %3:%4...").arg(monitorName, src.id, src.ls_addr, QString::number(src.ls_port)).toStdString());
} else {
Q_EMIT updateMessageChanged(QObject::tr("querying %1/%2 => %3)...").arg(monitorName, src.id, src.mon_url).toStdString());
}
From 911ee815fc6570a64266b376993c004cbcde27d5 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:12:24 -0400
Subject: [PATCH 39/60] spelling: realopinsight
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
docs/deployment-on-kubernetes.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/deployment-on-kubernetes.md b/docs/deployment-on-kubernetes.md
index c1f25451..4ca04156 100644
--- a/docs/deployment-on-kubernetes.md
+++ b/docs/deployment-on-kubernetes.md
@@ -28,7 +28,7 @@ helm upgrade --namespace monitoring --install realopinsight manifests/helm/realo
```
## In-cluster access to service
-On success, the deployment does create a Kubernetes **ClusterIP** service named `realopinsiht`.
+On success, the deployment does create a Kubernetes **ClusterIP** service named `realopinsight`.
This service exposes the RealOpInsight's web interface (port `80`) as well as its Prometheus exporter (port `4584`).
From 79d2972c93b8609630621d25bc73f4d124df73f3 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:12:35 -0400
Subject: [PATCH 40/60] spelling: receiving
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
unittests/tst_mklshelpertest.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unittests/tst_mklshelpertest.cpp b/unittests/tst_mklshelpertest.cpp
index 06744765..38e239ae 100644
--- a/unittests/tst_mklshelpertest.cpp
+++ b/unittests/tst_mklshelpertest.cpp
@@ -14,7 +14,7 @@ class LsHelperTest : public QObject
private Q_SLOTS:
void testCase1();
- void testBadRecvingDataType();
+ void testBadReceivingDataType();
void testCaseService();
void testBadHostBadPort();
void testLoadHostData();
@@ -40,7 +40,7 @@ void LsHelperTest::testCase1()
mkhelper.disconnectFromService();
}
-void LsHelperTest::testBadRecvingDataType()
+void LsHelperTest::testBadReceivingDataType()
{
QVERIFY(true == mkhelper.connectToService());
mkhelper.clearData();
From 55692cca501a995cedf3971792bccd5f00237610 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:12:47 -0400
Subject: [PATCH 41/60] spelling: response
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
core/src/ZbxHelper.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/ZbxHelper.cpp b/core/src/ZbxHelper.cpp
index 4e2f7728..6489b994 100644
--- a/core/src/ZbxHelper.cpp
+++ b/core/src/ZbxHelper.cpp
@@ -276,7 +276,7 @@ int ZbxHelper::processGetApiVersionReply(void)
int ZbxHelper::processTriggerData(ChecksT &checks)
{
- // check weird reponse
+ // check weird response
qint32 tid = m_jsonData["id"].toInt();
if (tid != GetTriggersByHostOrGroup && tid != GetTriggersByHostOrGroupV18 && tid != GetTriggersByIds)
From abc996b18a1cf3a8065b145551fac4a86c0c49ca Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 26 Jul 2023 18:13:05 -0400
Subject: [PATCH 42/60] spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
contribs/etc/wt_config.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contribs/etc/wt_config.xml b/contribs/etc/wt_config.xml
index 9656724e..21c02570 100644
--- a/contribs/etc/wt_config.xml
+++ b/contribs/etc/wt_config.xml
@@ -29,7 +29,7 @@