diff --git a/CHANGES.md b/CHANGES.md index e95a225b8..83f2fa458 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,7 +32,7 @@ - Refactored E-Mail template (#1422) - Improved locale management (#1440) - Added `$permissions` to execution response (#948) -- Switch from using Docker CLI to Docker API by intergrating [utopia-php/orchestration](https://github.com/utopia-php/orchestration) (#1420) +- Switch from using Docker CLI to Docker API by integrating [utopia-php/orchestration](https://github.com/utopia-php/orchestration) (#1420) - Added DOCKERHUB_PULL_USERNAME, DOCKERHUB_PULL_PASSWORD and DOCKERHUB_PULL_EMAIL env variables for pulling from private DockerHub repos (#1420) - Added `updateName`, `updateEmail` and `updatePassword` to Users service and console (#1547) @@ -87,7 +87,7 @@ - Added internal support for connection pools for improved performance (#1278) - Added new abstraction for workers executable files (#1276) - Added a new API in the Users API to allow you to force update your user verification status (#1223) -- Using a fixed commit to avoid breaking changes for imagemagick extenstion (#1274) +- Using a fixed commit to avoid breaking changes for imagemagick extension (#1274) - Updated the design of all the email templates (#1225) - Refactored Devices page in Console: (#1167) - Renamed *Devices* to *Sessions* @@ -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 anonymous 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) @@ -212,8 +212,8 @@ ## Upgrades -- Upgraded redis extenstion lib to version 5.3.3 -- Upgraded maxmind extenstion lib to version 1.10.0 +- Upgraded redis extension lib to version 5.3.3 +- Upgraded maxmind extension lib to version 1.10.0 - Upgraded utopia-php/cli lib to version 0.10.0 - Upgraded matomo/device-detector lib to version 4.1.0 - Upgraded dragonmantank/cron-expression lib to version 3.1.0 @@ -225,7 +225,7 @@ ## Bug Fixes - Updated missing storage env vars -- Fixed a bug, that added a wrong timzone offset to user log timestamps +- Fixed a bug, that added a wrong timezone offset to user log timestamps - Fixed a bug, that Response format header was not added in the access-control-allow-header list. - Fixed a bug where countryName is unknown on sessions (#933) - Added missing event users.update.prefs (#952) @@ -304,13 +304,13 @@ - Upgraded Influxdb Docker image to version 1.8 (alpine) - Upgraded Redis Resque queue library to version 1.3.6 ([#319](https://github.com/appwrite/appwrite/issues/319)) - Upgraded ClamAV container image to version 1.0.11 ([#412](https://github.com/appwrite/appwrite/issues/412)) -- Upgraded device detctor to version 3.12.6 +- Upgraded device detector to version 3.12.6 - Upgraded GEOIP DB file to Feb 2021 release ## Breaking Changes (Read before upgrading!) - **Deprecated** `first` and `last` query params for documents list route in the database API -- **Deprecated** Deprectaed Pubjabi Translations ('pn') +- **Deprecated** Deprecated Pubjabi Translations ('pn') - **Deprecated** `PATCH /account/prefs` is now updating the prefs payload and not just merging it - **Deprecated** `PATCH /users/:userId/prefs` is now updating the prefs payload and not just merging it - Switched order of limit and offset params in all the SDKs `listDocuments` method for better consistency @@ -356,7 +356,7 @@ - Block iframe access to Appwrite console using the `X-Frame-Options` header. - Fixed `roles` param input validator - API Keys are now stored encrypted -- Disabled domains whitlist ACL for the Appwrite console +- Disabled domains whitelist ACL for the Appwrite console # Version 0.6.2 (PRE-RELEASE) diff --git a/app/config/variables.php b/app/config/variables.php index bb505fd6b..e6313a977 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -72,7 +72,7 @@ return [ ], [ 'name' => '_APP_CONSOLE_WHITELIST_ROOT', - 'description' => 'This option allows you to disable the creation of new users on the Appwrite console. When enabled only 1 user will be able to use the registration form. New users can be added by invting them to your project. By default this option is enabled.', + 'description' => 'This option allows you to disable the creation of new users on the Appwrite console. When enabled only 1 user will be able to use the registration form. New users can be added by inviting them to your project. By default this option is enabled.', 'introduction' => '0.8.0', 'default' => 'enabled', 'required' => false, @@ -359,7 +359,7 @@ return [ 'variables' => [ [ 'name' => '_APP_STORAGE_LIMIT', - 'description' => 'Maximun file size allowed for file upload. The default value is 10MB limitation. You should pass your size limit value in bytes.', + 'description' => 'Maximum file size allowed for file upload. The default value is 10MB limitation. You should pass your size limit value in bytes.', 'introduction' => '0.7.0', 'default' => '10000000', 'required' => false, @@ -455,7 +455,7 @@ return [ ], [ 'name' => '_APP_FUNCTIONS_ENVS', - 'description' => 'Deprectated with 0.8.0, use \'_APP_FUNCTIONS_RUNTIMES\' instead!', + 'description' => 'Deprecated with 0.8.0, use \'_APP_FUNCTIONS_RUNTIMES\' instead!', 'introduction' => '0.7.0', 'default' => 'node-16.0,php-7.4,python-3.9,ruby-3.0,java-16.0', 'required' => false, @@ -533,4 +533,4 @@ return [ ], ], ], -]; \ No newline at end of file +]; diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 5c76b4d80..16befb61e 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -68,7 +68,7 @@ App::init(function ($utopia, $request, $response, $project, $user, $register, $e $isAppUser = Auth::isAppUser(Authorization::$roles); if (($abuse->check() // Route is rate-limited - && App::getEnv('_APP_OPTIONS_ABUSE', 'enabled') !== 'disabled') // Abuse is not diabled + && App::getEnv('_APP_OPTIONS_ABUSE', 'enabled') !== 'disabled') // Abuse is not disabled && (!$isAppUser && !$isPrivilegedUser)) // User is not an admin or API key { throw new Exception('Too many requests', 429); diff --git a/docker-compose.yml b/docker-compose.yml index 8bb3885ef..2a86fc575 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ # WARNING! # This is a development version of THE Appwrite docker-compose.yml file. # Avoid using this file in your production environment. -# We're exposing here sensetive ports and mounting code volumes for rapid development and debugging of the server stack. +# We're exposing here sensitive ports and mounting code volumes for rapid development and debugging of the server stack. version: '3' diff --git a/docs/references/teams/update-team-membership-status.md b/docs/references/teams/update-team-membership-status.md index ae2da7677..0de0a2fd7 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. diff --git a/docs/sdks/flutter-dev/CHANGELOG.md b/docs/sdks/flutter-dev/CHANGELOG.md index ff6f7fa1a..8da3a1226 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 @@ -27,7 +27,7 @@ ## 0.2.0 - Updated flutter_web_auth plugin to version 0.2.4 -- Added per project unique callback for OAuth2 redirects to aviod conflicts between multiple Appwrite projects +- Added per project unique callback for OAuth2 redirects to avoid conflicts between multiple Appwrite projects ## 0.1.1 @@ -56,9 +56,9 @@ ## 0.0.9 -- Updated deafult params +- Updated default params ## 0.0.8 - Fixed compilation error in Client class -- Shorter description for package \ No newline at end of file +- Shorter description for package diff --git a/docs/sdks/flutter/CHANGELOG.md b/docs/sdks/flutter/CHANGELOG.md index ccdd0eabd..1d2fa9b67 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 @@ -123,7 +123,7 @@ ## 0.2.0 - Updated flutter_web_auth plugin to version 0.2.4 -- Added per project unique callback for OAuth2 redirects to aviod conflicts between multiple Appwrite projects +- Added per project unique callback for OAuth2 redirects to avoid conflicts between multiple Appwrite projects ## 0.1.1 @@ -152,7 +152,7 @@ ## 0.0.9 -- Updated deafult params +- Updated default params ## 0.0.8 diff --git a/docs/tutorials/add-environment-variable.md b/docs/tutorials/add-environment-variable.md index c88eb585d..ef6718574 100644 --- a/docs/tutorials/add-environment-variable.md +++ b/docs/tutorials/add-environment-variable.md @@ -9,7 +9,7 @@ Adding new features may require various configurations options to be set by the This tutorial will cover, how to properly add a new environment variable in Appwrite. -### Naming environment varialbe +### Naming environment variable The environment variables in Appwrite are prefixed with `_APP_`. If it belongs to a specific category, the category name is appended as `_APP_REDIS` for the redis category. The available categories are General, Redis, MariaDB, InfluxDB, StatsD, SMTP, Storage and Functions. Finally a properly describing name is given to the variable. For example `_APP_REDIS_HOST` is an environment variable for redis connection host. You can find more information on available categories and existing environment variables in the [environment variables doc](https://appwrite.io/docs/environment-variables). ### Describe new environment variable diff --git a/docs/tutorials/add-translations.md b/docs/tutorials/add-translations.md index 48131f8ad..fe064c17d 100644 --- a/docs/tutorials/add-translations.md +++ b/docs/tutorials/add-translations.md @@ -111,7 +111,7 @@ Continue with the rest of the process until you arrive at your dashboard. ![Dashboard](images/dashboard.png) -Your request might be pending, so you can ping us on Discord and we'll make the process faster 😀 . Once your request has been accepeted, you can proceed. +Your request might be pending, so you can ping us on Discord and we'll make the process faster 😀 . Once your request has been accepted, you can proceed. ![Get Started](images/guide.png) diff --git a/public/scripts/dependencies/appwrite.js b/public/scripts/dependencies/appwrite.js index 3ac3e1b67..22b500c80 100644 --- a/public/scripts/dependencies/appwrite.js +++ b/public/scripts/dependencies/appwrite.js @@ -142,7 +142,7 @@ * * Use this endpoint to allow a new user to register a new account in your * project. After the user registration completes successfully, you can use - * the [/account/verfication](/docs/client/account#accountCreateVerification) + * the [/account/verification](/docs/client/account#accountCreateVerification) * route to start verifying the user email address. To allow the new user to * login to their new account, you need to create a new [account * session](/docs/client/account#accountCreateSession). @@ -3839,7 +3839,7 @@ * Update Team Membership Status * * 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 + * after being redirected back to your app from the invitation email received * by the user. * * @param {string} teamId diff --git a/public/scripts/init.js b/public/scripts/init.js index 10ab382d9..50f31dacc 100644 --- a/public/scripts/init.js +++ b/public/scripts/init.js @@ -25,7 +25,7 @@ document.addEventListener("account.create", function () { let promise = sdk.account.createSession(form.email, form.password); - container.set("serviceForm", {}, true, true); // Remove sensetive data when not needed + container.set("serviceForm", {}, true, true); // Remove sensitive data when not needed promise.then(function () { var subscribe = document.getElementById('newsletter').checked; diff --git a/public/scripts/views/forms/upload.js b/public/scripts/views/forms/upload.js index 5cd8c7962..ccb62b070 100644 --- a/public/scripts/views/forms/upload.js +++ b/public/scripts/views/forms/upload.js @@ -160,7 +160,7 @@ search.path = path; document.dispatchEvent( - new CustomEvent("open-file-serach", { + new CustomEvent("open-file-search", { bubbles: false, cancelable: true })); diff --git a/public/scripts/views/general/version.js b/public/scripts/views/general/version.js index 63f1eb524..d99a2b001 100644 --- a/public/scripts/views/general/version.js +++ b/public/scripts/views/general/version.js @@ -12,7 +12,7 @@ xhr.onload = function () { if (this.readyState == 4 && this.status == 200) { let data = JSON.parse(this.responseText); - let text = 'Appwrite version ' + data.version + ' is avaliable, check the'; + let text = 'Appwrite version ' + data.version + ' is available, check the'; if(isNewerVersion(env.VERSION, data.version)) { alerts.add({ @@ -44,4 +44,4 @@ } } }); - })(window); \ No newline at end of file + })(window); diff --git a/src/Appwrite/Auth/Auth.php b/src/Appwrite/Auth/Auth.php index 4ea975185..8e96e4b90 100644 --- a/src/Appwrite/Auth/Auth.php +++ b/src/Appwrite/Auth/Auth.php @@ -240,7 +240,7 @@ class Auth } /** - * Is Previligged User? + * Is Privileged User? * * @param array $roles *