1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-upgrade-php-version

This commit is contained in:
Eldad Fux 2020-11-07 20:05:55 +02:00
commit c9117ba3d8
12 changed files with 167 additions and 234 deletions

View file

@ -11,4 +11,4 @@
## Reporting a Vulnerability
For security issues, kindly email us at security@appwrite.io instead of posting a public issue in GitHub.
For security issues, kindly email us at security@appwrite.io instead of posting a public issue in GitHub.

View file

@ -373,8 +373,8 @@ App::get('/v1/database/collections/:collectionId/documents')
->label('sdk.description', '/docs/references/database/list-documents.md')
->param('collectionId', null, new UID(), 'Collection unique ID. You can create a new collection with validation rules using the Database service [server integration](/docs/server/database#createCollection).')
->param('filters', [], new ArrayList(new Text(128)), 'Array of filter strings. Each filter is constructed from a key name, comparison operator (=, !=, >, <, <=, >=) and a value. You can also use a dot (.) separator in attribute names to filter by child document attributes. Examples: \'name=John Doe\' or \'category.$id>=5bed2d152c362\'.', true)
->param('limit', 25, new Range(0, 1000), 'Maximum number of documents to return in response. Use this value to manage pagination.', true)
->param('offset', 0, new Range(0, 900000000), 'Offset value. Use this value to manage pagination.', true)
->param('limit', 25, new Range(0, 100), 'Maximum number of documents to return in response. Use this value to manage pagination. By default will return maximum 25 results. Maximum of 100 results allowed per request.', true)
->param('offset', 0, new Range(0, 900000000), 'Offset value. The default value is 0. Use this param to manage pagination.', true)
->param('orderField', '$id', new Text(128), 'Document field that results will be sorted by.', true)
->param('orderType', 'ASC', new WhiteList(['DESC', 'ASC'], true), 'Order direction. Possible values are DESC for descending order, or ASC for ascending order.', true)
->param('orderCast', 'string', new WhiteList(['int', 'string', 'date', 'time', 'datetime'], true), 'Order field type casting. Possible values are int, string, date, time or datetime. The database will attempt to cast the order field to the value you pass here. The default value is a string.', true)

View file

@ -36,7 +36,7 @@ const APP_EMAIL_SECURITY = 'security@localhost.test'; // Default security email
const APP_USERAGENT = APP_NAME.'-Server v%s. Please report abuse at %s';
const APP_MODE_ADMIN = 'admin';
const APP_PAGING_LIMIT = 12;
const APP_CACHE_BUSTER = 138;
const APP_CACHE_BUSTER = 139;
const APP_VERSION_STABLE = '0.7.0';
const APP_STORAGE_UPLOADS = '/storage/uploads';
const APP_STORAGE_FUNCTIONS = '/storage/functions';

View file

