From 5288bba8caee6d9c7ca4e5536b7e522385fc08c8 Mon Sep 17 00:00:00 2001 From: mirzaev Date: Sat, 18 Nov 2023 07:57:41 +0700 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D0=B1=D1=80=D0=B5=D0=BD=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD=D0=B3=20+=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BA=D0=BE=D1=81=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 +- LICENSE | 22 +- README.md | 4 +- composer.json | 101 +- composer.lock | 460 +++--- .../system/controllers/account_controller.php | 294 ++-- .../{virus => ff}/system/controllers/core.php | 200 +-- .../system/controllers/error_controller.php | 88 +- .../system/controllers/hotline_controller.php | 164 +- .../system/controllers/index_controller.php | 80 + .../system/models/account_model.php | 338 ++--- .../site/{virus => ff}/system/models/core.php | 286 ++-- .../site/ff/system/models/session_model.php | 216 +++ .../{virus => ff}/system/models/vk_model.php | 1110 +++++++------- .../system/public/css/account.old.css | 238 +-- .../{virus => ff}/system/public/css/books.css | 104 +- mirzaev/site/ff/system/public/css/hotline.css | 37 + .../{virus => ff}/system/public/css/logo.css | 80 +- .../{virus => ff}/system/public/css/main.css | 330 ++-- mirzaev/site/ff/system/public/css/trash.css | 49 + .../system/public/css/trolling.css | 34 +- .../system/public/css/upload.css | 66 +- .../system/public/fonts/commissioner.ttf | Bin .../system/public/images/botnet.svg | 0 .../system/public/images/keylogger.svg | 0 .../system/public/images/logo.png | Bin .../system/public/images/logo_compressed.png | Bin .../system/public/images/logo_red.png | Bin .../public/images/logo_red_compressed.png | Bin .../system/public/images/logo_red_white.png | Bin .../images/logo_red_white_compressed.png | Bin .../system/public/images/minecraft.svg | 0 .../system/public/images/miner.svg | 0 .../system/public/images/stealer.svg | 0 .../system/public/images/trash/linoleum.png | Bin 0 -> 46901 bytes .../system/public/images/truth.jpg | Bin .../system/public/images/what.png | Bin .../{virus => ff}/system/public/index.php | 70 +- .../{virus => ff}/system/public/js/account.js | 278 ++-- .../{virus => ff}/system/public/js/graph.js | 0 .../{virus => ff}/system/public/js/hotline.js | 1336 ++++++++--------- .../system/public/js/js.cookie.min.js | 0 .../system/public/js/trolling.js | 254 ++-- .../system/public/sounds/iphone.mp3 | Bin .../{virus => ff}/system/public/sounds/vk.mp3 | Bin .../system/public/sounds/what.mp3 | Bin .../system/public/sounds/whatsup.mp3 | Bin .../storage/214547089/avatar/200x200.jpg | Bin .../{virus => ff}/system/settings/.gitignore | 2 +- .../system/settings/arangodb.php.sample | 16 +- .../system/views/account/panel.html | 28 +- .../system/views/account/vk.html | 22 +- .../{virus => ff}/system/views/aside.html | 39 +- .../site/{virus => ff}/system/views/core.html | 66 +- .../{virus => ff}/system/views/footer.html | 8 +- .../site/{virus => ff}/system/views/head.html | 30 +- .../{virus => ff}/system/views/header.html | 44 +- .../system/views/hotline/index.html | 56 +- .../system/views/hotline/templates/trash.html | 15 + .../{virus => ff}/system/views/index.html | 82 +- .../site/{virus => ff}/system/views/js.html | 8 +- .../site/{virus => ff}/system/views/logo.html | 112 +- .../{virus => ff}/system/views/manager.php | 50 +- .../site/{virus => ff}/system/views/menu.html | 82 +- .../{virus => ff}/system/views/trolling.html | 30 +- .../system/controllers/index_controller.php | 71 - .../virus/system/models/session_model.php | 213 --- .../site/virus/system/public/css/hotline.css | 31 - 68 files changed, 3670 insertions(+), 3580 deletions(-) rename mirzaev/site/{virus => ff}/system/controllers/account_controller.php (93%) rename mirzaev/site/{virus => ff}/system/controllers/core.php (88%) rename mirzaev/site/{virus => ff}/system/controllers/error_controller.php (89%) rename mirzaev/site/{virus => ff}/system/controllers/hotline_controller.php (92%) create mode 100644 mirzaev/site/ff/system/controllers/index_controller.php rename mirzaev/site/{virus => ff}/system/models/account_model.php (95%) rename mirzaev/site/{virus => ff}/system/models/core.php (95%) create mode 100644 mirzaev/site/ff/system/models/session_model.php rename mirzaev/site/{virus => ff}/system/models/vk_model.php (97%) rename mirzaev/site/{virus => ff}/system/public/css/account.old.css (94%) rename mirzaev/site/{virus => ff}/system/public/css/books.css (95%) create mode 100644 mirzaev/site/ff/system/public/css/hotline.css rename mirzaev/site/{virus => ff}/system/public/css/logo.css (95%) rename mirzaev/site/{virus => ff}/system/public/css/main.css (95%) create mode 100644 mirzaev/site/ff/system/public/css/trash.css rename mirzaev/site/{virus => ff}/system/public/css/trolling.css (93%) rename mirzaev/site/{virus => ff}/system/public/css/upload.css (93%) rename mirzaev/site/{virus => ff}/system/public/fonts/commissioner.ttf (100%) rename mirzaev/site/{virus => ff}/system/public/images/botnet.svg (100%) rename mirzaev/site/{virus => ff}/system/public/images/keylogger.svg (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo_compressed.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo_red.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo_red_compressed.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo_red_white.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/logo_red_white_compressed.png (100%) rename mirzaev/site/{virus => ff}/system/public/images/minecraft.svg (100%) rename mirzaev/site/{virus => ff}/system/public/images/miner.svg (100%) rename mirzaev/site/{virus => ff}/system/public/images/stealer.svg (100%) create mode 100644 mirzaev/site/ff/system/public/images/trash/linoleum.png rename mirzaev/site/{virus => ff}/system/public/images/truth.jpg (100%) rename mirzaev/site/{virus => ff}/system/public/images/what.png (100%) rename mirzaev/site/{virus => ff}/system/public/index.php (95%) rename mirzaev/site/{virus => ff}/system/public/js/account.js (97%) rename mirzaev/site/{virus => ff}/system/public/js/graph.js (100%) rename mirzaev/site/{virus => ff}/system/public/js/hotline.js (97%) rename mirzaev/site/{virus => ff}/system/public/js/js.cookie.min.js (100%) rename mirzaev/site/{virus => ff}/system/public/js/trolling.js (96%) rename mirzaev/site/{virus => ff}/system/public/sounds/iphone.mp3 (100%) rename mirzaev/site/{virus => ff}/system/public/sounds/vk.mp3 (100%) rename mirzaev/site/{virus => ff}/system/public/sounds/what.mp3 (100%) rename mirzaev/site/{virus => ff}/system/public/sounds/whatsup.mp3 (100%) rename mirzaev/site/{virus => ff}/system/public/storage/214547089/avatar/200x200.jpg (100%) rename mirzaev/site/{virus => ff}/system/settings/.gitignore (92%) rename mirzaev/site/{virus => ff}/system/settings/arangodb.php.sample (94%) rename mirzaev/site/{virus => ff}/system/views/account/panel.html (95%) rename mirzaev/site/{virus => ff}/system/views/account/vk.html (96%) rename mirzaev/site/{virus => ff}/system/views/aside.html (83%) rename mirzaev/site/{virus => ff}/system/views/core.html (93%) rename mirzaev/site/{virus => ff}/system/views/footer.html (98%) rename mirzaev/site/{virus => ff}/system/views/head.html (97%) rename mirzaev/site/{virus => ff}/system/views/header.html (95%) rename mirzaev/site/{virus => ff}/system/views/hotline/index.html (80%) create mode 100644 mirzaev/site/ff/system/views/hotline/templates/trash.html rename mirzaev/site/{virus => ff}/system/views/index.html (81%) rename mirzaev/site/{virus => ff}/system/views/js.html (97%) rename mirzaev/site/{virus => ff}/system/views/logo.html (97%) rename mirzaev/site/{virus => ff}/system/views/manager.php (83%) rename mirzaev/site/{virus => ff}/system/views/menu.html (99%) rename mirzaev/site/{virus => ff}/system/views/trolling.html (97%) delete mode 100644 mirzaev/site/virus/system/controllers/index_controller.php delete mode 100644 mirzaev/site/virus/system/models/session_model.php delete mode 100644 mirzaev/site/virus/system/public/css/hotline.css diff --git a/.gitignore b/.gitignore index 1dda020..0ad61ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -!.gitignore -composer.phar -vendor +!.gitignore +composer.phar +vendor diff --git a/LICENSE b/LICENSE index 7a3094a..e007a57 100644 --- a/LICENSE +++ b/LICENSE @@ -1,11 +1,11 @@ -DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE -Version 2, December 2004 - -Copyright (C) 2004 Sam Hocevar - -Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. - -DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +Version 2, December 2004 + +Copyright (C) 2004 Sam Hocevar + +Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md index 6ba1d5e..908094a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# site-virus - +# site-virus + Site with viruses and scary pictures \ No newline at end of file diff --git a/composer.json b/composer.json index 9848264..dad7bc2 100644 --- a/composer.json +++ b/composer.json @@ -1,51 +1,50 @@ -{ - "name": "mirzaev/site-virus", - "description": "Site with viruses and scary pictures", - "readme": "README.md", - "keywords": [ - "virus", - "download", - "Evil Alliance", - "imageboard", - "site" - ], - "type": "site", - "homepage": "https://git.mirzaev.sexy/mirzaev/site-virus", - "license": "WTFPL", - "authors": [ - { - "name": "Arsen Mirzaev Tatyano-Muradovich", - "email": "arsen@mirzaev.sexy", - "homepage": "https://mirzaev.sexy", - "role": "Programmer" - } - ], - "support": { - "docs": "https://git.mirzaev.sexy/mirzaev/site-virus/manual", - "issues": "https://git.mirzaev.sexy/mirzaev/site-virus/issues" - }, - "require": { - "php": "~8.1", - "ext-sodium": "~8.1", - "mirzaev/minimal": "^2.0.x-dev", - "mirzaev/accounts": "~1.2.x-dev", - "mirzaev/arangodb": "^1.0.0", - "mirzaev/vk": "^4.0", - "triagens/arangodb": "~3.9.x-dev", - "twig/twig": "^3.4", - "guzzlehttp/guzzle": "^7.5" - }, - "require-dev": { - "phpunit/phpunit": "~9.5" - }, - "autoload": { - "psr-4": { - "mirzaev\\site\\virus\\": "mirzaev/site/virus/system" - } - }, - "autoload-dev": { - "psr-4": { - "mirzaev\\site\\virus\\tests\\": "mirzaev/site/virus/tests" - } - } -} +{ + "name": "mirzaev/site-ff", + "description": "our FUCKING.FORUM", + "readme": "README.md", + "keywords": [ + "forum", + "Evil Alliance", + "imageboard", + "site" + ], + "type": "site", + "homepage": "https://git.mirzaev.sexy/mirzaev/site-ff", + "license": "WTFPL", + "authors": [ + { + "name": "Arsen Mirzaev Tatyano-Muradovich", + "email": "arsen@mirzaev.sexy", + "homepage": "https://mirzaev.sexy", + "role": "Programmer" + } + ], + "support": { + "docs": "https://git.mirzaev.sexy/mirzaev/site-ff/manual", + "issues": "https://git.mirzaev.sexy/mirzaev/site-ff/issues" + }, + "require": { + "php": "~8.2", + "ext-sodium": "~8.2", + "mirzaev/accounts": "~1.2.x-dev", + "mirzaev/arangodb": "^1.0.0", + "mirzaev/vk": "^4.0", + "triagens/arangodb": "~3.9.x-dev", + "twig/twig": "^3.4", + "guzzlehttp/guzzle": "^7.5", + "mirzaev/minimal": "^2.1" + }, + "require-dev": { + "phpunit/phpunit": "~9.5" + }, + "autoload": { + "psr-4": { + "mirzaev\\site\\ff\\": "mirzaev/site/ff/system" + } + }, + "autoload-dev": { + "psr-4": { + "mirzaev\\site\\ff\\tests\\": "mirzaev/site/ff/tests" + } + } +} diff --git a/composer.lock b/composer.lock index a5acd96..6c0800e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,26 +4,26 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c9aa4923402d9b36006f18de102cdda0", + "content-hash": "d308e66a3f709c2636a249c08c991363", "packages": [ { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -34,7 +34,8 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, @@ -48,9 +49,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "7.5-dev" } }, "autoload": { @@ -116,7 +114,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.8.0" }, "funding": [ { @@ -132,38 +130,37 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-08-27T10:20:53+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b94b2807d85443f9719887892882d0329d1e2598" + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", - "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d", + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -200,7 +197,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.2" + "source": "https://github.com/guzzle/promises/tree/2.0.1" }, "funding": [ { @@ -216,26 +213,26 @@ "type": "tidelift" } ], - "time": "2022-08-28T14:55:35+00:00" + "time": "2023-08-03T15:11:55+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.4.2", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "3148458748274be1546f8f2809a6c09fe66f44aa" + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/3148458748274be1546f8f2809a6c09fe66f44aa", - "reference": "3148458748274be1546f8f2809a6c09fe66f44aa", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -255,9 +252,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "2.4-dev" } }, "autoload": { @@ -319,7 +313,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.2" + "source": "https://github.com/guzzle/psr7/tree/2.6.1" }, "funding": [ { @@ -335,7 +329,7 @@ "type": "tidelift" } ], - "time": "2022-10-25T13:49:28+00:00" + "time": "2023-08-27T10:13:57+00:00" }, { "name": "jasny/error-handler", @@ -395,14 +389,14 @@ "version": "1.2.x-dev", "source": { "type": "git", - "url": "https://git.hood.su/mirzaev/accounts", - "reference": "4b0a1a1c34128c281b83485cde53d97df6c82a49" + "url": "https://git.mirzaev.sexy/mirzaev/accounts", + "reference": "aa93c4d26395025fa16bb65e8a40332ac352a742" }, "require": { - "ext-dom": "20031129", - "ext-libxml": "~8.0", - "guzzlehttp/guzzle": "~7.2", - "php": "~8.0" + "ext-dom": "*", + "ext-libxml": "*", + "guzzlehttp/guzzle": "^7.5", + "php": "~8.2" }, "require-dev": { "phpdocumentor/phpdocumentor": ">=2.9", @@ -420,34 +414,40 @@ ], "authors": [ { - "name": "Arsen Mirzaev", - "email": "red@hood.su", - "homepage": "https://hood.su/sex", + "name": "Arsen Mirzaev Tatyano-Muradovich", + "email": "arsen@mirzaev.sexy", + "homepage": "https://mirzaev.sexy", "role": "Programmer" } ], - "description": "Менеджер аккаунтов", - "homepage": "https://git.hood.su/mirzaev/accounts", + "description": "Simple accounts manager", + "homepage": "https://git.mirzaev.sexy/mirzaev/accounts", "keywords": [ "accounts" ], "support": { - "chat": "https://vk.me/darkweb228", - "docs": "https://git.hood.su/mirzaev/accounts/manual", - "issues": "https://git.hood.su/mirzaev/accounts/issues" + "email": "arsen@mirzaev.sexy", + "issues": "https://git.mirzaev.sexy/mirzaev/accounts/issues", + "wiki": "https://git.mirzaev.sexy/mirzaev/accounts/wiki" }, - "time": "2021-07-31T11:12:52+00:00" + "funding": [ + { + "url": "https://fund.mirzaev.sexy", + "type": "funding" + } + ], + "time": "2023-02-17T08:36:36+00:00" }, { "name": "mirzaev/arangodb", - "version": "1.0.0", + "version": "1.2.3", "source": { "type": "git", - "url": "https://git.hood.su/mirzaev/arangodb", - "reference": "0012a31e6bea1050385f6b740581f32b9e366128" + "url": "https://git.mirzaev.sexy/mirzaev/arangodb", + "reference": "cb1388722cb8c2b5400310ab1fbc7a8ad3a5e85b" }, "require": { - "php": "^8.1", + "php": "^8.2", "triagens/arangodb": "~3.8" }, "require-dev": { @@ -471,26 +471,34 @@ "role": "Developer" } ], - "description": "Реализация управления хранилищем данных ArangoDB", + "description": "Simple PHP-framework for ArangoDB", "homepage": "https://git.hood.su/mirzaev/arangodb", "keywords": [ "ArangoDb" ], - "time": "2022-10-25T20:16:30+00:00" + "support": { + "email": "arsen@mirzaev.sexy", + "issues": "https://git.mirzaev.sexy/mirzaev/arangodb/issues", + "wiki": "https://git.mirzaev.sexy/mirzaev/arangodb/manual" + }, + "funding": [ + { + "url": "https://fund.mirzaev.sexy", + "type": "funding" + } + ], + "time": "2023-07-09T23:47:42+00:00" }, { "name": "mirzaev/minimal", - "version": "2.0.x-dev", + "version": "2.1.1", "source": { "type": "git", - "url": "https://git.hood.su/mirzaev/minimal", - "reference": "7777d7af1733d661a36551a0fdcf27a972e4ef81" + "url": "https://git.mirzaev.sexy/mirzaev/minimal", + "reference": "24fe47f1e7843d53665cad8190d58cfc19dae69a" }, "require": { - "php": "~8.0" - }, - "suggest": { - "ext-PDO": "Для работы с базами данных на SQL (MySQL, PostreSQL...)" + "php": "~8.2" }, "type": "framework", "autoload": { @@ -510,36 +518,40 @@ "role": "Developer" } ], - "description": "Легковесный MVC фреймворк который следует твоим правилам, а не диктует свои", - "homepage": "https://git.hood.su/mirzaev/minimal", + "description": "Lightweight MVC framework that manages only the basic mechanisms, leaving the development of the programmer and not overloading the project", + "homepage": "https://git.mirzaev.sexy/mirzaev/minimal", "keywords": [ "framework", + "lightweight", "mvc" ], "support": { - "docs": "https://git.hood.su/mirzaev/minimal/manual", - "issues": "https://git.hood.su/mirzaev/minimal/issues" + "docs": "https://git.mirzaev.sexy/mirzaev/minimal/wiki", + "issues": "https://git.mirzaev.sexy/mirzaev/minimal/issues" }, - "time": "2022-03-03T21:15:52+00:00" + "time": "2023-11-17T18:23:21+00:00" }, { "name": "mirzaev/vk", - "version": "4.0.1", + "version": "4.5.0", "source": { "type": "git", - "url": "https://git.hood.su/mirzaev/vk", - "reference": "850a4bbd8ef6ba232c0e810eba5f118345a862fa" + "url": "https://git.mirzaev.sexy/mirzaev/vk", + "reference": "39d13d9020c41d03f389254a4c2cda97cb61b8de" }, "require": { - "guzzlehttp/guzzle": "~7.5", - "jasny/error-handler": "~0.2", - "mirzaev/accounts": "~1.2.x-dev", - "monolog/monolog": "~1.6", - "php": "~8.1", - "psr/log": "~1.0" + "guzzlehttp/guzzle": "^7.5", + "jasny/error-handler": "^0.2", + "mirzaev/accounts": "^1.2.0", + "monolog/monolog": "^1.6", + "php": "^8.1", + "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "~9.5" + "phpunit/phpunit": "^9.5" + }, + "suggest": { + "ext-sodium": "Can be selected in some conditions to increase security" }, "type": "framework", "autoload": { @@ -555,21 +567,21 @@ { "name": "Arsen Mirzaev Tatyano-Muradovich", "email": "arsen@mirzaev.sexy", - "homepage": "https://hood.su/mirzaev", + "homepage": "https://mirzaev.sexy/mirzaev", "role": "Programmer" } ], - "description": "Фреймворк VK API", - "homepage": "https://git.hood.su/mirzaev/vk", + "description": "Framework for vk.com API", + "homepage": "https://git.mirzaev.sexy/mirzaev/vk", "keywords": [ "api", "vk" ], "support": { - "docs": "https://git.hood.su/mirzaev/vk/manual", - "issues": "https://git.hood.su/mirzaev/vk/issues" + "docs": "https://git.mirzaev.sexy/mirzaev/vk/wiki", + "issues": "https://git.mirzaev.sexy/mirzaev/vk/issues" }, - "time": "2022-10-23T17:22:42+00:00" + "time": "2022-11-10T13:15:06+00:00" }, { "name": "monolog/monolog", @@ -659,21 +671,21 @@ }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -693,7 +705,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -705,27 +717,27 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + "reference": "e616d01114759c4c489f93b099585439f795fe35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", + "reference": "e616d01114759c4c489f93b099585439f795fe35", "shasum": "" }, "require": { "php": ">=7.0.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -745,7 +757,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for PSR-7 HTTP message factories", @@ -760,31 +772,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" + "source": "https://github.com/php-fig/http-factory/tree/1.0.2" }, - "time": "2019-04-30T12:38:16+00:00" + "time": "2023-04-10T20:10:41+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "1.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -813,9 +825,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/1.1" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:50:52+00:00" }, { "name": "psr/log", @@ -913,16 +925,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.1.1", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", - "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", "shasum": "" }, "require": { @@ -931,7 +943,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -960,7 +972,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -976,20 +988,20 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2023-05-23T14:45:45+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { @@ -1004,7 +1016,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1042,7 +1054,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -1058,20 +1070,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "42292d99c55abe617799667f454222c54c60e229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", "shasum": "" }, "require": { @@ -1086,7 +1098,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1125,7 +1137,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" }, "funding": [ { @@ -1141,7 +1153,7 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2023-07-28T09:04:16+00:00" }, { "name": "triagens/arangodb", @@ -1149,12 +1161,12 @@ "source": { "type": "git", "url": "https://github.com/arangodb/arangodb-php.git", - "reference": "de14fbcf8390e3ae1e706c52695386218eeba151" + "reference": "21c460dbbd75eb5c066f9abcc3a9adf4487d6e48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/arangodb/arangodb-php/zipball/de14fbcf8390e3ae1e706c52695386218eeba151", - "reference": "de14fbcf8390e3ae1e706c52695386218eeba151", + "url": "https://api.github.com/repos/arangodb/arangodb-php/zipball/21c460dbbd75eb5c066f9abcc3a9adf4487d6e48", + "reference": "21c460dbbd75eb5c066f9abcc3a9adf4487d6e48", "shasum": "" }, "require": { @@ -1202,20 +1214,20 @@ "issues": "https://github.com/arangodb/arangodb-php/issues", "source": "https://github.com/arangodb/arangodb-php/tree/3.9" }, - "time": "2022-02-03T09:42:22+00:00" + "time": "2022-10-21T15:30:53+00:00" }, { "name": "twig/twig", - "version": "v3.4.3", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "c38fd6b0b7f370c198db91ffd02e23b517426b58" + "reference": "a0ce373a0ca3bf6c64b9e3e2124aca502ba39554" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/c38fd6b0b7f370c198db91ffd02e23b517426b58", - "reference": "c38fd6b0b7f370c198db91ffd02e23b517426b58", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/a0ce373a0ca3bf6c64b9e3e2124aca502ba39554", + "reference": "a0ce373a0ca3bf6c64b9e3e2124aca502ba39554", "shasum": "" }, "require": { @@ -1224,15 +1236,10 @@ "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { - "psr/container": "^1.0", - "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" + "psr/container": "^1.0|^2.0", + "symfony/phpunit-bridge": "^5.4.9|^6.3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Twig\\": "src/" @@ -1266,7 +1273,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.4.3" + "source": "https://github.com/twigphp/Twig/tree/v3.7.1" }, "funding": [ { @@ -1278,36 +1285,36 @@ "type": "tidelift" } ], - "time": "2022-09-28T08:42:51+00:00" + "time": "2023-08-28T11:09:02+00:00" } ], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.4.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { @@ -1334,7 +1341,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { @@ -1350,20 +1357,20 @@ "type": "tidelift" } ], - "time": "2022-03-03T08:28:38+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.11.0", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { @@ -1401,7 +1408,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -1409,20 +1416,20 @@ "type": "tidelift" } ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "nikic/php-parser", - "version": "v4.15.1", + "version": "v4.17.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900" + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "shasum": "" }, "require": { @@ -1463,9 +1470,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" }, - "time": "2022-09-04T07:30:47+00:00" + "time": "2023-08-13T19:53:39+00:00" }, { "name": "phar-io/manifest", @@ -1580,23 +1587,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.17", + "version": "9.2.29", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "aa94dc41e8661fe90c7316849907cba3007b10d8" + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/aa94dc41e8661fe90c7316849907cba3007b10d8", - "reference": "aa94dc41e8661fe90c7316849907cba3007b10d8", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", + "nikic/php-parser": "^4.15", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -1611,8 +1618,8 @@ "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { @@ -1645,7 +1652,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.17" + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" }, "funding": [ { @@ -1653,7 +1661,7 @@ "type": "github" } ], - "time": "2022-08-30T12:24:04+00:00" + "time": "2023-09-19T04:57:46+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1898,20 +1906,20 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.25", + "version": "9.6.13", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d" + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d", - "reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -1922,7 +1930,7 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-code-coverage": "^9.2.28", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -1940,8 +1948,8 @@ "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -1949,7 +1957,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -1980,7 +1988,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.25" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" }, "funding": [ { @@ -1996,7 +2005,7 @@ "type": "tidelift" } ], - "time": "2022-09-25T03:44:45+00:00" + "time": "2023-09-19T05:39:22+00:00" }, { "name": "sebastian/cli-parser", @@ -2298,16 +2307,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { @@ -2352,7 +2361,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -2360,20 +2369,20 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { @@ -2415,7 +2424,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -2423,7 +2432,7 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", @@ -2504,16 +2513,16 @@ }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "bde739e7565280bda77be70044ac1047bc007e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", "shasum": "" }, "require": { @@ -2556,7 +2565,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" }, "funding": [ { @@ -2564,7 +2573,7 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", @@ -2737,16 +2746,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { @@ -2785,10 +2794,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -2796,7 +2805,7 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", @@ -2855,16 +2864,16 @@ }, { "name": "sebastian/type", - "version": "3.2.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { @@ -2899,7 +2908,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -2907,7 +2916,7 @@ "type": "github" } ], - "time": "2022-09-12T14:47:03+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", @@ -3016,15 +3025,14 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "mirzaev/minimal": 20, "mirzaev/accounts": 20, "triagens/arangodb": 20 }, "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1", - "ext-sodium": "~8.1" + "php": "~8.2", + "ext-sodium": "~8.2" }, "platform-dev": [], "plugin-api-version": "2.3.0" diff --git a/mirzaev/site/virus/system/controllers/account_controller.php b/mirzaev/site/ff/system/controllers/account_controller.php similarity index 93% rename from mirzaev/site/virus/system/controllers/account_controller.php rename to mirzaev/site/ff/system/controllers/account_controller.php index ffcf562..51b9fda 100644 --- a/mirzaev/site/virus/system/controllers/account_controller.php +++ b/mirzaev/site/ff/system/controllers/account_controller.php @@ -1,147 +1,147 @@ - - */ -final class account_controller extends core -{ - /** - * Страница профиля - * - * @param array $parameters Параметры запроса - */ - public function index(array $parameters = []): ?string - { - return null; - } - - /** - * Инициализация - * - * @param array $parameters Параметры запроса - */ - public function initialization(array $parameters = []): ?string - { - if ($this->variables['account'] instanceof _document) { - // Найден аккаунт - - if ($this->variables['vk'] instanceof _document) { - // Найден аккаунт ВКонтакте - - // Инициализация данных аккаунта ВКонтакте - vk::parse($this->variables['vk'], $this->variables['errors']['vk']); - } - - // Запись кода ответа - http_response_code(200); - - return null; - } else { - // Не найден аккаунт - - // Запись кода ответа - http_response_code(401); - - // Запись заголовка ответа с ключом аккаунта - header('session: ' . $this->variables['session']->hash); - - return null; - } - - // Запись кода ответа - http_response_code(500); - - return null; - } - - /** - * Связь аккаунта с аккаунтом ВКонтакте - * - * @param array $parameters Параметры запроса - */ - public function connect(array $parameters = []): ?string - { - if ($this->variables['session']->hash === $parameters['state']) { - // Совпадает хеш сессии с полученным хешем из ответа ВКонтакте - - if (!empty($response = vk::key($parameters['code'], $this->variables['errors']['vk']))) { - // Получены данные аккаунта ВКонтакте - - if (($this->variables['vk'] = vk::initialization($response, $this->variables['errors']['vk'])) instanceof _document) { - // Инициализирован аккаунт ВКонтакте - - if (($this->variables['account'] = vk::account($this->variables['vk'])) instanceof _document) { - // Найден аккаунт (существующий) - - if (session::connect($this->variables['session'], $this->variables['account'], $this->variables['errors']['session'])) { - // Связана сессия с аккаунтом - } - } else if (($this->variables['account'] = account::create($this->variables['errors']['account'])) instanceof _document) { - // Найден аккаунт (создан новый) - - if (session::connect($this->variables['session'], $this->variables['account'], $this->variables['errors']['session'])) { - // Связана сессия с аккаунтом - - if (account::connect($this->variables['account'], $this->variables['vk'], $this->variables['errors']['account'])) { - // Связан аккаунт с аккаунтом ВКонтакте - } - } - } - - // Инициализация робота для аккаунта ВКонтакте - $this->vk = api::init()->user(key: $this->variables['vk']->access['key']); - - if ($this->variables['vk'] instanceof _document) { - // Инициализирован робот для аккаунта ВКонтакте - - // Инициализация данных аккаунта ВКонтакте - $data = vk::parse($this->vk, $this->variables['errors']['vk']); - var_dump($data); die; - - if ($data instanceof stdClass) { - // Получены данные ВКонтакте - - // Запись в базу данных - vk::update($this->variables['vk'], $data, $this->variables['errors']['vk']); - } - } - } - } - } - - // Генерация представления - return $this->view->render(DIRECTORY_SEPARATOR . 'account' . DIRECTORY_SEPARATOR . 'vk.html', $this->variables); - } - - /** - * Генерация панели аккаунта - * - * @param array $parameters Параметры запроса - */ - public function panel(array $parameters = []): ?string - { - // Генерация представления - return $this->view->render(DIRECTORY_SEPARATOR . 'account' . DIRECTORY_SEPARATOR . 'panel.html', $this->variables); - } -} + + */ +final class account_controller extends core +{ + /** + * Страница профиля + * + * @param array $parameters Параметры запроса + */ + public function index(array $parameters = []): ?string + { + return null; + } + + /** + * Инициализация + * + * @param array $parameters Параметры запроса + */ + public function initialization(array $parameters = []): ?string + { + if ($this->variables['account'] instanceof _document) { + // Найден аккаунт + + if ($this->variables['vk'] instanceof _document) { + // Найден аккаунт ВКонтакте + + // Инициализация данных аккаунта ВКонтакте + vk::parse($this->variables['vk'], $this->variables['errors']['vk']); + } + + // Запись кода ответа + http_response_code(200); + + return null; + } else { + // Не найден аккаунт + + // Запись кода ответа + http_response_code(401); + + // Запись заголовка ответа с ключом аккаунта + header('session: ' . $this->variables['session']->hash); + + return null; + } + + // Запись кода ответа + http_response_code(500); + + return null; + } + + /** + * Связь аккаунта с аккаунтом ВКонтакте + * + * @param array $parameters Параметры запроса + */ + public function connect(array $parameters = []): ?string + { + if ($this->variables['session']->hash === $parameters['state']) { + // Совпадает хеш сессии с полученным хешем из ответа ВКонтакте + + if (!empty($response = vk::key($parameters['code'], $this->variables['errors']['vk']))) { + // Получены данные аккаунта ВКонтакте + + if (($this->variables['vk'] = vk::initialization($response, $this->variables['errors']['vk'])) instanceof _document) { + // Инициализирован аккаунт ВКонтакте + + if (($this->variables['account'] = vk::account($this->variables['vk'])) instanceof _document) { + // Найден аккаунт (существующий) + + if (session::connect($this->variables['session'], $this->variables['account'], $this->variables['errors']['session'])) { + // Связана сессия с аккаунтом + } + } else if (($this->variables['account'] = account::create($this->variables['errors']['account'])) instanceof _document) { + // Найден аккаунт (создан новый) + + if (session::connect($this->variables['session'], $this->variables['account'], $this->variables['errors']['session'])) { + // Связана сессия с аккаунтом + + if (account::connect($this->variables['account'], $this->variables['vk'], $this->variables['errors']['account'])) { + // Связан аккаунт с аккаунтом ВКонтакте + } + } + } + + // Инициализация робота для аккаунта ВКонтакте + $this->vk = api::init()->user(key: $this->variables['vk']->access['key']); + + if ($this->variables['vk'] instanceof _document) { + // Инициализирован робот для аккаунта ВКонтакте + + // Инициализация данных аккаунта ВКонтакте + $data = vk::parse($this->vk, $this->variables['errors']['vk']); + var_dump($data); die; + + if ($data instanceof stdClass) { + // Получены данные ВКонтакте + + // Запись в базу данных + vk::update($this->variables['vk'], $data, $this->variables['errors']['vk']); + } + } + } + } + } + + // Генерация представления + return $this->view->render(DIRECTORY_SEPARATOR . 'account' . DIRECTORY_SEPARATOR . 'vk.html', $this->variables); + } + + /** + * Генерация панели аккаунта + * + * @param array $parameters Параметры запроса + */ + public function panel(array $parameters = []): ?string + { + // Генерация представления + return $this->view->render(DIRECTORY_SEPARATOR . 'account' . DIRECTORY_SEPARATOR . 'panel.html', $this->variables); + } +} diff --git a/mirzaev/site/virus/system/controllers/core.php b/mirzaev/site/ff/system/controllers/core.php similarity index 88% rename from mirzaev/site/virus/system/controllers/core.php rename to mirzaev/site/ff/system/controllers/core.php index 5871011..10489ca 100644 --- a/mirzaev/site/virus/system/controllers/core.php +++ b/mirzaev/site/ff/system/controllers/core.php @@ -1,100 +1,100 @@ - - */ -class core extends controller -{ - /** - * Переменные окружения - */ - protected robot $vk; - - /** - * Переменные окружения - */ - protected array $variables = []; - - /** - * Конструктор - * - * @return void - */ - public function __construct() - { - parent::__construct(); - - // Инициализация ядра моделей (соединение с базой данных...) - new models(); - - // Инициализация журнала ошибок - $this->variables['errors'] = [ - 'session' => [], - 'account' => [], - 'vk' => [] - ]; - - // Инициализация даты до которой будет активна сессия - $expires = time() + 604800; - - // Инициализация сессии (без журналирования) - $this->variables['session'] = session::initialization($_COOKIE["session"] ?? null, $expires) ?? header('Location: https://virus.mirzaev.sexy/error?code=500&text=Не+удалось+инициализировать+сессию'); - - if ($_COOKIE["session"] ?? null !== $this->variables['session']->hash) { - // Изменился хеш сессии (подразумевается, что сессия устарела) - - // Запись хеша новой сессии - setcookie('session', $this->variables['session']->hash, [ - 'expires' => $expires, - 'domain' => 'virus.mirzaev.sexy', - 'path' => '/', - 'secure' => true, - 'httponly' => true, - 'samesite' => 'strict' - ]); - } - - // Инициализация аккаунта (без журналирования) - $this->variables['account'] = session::account($this->variables['session']); - - if ($this->variables['account'] instanceof _document) { - // Инициализирован аккаунт - - // Инициализация аккаунта ВКонтакте (без журналирования) - $this->variables['vk'] = account::vk($this->variables['account']); - - if ($this->variables['vk'] instanceof _document) { - // Инициализирован аккаунт ВКонтакте - - // Инициализация робота для аккаунта ВКонтакте - $this->vk = vk::init()->user(key: $this->variables['vk']->access['key']); - } else unset($this->variables['account'], $this->variables['vk']); - } - - // Инициализация препроцессора представления - $this->view = new manager; - } -} + + */ +class core extends controller +{ + /** + * Переменные окружения + */ + protected robot $vk; + + /** + * Переменные окружения + */ + protected array $variables = []; + + /** + * Конструктор + * + * @return void + */ + public function __construct() + { + parent::__construct(); + + // Инициализация ядра моделей (соединение с базой данных...) + new models(); + + // Инициализация журнала ошибок + $this->variables['errors'] = [ + 'session' => [], + 'account' => [], + 'vk' => [] + ]; + + // Инициализация даты до которой будет активна сессия + $expires = time() + 604800; + + // Инициализация сессии (без журналирования) + $this->variables['session'] = session::initialization($_COOKIE["session"] ?? null, $expires) ?? header('Location: https://virus.mirzaev.sexy/error?code=500&text=Не+удалось+инициализировать+сессию'); + + if ($_COOKIE["session"] ?? null !== $this->variables['session']->hash) { + // Изменился хеш сессии (подразумевается, что сессия устарела) + + // Запись хеша новой сессии + setcookie('session', $this->variables['session']->hash, [ + 'expires' => $expires, + 'domain' => 'ff.mirzaev.sexy', + 'path' => '/', + 'secure' => true, + 'httponly' => true, + 'samesite' => 'strict' + ]); + } + + // Инициализация аккаунта (без журналирования) + $this->variables['account'] = session::account($this->variables['session']); + + if ($this->variables['account'] instanceof _document) { + // Инициализирован аккаунт + + // Инициализация аккаунта ВКонтакте (без журналирования) + $this->variables['vk'] = account::vk($this->variables['account']); + + if ($this->variables['vk'] instanceof _document) { + // Инициализирован аккаунт ВКонтакте + + // Инициализация робота для аккаунта ВКонтакте + $this->vk = vk::init()->user(key: $this->variables['vk']->access['key']); + } else unset($this->variables['account'], $this->variables['vk']); + } + + // Инициализация препроцессора представления + $this->view = new manager; + } +} diff --git a/mirzaev/site/virus/system/controllers/error_controller.php b/mirzaev/site/ff/system/controllers/error_controller.php similarity index 89% rename from mirzaev/site/virus/system/controllers/error_controller.php rename to mirzaev/site/ff/system/controllers/error_controller.php index acf8186..7ab0f03 100644 --- a/mirzaev/site/virus/system/controllers/error_controller.php +++ b/mirzaev/site/ff/system/controllers/error_controller.php @@ -1,44 +1,44 @@ - - */ -final class error_controller extends core -{ - /** - * Страница с ошибкой - * - * @param array $parameters - */ - public function index(array $parameters = []): ?string - { - // Запись текста ошибки в переменную окружения - $this->variables['text'] = $parameters['text'] ?? null; - - if (isset($parameters['code'])) { - // Получен код ошибки - - // Запись кода ошибки в переменную окружения - $this->variables['code'] = $parameters['code']; - - // Запись кода ответа - http_response_code($parameters['code']); - - // Генерация представления - return $this->view->render(DIRECTORY_SEPARATOR . 'errors' . DIRECTORY_SEPARATOR . 'index.html', $this->variables); - } - - // Генерация представления - return $this->view->render(DIRECTORY_SEPARATOR . 'errors' . DIRECTORY_SEPARATOR . ($parameters['code'] ?? 'index') . '.html', $this->variables); - } -} + + */ +final class error_controller extends core +{ + /** + * Страница с ошибкой + * + * @param array $parameters + */ + public function index(array $parameters = []): ?string + { + // Запись текста ошибки в переменную окружения + $this->variables['text'] = $parameters['text'] ?? null; + + if (isset($parameters['code'])) { + // Получен код ошибки + + // Запись кода ошибки в переменную окружения + $this->variables['code'] = $parameters['code']; + + // Запись кода ответа + http_response_code($parameters['code']); + + // Генерация представления + return $this->view->render(DIRECTORY_SEPARATOR . 'errors' . DIRECTORY_SEPARATOR . 'index.html', $this->variables); + } + + // Генерация представления + return $this->view->render(DIRECTORY_SEPARATOR . 'errors' . DIRECTORY_SEPARATOR . ($parameters['code'] ?? 'index') . '.html', $this->variables); + } +} diff --git a/mirzaev/site/virus/system/controllers/hotline_controller.php b/mirzaev/site/ff/system/controllers/hotline_controller.php similarity index 92% rename from mirzaev/site/virus/system/controllers/hotline_controller.php rename to mirzaev/site/ff/system/controllers/hotline_controller.php index e82cf7e..efa6899 100644 --- a/mirzaev/site/virus/system/controllers/hotline_controller.php +++ b/mirzaev/site/ff/system/controllers/hotline_controller.php @@ -1,82 +1,82 @@ - - */ -final class hotline_controller extends core -{ - /** - * Страница с бегущей строкой - * - * Можно использовать совместно с элементом