diff --git a/CHANGES.md b/CHANGES.md index ed758b7be5..da613e4f54 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -100,7 +100,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) @@ -155,7 +155,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* @@ -186,7 +186,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 placeholder 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) @@ -280,8 +280,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 @@ -293,7 +293,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) @@ -372,13 +372,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 @@ -424,7 +424,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 bb505fd6be..e6313a9776 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 5c76b4d807..16befb61e3 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/docs/sdks/flutter-dev/CHANGELOG.md b/docs/sdks/flutter-dev/CHANGELOG.md index afad83727e..8da3a12262 100644 --- a/docs/sdks/flutter-dev/CHANGELOG.md +++ b/docs/sdks/flutter-dev/CHANGELOG.md @@ -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 @@ -61,4 +61,4 @@ ## 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 b5e36f22dc..142b9cb100 100644 --- a/docs/sdks/flutter/CHANGELOG.md +++ b/docs/sdks/flutter/CHANGELOG.md @@ -130,7 +130,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 @@ -159,7 +159,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 c88eb585dc..ef67185747 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/public/scripts/dependencies/appwrite.js b/public/scripts/dependencies/appwrite.js index a98bea83ef..dcef7d424c 100644 --- a/public/scripts/dependencies/appwrite.js +++ b/public/scripts/dependencies/appwrite.js @@ -199,7 +199,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). @@ -3896,7 +3896,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 10ab382d9c..50f31dacc3 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 5cd8c79625..ccb62b0705 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 63f1eb524e..d99a2b001b 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 603983c7fd..8f48bb6349 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 *