diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 0000000000..80d880244c
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,47 @@
+name: Nightly Security Scan
+on:
+ schedule:
+ - cron: '0 0 * * *' # 12am UTC daily runtime
+ workflow_dispatch:
+
+jobs:
+ scan-image:
+ name: Scan Docker Image
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ - name: Build the Docker image
+ run: docker build . -t appwrite_image:latest
+ - name: Run Trivy vulnerability scanner on image
+ uses: aquasecurity/trivy-action@0.20.0
+ with:
+ image-ref: 'appwrite_image:latest'
+ format: 'sarif'
+ output: 'trivy-image-results.sarif'
+ ignore-unfixed: 'false'
+ severity: 'CRITICAL,HIGH'
+ - name: Upload Docker Image Scan Results
+ uses: github/codeql-action/upload-sarif@v2
+ with:
+ sarif_file: 'trivy-image-results.sarif'
+
+ scan-code:
+ name: Scan Code
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v4
+ - name: Run Trivy vulnerability scanner on filesystem
+ uses: aquasecurity/trivy-action@0.20.0
+ with:
+ scan-type: 'fs'
+ format: 'sarif'
+ output: 'trivy-fs-results.sarif'
+ severity: 'CRITICAL,HIGH'
+ - name: Upload Code Scan Results
+ uses: github/codeql-action/upload-sarif@v2
+ with:
+ sarif_file: 'trivy-fs-results.sarif'
diff --git a/README.md b/README.md
index 84cfc5d85e..0d223475c2 100644
--- a/README.md
+++ b/README.md
@@ -134,6 +134,12 @@ Choose from one of the providers below:
Akamai Compute
+
+
+
+ AWS Marketplace
+
+ |
diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php
index b2f41bbaee..48c836a0ad 100644
--- a/app/controllers/shared/api.php
+++ b/app/controllers/shared/api.php
@@ -556,10 +556,11 @@ App::shutdown()
/**
* Trigger functions.
*/
- $queueForFunctions
- ->from($queueForEvents)
- ->trigger();
-
+ if (!$queueForEvents->isPaused()) {
+ $queueForFunctions
+ ->from($queueForEvents)
+ ->trigger();
+ }
/**
* Trigger webhooks.
*/
diff --git a/composer.lock b/composer.lock
index 5b4c1a9546..658e16e131 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "0e770d4489dbe657c00281b1afd3c0ee",
+ "content-hash": "341116bfee981d2d1d6f3e611c3474aa",
"packages": [
{
"name": "adhocore/jwt",
@@ -65,16 +65,16 @@
},
{
"name": "appwrite/appwrite",
- "version": "11.1.0",
+ "version": "10.1.0",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-for-php.git",
- "reference": "1d043f543acdb17b9fdb440b1b2dd208e400bad3"
+ "reference": "da579af70723cfc117b5af84375bdef117e27312"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/1d043f543acdb17b9fdb440b1b2dd208e400bad3",
- "reference": "1d043f543acdb17b9fdb440b1b2dd208e400bad3",
+ "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/da579af70723cfc117b5af84375bdef117e27312",
+ "reference": "da579af70723cfc117b5af84375bdef117e27312",
"shasum": ""
},
"require": {
@@ -83,8 +83,7 @@
"php": ">=7.1.0"
},
"require-dev": {
- "mockery/mockery": "^1.6.6",
- "phpunit/phpunit": "^10"
+ "phpunit/phpunit": "3.7.35"
},
"type": "library",
"autoload": {
@@ -100,10 +99,10 @@
"support": {
"email": "team@appwrite.io",
"issues": "https://github.com/appwrite/sdk-for-php/issues",
- "source": "https://github.com/appwrite/sdk-for-php/tree/11.1.0",
+ "source": "https://github.com/appwrite/sdk-for-php/tree/10.1.0",
"url": "https://appwrite.io/support"
},
- "time": "2024-06-26T07:03:23+00:00"
+ "time": "2023-11-20T09:56:12+00:00"
},
{
"name": "appwrite/php-clamav",
@@ -1925,16 +1924,16 @@
},
{
"name": "utopia-php/framework",
- "version": "0.33.8",
+ "version": "0.33.6",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/http.git",
- "reference": "a7f577540a25cb90896fef2b64767bf8d700f3c5"
+ "reference": "8fe57da0cecd57e3b17cd395b4a666a24f4c07a6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/utopia-php/http/zipball/a7f577540a25cb90896fef2b64767bf8d700f3c5",
- "reference": "a7f577540a25cb90896fef2b64767bf8d700f3c5",
+ "url": "https://api.github.com/repos/utopia-php/http/zipball/8fe57da0cecd57e3b17cd395b4a666a24f4c07a6",
+ "reference": "8fe57da0cecd57e3b17cd395b4a666a24f4c07a6",
"shasum": ""
},
"require": {
@@ -1964,9 +1963,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/http/issues",
- "source": "https://github.com/utopia-php/http/tree/0.33.8"
+ "source": "https://github.com/utopia-php/http/tree/0.33.6"
},
- "time": "2024-08-15T14:10:09+00:00"
+ "time": "2024-03-21T18:10:57+00:00"
},
{
"name": "utopia-php/image",
@@ -2174,35 +2173,27 @@
},
{
"name": "utopia-php/migration",
- "version": "0.6.0",
+ "version": "0.5.2",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/migration.git",
- "reference": "33d2fedb7e8e60261f552acfcc42c7875bacc9aa"
+ "reference": "f18d44d4459f78c292dac9edde856fd156fe497a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/utopia-php/migration/zipball/33d2fedb7e8e60261f552acfcc42c7875bacc9aa",
- "reference": "33d2fedb7e8e60261f552acfcc42c7875bacc9aa",
+ "url": "https://api.github.com/repos/utopia-php/migration/zipball/f18d44d4459f78c292dac9edde856fd156fe497a",
+ "reference": "f18d44d4459f78c292dac9edde856fd156fe497a",
"shasum": ""
},
"require": {
- "appwrite/appwrite": "11.1.*",
- "ext-curl": "*",
- "ext-openssl": "*",
- "php": "8.3.*",
- "utopia-php/database": "0.52.*",
- "utopia-php/dsn": "0.2.*",
- "utopia-php/framework": "0.33.*",
- "utopia-php/storage": "0.18.*"
+ "appwrite/appwrite": "10.1.0",
+ "php": "8.*"
},
"require-dev": {
- "ext-pdo": "*",
- "laravel/pint": "1.17.*",
- "phpstan/phpstan": "1.11.*",
- "phpunit/phpunit": "11.2.*",
- "utopia-php/cli": "0.16.*",
- "vlucas/phpdotenv": "5.6.*"
+ "laravel/pint": "1.*",
+ "phpunit/phpunit": "9.*",
+ "utopia-php/cli": "^0.18.0",
+ "vlucas/phpdotenv": "5.*"
},
"type": "library",
"autoload": {
@@ -2224,9 +2215,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/migration/issues",
- "source": "https://github.com/utopia-php/migration/tree/0.6.0"
+ "source": "https://github.com/utopia-php/migration/tree/0.5.2"
},
- "time": "2024-08-23T03:43:23+00:00"
+ "time": "2024-07-22T09:27:07+00:00"
},
{
"name": "utopia-php/mongo",
@@ -2769,16 +2760,16 @@
},
{
"name": "utopia-php/vcs",
- "version": "0.8.2",
+ "version": "0.8.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/vcs.git",
- "reference": "eb9b7eade1a46a4f660e0d5a6304f7fa26ec9d18"
+ "reference": "3084aa93d24ed1e70f01e75f4318fc0d07f12596"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/utopia-php/vcs/zipball/eb9b7eade1a46a4f660e0d5a6304f7fa26ec9d18",
- "reference": "eb9b7eade1a46a4f660e0d5a6304f7fa26ec9d18",
+ "url": "https://api.github.com/repos/utopia-php/vcs/zipball/3084aa93d24ed1e70f01e75f4318fc0d07f12596",
+ "reference": "3084aa93d24ed1e70f01e75f4318fc0d07f12596",
"shasum": ""
},
"require": {
@@ -2812,9 +2803,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/vcs/issues",
- "source": "https://github.com/utopia-php/vcs/tree/0.8.2"
+ "source": "https://github.com/utopia-php/vcs/tree/0.8.1"
},
- "time": "2024-08-13T14:36:30+00:00"
+ "time": "2024-07-29T20:49:09+00:00"
},
{
"name": "utopia-php/websocket",
@@ -3001,16 +2992,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
- "version": "0.39.18",
+ "version": "0.38.8",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
- "reference": "3f12532d3a41f6e3e7528f41c0e79a6d473c4a4c"
+ "reference": "6367c57ddbcf7b88cacb900c4fe7ef3f28bf38ef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/3f12532d3a41f6e3e7528f41c0e79a6d473c4a4c",
- "reference": "3f12532d3a41f6e3e7528f41c0e79a6d473c4a4c",
+ "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/6367c57ddbcf7b88cacb900c4fe7ef3f28bf38ef",
+ "reference": "6367c57ddbcf7b88cacb900c4fe7ef3f28bf38ef",
"shasum": ""
},
"require": {
@@ -3046,9 +3037,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
- "source": "https://github.com/appwrite/sdk-generator/tree/0.39.18"
+ "source": "https://github.com/appwrite/sdk-generator/tree/0.38.8"
},
- "time": "2024-08-27T11:22:14+00:00"
+ "time": "2024-06-17T00:42:27+00:00"
},
{
"name": "doctrine/deprecations",
@@ -3169,16 +3160,16 @@
},
{
"name": "laravel/pint",
- "version": "v1.17.2",
+ "version": "v1.17.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/pint.git",
- "reference": "e8a88130a25e3f9d4d5785e6a1afca98268ab110"
+ "reference": "4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/pint/zipball/e8a88130a25e3f9d4d5785e6a1afca98268ab110",
- "reference": "e8a88130a25e3f9d4d5785e6a1afca98268ab110",
+ "url": "https://api.github.com/repos/laravel/pint/zipball/4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5",
+ "reference": "4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5",
"shasum": ""
},
"require": {
@@ -3189,13 +3180,13 @@
"php": "^8.1.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.61.1",
- "illuminate/view": "^10.48.18",
- "larastan/larastan": "^2.9.8",
+ "friendsofphp/php-cs-fixer": "^3.59.3",
+ "illuminate/view": "^10.48.12",
+ "larastan/larastan": "^2.9.7",
"laravel-zero/framework": "^10.4.0",
"mockery/mockery": "^1.6.12",
"nunomaduro/termwind": "^1.15.1",
- "pestphp/pest": "^2.35.0"
+ "pestphp/pest": "^2.34.8"
},
"bin": [
"builds/pint"
@@ -3231,7 +3222,7 @@
"issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint"
},
- "time": "2024-08-06T15:11:54+00:00"
+ "time": "2024-07-23T16:40:20+00:00"
},
{
"name": "matthiasmullie/minify",
@@ -3839,16 +3830,16 @@
},
{
"name": "phpstan/phpdoc-parser",
- "version": "1.30.0",
+ "version": "1.29.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f"
+ "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f",
- "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fcaefacf2d5c417e928405b71b400d4ce10daaf4",
+ "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4",
"shasum": ""
},
"require": {
@@ -3880,41 +3871,41 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0"
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.1"
},
- "time": "2024-08-29T09:54:52+00:00"
+ "time": "2024-05-31T08:52:43+00:00"
},
{
"name": "phpunit/php-code-coverage",
- "version": "9.2.32",
+ "version": "9.2.31",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5"
+ "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5",
- "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965",
+ "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
- "nikic/php-parser": "^4.19.1 || ^5.1.0",
+ "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=7.3",
- "phpunit/php-file-iterator": "^3.0.6",
- "phpunit/php-text-template": "^2.0.4",
- "sebastian/code-unit-reverse-lookup": "^2.0.3",
- "sebastian/complexity": "^2.0.3",
- "sebastian/environment": "^5.1.5",
- "sebastian/lines-of-code": "^1.0.4",
- "sebastian/version": "^3.0.2",
- "theseer/tokenizer": "^1.2.3"
+ "phpunit/php-file-iterator": "^3.0.3",
+ "phpunit/php-text-template": "^2.0.2",
+ "sebastian/code-unit-reverse-lookup": "^2.0.2",
+ "sebastian/complexity": "^2.0",
+ "sebastian/environment": "^5.1.2",
+ "sebastian/lines-of-code": "^1.0.3",
+ "sebastian/version": "^3.0.1",
+ "theseer/tokenizer": "^1.2.0"
},
"require-dev": {
- "phpunit/phpunit": "^9.6"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
"ext-pcov": "PHP extension that provides line coverage",
@@ -3923,7 +3914,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "9.2.x-dev"
+ "dev-master": "9.2-dev"
}
},
"autoload": {
@@ -3952,7 +3943,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32"
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31"
},
"funding": [
{
@@ -3960,7 +3951,7 @@
"type": "github"
}
],
- "time": "2024-08-22T04:23:01+00:00"
+ "time": "2024-03-02T06:37:42+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -4308,16 +4299,16 @@
},
{
"name": "psr/log",
- "version": "3.0.1",
+ "version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "79dff0b268932c640297f5208d6298f71855c03e"
+ "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e",
- "reference": "79dff0b268932c640297f5208d6298f71855c03e",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
+ "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
"shasum": ""
},
"require": {
@@ -4352,9 +4343,9 @@
"psr-3"
],
"support": {
- "source": "https://github.com/php-fig/log/tree/3.0.1"
+ "source": "https://github.com/php-fig/log/tree/3.0.0"
},
- "time": "2024-08-21T13:31:24+00:00"
+ "time": "2021-07-14T16:46:02+00:00"
},
{
"name": "sebastian/cli-parser",
diff --git a/public/images/integrations/aws-logo.svg b/public/images/integrations/aws-logo.svg
new file mode 100644
index 0000000000..3ab41cde07
--- /dev/null
+++ b/public/images/integrations/aws-logo.svg
@@ -0,0 +1,38 @@
+
+
+