diff --git a/CHANGES.md b/CHANGES.md index e95a225b84..de0a8f56d7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -118,7 +118,7 @@ - Fixed a bug in the Twitch OAuth adapter (#1209) - Fixed missing session object when OAuth session creation event is triggered (#1208) - Fixed bug where we didn't ignore the email case, converted all emails to lowercase internally (#1243) -- Fixed a console bug where you can't click a user with no name, added a placehoder for anonyomous users (#1220) +- Fixed a console bug where you can't click a user with no name, added a placeholder for anonyomous users (#1220) - Fixed unique keys not being updated when changing a user's email address (#1301) - Fixed a bug where decimal integers where wrongly used with database filters (#1349) diff --git a/app/realtime.php b/app/realtime.php index 70eacc0d4a..8291ccd0f0 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -487,7 +487,7 @@ $server->onMessage(function (int $connection, string $message) use ($server, $re * * Abuse limits are sending 32 times per minute and connection. */ - $timeLimit = new TimeLimit('url:{url},conection:{connection}', 32, 60, $db); + $timeLimit = new TimeLimit('url:{url},connection:{connection}', 32, 60, $db); $timeLimit ->setNamespace('app_' . $realtime->connections[$connection]['projectId']) ->setParam('{connection}', $connection) diff --git a/app/workers/functions.php b/app/workers/functions.php index 8020581e0e..0abf14a199 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -381,7 +381,7 @@ class FunctionsV1 extends Worker } } - if (isset($list[$container]) && !(\substr($list[$container]->getStatus(), 0, 2) === 'Up')) { // Remove conatiner if not online + if (isset($list[$container]) && !(\substr($list[$container]->getStatus(), 0, 2) === 'Up')) { // Remove container if not online $stdout = ''; $stderr = ''; @@ -403,7 +403,7 @@ class FunctionsV1 extends Worker * Make sure no access to NFS server / storage volumes * Access Appwrite REST from internal network for improved performance */ - if (!isset($list[$container])) { // Create contianer if not ready + if (!isset($list[$container])) { // Create container if not ready $stdout = ''; $stderr = ''; diff --git a/docs/references/teams/update-team-membership-status.md b/docs/references/teams/update-team-membership-status.md index ae2da76774..ab8f4ca36a 100644 --- a/docs/references/teams/update-team-membership-status.md +++ b/docs/references/teams/update-team-membership-status.md @@ -1 +1 @@ -Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email recieved by the user. \ No newline at end of file +Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user. \ No newline at end of file diff --git a/docs/sdks/flutter-dev/CHANGELOG.md b/docs/sdks/flutter-dev/CHANGELOG.md index ff6f7fa1a7..afad83727e 100644 --- a/docs/sdks/flutter-dev/CHANGELOG.md +++ b/docs/sdks/flutter-dev/CHANGELOG.md @@ -17,7 +17,7 @@ ## 0.2.2 -- Fixed an error that happend when the OAuth session creation request was sent before any other API call +- Fixed an error that happened when the OAuth session creation request was sent before any other API call - Fixed a bug in the Avatars service where location URL generation had syntax error ## 0.2.1 @@ -56,7 +56,7 @@ ## 0.0.9 -- Updated deafult params +- Updated default params ## 0.0.8 diff --git a/docs/sdks/flutter/CHANGELOG.md b/docs/sdks/flutter/CHANGELOG.md index ccdd0eabd0..732a7fe7a6 100644 --- a/docs/sdks/flutter/CHANGELOG.md +++ b/docs/sdks/flutter/CHANGELOG.md @@ -113,7 +113,7 @@ ## 0.2.2 -- Fixed an error that happend when the OAuth session creation request was sent before any other API call +- Fixed an error that happened when the OAuth session creation request was sent before any other API call - Fixed a bug in the Avatars service where location URL generation had syntax error ## 0.2.1 diff --git a/tests/resources/functions/php/index.php b/tests/resources/functions/php/index.php index 86dcea3802..2c6ba1652b 100644 --- a/tests/resources/functions/php/index.php +++ b/tests/resources/functions/php/index.php @@ -26,5 +26,5 @@ echo $_ENV['APPWRITE_FUNCTION_RUNTIME_VERSION']."\n"; // echo $result['$id']; echo $_ENV['APPWRITE_FUNCTION_EVENT']."\n"; echo $_ENV['APPWRITE_FUNCTION_EVENT_DATA']."\n"; -// Test unknwon UTF-8 chars +// Test unknown UTF-8 chars echo "\xEA\xE4\n"; \ No newline at end of file diff --git a/tests/unit/General/CollectionsTest.php b/tests/unit/General/CollectionsTest.php index b5d29bd24b..038fe6c38b 100644 --- a/tests/unit/General/CollectionsTest.php +++ b/tests/unit/General/CollectionsTest.php @@ -22,13 +22,13 @@ class CollectionsTest extends TestCase foreach ($this->collections as $key => $collection) { if (array_key_exists('rules', $collection)) { foreach ($collection['rules'] as $check) { - $occurences = 0; + $occurrences = 0; foreach ($collection['rules'] as $rule) { if ($rule['key'] == $check['key']) { - $occurences++; + $occurrences++; } } - $this->assertEquals(1, $occurences); + $this->assertEquals(1, $occurrences); } } }