From 7d4687ba814948f67a1541dc162a30acace448fd Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sun, 14 Feb 2021 12:20:35 +0100 Subject: [PATCH] add debugbar & change link --- .idea/php.xml | 3 + .idea/portal.iml | 3 + composer.json | 1 + composer.lock | 217 +++++++++++++++++- .../views/Automation/AutomaticLinksHome.vue | 2 +- .../views/Automation/AutomaticMeteoHome.vue | 8 +- storage/debugbar/.gitignore | 2 + 7 files changed, 230 insertions(+), 6 deletions(-) create mode 100644 storage/debugbar/.gitignore diff --git a/.idea/php.xml b/.idea/php.xml index 14c0220..6e6a4de 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -142,6 +142,9 @@ + + + diff --git a/.idea/portal.iml b/.idea/portal.iml index 5c0c357..908d09a 100644 --- a/.idea/portal.iml +++ b/.idea/portal.iml @@ -141,6 +141,9 @@ + + + diff --git a/composer.json b/composer.json index dbdd97b..ca2afca 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "vlucas/phpdotenv": "^5.2" }, "require-dev": { + "barryvdh/laravel-debugbar": "^3.5", "facade/ignition": "^2.3.6", "fzaninotto/faker": "^1.9.1", "laravel/envoy": "^2.4", diff --git a/composer.lock b/composer.lock index ea25101..e8e76dd 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "f51590b74d0410ad1c177d6a310f09f0", + "content-hash": "0ac68f25c93b410c66b427c4f353bcee", "packages": [ { "name": "asm89/stack-cors", @@ -7156,6 +7156,87 @@ } ], "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.5.2", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "cae0a8d1cb89b0f0522f65e60465e16d738e069b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/cae0a8d1cb89b0f0522f65e60465e16d738e069b", + "reference": "cae0a8d1cb89b0f0522f65e60465e16d738e069b", + "shasum": "" + }, + "require": { + "illuminate/routing": "^6|^7|^8", + "illuminate/session": "^6|^7|^8", + "illuminate/support": "^6|^7|^8", + "maximebf/debugbar": "^1.16.3", + "php": ">=7.2", + "symfony/debug": "^4.3|^5", + "symfony/finder": "^4.3|^5" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^4|^5|^6", + "phpunit/phpunit": "^8.5|^9.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.5-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-debugbar/issues", + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.5.2" + }, + "funding": [ + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2021-01-06T14:21:44+00:00" + }, { "name": "doctrine/instantiator", "version": "1.4.0", @@ -7653,6 +7734,71 @@ }, "time": "2020-11-03T15:40:27+00:00" }, + { + "name": "maximebf/debugbar", + "version": "v1.16.5", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/6d51ee9e94cff14412783785e79a4e7ef97b9d62", + "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62", + "shasum": "" + }, + "require": { + "php": "^7.1|^8", + "psr/log": "^1.0", + "symfony/var-dumper": "^2.6|^3|^4|^5" + }, + "require-dev": { + "phpunit/phpunit": "^7.5.20 || ^9.4.2" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.16-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "support": { + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.5" + }, + "time": "2020-12-07T11:07:24+00:00" + }, { "name": "mockery/mockery", "version": "1.4.2", @@ -9402,6 +9548,75 @@ ], "time": "2020-09-22T15:23:39+00:00" }, + { + "name": "symfony/debug", + "version": "v4.4.19", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "af4987aa4a5630e9615be9d9c3ed1b0f24ca449c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/af4987aa4a5630e9615be9d9c3ed1b0f24ca449c", + "reference": "af4987aa4a5630e9615be9d9c3ed1b0f24ca449c", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "psr/log": "~1.0", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "^3.4|^4.0|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/debug/tree/v4.4.19" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-27T09:09:26+00:00" + }, { "name": "theseer/tokenizer", "version": "1.2.0", diff --git a/resources/js/views/Automation/AutomaticLinksHome.vue b/resources/js/views/Automation/AutomaticLinksHome.vue index 324b942..d23fdd1 100644 --- a/resources/js/views/Automation/AutomaticLinksHome.vue +++ b/resources/js/views/Automation/AutomaticLinksHome.vue @@ -21,7 +21,7 @@ export default { { name: 'MotionEye', link: 'http://192.168.1.32:8765'}, { name: 'TT-RSS', link: 'https://tt-rss.bricooli.fr'}, { name: 'Datus', link: 'https://192.168.1.24:5001'}, - { name: 'Pi-Hole', link: 'http://192.168.1.32/admin/index.php'}, + { name: 'Pi-Hole', link: 'http://192.168.1.38:8089/admin/index.php'}, { name: 'RaspAp', link: 'http://192.168.1.32/raspap'}, { name: 'Kodi', link: 'http://192.168.1.19:8080/'}, { name: 'RaspiWeb Adminer', link: 'http://192.168.1.32/adminer.php'}, diff --git a/resources/js/views/Automation/AutomaticMeteoHome.vue b/resources/js/views/Automation/AutomaticMeteoHome.vue index 10ac968..5a3e03b 100644 --- a/resources/js/views/Automation/AutomaticMeteoHome.vue +++ b/resources/js/views/Automation/AutomaticMeteoHome.vue @@ -9,10 +9,10 @@ {{ dateIt(captor.date_meteo) }}
- {{ floated(captor.temperature) }} °C - {{ floated(captor.humidite) }} % - {{ floated(captor.pression) }} hPa - {{ captor.lumiere }} + {{ floated(captor.temperature) }} °C + {{ floated(captor.humidite) }} % + {{ floated(captor.pression) }} hPa + {{ captor.lumiere }}
diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/debugbar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore