diff --git a/app/config/storage/logos.php b/app/config/storage/logos.php index fdbe37b3b..9db909653 100644 --- a/app/config/storage/logos.php +++ b/app/config/storage/logos.php @@ -5,8 +5,10 @@ return [ // Based on this list @see http://stackoverflow.com/a/4212908/2299554 'default_image' => __DIR__ . '/logos/image.png', // Video Files + 'video/mp4' => __DIR__ . '/logos/video.png', 'video/x-flv' => __DIR__ . '/logos/video.png', + 'video/webm' => __DIR__ . '/logos/video.png', 'application/x-mpegURL' => __DIR__ . '/logos/video.png', 'video/MP2T' => __DIR__ . '/logos/video.png', 'video/3gpp' => __DIR__ . '/logos/video.png', @@ -14,6 +16,8 @@ return [ // Based on this list @see http://stackoverflow.com/a/4212908/2299554 'video/x-msvideo' => __DIR__ . '/logos/video.png', 'video/x-ms-wmv' => __DIR__ . '/logos/video.png', + + // // Microsoft Word // 'application/msword' => __DIR__.'/logos/word.png', // 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => __DIR__.'/logos/word.png', diff --git a/app/config/storage/mimes.php b/app/config/storage/mimes.php index 16f078ae1..3e3cad369 100644 --- a/app/config/storage/mimes.php +++ b/app/config/storage/mimes.php @@ -10,6 +10,7 @@ return [ // Video Files 'video/mp4', 'video/x-flv', + 'video/webm', 'application/x-mpegURL', 'video/MP2T', 'video/3gpp', diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 10c978988..c039c2134 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -965,7 +965,7 @@ App::post('/v1/account/jwt') ->label('sdk.response.code', Response::STATUS_CODE_CREATED) ->label('sdk.response.type', Response::CONTENT_TYPE_JSON) ->label('sdk.response.model', Response::MODEL_JWT) - ->label('abuse-limit', 10) + ->label('abuse-limit', 100) ->label('abuse-key', 'url:{url},userId:{userId}') ->inject('response') ->inject('user') diff --git a/app/http.php b/app/http.php index 47f3cde2b..a7d10b9e0 100644 --- a/app/http.php +++ b/app/http.php @@ -211,7 +211,6 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) { }); Console::success('Server started successfully (max payload is ' . number_format($payloadSize) . ' bytes)'); - Console::info("Master pid {$http->master_pid}, manager pid {$http->manager_pid}"); // listen ctrl + c diff --git a/app/realtime.php b/app/realtime.php index 0a6cf4f48..7f3264f31 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -187,7 +187,7 @@ $server->onStart(function () use ($stats, $register, $containerId, &$statsDocume }); $server->onWorkerStart(function (int $workerId) use ($server, $register, $stats, $realtime, $logError) { - Console::success('Worker ' . $workerId . ' started succefully'); + Console::success('Worker ' . $workerId . ' started successfully'); $attempts = 0; $start = time(); diff --git a/app/views/console/functions/function.phtml b/app/views/console/functions/function.phtml index 68779e886..17bb873ee 100644 --- a/app/views/console/functions/function.phtml +++ b/app/views/console/functions/function.phtml @@ -703,7 +703,7 @@ sort($patterns); --functionId={{project-function.$id}} \ --activate=true \ --entrypoint='scriptFile' \ - --code='/myrepo/myfunction'" data-forms-code="bash" data-lang="bash" data-lang-label="Bash"> + --code='.'" data-forms-code="bash" data-lang="bash" data-lang-label="Bash">
PowerShell
@@ -713,7 +713,7 @@ sort($patterns); --functionId={{project-function.$id}} ` --activate=true ` --entrypoint='scriptFile' ` - --code='/myrepo/myfunction'" data-forms-code="powershell" data-lang="powershell" data-lang-label="PowerShell"> + --code='.'" data-forms-code="powershell" data-lang="powershell" data-lang-label="PowerShell">Learn more about creating deployments, installing and using the Appwrite CLI.
diff --git a/docs/sdks/flutter/GETTING_STARTED.md b/docs/sdks/flutter/GETTING_STARTED.md index 78fa4f93b..0a83ae67b 100644 --- a/docs/sdks/flutter/GETTING_STARTED.md +++ b/docs/sdks/flutter/GETTING_STARTED.md @@ -10,11 +10,14 @@ If you are building your Flutter application for multiple devices, you have to f ### Android For **Android** first add your app name and package name, Your package name is generally the **applicationId** in your app-level build.gradle file. By registering your new app platform, you are allowing your app to communicate with the Appwrite API. -In order to capture the Appwrite OAuth callback url, the following activity needs to be added to your [AndroidManifest.xml](https://github.com/appwrite/playground-for-flutter/blob/master/android/app/src/main/AndroidManifest.xml). Be sure to replace the **[PROJECT_ID]** string with your actual Appwrite project ID. You can find your Appwrite project ID in your project settings screen in the console. +In order to capture the Appwrite OAuth callback url, the following activity needs to be added inside the `