Update audit, abuse, database

This commit is contained in:
Jake Barnby 2024-08-19 14:52:15 +12:00
parent 5b37a91b46
commit 4c8cd5b6c6
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
7 changed files with 31 additions and 29 deletions

View file

@ -14,7 +14,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Projects;
use Appwrite\Utopia\Request; use Appwrite\Utopia\Request;
use Appwrite\Utopia\Response; use Appwrite\Utopia\Response;
use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\PHPMailer;
use Utopia\Abuse\Adapters\TimeLimit; use Utopia\Abuse\Adapters\Database\TimeLimit;
use Utopia\App; use Utopia\App;
use Utopia\Audit\Audit; use Utopia\Audit\Audit;
use Utopia\Cache\Cache; use Utopia\Cache\Cache;

View file

@ -16,7 +16,7 @@ use Appwrite\Messaging\Adapter\Realtime;
use Appwrite\Utopia\Request; use Appwrite\Utopia\Request;
use Appwrite\Utopia\Response; use Appwrite\Utopia\Response;
use Utopia\Abuse\Abuse; use Utopia\Abuse\Abuse;
use Utopia\Abuse\Adapters\TimeLimit; use Utopia\Abuse\Adapters\Database\TimeLimit;
use Utopia\App; use Utopia\App;
use Utopia\Cache\Adapter\Filesystem; use Utopia\Cache\Adapter\Filesystem;
use Utopia\Cache\Cache; use Utopia\Cache\Cache;

View file

@ -9,7 +9,7 @@ use Swoole\Http\Request as SwooleRequest;
use Swoole\Http\Response as SwooleResponse; use Swoole\Http\Response as SwooleResponse;
use Swoole\Http\Server; use Swoole\Http\Server;
use Swoole\Process; use Swoole\Process;
use Utopia\Abuse\Adapters\TimeLimit; use Utopia\Abuse\Adapters\Database\TimeLimit;
use Utopia\App; use Utopia\App;
use Utopia\Audit\Audit; use Utopia\Audit\Audit;
use Utopia\CLI\Console; use Utopia\CLI\Console;

View file

@ -13,7 +13,7 @@ use Swoole\Runtime;
use Swoole\Table; use Swoole\Table;
use Swoole\Timer; use Swoole\Timer;
use Utopia\Abuse\Abuse; use Utopia\Abuse\Abuse;
use Utopia\Abuse\Adapters\TimeLimit; use Utopia\Abuse\Adapters\Database\TimeLimit;
use Utopia\App; use Utopia\App;
use Utopia\Cache\Adapter\Sharding; use Utopia\Cache\Adapter\Sharding;
use Utopia\Cache\Cache; use Utopia\Cache\Cache;

View file

@ -44,13 +44,13 @@
"ext-sockets": "*", "ext-sockets": "*",
"appwrite/php-runtimes": "0.13.*", "appwrite/php-runtimes": "0.13.*",
"appwrite/php-clamav": "2.0.*", "appwrite/php-clamav": "2.0.*",
"utopia-php/abuse": "0.38.*", "utopia-php/abuse": "0.41.*",
"utopia-php/analytics": "0.10.*", "utopia-php/analytics": "0.10.*",
"utopia-php/audit": "0.40.*", "utopia-php/audit": "0.41.*",
"utopia-php/cache": "0.10.*", "utopia-php/cache": "0.10.*",
"utopia-php/cli": "0.15.*", "utopia-php/cli": "0.15.*",
"utopia-php/config": "0.2.*", "utopia-php/config": "0.2.*",
"utopia-php/database": "dev-feat-migrations as 0.50.4", "utopia-php/database": "dev-feat-migrations as 0.51.1",
"utopia-php/domains": "0.5.*", "utopia-php/domains": "0.5.*",
"utopia-php/dsn": "0.2.1", "utopia-php/dsn": "0.2.1",
"utopia-php/framework": "0.33.*", "utopia-php/framework": "0.33.*",

