Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor
This commit is contained in:
commit
b66f932b3b
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
- Fix license detection for Flutter and Dart SDKs [#4435](https://github.com/appwrite/appwrite/pull/4435)
|
- Fix license detection for Flutter and Dart SDKs [#4435](https://github.com/appwrite/appwrite/pull/4435)
|
||||||
|
- Fix missing status, buildStderr and buildStderr from get deployment response [#4611](https://github.com/appwrite/appwrite/pull/4611)
|
||||||
|
|
||||||
|
# Version 1.0.4
|
||||||
|
|
||||||
|
- Fix project pagination in DB usage collector [#4517](https://github.com/appwrite/appwrite/pull/4517)
|
||||||
|
|
||||||
# Version 1.0.3
|
# Version 1.0.3
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
|
@ -2227,14 +2227,14 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_search'),
|
'$id' => ID::custom('_key_search'),
|
||||||
'type' => Database::INDEX_FULLTEXT,
|
'type' => Database::INDEX_FULLTEXT,
|
||||||
'attributes' => ['search'],
|
'attributes' => ['search'],
|
||||||
'lengths' => [2048],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_name'),
|
'$id' => ID::custom('_key_name'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['name'],
|
'attributes' => ['name'],
|
||||||
'lengths' => [2048],
|
'lengths' => [768],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2248,21 +2248,21 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_runtime'),
|
'$id' => ID::custom('_key_runtime'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['runtime'],
|
'attributes' => ['runtime'],
|
||||||
'lengths' => [2048],
|
'lengths' => [768],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_deployment'),
|
'$id' => ID::custom('_key_deployment'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['deployment'],
|
'attributes' => ['deployment'],
|
||||||
'lengths' => [Database::LENGTH_KEY],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_schedule'),
|
'$id' => ID::custom('_key_schedule'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['schedule'],
|
'attributes' => ['schedule'],
|
||||||
'lengths' => [128],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2432,14 +2432,14 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_resource'),
|
'$id' => ID::custom('_key_resource'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['resourceId'],
|
'attributes' => ['resourceId'],
|
||||||
'lengths' => [Database::LENGTH_KEY],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_resource_type'),
|
'$id' => ID::custom('_key_resource_type'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['resourceType'],
|
'attributes' => ['resourceType'],
|
||||||
'lengths' => [Database::LENGTH_KEY],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2453,7 +2453,7 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_entrypoint'),
|
'$id' => ID::custom('_key_entrypoint'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['entrypoint'],
|
'attributes' => ['entrypoint'],
|
||||||
'lengths' => [2048],
|
'lengths' => [768],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2467,7 +2467,7 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_buildId'),
|
'$id' => ID::custom('_key_buildId'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['buildId'],
|
'attributes' => ['buildId'],
|
||||||
'lengths' => [Database::LENGTH_KEY],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2968,14 +2968,14 @@ $collections = [
|
||||||
'$id' => ID::custom('_fulltext_name'),
|
'$id' => ID::custom('_fulltext_name'),
|
||||||
'type' => Database::INDEX_FULLTEXT,
|
'type' => Database::INDEX_FULLTEXT,
|
||||||
'attributes' => ['name'],
|
'attributes' => ['name'],
|
||||||
'lengths' => [1024],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_search'),
|
'$id' => ID::custom('_key_search'),
|
||||||
'type' => Database::INDEX_FULLTEXT,
|
'type' => Database::INDEX_FULLTEXT,
|
||||||
'attributes' => ['search'],
|
'attributes' => ['search'],
|
||||||
'lengths' => [2048],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -2989,7 +2989,7 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_name'),
|
'$id' => ID::custom('_key_name'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['name'],
|
'attributes' => ['name'],
|
||||||
'lengths' => [128],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -3423,7 +3423,7 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_search'),
|
'$id' => ID::custom('_key_search'),
|
||||||
'type' => Database::INDEX_FULLTEXT,
|
'type' => Database::INDEX_FULLTEXT,
|
||||||
'attributes' => ['search'],
|
'attributes' => ['search'],
|
||||||
'lengths' => [2048],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -3437,21 +3437,21 @@ $collections = [
|
||||||
'$id' => ID::custom('_key_name'),
|
'$id' => ID::custom('_key_name'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['name'],
|
'attributes' => ['name'],
|
||||||
'lengths' => [2048],
|
'lengths' => [768],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_signature'),
|
'$id' => ID::custom('_key_signature'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['signature'],
|
'attributes' => ['signature'],
|
||||||
'lengths' => [2048],
|
'lengths' => [768],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$id' => ID::custom('_key_mimeType'),
|
'$id' => ID::custom('_key_mimeType'),
|
||||||
'type' => Database::INDEX_KEY,
|
'type' => Database::INDEX_KEY,
|
||||||
'attributes' => ['mimeType'],
|
'attributes' => ['mimeType'],
|
||||||
'lengths' => [127],
|
'lengths' => [],
|
||||||
'orders' => [Database::ORDER_ASC],
|
'orders' => [Database::ORDER_ASC],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -85,7 +85,7 @@ return [
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-apple',
|
'url' => 'https://github.com/appwrite/sdk-for-apple',
|
||||||
'package' => 'https://github.com/appwrite/sdk-for-apple',
|
'package' => 'https://github.com/appwrite/sdk-for-apple',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => false,
|
||||||
'dev' => false,
|
'dev' => false,
|
||||||
'hidden' => false,
|
'hidden' => false,
|
||||||
'family' => APP_PLATFORM_CLIENT,
|
'family' => APP_PLATFORM_CLIENT,
|
||||||
|
@ -120,7 +120,7 @@ return [
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-android',
|
'url' => 'https://github.com/appwrite/sdk-for-android',
|
||||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android',
|
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => false,
|
||||||
'dev' => false,
|
'dev' => false,
|
||||||
'hidden' => false,
|
'hidden' => false,
|
||||||
'family' => APP_PLATFORM_CLIENT,
|
'family' => APP_PLATFORM_CLIENT,
|
||||||
|
@ -374,7 +374,7 @@ return [
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-kotlin',
|
'url' => 'https://github.com/appwrite/sdk-for-kotlin',
|
||||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin',
|
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => false,
|
||||||
'dev' => false,
|
'dev' => false,
|
||||||
'hidden' => false,
|
'hidden' => false,
|
||||||
'family' => APP_PLATFORM_SERVER,
|
'family' => APP_PLATFORM_SERVER,
|
||||||
|
@ -396,7 +396,7 @@ return [
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-swift',
|
'url' => 'https://github.com/appwrite/sdk-for-swift',
|
||||||
'package' => 'https://github.com/appwrite/sdk-for-swift',
|
'package' => 'https://github.com/appwrite/sdk-for-swift',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'beta' => true,
|
'beta' => false,
|
||||||
'dev' => false,
|
'dev' => false,
|
||||||
'hidden' => false,
|
'hidden' => false,
|
||||||
'family' => APP_PLATFORM_SERVER,
|
'family' => APP_PLATFORM_SERVER,
|
||||||
|
|
|
@ -874,6 +874,11 @@ App::get('/v1/functions/:functionId/deployments/:deploymentId')
|
||||||
throw new Exception(Exception::DEPLOYMENT_NOT_FOUND);
|
throw new Exception(Exception::DEPLOYMENT_NOT_FOUND);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$build = $dbForProject->getDocument('builds', $deployment->getAttribute('buildId', ''));
|
||||||
|
$deployment->setAttribute('status', $build->getAttribute('status', 'processing'));
|
||||||
|
$deployment->setAttribute('buildStderr', $build->getAttribute('stderr', ''));
|
||||||
|
$deployment->setAttribute('buildStdout', $build->getAttribute('stdout', ''));
|
||||||
|
|
||||||
$response->dynamic($deployment, Response::MODEL_DEPLOYMENT);
|
$response->dynamic($deployment, Response::MODEL_DEPLOYMENT);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ App::post('/v1/projects')
|
||||||
$collections = Config::getParam('collections', []);
|
$collections = Config::getParam('collections', []);
|
||||||
|
|
||||||
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
$dbForProject->setNamespace("_{$project->getInternalId()}");
|
||||||
$dbForProject->create(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
|
$dbForProject->create();
|
||||||
|
|
||||||
$audit = new Audit($dbForProject);
|
$audit = new Audit($dbForProject);
|
||||||
$audit->setup();
|
$audit->setup();
|
||||||
|
|
|
@ -93,7 +93,7 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
|
||||||
try {
|
try {
|
||||||
$redis->flushAll();
|
$redis->flushAll();
|
||||||
Console::success('[Setup] - Creating database: appwrite...');
|
Console::success('[Setup] - Creating database: appwrite...');
|
||||||
$dbForConsole->create(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
|
$dbForConsole->create();
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Console::success('[Setup] - Skip: metadata table already exists');
|
Console::success('[Setup] - Skip: metadata table already exists');
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,7 @@ foreach (
|
||||||
realpath(__DIR__ . '/../vendor/symfony'),
|
realpath(__DIR__ . '/../vendor/symfony'),
|
||||||
realpath(__DIR__ . '/../vendor/mongodb'),
|
realpath(__DIR__ . '/../vendor/mongodb'),
|
||||||
realpath(__DIR__ . '/../vendor/utopia-php/websocket'), // TODO: remove workerman autoload
|
realpath(__DIR__ . '/../vendor/utopia-php/websocket'), // TODO: remove workerman autoload
|
||||||
|
realpath(__DIR__ . '/../vendor/utopia-php/cache'), // TODO: remove memcache autoload
|
||||||
] as $key => $value
|
] as $key => $value
|
||||||
) {
|
) {
|
||||||
if ($value !== false) {
|
if ($value !== false) {
|
||||||
|
|
|
@ -43,13 +43,13 @@
|
||||||
"ext-sockets": "*",
|
"ext-sockets": "*",
|
||||||
"appwrite/php-clamav": "1.1.*",
|
"appwrite/php-clamav": "1.1.*",
|
||||||
"appwrite/php-runtimes": "0.11.*",
|
"appwrite/php-runtimes": "0.11.*",
|
||||||
"utopia-php/abuse": "0.15.*",
|
"utopia-php/abuse": "0.16.*",
|
||||||
"utopia-php/analytics": "0.2.*",
|
"utopia-php/analytics": "0.2.*",
|
||||||
"utopia-php/audit": "0.16.*",
|
"utopia-php/audit": "0.17.*",
|
||||||
"utopia-php/cache": "0.6.*",
|
"utopia-php/cache": "0.8.*",
|
||||||
"utopia-php/cli": "0.13.*",
|
"utopia-php/cli": "0.13.*",
|
||||||
"utopia-php/config": "0.2.*",
|
"utopia-php/config": "0.2.*",
|
||||||
"utopia-php/database": "0.27.0",
|
"utopia-php/database": "0.28.*",
|
||||||
"utopia-php/preloader": "0.2.*",
|
"utopia-php/preloader": "0.2.*",
|
||||||
"utopia-php/domains": "1.1.*",
|
"utopia-php/domains": "1.1.*",
|
||||||
"utopia-php/framework": "0.22.*",
|
"utopia-php/framework": "0.22.*",
|
||||||
|
|
351
composer.lock
generated
351
composer.lock
generated
|
@ -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": "9b307ef7117f2d6ee9202e62ff9300d9",
|
"content-hash": "4ac687daa09a38688f27be6959ea42a5",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -345,79 +345,6 @@
|
||||||
},
|
},
|
||||||
"time": "2022-06-20T22:56:59+00:00"
|
"time": "2022-06-20T22:56:59+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "composer/package-versions-deprecated",
|
|
||||||
"version": "1.11.99.5",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/composer/package-versions-deprecated.git",
|
|
||||||
"reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d",
|
|
||||||
"reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"composer-plugin-api": "^1.1.0 || ^2.0",
|
|
||||||
"php": "^7 || ^8"
|
|
||||||
},
|
|
||||||
"replace": {
|
|
||||||
"ocramius/package-versions": "1.11.99"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"composer/composer": "^1.9.3 || ^2.0@dev",
|
|
||||||
"ext-zip": "^1.13",
|
|
||||||
"phpunit/phpunit": "^6.5 || ^7"
|
|
||||||
},
|
|
||||||
"type": "composer-plugin",
|
|
||||||
"extra": {
|
|
||||||
"class": "PackageVersions\\Installer",
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"PackageVersions\\": "src/PackageVersions"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Marco Pivetta",
|
|
||||||
"email": "ocramius@gmail.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jordi Boggiano",
|
|
||||||
"email": "j.boggiano@seld.be"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/composer/package-versions-deprecated/issues",
|
|
||||||
"source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://packagist.com",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/composer",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2022-01-17T14:14:24+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "dragonmantank/cron-expression",
|
"name": "dragonmantank/cron-expression",
|
||||||
"version": "v3.3.1",
|
"version": "v3.3.1",
|
||||||
|
@ -876,61 +803,6 @@
|
||||||
},
|
},
|
||||||
"time": "2020-12-26T17:45:17+00:00"
|
"time": "2020-12-26T17:45:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "jean85/pretty-package-versions",
|
|
||||||
"version": "1.6.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/Jean85/pretty-package-versions.git",
|
|
||||||
"reference": "1e0104b46f045868f11942aea058cd7186d6c303"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/1e0104b46f045868f11942aea058cd7186d6c303",
|
|
||||||
"reference": "1e0104b46f045868f11942aea058cd7186d6c303",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"composer/package-versions-deprecated": "^1.8.0",
|
|
||||||
"php": "^7.0|^8.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^6.0|^8.5|^9.2"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Jean85\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Alessandro Lai",
|
|
||||||
"email": "alessandro.lai85@gmail.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A wrapper for ocramius/package-versions to get pretty versions strings",
|
|
||||||
"keywords": [
|
|
||||||
"composer",
|
|
||||||
"package",
|
|
||||||
"release",
|
|
||||||
"versions"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/Jean85/pretty-package-versions/issues",
|
|
||||||
"source": "https://github.com/Jean85/pretty-package-versions/tree/1.6.0"
|
|
||||||
},
|
|
||||||
"time": "2021-02-04T16:20:16+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "matomo/device-detector",
|
"name": "matomo/device-detector",
|
||||||
"version": "6.0.0",
|
"version": "6.0.0",
|
||||||
|
@ -1000,74 +872,6 @@
|
||||||
},
|
},
|
||||||
"time": "2022-04-11T09:58:17+00:00"
|
"time": "2022-04-11T09:58:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "mongodb/mongodb",
|
|
||||||
"version": "1.8.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/mongodb/mongo-php-library.git",
|
|
||||||
"reference": "953dbc19443aa9314c44b7217a16873347e6840d"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/953dbc19443aa9314c44b7217a16873347e6840d",
|
|
||||||
"reference": "953dbc19443aa9314c44b7217a16873347e6840d",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-hash": "*",
|
|
||||||
"ext-json": "*",
|
|
||||||
"ext-mongodb": "^1.8.1",
|
|
||||||
"jean85/pretty-package-versions": "^1.2",
|
|
||||||
"php": "^7.0 || ^8.0",
|
|
||||||
"symfony/polyfill-php80": "^1.19"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"squizlabs/php_codesniffer": "^3.5, <3.5.5",
|
|
||||||
"symfony/phpunit-bridge": "5.x-dev"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.8.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"src/functions.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"MongoDB\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"Apache-2.0"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Andreas Braun",
|
|
||||||
"email": "andreas.braun@mongodb.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jeremy Mikola",
|
|
||||||
"email": "jmikola@gmail.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "MongoDB driver library",
|
|
||||||
"homepage": "https://jira.mongodb.org/browse/PHPLIB",
|
|
||||||
"keywords": [
|
|
||||||
"database",
|
|
||||||
"driver",
|
|
||||||
"mongodb",
|
|
||||||
"persistence"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/mongodb/mongo-php-library/issues",
|
|
||||||
"source": "https://github.com/mongodb/mongo-php-library/tree/1.8.0"
|
|
||||||
},
|
|
||||||
"time": "2020-11-25T12:26:02+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "mustangostang/spyc",
|
"name": "mustangostang/spyc",
|
||||||
"version": "0.6.3",
|
"version": "0.6.3",
|
||||||
|
@ -1656,108 +1460,25 @@
|
||||||
],
|
],
|
||||||
"time": "2022-02-25T11:15:52+00:00"
|
"time": "2022-02-25T11:15:52+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "symfony/polyfill-php80",
|
|
||||||
"version": "v1.26.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/symfony/polyfill-php80.git",
|
|
||||||
"reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace",
|
|
||||||
"reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=7.1"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-main": "1.26-dev"
|
|
||||||
},
|
|
||||||
"thanks": {
|
|
||||||
"name": "symfony/polyfill",
|
|
||||||
"url": "https://github.com/symfony/polyfill"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"bootstrap.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"Symfony\\Polyfill\\Php80\\": ""
|
|
||||||
},
|
|
||||||
"classmap": [
|
|
||||||
"Resources/stubs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Ion Bazan",
|
|
||||||
"email": "ion.bazan@gmail.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nicolas Grekas",
|
|
||||||
"email": "p@tchwork.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "https://symfony.com/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
|
|
||||||
"homepage": "https://symfony.com",
|
|
||||||
"keywords": [
|
|
||||||
"compatibility",
|
|
||||||
"polyfill",
|
|
||||||
"portable",
|
|
||||||
"shim"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://symfony.com/sponsor",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/fabpot",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2022-05-10T07:21:04+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "utopia-php/abuse",
|
"name": "utopia-php/abuse",
|
||||||
"version": "0.15.0",
|
"version": "0.16.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/abuse.git",
|
"url": "https://github.com/utopia-php/abuse.git",
|
||||||
"reference": "fa7684d3162d370cf17df349066dd6535dd7264a"
|
"reference": "6370d9150425460416583feba0990504ac789e98"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/fa7684d3162d370cf17df349066dd6535dd7264a",
|
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/6370d9150425460416583feba0990504ac789e98",
|
||||||
"reference": "fa7684d3162d370cf17df349066dd6535dd7264a",
|
"reference": "6370d9150425460416583feba0990504ac789e98",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
"php": ">=8.0",
|
"php": ">=8.0",
|
||||||
"utopia-php/database": "0.27.*"
|
"utopia-php/database": "0.28.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.4",
|
"phpunit/phpunit": "^9.4",
|
||||||
|
@ -1789,9 +1510,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.15.0"
|
"source": "https://github.com/utopia-php/abuse/tree/0.16.0"
|
||||||
},
|
},
|
||||||
"time": "2022-10-30T08:11:12+00:00"
|
"time": "2022-10-31T14:46:41+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/analytics",
|
"name": "utopia-php/analytics",
|
||||||
|
@ -1850,22 +1571,22 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/audit",
|
"name": "utopia-php/audit",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/audit.git",
|
"url": "https://github.com/utopia-php/audit.git",
|
||||||
"reference": "fd8a0ea973f50443e6b7b8d0728d4c1e136da0ef"
|
"reference": "455471bd4de8d74026809e843f8c9740eb32922c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/audit/zipball/fd8a0ea973f50443e6b7b8d0728d4c1e136da0ef",
|
"url": "https://api.github.com/repos/utopia-php/audit/zipball/455471bd4de8d74026809e843f8c9740eb32922c",
|
||||||
"reference": "fd8a0ea973f50443e6b7b8d0728d4c1e136da0ef",
|
"reference": "455471bd4de8d74026809e843f8c9740eb32922c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
"php": ">=8.0",
|
"php": ">=8.0",
|
||||||
"utopia-php/database": "0.27.*"
|
"utopia-php/database": "0.28.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.3",
|
"phpunit/phpunit": "^9.3",
|
||||||
|
@ -1891,30 +1612,32 @@
|
||||||
],
|
],
|
||||||
"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.16.0"
|
"source": "https://github.com/utopia-php/audit/tree/0.17.0"
|
||||||
},
|
},
|
||||||
"time": "2022-10-30T08:11:26+00:00"
|
"time": "2022-10-31T14:44:52+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/cache",
|
"name": "utopia-php/cache",
|
||||||
"version": "0.6.1",
|
"version": "0.8.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/cache.git",
|
"url": "https://github.com/utopia-php/cache.git",
|
||||||
"reference": "9889235a6d3da6cbb1f435201529da4d27c30e79"
|
"reference": "212e66100a1f32e674fca5d9bc317cc998303089"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/cache/zipball/9889235a6d3da6cbb1f435201529da4d27c30e79",
|
"url": "https://api.github.com/repos/utopia-php/cache/zipball/212e66100a1f32e674fca5d9bc317cc998303089",
|
||||||
"reference": "9889235a6d3da6cbb1f435201529da4d27c30e79",
|
"reference": "212e66100a1f32e674fca5d9bc317cc998303089",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
|
"ext-memcached": "*",
|
||||||
"ext-redis": "*",
|
"ext-redis": "*",
|
||||||
"php": ">=8.0"
|
"php": ">=8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"laravel/pint": "1.2.*",
|
||||||
"phpunit/phpunit": "^9.3",
|
"phpunit/phpunit": "^9.3",
|
||||||
"vimeo/psalm": "4.13.1"
|
"vimeo/psalm": "4.13.1"
|
||||||
},
|
},
|
||||||
|
@ -1928,12 +1651,6 @@
|
||||||
"license": [
|
"license": [
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Eldad Fux",
|
|
||||||
"email": "eldad@appwrite.io"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A simple cache library to manage application cache storing, loading and purging",
|
"description": "A simple cache library to manage application cache storing, loading and purging",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"cache",
|
"cache",
|
||||||
|
@ -1944,9 +1661,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/cache/issues",
|
"issues": "https://github.com/utopia-php/cache/issues",
|
||||||
"source": "https://github.com/utopia-php/cache/tree/0.6.1"
|
"source": "https://github.com/utopia-php/cache/tree/0.8.0"
|
||||||
},
|
},
|
||||||
"time": "2022-08-10T08:12:46+00:00"
|
"time": "2022-10-16T16:48:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/cli",
|
"name": "utopia-php/cli",
|
||||||
|
@ -2054,29 +1771,29 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/database",
|
"name": "utopia-php/database",
|
||||||
"version": "0.27.0",
|
"version": "0.28.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/database.git",
|
"url": "https://github.com/utopia-php/database.git",
|
||||||
"reference": "0644cd8a7efee2fc745ed70dbf2b73a78eeefa52"
|
"reference": "ef6506af1c09c22f5dc1e7859159d323f7fafa94"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/database/zipball/0644cd8a7efee2fc745ed70dbf2b73a78eeefa52",
|
"url": "https://api.github.com/repos/utopia-php/database/zipball/ef6506af1c09c22f5dc1e7859159d323f7fafa94",
|
||||||
"reference": "0644cd8a7efee2fc745ed70dbf2b73a78eeefa52",
|
"reference": "ef6506af1c09c22f5dc1e7859159d323f7fafa94",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-mongodb": "*",
|
|
||||||
"ext-pdo": "*",
|
|
||||||
"ext-redis": "*",
|
|
||||||
"mongodb/mongodb": "1.8.0",
|
|
||||||
"php": ">=8.0",
|
"php": ">=8.0",
|
||||||
"utopia-php/cache": "0.6.*",
|
"utopia-php/cache": "0.8.*",
|
||||||
"utopia-php/framework": "0.*.*"
|
"utopia-php/framework": "0.*.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"ext-mongodb": "*",
|
||||||
|
"ext-pdo": "*",
|
||||||
|
"ext-redis": "*",
|
||||||
"fakerphp/faker": "^1.14",
|
"fakerphp/faker": "^1.14",
|
||||||
|
"mongodb/mongodb": "1.8.0",
|
||||||
"phpunit/phpunit": "^9.4",
|
"phpunit/phpunit": "^9.4",
|
||||||
"swoole/ide-helper": "4.8.0",
|
"swoole/ide-helper": "4.8.0",
|
||||||
"utopia-php/cli": "^0.11.0",
|
"utopia-php/cli": "^0.11.0",
|
||||||
|
@ -2102,9 +1819,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/database/issues",
|
"issues": "https://github.com/utopia-php/database/issues",
|
||||||
"source": "https://github.com/utopia-php/database/tree/0.27.0"
|
"source": "https://github.com/utopia-php/database/tree/0.28.0"
|
||||||
},
|
},
|
||||||
"time": "2022-10-16T07:39:26+00:00"
|
"time": "2022-10-31T09:58:46+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/domains",
|
"name": "utopia-php/domains",
|
||||||
|
|
|
@ -570,6 +570,9 @@ class FunctionsCustomServerTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals(200, $function['headers']['status-code']);
|
$this->assertEquals(200, $function['headers']['status-code']);
|
||||||
$this->assertEquals(0, $function['body']['buildTime']);
|
$this->assertEquals(0, $function['body']['buildTime']);
|
||||||
|
$this->assertNotEmpty($function['body']['status']);
|
||||||
|
$this->assertNotEmpty($function['body']['buildStdout']);
|
||||||
|
$this->assertArrayHasKey('buildStderr', $function['body']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
|
Loading…
Reference in a new issue