@ -25,36 +25,36 @@ $cli
$domain = new Domain(App::getEnv('_APP_DOMAIN'));
if(!$domain->isKnown() || $domain->isTest()) {
Console::log('🔴 Hostname has a public suffix');
Console::log('🔴 Hostname has a public suffix ('.$domain->get().')');
}
else {
Console::log('🟢 Hostname has a public suffix');
Console::log('🟢 Hostname has a public suffix ('.$domain->get().')');
}
$domain = new Domain(App::getEnv('_APP_DOMAIN_TARGET'));
if(!$domain->isKnown() || $domain->isTest()) {
Console::log('🔴 CNAME target has a public suffix');
Console::log('🔴 CNAME target has a public suffix ('.$domain->get().')');
}
else {
Console::log('🟢 CNAME target has a public suffix');
Console::log('🟢 CNAME target has a public suffix ('.$domain->get().')');
}
if(App::getEnv('_APP_OPENSSL_KEY_V1', 'your-secret-key') === 'your-secret-key') {
if(App::getEnv('_APP_OPENSSL_KEY_V1') === 'your-secret-key' || empty(App::getEnv('_APP_OPENSSL_KEY_V1'))) {
Console::log('🔴 Using a unique secret key for encryption');
}
else {
Console::log('🟢 Using a unique secret key for encryption');
}
if(App::getEnv('_APP_ENV', 'development') === 'development') {
if(App::getEnv('_APP_ENV', 'development') !== 'production') {
Console::log('🔴 App enviornment is set for production');
}
else {
Console::log('🟢 App enviornment is set for production');
}
if(App::getEnv('_APP_OPTIONS_ABUSE', 'disabled') === 'disabled') {
if('enabled' !== App::getEnv('_APP_OPTIONS_ABUSE', 'disabled')) {
Console::log('🔴 Abuse protection is enabled');
}
else {
@ -75,11 +75,11 @@ $cli
Console::log('🟢 Console access limits are enabled');
}
if(empty(App::getEnv('_APP_OPTIONS_FORCE_HTTPS', null))) {
Console::log('🔴 HTTP force option is disabled');
if('enabled' !== App::getEnv('_APP_OPTIONS_FORCE_HTTPS', 'disabled')) {
Console::log('🔴 HTTPS force option is disabled');
}
else {
Console::log('🟢 HTTP force option is enabled');
Console::log('🟢 HTTPS force option is enabled');
}
\sleep(0.2);
@ -215,18 +215,20 @@ $cli
}
try {
Console::log('');
$version = \json_decode(@\file_get_contents(App::getEnv('_APP_HOME', 'http://localhost').'/v1/health/version'), true);
if ($version && isset($version['version']) && App::isProduction()) {
if(\version_compare($version['version'], App::getEnv('_APP_VERSION', 'UNKNOWN')) === 0) {
Console::info('You are running the latest version of '.APP_NAME.'! 🥳');
if(App::isProduction()) {
Console::log('');
$version = \json_decode(@\file_get_contents(App::getEnv('_APP_HOME', 'http://localhost').'/v1/health/version'), true);
if ($version && isset($version['version'])) {
if(\version_compare($version['version'], App::getEnv('_APP_VERSION', 'UNKNOWN')) === 0) {
Console::info('You are running the latest version of '.APP_NAME.'! 🥳');
}
else {
Console::info('A new version ('.$version['version'].') is available! 🥳'."\n");
}
} else {
Console::error('Failed to check for a newer version'."\n");
}
else {
Console::info('A new version ('.$version['version'].') is available! 🥳'."\n");
}
} else {
Console::error('Failed to check for a newer version'."\n");
}
} catch (\Throwable $th) {
Console::error('Failed to check for a newer version'."\n");

View file

@ -49,16 +49,16 @@
"resque/php-resque": "1.3.6",
"piwik/device-detector": "3.13.0",
"dragonmantank/cron-expression": "3.0.1",
"domnikl/statsd": "3.0.*",
"influxdb/influxdb-php": "1.15.*",
"domnikl/statsd": "3.0.2",
"influxdb/influxdb-php": "1.15.1",
"phpmailer/phpmailer": "6.1.7",
"chillerlan/php-qrcode": "^4.2"
"chillerlan/php-qrcode": "4.2.0"
},
"require-dev": {
"swoole/ide-helper": "4.5.5",
"appwrite/sdk-generator": "master",
"phpunit/phpunit": "^9.3",
"vimeo/psalm": "4.0.1"
"phpunit/phpunit": "9.4.2",
"vimeo/psalm": "4.1.1"
},
"repositories": [
{

267
composer.lock generated
View file

@ -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": "5f0e8470b46e87d70f3858b3f4ad9b30",
"content-hash": "122d4aeabf81f6dd67b2d65041dd836e",
"packages": [
{
"name": "appwrite/php-clamav",
@ -178,16 +178,16 @@
},
{
"name": "colinmollenhour/credis",
"version": "v1.11.4",
"version": "v1.12.0",
"source": {
"type": "git",
"url": "https://github.com/colinmollenhour/credis.git",
"reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435"
"reference": "efdf60db997e8f4330b24cfb7e5c5dc0bd612a48"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b458b7c65d156744f5f0c4667c0f8ce45d955435",
"reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435",
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/efdf60db997e8f4330b24cfb7e5c5dc0bd612a48",
"reference": "efdf60db997e8f4330b24cfb7e5c5dc0bd612a48",
"shasum": ""
},
"require": {
@ -214,7 +214,7 @@
],
"description": "Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.",
"homepage": "https://github.com/colinmollenhour/credis",
"time": "2020-10-13T23:55:13+00:00"
"time": "2020-11-02T17:20:09+00:00"
},
{
"name": "domnikl/statsd",
@ -1580,12 +1580,12 @@
"source": {
"type": "git",
"url": "https://github.com/amphp/amp.git",
"reference": "eb2f325586bc6ebb12d27834fc779fa140c38a57"
"reference": "ecdc3c476b3ccff02f8e5d5bcc04f7ccfd18751c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/amp/zipball/eb2f325586bc6ebb12d27834fc779fa140c38a57",
"reference": "eb2f325586bc6ebb12d27834fc779fa140c38a57",
"url": "https://api.github.com/repos/amphp/amp/zipball/ecdc3c476b3ccff02f8e5d5bcc04f7ccfd18751c",
"reference": "ecdc3c476b3ccff02f8e5d5bcc04f7ccfd18751c",
"shasum": ""
},
"require": {
@ -1656,7 +1656,7 @@
"type": "github"
}
],
"time": "2020-10-10T13:54:50+00:00"
"time": "2020-11-03T16:23:45+00:00"
},
{
"name": "amphp/byte-stream",
@ -1736,7 +1736,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "ad1ee55f61967546c0889d377b628e244182311e"
"reference": "11789d2169109f182dbc9d7cca91aba925582cf3"
},
"require": {
"ext-curl": "*",
@ -1766,7 +1766,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2020-10-20T10:23:43+00:00"
"time": "2020-10-31T19:31:23+00:00"
},
{
"name": "composer/package-versions-deprecated",
@ -2795,12 +2795,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "7c0684ac5818c3a5a79d9dd9d85aac2aebdadb05"
"reference": "6bec8dd32e06d100f90184458c5d8c8772e4ce98"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7c0684ac5818c3a5a79d9dd9d85aac2aebdadb05",
"reference": "7c0684ac5818c3a5a79d9dd9d85aac2aebdadb05",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6bec8dd32e06d100f90184458c5d8c8772e4ce98",
"reference": "6bec8dd32e06d100f90184458c5d8c8772e4ce98",
"shasum": ""
},
"require": {
@ -2860,7 +2860,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:10:23+00:00"
"time": "2020-11-04T07:06:06+00:00"
},
{
"name": "phpunit/php-file-iterator",
@ -2868,12 +2868,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
"reference": "437553634c79817d89b412cf2e6711ef1ccf6418"
"reference": "32c4a908cc6fd6dc3a440f273d5ec5a50775de69"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/437553634c79817d89b412cf2e6711ef1ccf6418",
"reference": "437553634c79817d89b412cf2e6711ef1ccf6418",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/32c4a908cc6fd6dc3a440f273d5ec5a50775de69",
"reference": "32c4a908cc6fd6dc3a440f273d5ec5a50775de69",
"shasum": ""
},
"require": {
@ -2916,7 +2916,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:04+00:00"
"time": "2020-11-04T07:07:41+00:00"
},
{
"name": "phpunit/php-invoker",
@ -2924,12 +2924,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-invoker.git",
"reference": "27560ee0808c5ba9144ad228887e788c608c8f58"
"reference": "188ae6dbe02d5b9d131d993b09854ecf96fce8a8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/27560ee0808c5ba9144ad228887e788c608c8f58",
"reference": "27560ee0808c5ba9144ad228887e788c608c8f58",
"url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/188ae6dbe02d5b9d131d993b09854ecf96fce8a8",
"reference": "188ae6dbe02d5b9d131d993b09854ecf96fce8a8",
"shasum": ""
},
"require": {
@ -2975,7 +2975,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:14+00:00"
"time": "2020-11-04T07:07:50+00:00"
},
{
"name": "phpunit/php-text-template",
@ -2983,12 +2983,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-text-template.git",
"reference": "2d6aa395e3f5a69ba3a5449d090cf7b845552081"
"reference": "c0bd1e74a1545f27146946930b41d94d2f682f66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/2d6aa395e3f5a69ba3a5449d090cf7b845552081",
"reference": "2d6aa395e3f5a69ba3a5449d090cf7b845552081",
"url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/c0bd1e74a1545f27146946930b41d94d2f682f66",
"reference": "c0bd1e74a1545f27146946930b41d94d2f682f66",
"shasum": ""
},
"require": {
@ -3030,7 +3030,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:53+00:00"
"time": "2020-11-04T07:08:26+00:00"
},
{
"name": "phpunit/php-timer",
@ -3038,12 +3038,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
"reference": "735b06b2ce91f813d4574d0671a4e8165c8ece9c"
"reference": "2777aa95ed5e04753031e17ce2e3dcdee6026873"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/735b06b2ce91f813d4574d0671a4e8165c8ece9c",
"reference": "735b06b2ce91f813d4574d0671a4e8165c8ece9c",
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2777aa95ed5e04753031e17ce2e3dcdee6026873",
"reference": "2777aa95ed5e04753031e17ce2e3dcdee6026873",
"shasum": ""
},
"require": {
@ -3085,20 +3085,20 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:23+00:00"
"time": "2020-11-04T07:07:59+00:00"
},
{
"name": "phpunit/phpunit",
"version": "dev-master",
"version": "9.4.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "abbb373dfdc7be1c77a1a700da67f28a7013d2e7"
"reference": "3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/abbb373dfdc7be1c77a1a700da67f28a7013d2e7",
"reference": "abbb373dfdc7be1c77a1a700da67f28a7013d2e7",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa",
"reference": "3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa",
"shasum": ""
},
"require": {
@ -3114,7 +3114,7 @@
"phar-io/version": "^3.0.2",
"php": ">=7.3",
"phpspec/prophecy": "^1.12.1",
"phpunit/php-code-coverage": "^9.2.3",
"phpunit/php-code-coverage": "^9.2",
"phpunit/php-file-iterator": "^3.0.5",
"phpunit/php-invoker": "^3.1.1",
"phpunit/php-text-template": "^2.0.3",
@ -3145,7 +3145,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "9.5-dev"
"dev-master": "9.4-dev"
}
},
"autoload": {
@ -3184,7 +3184,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:20:26+00:00"
"time": "2020-10-19T09:23:29+00:00"
},
{
"name": "psr/container",
@ -3241,12 +3241,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/cli-parser.git",
"reference": "a8a95d7ddcf625e12c9eca502af7a2f72d6e3e7a"
"reference": "acc73ecb14ee96d072a410fe9662c44ae2fecffa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/a8a95d7ddcf625e12c9eca502af7a2f72d6e3e7a",
"reference": "a8a95d7ddcf625e12c9eca502af7a2f72d6e3e7a",
"url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/acc73ecb14ee96d072a410fe9662c44ae2fecffa",
"reference": "acc73ecb14ee96d072a410fe9662c44ae2fecffa",
"shasum": ""
},
"require": {
@ -3285,7 +3285,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:13:23+00:00"
"time": "2020-11-04T07:08:55+00:00"
},
{
"name": "sebastian/code-unit",
@ -3293,12 +3293,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit.git",
"reference": "97d3d265ae9e0692bc19553d0a28d2e99c6a13dc"
"reference": "5421f8651a026ec69a5c0bb2024f2489f1fcb1d9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/97d3d265ae9e0692bc19553d0a28d2e99c6a13dc",
"reference": "97d3d265ae9e0692bc19553d0a28d2e99c6a13dc",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/5421f8651a026ec69a5c0bb2024f2489f1fcb1d9",
"reference": "5421f8651a026ec69a5c0bb2024f2489f1fcb1d9",
"shasum": ""
},
"require": {
@ -3337,7 +3337,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:10:33+00:00"
"time": "2020-11-04T07:06:19+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@ -3345,12 +3345,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
"reference": "b7b8338be2131558c2eaeb0ec0b62ee3885181a8"
"reference": "491730172c42d29eec9bff865a6200c054a4bd19"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/b7b8338be2131558c2eaeb0ec0b62ee3885181a8",
"reference": "b7b8338be2131558c2eaeb0ec0b62ee3885181a8",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/491730172c42d29eec9bff865a6200c054a4bd19",
"reference": "491730172c42d29eec9bff865a6200c054a4bd19",
"shasum": ""
},
"require": {
@ -3388,7 +3388,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:10:42+00:00"
"time": "2020-11-04T07:06:30+00:00"
},
{
"name": "sebastian/comparator",
@ -3396,12 +3396,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "237324bd32872e15f51bc2eadac2a9e43e28409d"
"reference": "1dbf10c8cd661b5246794360572a3014f562f24c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/237324bd32872e15f51bc2eadac2a9e43e28409d",
"reference": "237324bd32872e15f51bc2eadac2a9e43e28409d",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1dbf10c8cd661b5246794360572a3014f562f24c",
"reference": "1dbf10c8cd661b5246794360572a3014f562f24c",
"shasum": ""
},
"require": {
@ -3458,7 +3458,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:10:53+00:00"
"time": "2020-11-04T07:06:39+00:00"
},
{
"name": "sebastian/complexity",
@ -3466,12 +3466,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/complexity.git",
"reference": "3bd69c610bb8e2958f3289d1a9583514471b62e6"
"reference": "72f372239d9e83a9e76567172963ae539d0e680b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/3bd69c610bb8e2958f3289d1a9583514471b62e6",
"reference": "3bd69c610bb8e2958f3289d1a9583514471b62e6",
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/72f372239d9e83a9e76567172963ae539d0e680b",
"reference": "72f372239d9e83a9e76567172963ae539d0e680b",
"shasum": ""
},
"require": {
@ -3511,7 +3511,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:13:03+00:00"
"time": "2020-11-04T07:08:35+00:00"
},
{
"name": "sebastian/diff",
@ -3519,12 +3519,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
"reference": "7b02596262b190492663ff4df9227100f70c7823"
"reference": "f2594561b644d70389fce186f1c862d65299ceaf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7b02596262b190492663ff4df9227100f70c7823",
"reference": "7b02596262b190492663ff4df9227100f70c7823",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/f2594561b644d70389fce186f1c862d65299ceaf",
"reference": "f2594561b644d70389fce186f1c862d65299ceaf",
"shasum": ""
},
"require": {
@ -3573,7 +3573,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:04+00:00"
"time": "2020-11-04T07:06:48+00:00"
},
{
"name": "sebastian/environment",
@ -3581,12 +3581,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
"reference": "7a613938b2aa9c873233f810e6300bf06c42ca17"
"reference": "ff8eb08d4de421b3935a9f19adfd1e532221a868"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/7a613938b2aa9c873233f810e6300bf06c42ca17",
"reference": "7a613938b2aa9c873233f810e6300bf06c42ca17",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/ff8eb08d4de421b3935a9f19adfd1e532221a868",
"reference": "ff8eb08d4de421b3935a9f19adfd1e532221a868",
"shasum": ""
},
"require": {
@ -3632,7 +3632,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:15+00:00"
"time": "2020-11-04T07:06:57+00:00"
},
{
"name": "sebastian/exporter",
@ -3640,12 +3640,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
"reference": "33fcbffef7131af7ee4ad12f52bf6a3d02124557"
"reference": "0b7afec9ebe89e21157ad0a0c9e569d25420c698"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/33fcbffef7131af7ee4ad12f52bf6a3d02124557",
"reference": "33fcbffef7131af7ee4ad12f52bf6a3d02124557",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0b7afec9ebe89e21157ad0a0c9e569d25420c698",
"reference": "0b7afec9ebe89e21157ad0a0c9e569d25420c698",
"shasum": ""
},
"require": {
@ -3705,7 +3705,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:24+00:00"
"time": "2020-11-04T07:07:06+00:00"
},
{
"name": "sebastian/global-state",
@ -3713,12 +3713,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
"reference": "e9696869db3ba851de7221f4d6997b4262b623d9"
"reference": "6c76da2f16ba20a01b22cf6b2fafcfb9798fa4a1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e9696869db3ba851de7221f4d6997b4262b623d9",
"reference": "e9696869db3ba851de7221f4d6997b4262b623d9",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/6c76da2f16ba20a01b22cf6b2fafcfb9798fa4a1",
"reference": "6c76da2f16ba20a01b22cf6b2fafcfb9798fa4a1",
"shasum": ""
},
"require": {
@ -3765,7 +3765,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:34+00:00"
"time": "2020-11-04T07:07:15+00:00"
},
{
"name": "sebastian/lines-of-code",
@ -3773,12 +3773,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/lines-of-code.git",
"reference": "edc91041d25e5f667f5adf1deb0f96a11153575e"
"reference": "b7bcbd22e841edf65622aca6531129cf9c046a93"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/edc91041d25e5f667f5adf1deb0f96a11153575e",
"reference": "edc91041d25e5f667f5adf1deb0f96a11153575e",
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/b7bcbd22e841edf65622aca6531129cf9c046a93",
"reference": "b7bcbd22e841edf65622aca6531129cf9c046a93",
"shasum": ""
},
"require": {
@ -3818,7 +3818,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:13:13+00:00"
"time": "2020-11-04T07:08:46+00:00"
},
{
"name": "sebastian/object-enumerator",
@ -3826,12 +3826,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
"reference": "d913c474aa28f6646d5a899d18b546a9d8a94134"
"reference": "4eb189f7ec118d4fc77a726a7c96a6322cee53c6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/d913c474aa28f6646d5a899d18b546a9d8a94134",
"reference": "d913c474aa28f6646d5a899d18b546a9d8a94134",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/4eb189f7ec118d4fc77a726a7c96a6322cee53c6",
"reference": "4eb189f7ec118d4fc77a726a7c96a6322cee53c6",
"shasum": ""
},
"require": {
@ -3871,7 +3871,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:44+00:00"
"time": "2020-11-04T07:07:23+00:00"
},
{
"name": "sebastian/object-reflector",
@ -3879,12 +3879,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
"reference": "4acdc9cb8f4eae4da631c414ece1fff21d3578b0"
"reference": "482f5ff626f4c3ddd76743ea538eca30b2204bcc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/4acdc9cb8f4eae4da631c414ece1fff21d3578b0",
"reference": "4acdc9cb8f4eae4da631c414ece1fff21d3578b0",
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/482f5ff626f4c3ddd76743ea538eca30b2204bcc",
"reference": "482f5ff626f4c3ddd76743ea538eca30b2204bcc",
"shasum": ""
},
"require": {
@ -3922,7 +3922,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:11:55+00:00"
"time": "2020-11-04T07:07:32+00:00"
},
{
"name": "sebastian/recursion-context",
@ -3930,12 +3930,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
"reference": "d09a5073917f11f0b1e2dce2443d91acb50d0671"
"reference": "a164356d8bfb5bfb1f6e7334809fea30050d1e72"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/d09a5073917f11f0b1e2dce2443d91acb50d0671",
"reference": "d09a5073917f11f0b1e2dce2443d91acb50d0671",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/a164356d8bfb5bfb1f6e7334809fea30050d1e72",
"reference": "a164356d8bfb5bfb1f6e7334809fea30050d1e72",
"shasum": ""
},
"require": {
@ -3981,7 +3981,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:33+00:00"
"time": "2020-11-04T07:08:08+00:00"
},
{
"name": "sebastian/resource-operations",
@ -4040,12 +4040,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
"reference": "d6eb978632b7b77cad85a9a655e5c3dbb9c7100c"
"reference": "714b5529326dd8101ba50ea70bd8f5f812bffe05"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/d6eb978632b7b77cad85a9a655e5c3dbb9c7100c",
"reference": "d6eb978632b7b77cad85a9a655e5c3dbb9c7100c",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/714b5529326dd8101ba50ea70bd8f5f812bffe05",
"reference": "714b5529326dd8101ba50ea70bd8f5f812bffe05",
"shasum": ""
},
"require": {
@ -4084,7 +4084,7 @@
"type": "github"
}
],
"time": "2020-10-30T14:12:43+00:00"
"time": "2020-11-04T07:08:17+00:00"
},
{
"name": "sebastian/version",
@ -4175,12 +4175,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "f372360d0dfa520b23b91fc70e2bba6a232ac62d"
"reference": "5164210f240d580ce0f490a7f24827c6fbc7bc36"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/f372360d0dfa520b23b91fc70e2bba6a232ac62d",
"reference": "f372360d0dfa520b23b91fc70e2bba6a232ac62d",
"url": "https://api.github.com/repos/symfony/console/zipball/5164210f240d580ce0f490a7f24827c6fbc7bc36",
"reference": "5164210f240d580ce0f490a7f24827c6fbc7bc36",
"shasum": ""
},
"require": {
@ -4261,7 +4261,7 @@
"type": "tidelift"
}
],
"time": "2020-10-29T07:35:47+00:00"
"time": "2020-11-01T17:40:07+00:00"
},
{
"name": "symfony/polyfill-ctype",
@ -4940,12 +4940,12 @@
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "b163c7f71698165ccf13738ac77273b40d5776f8"
"reference": "7685eb905a49056b9507fce0d70d3d7e02b78b20"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/b163c7f71698165ccf13738ac77273b40d5776f8",
"reference": "b163c7f71698165ccf13738ac77273b40d5776f8",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/7685eb905a49056b9507fce0d70d3d7e02b78b20",
"reference": "7685eb905a49056b9507fce0d70d3d7e02b78b20",
"shasum": ""
},
"require": {
@ -5007,20 +5007,20 @@
"type": "tidelift"
}
],
"time": "2020-10-27T19:26:34+00:00"
"time": "2020-11-05T13:12:46+00:00"
},
{
"name": "vimeo/psalm",
"version": "4.0.1",
"version": "4.1.1",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
"reference": "b1e2e30026936ef8d5bf6a354d1c3959b6231f44"
"reference": "16bfbd9224698bd738c665f33039fade2a1a3977"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/b1e2e30026936ef8d5bf6a354d1c3959b6231f44",
"reference": "b1e2e30026936ef8d5bf6a354d1c3959b6231f44",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/16bfbd9224698bd738c665f33039fade2a1a3977",
"reference": "16bfbd9224698bd738c665f33039fade2a1a3977",
"shasum": ""
},
"require": {
@ -5041,10 +5041,9 @@
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0",
"nikic/php-parser": "^4.10.1",
"openlss/lib-array2xml": "^1.0",
"php": "^7.3|^8",
"php": "^7.1|^8",
"sebastian/diff": "^3.0 || ^4.0",
"symfony/console": "^3.4.17 || ^4.1.6 || ^5.0",
"webmozart/glob": "^4.1",
"webmozart/path-util": "^2.3"
},
"provide": {
@ -5055,6 +5054,7 @@
"bamarni/composer-bin-plugin": "^1.2",
"brianium/paratest": "^4.0.0",
"ext-curl": "*",
"php": "^7.3|^8",
"phpdocumentor/reflection-docblock": "^5",
"phpmyadmin/sql-parser": "5.1.0",
"phpspec/prophecy": ">=1.9.0",
@ -5108,7 +5108,7 @@
"inspection",
"php"
],
"time": "2020-10-20T13:40:17+00:00"
"time": "2020-11-02T05:54:12+00:00"
},
{
"name": "webmozart/assert",
@ -5159,53 +5159,6 @@
],
"time": "2020-07-08T17:02:28+00:00"
},
{
"name": "webmozart/glob",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/webmozart/glob.git",
"reference": "8da14867b709e8776d9f6272faaf844aefc695e3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/glob/zipball/8da14867b709e8776d9f6272faaf844aefc695e3",
"reference": "8da14867b709e8776d9f6272faaf844aefc695e3",
"shasum": ""
},
"require": {
"php": "^5.3.3|^7.0",
"webmozart/path-util": "^2.2"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
"sebastian/version": "^1.0.1",
"symfony/filesystem": "^2.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"psr-4": {
"Webmozart\\Glob\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bernhard Schussek",
"email": "bschussek@gmail.com"
}
],
"description": "A PHP implementation of Ant's glob.",
"time": "2016-08-15T15:31:26+00:00"
},
{
"name": "webmozart/path-util",
"version": "dev-master",

View file

@ -305,24 +305,6 @@ services:
command: 'mysqld --innodb-flush-method=fsync' # add ' --query_cache_size=0' for DB tests
# command: mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bu && mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
maildev: # used mainly for dev tests
image: djfarrelly/maildev
container_name: appwrite-maildev
restart: unless-stopped
ports:
- '1080:80'
networks:
- appwrite
request-catcher: # used mainly for dev tests
image: smarterdm/http-request-catcher
container_name: appwrite-request-catcher
restart: unless-stopped
ports:
- '5000:5000'
networks:
- appwrite
# smtp:
# image: appwrite/smtp:1.2.0
# container_name: appwrite-smtp
@ -369,6 +351,24 @@ services:
networks:
- appwrite
maildev: # used mainly for dev tests
image: djfarrelly/maildev
container_name: appwrite-maildev
restart: unless-stopped
ports:
- '1080:80'
networks:
- appwrite
request-catcher: # used mainly for dev tests
image: smarterdm/http-request-catcher
container_name: appwrite-request-catcher
restart: unless-stopped
ports:
- '5000:5000'
networks:
- appwrite
# redis-commander:
# image: rediscommander/redis-commander:latest
# restart: unless-stopped

View file

@ -1 +1 @@
Use this endpoint to fetch the favorite icon (AKA favicon) of a any remote website URL.
Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,25 +1,3 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="1024.000000pt" height="1024.000000pt" viewBox="0 0 1024.000000 1024.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
fill="#96b7eb" stroke="none">
<path d="M5000 10143 c-904 -20 -1805 -293 -2565 -776 -1163 -740 -1970 -1911
-2240 -3252 -68 -337 -96 -634 -96 -1000 0 -483 55 -896 180 -1350 268 -971
836 -1854 1609 -2501 868 -726 1911 -1129 3032 -1173 700 -27 1388 85 2020
331 1324 514 2364 1554 2878 2878 197 508 309 1052 331 1610 42 1074 -243
2099 -830 2983 -742 1118 -1887 1889 -3194 2152 -354 71 -756 106 -1125 98z
m375 -673 c778 -48 1359 -279 1826 -728 377 -361 594 -768 676 -1267 25 -156
25 -525 -1 -680 -36 -221 -88 -386 -182 -583 -175 -368 -480 -723 -1099 -1281
-310 -279 -556 -524 -649 -647 -84 -111 -194 -331 -235 -474 -51 -175 -81
-419 -97 -803 l-7 -157 -506 2 -506 3 1 300 c1 508 55 822 199 1160 175 408
417 696 1105 1316 645 582 814 806 890 1181 39 188 26 461 -31 653 -122 415
-477 811 -894 997 -252 113 -552 162 -849 138 -373 -29 -659 -142 -929 -368
-301 -253 -521 -690 -621 -1237 -19 -103 -25 -120 -42 -122 -10 -2 -253 26
-539 60 l-520 62 3 60 c3 73 43 289 83 447 98 390 273 757 497 1043 84 107
305 322 417 405 120 90 277 185 402 245 446 213 1020 311 1608 275z m355
-8130 l0 -600 -600 0 -600 0 0 600 0 600 600 0 600 0 0 -600z"/>
</g>
</svg>
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" fill="#c9c9c9" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 88 B

View file

@ -29,7 +29,7 @@
--config-color-success: #1bbf61;
--config-color-warning: #ffed4d;
--config-color-info: #386fd2;
--config-border-color: #f5f5f5;
--config-border-color: #f3f3f3;
--config-border-fade: #e0e3e4;
--config-border-radius: 10px;
--config-prism-background: #373738;