44
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9f0148c3d90031407444e496f05c52ab", "content-hash": "c7f621c0e56130f48703ba54364e4763",
"packages": [ "packages": [
{ {
"name": "adhocore/jwt", "name": "adhocore/jwt",
@ -1428,26 +1428,28 @@
}, },
{ {
"name": "utopia-php/abuse", "name": "utopia-php/abuse",
"version": "0.38.0", "version": "0.41.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/abuse.git", "url": "https://github.com/utopia-php/abuse.git",
"reference": "b7be9086c9d9b4561d810cbd42fdda798742f56c" "reference": "961019add0edc30c11b78ca74ce7ca7c9715b513"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/b7be9086c9d9b4561d810cbd42fdda798742f56c", "url": "https://api.github.com/repos/utopia-php/abuse/zipball/961019add0edc30c11b78ca74ce7ca7c9715b513",
"reference": "b7be9086c9d9b4561d810cbd42fdda798742f56c", "reference": "961019add0edc30c11b78ca74ce7ca7c9715b513",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-curl": "*", "ext-curl": "*",
"ext-pdo": "*", "ext-pdo": "*",
"ext-redis": "*",
"php": ">=8.0", "php": ">=8.0",
"utopia-php/database": "0.50.*" "utopia-php/database": "0.51.*"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "1.5.*", "laravel/pint": "1.5.*",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^1.9", "phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.4" "phpunit/phpunit": "^9.4"
}, },
@ -1471,9 +1473,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/abuse/issues", "issues": "https://github.com/utopia-php/abuse/issues",
"source": "https://github.com/utopia-php/abuse/tree/0.38.0" "source": "https://github.com/utopia-php/abuse/tree/0.41.0"
}, },
"time": "2024-06-24T00:52:02+00:00" "time": "2024-08-19T02:47:45+00:00"
}, },
{ {
"name": "utopia-php/analytics", "name": "utopia-php/analytics",
@ -1523,21 +1525,21 @@
}, },
{ {
"name": "utopia-php/audit", "name": "utopia-php/audit",
"version": "0.40.0", "version": "0.41.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/audit.git", "url": "https://github.com/utopia-php/audit.git",
"reference": "735ae211ce5fee5b52b736731571b4030b1d7cdc" "reference": "77f1d0a95ea791e38a38a8bc1b7728ffcedcd2d1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/735ae211ce5fee5b52b736731571b4030b1d7cdc", "url": "https://api.github.com/repos/utopia-php/audit/zipball/77f1d0a95ea791e38a38a8bc1b7728ffcedcd2d1",
"reference": "735ae211ce5fee5b52b736731571b4030b1d7cdc", "reference": "77f1d0a95ea791e38a38a8bc1b7728ffcedcd2d1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.0", "php": ">=8.0",
"utopia-php/database": "0.50.*" "utopia-php/database": "0.51.*"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "1.5.*", "laravel/pint": "1.5.*",
@ -1564,9 +1566,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/audit/issues", "issues": "https://github.com/utopia-php/audit/issues",
"source": "https://github.com/utopia-php/audit/tree/0.40.0" "source": "https://github.com/utopia-php/audit/tree/0.41.0"
}, },
"time": "2024-06-24T00:52:17+00:00" "time": "2024-08-16T06:08:00+00:00"
}, },
{ {
"name": "utopia-php/cache", "name": "utopia-php/cache",
@ -1724,12 +1726,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/database.git", "url": "https://github.com/utopia-php/database.git",
"reference": "09da873eec2aff442a6201b74c9ddc2bee566cd7" "reference": "ddf94c9928fed48f251722d7594c62fe1fdf664a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/09da873eec2aff442a6201b74c9ddc2bee566cd7", "url": "https://api.github.com/repos/utopia-php/database/zipball/ddf94c9928fed48f251722d7594c62fe1fdf664a",
"reference": "09da873eec2aff442a6201b74c9ddc2bee566cd7", "reference": "ddf94c9928fed48f251722d7594c62fe1fdf664a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1772,7 +1774,7 @@
"issues": "https://github.com/utopia-php/database/issues", "issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/feat-migrations" "source": "https://github.com/utopia-php/database/tree/feat-migrations"
}, },
"time": "2024-08-13T10:00:28+00:00" "time": "2024-08-19T02:27:52+00:00"
}, },
{ {
"name": "utopia-php/domains", "name": "utopia-php/domains",
@ -5595,8 +5597,8 @@
{ {
"package": "utopia-php/database", "package": "utopia-php/database",
"version": "dev-feat-migrations", "version": "dev-feat-migrations",
"alias": "0.50.4", "alias": "0.51.1",
"alias_normalized": "0.50.4.0" "alias_normalized": "0.51.1.0"
} }
], ],
"minimum-stability": "stable", "minimum-stability": "stable",

View file

@ -7,7 +7,7 @@ use Appwrite\Extend\Exception;
use Executor\Executor; use Executor\Executor;
use Throwable; use Throwable;
use Utopia\Abuse\Abuse; use Utopia\Abuse\Abuse;
use Utopia\Abuse\Adapters\TimeLimit; use Utopia\Abuse\Adapters\Database\TimeLimit;
use Utopia\Audit\Audit; use Utopia\Audit\Audit;
use Utopia\Cache\Adapter\Filesystem; use Utopia\Cache\Adapter\Filesystem;
use Utopia\Cache\Cache; use Utopia\Cache\Cache;