From d2f9593777f791dcb0b64bcb17e127d015b08e75 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 22 Mar 2023 00:08:47 -0400
Subject: [PATCH] spelling: unknown

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
 database.sql                    | 2 +-
 doc/database/db_user.md         | 2 +-
 src/Module/Admin/Federation.php | 2 +-
 static/dbstructure.config.php   | 2 +-
 view/js/autocomplete.js         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/database.sql b/database.sql
index ec4f86309e..c6761c7ef2 100644
--- a/database.sql
+++ b/database.sql
@@ -71,7 +71,7 @@ CREATE TABLE IF NOT EXISTS `user` (
 	`verified` boolean NOT NULL DEFAULT '0' COMMENT 'user is verified through email',
 	`blocked` boolean NOT NULL DEFAULT '0' COMMENT '1 for user is blocked',
 	`blockwall` boolean NOT NULL DEFAULT '0' COMMENT 'Prohibit contacts to post to the profile page of the user',
-	`hidewall` boolean NOT NULL DEFAULT '0' COMMENT 'Hide profile details from unkown viewers',
+	`hidewall` boolean NOT NULL DEFAULT '0' COMMENT 'Hide profile details from unknown viewers',
 	`blocktags` boolean NOT NULL DEFAULT '0' COMMENT 'Prohibit contacts to tag the post of this user',
 	`unkmail` boolean NOT NULL DEFAULT '0' COMMENT 'Permit unknown people to send private mails to this user',
 	`cntunkmail` int unsigned NOT NULL DEFAULT 10 COMMENT '',
diff --git a/doc/database/db_user.md b/doc/database/db_user.md
index 7f58ce58f1..c1aefd6bee 100644
--- a/doc/database/db_user.md
+++ b/doc/database/db_user.md
@@ -32,7 +32,7 @@ Fields
 | verified                 | user is verified through email                                                    | boolean            | NO   |     | 0                   |                |
 | blocked                  | 1 for user is blocked                                                             | boolean            | NO   |     | 0                   |                |
 | blockwall                | Prohibit contacts to post to the profile page of the user                         | boolean            | NO   |     | 0                   |                |
-| hidewall                 | Hide profile details from unkown viewers                                          | boolean            | NO   |     | 0                   |                |
+| hidewall                 | Hide profile details from unknown viewers                                         | boolean            | NO   |     | 0                   |                |
 | blocktags                | Prohibit contacts to tag the post of this user                                    | boolean            | NO   |     | 0                   |                |
 | unkmail                  | Permit unknown people to send private mails to this user                          | boolean            | NO   |     | 0                   |                |
 | cntunkmail               |                                                                                   | int unsigned       | NO   |     | 10                  |                |
diff --git a/src/Module/Admin/Federation.php b/src/Module/Admin/Federation.php
index 59399e639c..517e8cb4ad 100644
--- a/src/Module/Admin/Federation.php
+++ b/src/Module/Admin/Federation.php
@@ -391,7 +391,7 @@ class Federation extends BaseAdmin
 		//
 		// clean up version numbers
 		//
-		// some platforms do not provide version information, add a unkown there
+		// some platforms do not provide version information, add a unknown there
 		// to the version string for the displayed list.
 		foreach ($versionCounts as $key => $value) {
 			if ($versionCounts[$key]['version'] == '') {
diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php
index 6eaad609ef..62ac04f1cf 100644
--- a/static/dbstructure.config.php
+++ b/static/dbstructure.config.php
@@ -127,7 +127,7 @@ return [
 			"verified" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "user is verified through email"],
 			"blocked" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "1 for user is blocked"],
 			"blockwall" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Prohibit contacts to post to the profile page of the user"],
-			"hidewall" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Hide profile details from unkown viewers"],
+			"hidewall" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Hide profile details from unknown viewers"],
 			"blocktags" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Prohibit contacts to tag the post of this user"],
 			"unkmail" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Permit unknown people to send private mails to this user"],
 			"cntunkmail" => ["type" => "int unsigned", "not null" => "1", "default" => "10", "comment" => ""],
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 91dd0053f1..7d5bd0656c 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -13,7 +13,7 @@
 
 function contact_search(term, callback, backend_url, type, mode) {
 
-	// Check if there is a conversation id to include the unkonwn contacts of the conversation
+	// Check if there is a conversation id to include the unknown contacts of the conversation
 	var conv_id = document.activeElement.id.match(/\d+$/);
 
 	// Check if there is a cached result that contains the same information we would get with a full server-side search