mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
Composer update & disable old updates handle
This commit is contained in:
parent
12914ccc0b
commit
de22e60d79
@ -10,8 +10,7 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"amphp/http-server": "^2",
|
"amphp/http-server": "^2",
|
||||||
"vlucas/phpdotenv": "^3",
|
"vlucas/phpdotenv": "^3",
|
||||||
"danog/madelineproto":"dev-master",
|
"danog/madelineproto":"^5"
|
||||||
"amphp/dns": "dev-master#9d7e57f37d21bfed8ff2e78db52b99d45ce0c215 as v1"
|
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
64
composer.lock
generated
64
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": "0dfdd4dd83499b0b5b58c1fd0f42af8f",
|
"content-hash": "fb50c9261436e97c8a020fb4ffe033ec",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "amphp/amp",
|
"name": "amphp/amp",
|
||||||
@ -196,7 +196,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "amphp/dns",
|
"name": "amphp/dns",
|
||||||
"version": "dev-master",
|
"version": "v1.2.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/amphp/dns.git",
|
"url": "https://github.com/amphp/dns.git",
|
||||||
@ -518,33 +518,37 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "amphp/http-client-cookies",
|
"name": "amphp/http-client-cookies",
|
||||||
"version": "v1.0.0-rc5",
|
"version": "v1.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/amphp/http-client-cookies.git",
|
"url": "https://github.com/amphp/http-client-cookies.git",
|
||||||
"reference": "253f7de299c174616ddd7b3d907f979806772b0c"
|
"reference": "06f32a7d208e20a0ce9f9ee42f7132f65d31724d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/amphp/http-client-cookies/zipball/253f7de299c174616ddd7b3d907f979806772b0c",
|
"url": "https://api.github.com/repos/amphp/http-client-cookies/zipball/06f32a7d208e20a0ce9f9ee42f7132f65d31724d",
|
||||||
"reference": "253f7de299c174616ddd7b3d907f979806772b0c",
|
"reference": "06f32a7d208e20a0ce9f9ee42f7132f65d31724d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"amphp/amp": "^2.3",
|
"amphp/amp": "^2.3",
|
||||||
|
"amphp/dns": "^1.2",
|
||||||
"amphp/http": "^1.5",
|
"amphp/http": "^1.5",
|
||||||
"amphp/http-client": "^4.0.0-rc9",
|
"amphp/http-client": "^4",
|
||||||
"amphp/socket": "^1",
|
"amphp/sync": "^1.3",
|
||||||
"php": ">=7.2"
|
"ext-filter": "*",
|
||||||
|
"php": ">=7.2",
|
||||||
|
"psr/http-message": "^1.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"amphp/file": "<1 || >=2"
|
"amphp/file": "<1 || >=2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"amphp/file": "^1",
|
"amphp/file": "^1",
|
||||||
"amphp/http-server": "^2-rc3",
|
"amphp/http-server": "dev-master",
|
||||||
"amphp/php-cs-fixer-config": "dev-master",
|
"amphp/php-cs-fixer-config": "dev-master",
|
||||||
"amphp/phpunit-util": "^1.1",
|
"amphp/phpunit-util": "^1.1",
|
||||||
|
"amphp/socket": "^1",
|
||||||
"friendsofphp/php-cs-fixer": "^2.3",
|
"friendsofphp/php-cs-fixer": "^2.3",
|
||||||
"phpunit/phpunit": "^7 || ^8"
|
"phpunit/phpunit": "^7 || ^8"
|
||||||
},
|
},
|
||||||
@ -577,7 +581,7 @@
|
|||||||
"cookies",
|
"cookies",
|
||||||
"http"
|
"http"
|
||||||
],
|
],
|
||||||
"time": "2019-11-20T19:24:05+00:00"
|
"time": "2019-12-21T17:05:53+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "amphp/http-server",
|
"name": "amphp/http-server",
|
||||||
@ -1219,22 +1223,22 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "danog/dns-over-https",
|
"name": "danog/dns-over-https",
|
||||||
"version": "0.2.3",
|
"version": "0.2.6",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/danog/dns-over-https.git",
|
"url": "https://github.com/danog/dns-over-https.git",
|
||||||
"reference": "3e782949896089f5af0219b7550bf56c45cf629b"
|
"reference": "a288be1f4fdd4ce9838e98bfa96407fcfdd099b3"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/danog/dns-over-https/zipball/3e782949896089f5af0219b7550bf56c45cf629b",
|
"url": "https://api.github.com/repos/danog/dns-over-https/zipball/a288be1f4fdd4ce9838e98bfa96407fcfdd099b3",
|
||||||
"reference": "3e782949896089f5af0219b7550bf56c45cf629b",
|
"reference": "a288be1f4fdd4ce9838e98bfa96407fcfdd099b3",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"amphp/amp": "^2",
|
"amphp/amp": "^2",
|
||||||
"amphp/cache": "^1",
|
"amphp/cache": "^1",
|
||||||
"amphp/dns": "dev-master as v0.9.x-dev",
|
"amphp/dns": "^1",
|
||||||
"amphp/http-client": "^4",
|
"amphp/http-client": "^4",
|
||||||
"amphp/parser": "^1",
|
"amphp/parser": "^1",
|
||||||
"danog/libdns-json": "^0.1",
|
"danog/libdns-json": "^0.1",
|
||||||
@ -1297,7 +1301,7 @@
|
|||||||
"https",
|
"https",
|
||||||
"resolve"
|
"resolve"
|
||||||
],
|
],
|
||||||
"time": "2019-12-22T18:08:04+00:00"
|
"time": "2019-12-27T14:35:55+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "danog/libdns-json",
|
"name": "danog/libdns-json",
|
||||||
@ -1361,18 +1365,18 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/danog/MadelineProto.git",
|
"url": "https://github.com/danog/MadelineProto.git",
|
||||||
"reference": "6f578c6647496295abbbc938499ce49510d5402a"
|
"reference": "f64efb021c4b796c02a50404f273bb675dd5831e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/danog/MadelineProto/zipball/6f578c6647496295abbbc938499ce49510d5402a",
|
"url": "https://api.github.com/repos/danog/MadelineProto/zipball/f64efb021c4b796c02a50404f273bb675dd5831e",
|
||||||
"reference": "6f578c6647496295abbbc938499ce49510d5402a",
|
"reference": "f64efb021c4b796c02a50404f273bb675dd5831e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"amphp/amp": "^2.0",
|
"amphp/amp": "^2.0",
|
||||||
"amphp/byte-stream": "^1",
|
"amphp/byte-stream": "^1",
|
||||||
"amphp/dns": "dev-master#ecbeca2ae0e93c08e8150a92810a3961fad8ecbe as v1",
|
"amphp/dns": "^1",
|
||||||
"amphp/file": "^1",
|
"amphp/file": "^1",
|
||||||
"amphp/http-client": "^4",
|
"amphp/http-client": "^4",
|
||||||
"amphp/http-client-cookies": "^1",
|
"amphp/http-client-cookies": "^1",
|
||||||
@ -1399,6 +1403,8 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"amphp/php-cs-fixer-config": "dev-master",
|
"amphp/php-cs-fixer-config": "dev-master",
|
||||||
|
"danog/7to5": "^1",
|
||||||
|
"danog/7to70": "^1",
|
||||||
"ennexa/amp-update-cache": "dev-master",
|
"ennexa/amp-update-cache": "dev-master",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"haydenpierce/class-finder": "^0.4",
|
"haydenpierce/class-finder": "^0.4",
|
||||||
@ -1432,7 +1438,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "PHP implementation of telegram's MTProto protocol.",
|
"description": "PHP implementation of telegram's MTProto protocol.",
|
||||||
"homepage": "https://daniil.it/MadelineProto",
|
"homepage": "https://docs.madelineproto.xyz",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"GB",
|
"GB",
|
||||||
"Messenger",
|
"Messenger",
|
||||||
@ -1447,7 +1453,7 @@
|
|||||||
"telegram",
|
"telegram",
|
||||||
"video"
|
"video"
|
||||||
],
|
],
|
||||||
"time": "2019-12-25T23:20:15+00:00"
|
"time": "2019-12-28T20:07:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "danog/magicalserializer",
|
"name": "danog/magicalserializer",
|
||||||
@ -2339,18 +2345,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [],
|
"packages-dev": [],
|
||||||
"aliases": [
|
"aliases": [],
|
||||||
{
|
|
||||||
"alias": "v1",
|
|
||||||
"alias_normalized": "1.0.0.0",
|
|
||||||
"version": "9999999-dev",
|
|
||||||
"package": "amphp/dns"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"stability-flags": {
|
"stability-flags": {
|
||||||
"danog/madelineproto": 20,
|
"danog/madelineproto": 20
|
||||||
"amphp/dns": 20
|
|
||||||
},
|
},
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
|
@ -18,6 +18,10 @@ return [
|
|||||||
'logger' => \danog\MadelineProto\Logger::ECHO_LOGGER, // 0 - Logs disabled, 3 - echo logs.
|
'logger' => \danog\MadelineProto\Logger::ECHO_LOGGER, // 0 - Logs disabled, 3 - echo logs.
|
||||||
'logger_level' => getenv('LOGGER_LEVEL'), // Logging level, available logging levels are: ULTRA_VERBOSE - 5, VERBOSE - 4 , NOTICE - 3, WARNING - 2, ERROR - 1, FATAL_ERROR - 0.
|
'logger_level' => getenv('LOGGER_LEVEL'), // Logging level, available logging levels are: ULTRA_VERBOSE - 5, VERBOSE - 4 , NOTICE - 3, WARNING - 2, ERROR - 1, FATAL_ERROR - 0.
|
||||||
],
|
],
|
||||||
|
'updates' => [
|
||||||
|
'handle_updates' => true, // Should I handle updates?
|
||||||
|
'handle_old_updates' => false, // Should I handle old updates on startup?
|
||||||
|
],
|
||||||
'connection_settings' => [
|
'connection_settings' => [
|
||||||
'all' => [
|
'all' => [
|
||||||
'proxy' => '\SocksProxy',
|
'proxy' => '\SocksProxy',
|
||||||
|
Loading…
Reference in New Issue
Block a user