From e2dcadb23900519af98871ff83c1ec47fcd99028 Mon Sep 17 00:00:00 2001 From: Karl Hasselbring <Karl Hasselbring> Date: Mon, 4 Dec 2017 08:22:02 +0100 Subject: [PATCH] Refactoring: JS Dateien sortiert und weiteres --- composer.lock | 591 ++++++++++--------- public/js/searchbar.js | 383 ++++++++++++ resources/assets/js/focus-creator.js | 10 - resources/assets/js/searchbar.js | 14 + resources/assets/less/metager/searchbar.less | 36 +- resources/lang/de/index.php | 5 +- resources/views/parts/searchbar.blade.php | 28 +- 7 files changed, 764 insertions(+), 303 deletions(-) diff --git a/composer.lock b/composer.lock index 95a9e449d..01b1289be 100644 --- a/composer.lock +++ b/composer.lock @@ -9,33 +9,33 @@ "packages": [ { "name": "doctrine/inflector", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462", + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^6.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -72,25 +72,28 @@ "singularize", "string" ], - "time": "2015-11-06 14:35:42" + "time": "2017-07-22 12:18:28" }, { "name": "erusev/parsedown", - "version": "1.6.2", + "version": "1.6.4", "source": { "type": "git", "url": "https://github.com/erusev/parsedown.git", - "reference": "1bf24f7334fe16c88bf9d467863309ceaf285b01" + "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erusev/parsedown/zipball/1bf24f7334fe16c88bf9d467863309ceaf285b01", - "reference": "1bf24f7334fe16c88bf9d467863309ceaf285b01", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548", + "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548", "shasum": "" }, "require": { "php": ">=5.3.0" }, + "require-dev": { + "phpunit/phpunit": "^4.8.35" + }, "type": "library", "autoload": { "psr-0": { @@ -114,20 +117,20 @@ "markdown", "parser" ], - "time": "2017-03-29 16:04:15" + "time": "2017-11-14 20:44:03" }, { "name": "fideloper/proxy", - "version": "3.3.0", + "version": "3.3.4", "source": { "type": "git", "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "4ac60dbd4bcd6636bf231ea0fd87c40ece4bdce0" + "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/4ac60dbd4bcd6636bf231ea0fd87c40ece4bdce0", - "reference": "4ac60dbd4bcd6636bf231ea0fd87c40ece4bdce0", + "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f", + "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f", "shasum": "" }, "require": { @@ -136,12 +139,18 @@ }, "require-dev": { "illuminate/http": "~5.0", - "mockery/mockery": "~0.9.3" + "mockery/mockery": "~0.9.3", + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { "branch-alias": { "dev-master": "3.3-dev" + }, + "laravel": { + "providers": [ + "Fideloper\\Proxy\\TrustedProxyServiceProvider" + ] } }, "autoload": { @@ -165,20 +174,20 @@ "proxy", "trusted proxy" ], - "time": "2017-03-23 23:17:29" + "time": "2017-06-15 17:19:42" }, { "name": "guzzlehttp/guzzle", - "version": "6.2.3", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006" + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006", - "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699", "shasum": "" }, "require": { @@ -188,9 +197,12 @@ }, "require-dev": { "ext-curl": "*", - "phpunit/phpunit": "^4.0", + "phpunit/phpunit": "^4.0 || ^5.0", "psr/log": "^1.0" }, + "suggest": { + "psr/log": "Required for using the Log middleware" + }, "type": "library", "extra": { "branch-alias": { @@ -227,7 +239,7 @@ "rest", "web service" ], - "time": "2017-02-28 22:50:30" + "time": "2017-06-22 18:50:49" }, { "name": "guzzlehttp/promises", @@ -347,23 +359,24 @@ }, { "name": "jaybizzle/crawler-detect", - "version": "v1.2.40", + "version": "v1.2.54", "source": { "type": "git", "url": "https://github.com/JayBizzle/Crawler-Detect.git", - "reference": "c5c0f049264edcf6499847c756dc36e51a072313" + "reference": "9af25770d9382917b680009a88497162405bbe48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/c5c0f049264edcf6499847c756dc36e51a072313", - "reference": "c5c0f049264edcf6499847c756dc36e51a072313", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/9af25770d9382917b680009a88497162405bbe48", + "reference": "9af25770d9382917b680009a88497162405bbe48", "shasum": "" }, "require": { "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "4.8.*", + "satooshi/php-coveralls": "1.*" }, "type": "library", "autoload": { @@ -391,24 +404,23 @@ "crawlerdetect", "php crawler detect" ], - "time": "2017-04-20 18:58:25" + "time": "2017-10-28 13:05:55" }, { "name": "jenssegers/agent", - "version": "v2.5.1", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/jenssegers/agent.git", - "reference": "68bef4f773933d33f9b6c8d1f2ff002f97a65b0b" + "reference": "df71082ed2a95fc8a82ba30832ccf72df939f02a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jenssegers/agent/zipball/68bef4f773933d33f9b6c8d1f2ff002f97a65b0b", - "reference": "68bef4f773933d33f9b6c8d1f2ff002f97a65b0b", + "url": "https://api.github.com/repos/jenssegers/agent/zipball/df71082ed2a95fc8a82ba30832ccf72df939f02a", + "reference": "df71082ed2a95fc8a82ba30832ccf72df939f02a", "shasum": "" }, "require": { - "illuminate/support": "^4.0|^5.0", "jaybizzle/crawler-detect": "^1.2", "mobiledetect/mobiledetectlib": "^2.7.6", "php": ">=5.4.0" @@ -421,6 +433,14 @@ "extra": { "branch-alias": { "dev-master": "3.0-dev" + }, + "laravel": { + "providers": [ + "Jenssegers\\Agent\\AgentServiceProvider" + ], + "aliases": { + "Agent": "Jenssegers\\Agent\\Facades\\Agent" + } } }, "autoload": { @@ -450,24 +470,24 @@ "user agent", "useragent" ], - "time": "2017-03-12 09:58:22" + "time": "2017-11-10 10:35:35" }, { "name": "laravel/framework", - "version": "v5.4.21", + "version": "v5.4.36", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "2ed668f96d1a6ca42f50d5c87ee9ceecfc0a6eee" + "reference": "1062a22232071c3e8636487c86ec1ae75681bbf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/2ed668f96d1a6ca42f50d5c87ee9ceecfc0a6eee", - "reference": "2ed668f96d1a6ca42f50d5c87ee9ceecfc0a6eee", + "url": "https://api.github.com/repos/laravel/framework/zipball/1062a22232071c3e8636487c86ec1ae75681bbf9", + "reference": "1062a22232071c3e8636487c86ec1ae75681bbf9", "shasum": "" }, "require": { - "doctrine/inflector": "~1.0", + "doctrine/inflector": "~1.1", "erusev/parsedown": "~1.6", "ext-mbstring": "*", "ext-openssl": "*", @@ -579,20 +599,20 @@ "framework", "laravel" ], - "time": "2017-04-28 15:40:01" + "time": "2017-08-30 09:26:16" }, { "name": "league/flysystem", - "version": "1.0.40", + "version": "1.0.41", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "3828f0b24e2c1918bb362d57a53205d6dc8fde61" + "reference": "f400aa98912c561ba625ea4065031b7a41e5a155" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3828f0b24e2c1918bb362d57a53205d6dc8fde61", - "reference": "3828f0b24e2c1918bb362d57a53205d6dc8fde61", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f400aa98912c561ba625ea4065031b7a41e5a155", + "reference": "f400aa98912c561ba625ea4065031b7a41e5a155", "shasum": "" }, "require": { @@ -613,13 +633,13 @@ "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-copy": "Allows you to use Copy.com storage", "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", "league/flysystem-webdav": "Allows you to use WebDAV storage", "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage" + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" }, "type": "library", "extra": { @@ -662,31 +682,44 @@ "sftp", "storage" ], - "time": "2017-04-28 10:15:08" + "time": "2017-08-06 17:41:04" }, { "name": "mcamara/laravel-localization", - "version": "v1.2.4", + "version": "1.3.3", "source": { "type": "git", "url": "https://github.com/mcamara/laravel-localization.git", - "reference": "29f9ea25bbb97888aa4e0c0e36787b0f80b9920f" + "reference": "e9842855939ffb4dde9ecbb8839a08fd6d6bc42f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/29f9ea25bbb97888aa4e0c0e36787b0f80b9920f", - "reference": "29f9ea25bbb97888aa4e0c0e36787b0f80b9920f", + "url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/e9842855939ffb4dde9ecbb8839a08fd6d6bc42f", + "reference": "e9842855939ffb4dde9ecbb8839a08fd6d6bc42f", "shasum": "" }, "require": { - "laravel/framework": "~5.2", - "php": ">=5.6.0" + "laravel/framework": "~5.2||~5.3||~5.4||~5.5", + "php": ">=7.0.0" }, "require-dev": { "orchestra/testbench-browser-kit": "~3.4", - "phpunit/phpunit": "5.4.*" + "phpunit/phpunit": "6.0.*" + }, + "suggest": { + "ext-intl": "*" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Mcamara\\LaravelLocalization\\LaravelLocalizationServiceProvider" + ], + "aliases": { + "LaravelLocalization": "Mcamara\\LaravelLocalization\\Facades\\LaravelLocalization" + } + } + }, "autoload": { "classmap": [], "psr-0": { @@ -711,20 +744,20 @@ "localization", "php" ], - "time": "2017-04-25 15:27:29" + "time": "2017-11-11 13:24:49" }, { "name": "mobiledetect/mobiledetectlib", - "version": "2.8.25", + "version": "2.8.26", "source": { "type": "git", "url": "https://github.com/serbanghita/Mobile-Detect.git", - "reference": "f0896b5c7274d1450023b0b376240be902c3251c" + "reference": "a0ed86c9d7c04ae27fa6418b55e3beb04dfe3297" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/f0896b5c7274d1450023b0b376240be902c3251c", - "reference": "f0896b5c7274d1450023b0b376240be902c3251c", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/a0ed86c9d7c04ae27fa6418b55e3beb04dfe3297", + "reference": "a0ed86c9d7c04ae27fa6418b55e3beb04dfe3297", "shasum": "" }, "require": { @@ -763,20 +796,20 @@ "mobile detector", "php mobile detect" ], - "time": "2017-03-29 13:59:30" + "time": "2017-08-29 18:23:54" }, { "name": "monolog/monolog", - "version": "1.22.1", + "version": "1.23.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0" + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0", - "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4", "shasum": "" }, "require": { @@ -797,7 +830,7 @@ "phpunit/phpunit-mock-objects": "2.3.0", "ruflin/elastica": ">=0.90 <3.0", "sentry/sentry": "^0.13", - "swiftmailer/swiftmailer": "~5.3" + "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -841,11 +874,11 @@ "logging", "psr-3" ], - "time": "2017-03-13 07:08:03" + "time": "2017-06-19 01:22:40" }, { "name": "mtdowling/cron-expression", - "version": "v1.2.0", + "version": "v1.2.1", "source": { "type": "git", "url": "https://github.com/mtdowling/cron-expression.git", @@ -942,16 +975,16 @@ }, { "name": "paragonie/random_compat", - "version": "v2.0.10", + "version": "v2.0.11", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d" + "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/5da4d3c796c275c55f057af5a643ae297d96b4d8", + "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8", "shasum": "" }, "require": { @@ -986,20 +1019,20 @@ "pseudorandom", "random" ], - "time": "2017-03-13 16:27:32" + "time": "2017-09-27 21:40:39" }, { "name": "piwik/piwik-php-tracker", - "version": "1.2.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/piwik/piwik-php-tracker.git", - "reference": "5f435290eb8a82b14630882c6e52520eef13f883" + "reference": "f9a0168c87f01f2d5de95029a1ba0d1fd6c3d5ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/piwik/piwik-php-tracker/zipball/5f435290eb8a82b14630882c6e52520eef13f883", - "reference": "5f435290eb8a82b14630882c6e52520eef13f883", + "url": "https://api.github.com/repos/piwik/piwik-php-tracker/zipball/f9a0168c87f01f2d5de95029a1ba0d1fd6c3d5ab", + "reference": "f9a0168c87f01f2d5de95029a1ba0d1fd6c3d5ab", "shasum": "" }, "type": "library", @@ -1026,7 +1059,7 @@ "piwik", "tracker" ], - "time": "2017-02-18 09:41:30" + "time": "2017-11-09 03:20:23" }, { "name": "predis/predis", @@ -1177,16 +1210,16 @@ }, { "name": "ramsey/uuid", - "version": "3.6.1", + "version": "3.7.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "4ae32dd9ab8860a4bbd750ad269cba7f06f7934e" + "reference": "45cffe822057a09e05f7bd09ec5fb88eeecd2334" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/4ae32dd9ab8860a4bbd750ad269cba7f06f7934e", - "reference": "4ae32dd9ab8860a4bbd750ad269cba7f06f7934e", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/45cffe822057a09e05f7bd09ec5fb88eeecd2334", + "reference": "45cffe822057a09e05f7bd09ec5fb88eeecd2334", "shasum": "" }, "require": { @@ -1255,20 +1288,20 @@ "identifier", "uuid" ], - "time": "2017-03-26 20:37:53" + "time": "2017-09-22 20:46:04" }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.7", + "version": "v5.4.8", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4" + "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4", - "reference": "56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/9a06dc570a0367850280eefd3f1dc2da45aef517", + "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517", "shasum": "" }, "require": { @@ -1309,29 +1342,34 @@ "mail", "mailer" ], - "time": "2017-04-20 17:32:18" + "time": "2017-05-01 15:54:03" }, { "name": "symfony/console", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38" + "reference": "63cd7960a0a522c3537f6326706d7f3b8de65805" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", - "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", + "url": "https://api.github.com/repos/symfony/console/zipball/63cd7960a0a522c3537f6326706d7f3b8de65805", + "reference": "63cd7960a0a522c3537f6326706d7f3b8de65805", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "symfony/debug": "~2.8|~3.0", "symfony/polyfill-mbstring": "~1.0" }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, "require-dev": { "psr/log": "~1.0", + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", "symfony/event-dispatcher": "~2.8|~3.0", "symfony/filesystem": "~2.8|~3.0", "symfony/process": "~2.8|~3.0" @@ -1345,7 +1383,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1372,7 +1410,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-04-26 01:39:17" + "time": "2017-11-16 15:24:32" }, { "name": "symfony/css-selector", @@ -1429,33 +1467,32 @@ }, { "name": "symfony/debug", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686" + "reference": "74557880e2846b5c84029faa96b834da37e29810" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/fd6eeee656a5a7b384d56f1072243fe1c0e81686", - "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686", + "url": "https://api.github.com/repos/symfony/debug/zipball/74557880e2846b5c84029faa96b834da37e29810", + "reference": "74557880e2846b5c84029faa96b834da37e29810", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "psr/log": "~1.0" }, "conflict": { "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { - "symfony/class-loader": "~2.8|~3.0", "symfony/http-kernel": "~2.8|~3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1482,29 +1519,32 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-04-19 20:17:50" + "time": "2017-11-10 16:38:39" }, { "name": "symfony/event-dispatcher", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "b8a401f733b43251e1d088c589368b2a94155e40" + "reference": "271d8c27c3ec5ecee6e2ac06016232e249d638d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b8a401f733b43251e1d088c589368b2a94155e40", - "reference": "b8a401f733b43251e1d088c589368b2a94155e40", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/271d8c27c3ec5ecee6e2ac06016232e249d638d9", + "reference": "271d8c27c3ec5ecee6e2ac06016232e249d638d9", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": "^5.5.9|>=7.0.8" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" }, "require-dev": { "psr/log": "~1.0", "symfony/config": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", "symfony/expression-language": "~2.8|~3.0", "symfony/stopwatch": "~2.8|~3.0" }, @@ -1515,7 +1555,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1542,29 +1582,29 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2017-05-01 14:58:48" + "time": "2017-11-05 15:47:03" }, { "name": "symfony/finder", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930" + "reference": "138af5ec075d4b1d1bd19de08c38a34bb2d7d880" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", - "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", + "url": "https://api.github.com/repos/symfony/finder/zipball/138af5ec075d4b1d1bd19de08c38a34bb2d7d880", + "reference": "138af5ec075d4b1d1bd19de08c38a34bb2d7d880", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": "^5.5.9|>=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1591,24 +1631,24 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2017-04-12 14:13:17" + "time": "2017-11-05 15:47:03" }, { "name": "symfony/http-foundation", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "9de6add7f731e5af7f5b2e9c0da365e43383ebef" + "reference": "5943f0f19817a7e05992d20a90729b0dc93faf36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9de6add7f731e5af7f5b2e9c0da365e43383ebef", - "reference": "9de6add7f731e5af7f5b2e9c0da365e43383ebef", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5943f0f19817a7e05992d20a90729b0dc93faf36", + "reference": "5943f0f19817a7e05992d20a90729b0dc93faf36", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { @@ -1617,7 +1657,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1644,39 +1684,43 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2017-05-01 14:55:58" + "time": "2017-11-13 18:13:16" }, { "name": "symfony/http-kernel", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "46e8b209abab55c072c47d72d5cd1d62c0585e05" + "reference": "a2a942172b742217ab2ccd9399494af2aa17c766" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/46e8b209abab55c072c47d72d5cd1d62c0585e05", - "reference": "46e8b209abab55c072c47d72d5cd1d62c0585e05", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a2a942172b742217ab2ccd9399494af2aa17c766", + "reference": "a2a942172b742217ab2ccd9399494af2aa17c766", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "psr/log": "~1.0", "symfony/debug": "~2.8|~3.0", "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/http-foundation": "~2.8.13|~3.1.6|~3.2" + "symfony/http-foundation": "^3.3.11" }, "conflict": { - "symfony/config": "<2.8" + "symfony/config": "<2.8", + "symfony/dependency-injection": "<3.3", + "symfony/var-dumper": "<3.3", + "twig/twig": "<1.34|<2.4,>=2" }, "require-dev": { + "psr/cache": "~1.0", "symfony/browser-kit": "~2.8|~3.0", "symfony/class-loader": "~2.8|~3.0", "symfony/config": "~2.8|~3.0", "symfony/console": "~2.8|~3.0", "symfony/css-selector": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", "symfony/dom-crawler": "~2.8|~3.0", "symfony/expression-language": "~2.8|~3.0", "symfony/finder": "~2.8|~3.0", @@ -1685,7 +1729,7 @@ "symfony/stopwatch": "~2.8|~3.0", "symfony/templating": "~2.8|~3.0", "symfony/translation": "~2.8|~3.0", - "symfony/var-dumper": "~3.2" + "symfony/var-dumper": "~3.3" }, "suggest": { "symfony/browser-kit": "", @@ -1699,7 +1743,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1726,20 +1770,20 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2017-05-01 17:46:48" + "time": "2017-11-16 18:14:43" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", + "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", "shasum": "" }, "require": { @@ -1751,7 +1795,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.6-dev" } }, "autoload": { @@ -1785,29 +1829,29 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2017-10-11 12:05:26" }, { "name": "symfony/process", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "999c2cf5061e627e6cd551dc9ebf90dd1d11d9f0" + "reference": "a56a3989fb762d7b19a0cf8e7693ee99a6ffb78d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/999c2cf5061e627e6cd551dc9ebf90dd1d11d9f0", - "reference": "999c2cf5061e627e6cd551dc9ebf90dd1d11d9f0", + "url": "https://api.github.com/repos/symfony/process/zipball/a56a3989fb762d7b19a0cf8e7693ee99a6ffb78d", + "reference": "a56a3989fb762d7b19a0cf8e7693ee99a6ffb78d", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": "^5.5.9|>=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1834,36 +1878,39 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2017-04-12 14:13:17" + "time": "2017-11-13 15:31:11" }, { "name": "symfony/routing", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "5029745d6d463585e8b487dbc83d6333f408853a" + "reference": "cf7fa1dfcfee2c96969bfa1c0341e5627ecb1e95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/5029745d6d463585e8b487dbc83d6333f408853a", - "reference": "5029745d6d463585e8b487dbc83d6333f408853a", + "url": "https://api.github.com/repos/symfony/routing/zipball/cf7fa1dfcfee2c96969bfa1c0341e5627ecb1e95", + "reference": "cf7fa1dfcfee2c96969bfa1c0341e5627ecb1e95", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": "^5.5.9|>=7.0.8" }, "conflict": { - "symfony/config": "<2.8" + "symfony/config": "<2.8", + "symfony/dependency-injection": "<3.3", + "symfony/yaml": "<3.3" }, "require-dev": { "doctrine/annotations": "~1.0", "doctrine/common": "~2.2", "psr/log": "~1.0", "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", "symfony/expression-language": "~2.8|~3.0", "symfony/http-foundation": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" + "symfony/yaml": "~3.3" }, "suggest": { "doctrine/annotations": "For using the annotation loader", @@ -1876,7 +1923,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1909,34 +1956,35 @@ "uri", "url" ], - "time": "2017-04-12 14:13:17" + "time": "2017-11-07 14:16:22" }, { "name": "symfony/translation", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "f4a04d2df710f81515df576b2de06bdeee518b83" + "reference": "373e553477e55cd08f8b86b74db766c75b987fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/f4a04d2df710f81515df576b2de06bdeee518b83", - "reference": "f4a04d2df710f81515df576b2de06bdeee518b83", + "url": "https://api.github.com/repos/symfony/translation/zipball/373e553477e55cd08f8b86b74db766c75b987fdb", + "reference": "373e553477e55cd08f8b86b74db766c75b987fdb", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/config": "<2.8" + "symfony/config": "<2.8", + "symfony/yaml": "<3.3" }, "require-dev": { "psr/log": "~1.0", "symfony/config": "~2.8|~3.0", "symfony/intl": "^2.8.18|^3.2.5", - "symfony/yaml": "~2.8|~3.0" + "symfony/yaml": "~3.3" }, "suggest": { "psr/log": "To use logging capability in translator", @@ -1946,7 +1994,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1973,24 +2021,24 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2017-04-12 14:13:17" + "time": "2017-11-07 14:12:55" }, { "name": "symfony/var-dumper", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "fa47963ac7979ddbd42b2d646d1b056bddbf7bb8" + "reference": "805de6bd6869073e60610df1b14ab7d969c61b01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/fa47963ac7979ddbd42b2d646d1b056bddbf7bb8", - "reference": "fa47963ac7979ddbd42b2d646d1b056bddbf7bb8", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/805de6bd6869073e60610df1b14ab7d969c61b01", + "reference": "805de6bd6869073e60610df1b14ab7d969c61b01", "shasum": "" }, "require": { - "php": ">=5.5.9", + "php": "^5.5.9|>=7.0.8", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -1998,7 +2046,7 @@ }, "require-dev": { "ext-iconv": "*", - "twig/twig": "~1.20|~2.0" + "twig/twig": "~1.34|~2.4" }, "suggest": { "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", @@ -2007,7 +2055,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2041,7 +2089,7 @@ "debug", "dump" ], - "time": "2017-05-01 14:55:58" + "time": "2017-11-07 14:16:22" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -2198,29 +2246,31 @@ }, { "name": "fzaninotto/faker", - "version": "v1.6.0", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123" + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/44f9a286a04b80c76a4e5fb7aad8bb539b920123", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", "shasum": "" }, "require": { - "php": "^5.3.3|^7.0" + "php": "^5.3.3 || ^7.0" }, "require-dev": { "ext-intl": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" + "phpunit/phpunit": "^4.0 || ^5.0", + "squizlabs/php_codesniffer": "^1.5" }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "1.8-dev" + } }, "autoload": { "psr-4": { @@ -2242,7 +2292,7 @@ "faker", "fixtures" ], - "time": "2016-04-29 12:21:54" + "time": "2017-08-15 16:48:10" }, { "name": "hamcrest/hamcrest-php", @@ -2356,37 +2406,40 @@ }, { "name": "myclabs/deep-copy", - "version": "1.6.1", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" - } + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", - "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -2394,20 +2447,20 @@ "object", "object graph" ], - "time": "2017-04-12 18:52:22" + "time": "2017-10-19 19:58:43" }, { "name": "phpdocumentor/reflection-common", - "version": "1.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", "shasum": "" }, "require": { @@ -2448,33 +2501,39 @@ "reflection", "static analysis" ], - "time": "2015-12-27 11:43:31" + "time": "2017-09-11 18:02:19" }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "reference": "66465776cfc249844bde6d117abff1d22e06c2da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/66465776cfc249844bde6d117abff1d22e06c2da", + "reference": "66465776cfc249844bde6d117abff1d22e06c2da", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0.0", + "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "doctrine/instantiator": "~1.0.5", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.4" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, "autoload": { "psr-4": { "phpDocumentor\\Reflection\\": [ @@ -2493,24 +2552,24 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30 07:12:33" + "time": "2017-11-27 17:38:31" }, { "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "version": "0.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "shasum": "" }, "require": { - "php": ">=5.5", + "php": "^5.5 || ^7.0", "phpdocumentor/reflection-common": "^1.0" }, "require-dev": { @@ -2540,37 +2599,37 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25 06:54:22" + "time": "2017-07-14 14:27:02" }, { "name": "phpspec/prophecy", - "version": "v1.7.0", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" + "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", + "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", "sebastian/comparator": "^1.1|^2.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.7.x-dev" } }, "autoload": { @@ -2603,7 +2662,7 @@ "spy", "stub" ], - "time": "2017-03-02 20:05:34" + "time": "2017-11-24 13:59:53" }, { "name": "phpunit/php-code-coverage", @@ -2670,16 +2729,16 @@ }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", "shasum": "" }, "require": { @@ -2713,7 +2772,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2017-11-27 13:52:08" }, { "name": "phpunit/php-text-template", @@ -2807,29 +2866,29 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.11", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + "reference": "791198a2c6254db10131eecfe8c06670700904db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", + "reference": "791198a2c6254db10131eecfe8c06670700904db", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^6.2.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2852,20 +2911,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-27 10:12:30" + "time": "2017-11-27 05:48:46" }, { "name": "phpunit/phpunit", - "version": "5.7.19", + "version": "5.7.25", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "69c4f49ff376af2692bad9cebd883d17ebaa98a1" + "reference": "4b1c822a68ae6577df38a59eb49b046712ec0f6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/69c4f49ff376af2692bad9cebd883d17ebaa98a1", - "reference": "69c4f49ff376af2692bad9cebd883d17ebaa98a1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b1c822a68ae6577df38a59eb49b046712ec0f6a", + "reference": "4b1c822a68ae6577df38a59eb49b046712ec0f6a", "shasum": "" }, "require": { @@ -2883,14 +2942,14 @@ "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^3.2", "sebastian/comparator": "^1.2.4", - "sebastian/diff": "~1.2", + "sebastian/diff": "^1.4.3", "sebastian/environment": "^1.3.4 || ^2.0", "sebastian/exporter": "~2.0", "sebastian/global-state": "^1.1", "sebastian/object-enumerator": "~2.0", "sebastian/resource-operations": "~1.0", "sebastian/version": "~1.0.3|~2.0", - "symfony/yaml": "~2.1|~3.0" + "symfony/yaml": "~2.1|~3.0|~4.0" }, "conflict": { "phpdocumentor/reflection-docblock": "3.0.2" @@ -2934,20 +2993,20 @@ "testing", "xunit" ], - "time": "2017-04-03 02:22:27" + "time": "2017-11-14 14:50:51" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24" + "reference": "a23b761686d50a560cc56233b9ecf49597cc9118" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118", + "reference": "a23b761686d50a560cc56233b9ecf49597cc9118", "shasum": "" }, "require": { @@ -2993,7 +3052,7 @@ "mock", "xunit" ], - "time": "2016-12-08 20:27:08" + "time": "2017-06-30 09:13:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -3106,23 +3165,23 @@ }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", "extra": { @@ -3154,7 +3213,7 @@ "keywords": [ "diff" ], - "time": "2015-12-08 07:14:41" + "time": "2017-05-22 07:24:03" }, { "name": "sebastian/environment", @@ -3566,20 +3625,20 @@ }, { "name": "symfony/yaml", - "version": "v3.2.8", + "version": "v3.3.13", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6" + "reference": "0938408c4faa518d95230deabb5f595bf0de31b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/acec26fcf7f3031e094e910b94b002fa53d4e4d6", - "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6", + "url": "https://api.github.com/repos/symfony/yaml/zipball/0938408c4faa518d95230deabb5f595bf0de31b9", + "reference": "0938408c4faa518d95230deabb5f595bf0de31b9", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": "^5.5.9|>=7.0.8" }, "require-dev": { "symfony/console": "~2.8|~3.0" @@ -3590,7 +3649,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -3617,7 +3676,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-05-01 14:55:58" + "time": "2017-11-10 18:26:04" }, { "name": "webmozart/assert", diff --git a/public/js/searchbar.js b/public/js/searchbar.js index fbac8eef8..7dc53ee6d 100644 --- a/public/js/searchbar.js +++ b/public/js/searchbar.js @@ -1,5 +1,6 @@ $(function () { loadLocalStorage(); + setSearchbarActionListeners(); }); /** @@ -11,6 +12,10 @@ function loadLocalStorage () { } } +function setSearchbarActionListeners () { + $('#toggleOptBtn').click(toggleOptionsDialog); +} + function setSettings () { var acceptedParams = ['autocomplete', 'key', 'lang', 'newtab', 'sprueche']; for (var key in localStorage) { @@ -38,4 +43,382 @@ function setSettings () { } } +function toggleOptionsDialog () { + var btnMode = $('#toggleOptBtn').attr('data-mode'); + if (btnMode == 'o') { + openOptionsDialog(); + } else { + closeOptionsDialog(); + } +} + +$(function () { + setFocusCreatorActionListeners(); + loadInitialCustomFocuses(); + loadInitialSelectedFocus(); + focusChanged(); +}); + +/** + * Sets all action listeners for this page + */ +function setFocusCreatorActionListeners () { + $('.focusCheckbox').click(checkboxCheckListener); + $('#addFocusBtn').click(() => showFocusCreateDialog('')); + $('#editFocusBtn').click(editCurrentFocus); + $('.save-focus-btn').click(saveFocus); + $('.delete-focus-btn').click(deleteFocus); + $('#focus-select').change(focusChanged); + // Save Focus on clicking enter while in the focus name input + $('#focus-name').keyup(function (event) { + if (event.keyCode == 13) { + saveFocus(); + } + }); + $('#create-focus-modal').on('shown.bs.modal', function () { + $('#focus-name').focus(); + }); +} +/** + * Loads all the custom focuses stored in local storage + */ +function loadInitialCustomFocuses () { + for (var key in localStorage) { + if (key.startsWith('focus_')) { + var focus = loadFocusById(key); + addFocus(focus.name); + } + } +} + +function loadInitialSelectedFocus () { + setFocus(getFocusInUrl()); +} + +/** + * Shows the focus create dialog + * If an id is given it will try to load a focus for the given id + */ +function showFocusCreateDialog (id) { + if (id === undefined) { + id = ''; + } + document.getElementById('original-id').value = id; + $('#create-focus-modal').modal('show'); + var storedFocus = loadFocusById(id); + var focus = {}; + // Try to load a focus for the given id + $('#focus-name').val(''); + uncheckAll(); + if (storedFocus !== null) { + try { + focus = JSON.parse(localStorage.getItem(id)); + $('#focus-name').val(focus.name); + for (var key in focus) { + if (key.startsWith('engine_')) { + $('.focusCheckbox[name=' + key + ']').prop('checked', true); + } + } + } catch (ex) { + console.error(ex); + } + } + toggleDeleteButton(); +} + +/** + * Shows the focus create dialog for a given id + */ +function showFocusEditDialog (id) { + showFocusCreateDialog(id); +} + +function getCurrentFocus () { + return document.getElementById('focus-select').value; +} + +/** + * Shows an edit dialog for the current selected focus + */ +function editCurrentFocus () { + var currentFocus = getCurrentFocus(); + showFocusEditDialog(currentFocus); +} + +/** + * Shows/Hides the delete button if (no) checkboxes are selected + */ +function toggleDeleteButton () { + if (atLeastOneChecked()) { + $('.delete-focus-btn').show(); + } else { + $('.delete-focus-btn').hide(); + } +} + +/** + * Save the current Focus + * Listens for save button + */ +function saveFocus () { + /* Vorprüfungen */ + // Falls keine Suchmaschine ausgewählt wurde + if (!atLeastOneChecked()) { + switch (document.documentElement.lang) { + case 'en': + alert('Please select at least 1 search engine.'); + break; + case 'es': + alert('Por favor, seleccione al menos un motor de búsqueda.'); + break; + default: + alert('Bitte mindestens 1 Suchmaschine auswählen.'); + break; + } + return; + } + // Falls der Name zu kurz ist oder ungültige Zeichen enthält + var name = document.getElementById('focus-name').value; + if (!isValidName(name)) { + switch (document.documentElement.lang) { + case 'en': + alert('No characters other than a-z, A-Z, 0-9, ä, ö, ü, ß, -, _ allowed, at least 1 character'); + break; + case 'es': + alert('Por favor, introduzca un nombre válido'); + break; + default: + alert('Bitte gültigen Namen eingeben:\n* Keine Sonderzeichen\n* Mindestens 1 Buchstabe\n'); + break; + } + return; + } + // Liest die original-id des aktuellen fokus-dialogs (gesetzt wenn man einen Fokus bearbeitet) + var oldId = document.getElementById('original-id').value; + var id = getIdFromName(name); + var overwrite = true; + // Wenn bereits ein Fokus mit dem Namen existiert, man diesen aber nicht editiert sondern gerade einen Neuen erstellt + if (alreadyInUse(name) && oldId !== id) { + // Fragt den Nutzer ob er den Fokus überschreiben möchte + if (!confirm('Name bereits genutzt\nüberschreiben?')) { + // Falls nicht wird das Speichern abgebrochen + return; + } + // Ansonsten wird der andere Fokus gelöscht + deleteFocusById(id); + } + /* Fokus speichern */ + var focus = {}; + // Ausgewählte Suchmaschinen lesen und zu Fokus hinzufügen + $('input[type=checkbox]:checked').each(function (el) { + focus[$(this).attr('name')] = $(this).val(); + }); + + // Name setzen + focus['name'] = name; + // Alte Version des Fokus löschen (aus localStorage und von der Webseite, falls eine existiert) + if (oldId !== '') { + localStorage.removeItem(oldId); + removeFocusById(oldId); + } + // Neue Version des Fokus hinzufügen (zu localStorage und der Webseite) + localStorage.setItem(id, JSON.stringify(focus)); + addFocus(name); + setFocus(id); + // Fokus-Formular verbergen + $('#create-focus-modal').modal('hide'); +} + +/** + * Delete current Focus + * Listens for delete button + */ +function deleteFocusById (id) { + localStorage.removeItem(id); + removeFocusById(id); + $('#focus-select').change(); +} + +/** + * Delete current Focus + * Listens for delete button + */ +function deleteFocus () { + var oldId = document.getElementById('original-id').value; + deleteFocusById(oldId); + $('#create-focus-modal').modal('hide'); + $('#focus-select').change(); +} + +/** + * Is the name valid (in terms of characters)? + */ +function isValidName (name) { + // no Characters other then a-z, A-Z, 0-9, ä, ö, ü, ß, -, _ allowed + // at least 1 character + return /^[a-zA-Z0-9äöüß\-_ ]+$/.test(name); +} + +/** + * Is at least one focus selected? + */ +function atLeastOneChecked () { + return $('.focusCheckbox:checked').length > 0; +} + +/** + * Is there already a focus with this name? + */ +function alreadyInUse (name) { + return localStorage.hasOwnProperty(getIdFromName(name)); +} + +/** + * Adds an option to the focus selector + */ +function addFocus (name) { + var id = getIdFromName(name); + $('#focus-select').append('<option value="' + id + '" style="font-family: FontAwesome, sans-serif;"> ' + name + '</option>'); +} + +/** + * Remove the focuses html-elements + */ +function removeFocus (name) { + removeFocusById(getIdFromName(name)); +} + +/** + * Remove the focuses html-elements + */ +function removeFocusById (id) { + if (id == '') { + return; + } + $('#focus-select option[value="' + id + '"]').remove(); +} + +/** + * Turns a name into an id + * Converts special characters and spaces + */ +function getIdFromName (name) { + name = name.toLowerCase(); + name = name.split(' ').join('_'); + name = name.split('ä').join('ae'); + name = name.split('ö').join('oe'); + name = name.split('ü').join('ue'); + return 'focus_' + name; +} + +/** + * Loads the focus object for the given id from local storage + */ +function loadFocusById (id) { + return JSON.parse(localStorage.getItem(id)); +} + +/** + * Unchecks all focuses from the focus creator dialog + */ +function uncheckAll () { + $('.focusCheckbox').prop('checked', false); +} + +/** + * Sets the selected focus to default + */ +function setFocusToDefault () { + setFocus(DEFAULT_FOCUS); +} + +/** + * Sets the selected focus + * @param {String} focusID The id of the focus, without # + */ +function setFocus (focusID) { + $('#focus-select option[value="' + focusID + '"]').prop('selected', true); + $('#focus-select').change(); +} + +function focusChanged () { + var selectedFocus = getCurrentFocus(); + if (focusIsEditable(selectedFocus)) { + enableEditFocusBtn(); + } else { + disableEditFocusBtn(); + } + loadFocusForSearch(selectedFocus); +} + +function focusIsEditable (focus) { + if (focus.startsWith('focus_')) { + return true; + } else { + return false; + } +} + +function enableEditFocusBtn () { + $('#editFocusBtn').removeClass('disabled').click(editCurrentFocus); +} + +function disableEditFocusBtn () { + $('#editFocusBtn').addClass('disabled').off('click'); +} + +function loadFocusForSearch (focus) { + var focus = loadFocusById(focus); + clearCustomSearch(); + for (var key in focus) { + if (key.startsWith('engine_') && focus[key] == 'on') { + addSumaToCustomSearch(key); + } + } +} + +function clearCustomSearch () { + $('.search-custom-hidden').empty(); +} + +function addSumaToCustomSearch (sumaId) { + $('.search-custom-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">'); +} + +function getFocusInUrl () { + var url = window.location; + var focReg = /focus=(focus_\w+)/.exec(url); + if (focReg && focReg[1]) { + return focReg[1]; + } +} + +function openOptionsDialog () { + $('#toggleOptBtn').html('<i class="fa fa-chevron-up" aria-hidden="true"></i>'); + $('#toggleOptBtn').attr('data-mode', 'c'); + $('.search-option-frame').removeClass('hide'); +} + +function closeOptionsDialog () { + $('#toggleOptBtn').html('<i class="fa fa-chevron-down" aria-hidden="true"></i>'); + $('#toggleOptBtn').attr('data-mode', 'o'); + $('.search-option-frame').addClass('hide'); +} + +function checkboxCheckListener (event) { + toggleDeleteButton(); + var elem = event.target; + if (elem.name) { + if (elem.checked) { + setCheckedForAllWithName(elem.name, true); + } else { + setCheckedForAllWithName(elem.name, false); + } + } +} + +function setCheckedForAllWithName (name, checked) { + $('.focusCheckbox[name=' + name + ']').prop('checked', checked); +} + //# sourceMappingURL=searchbar.js.map diff --git a/resources/assets/js/focus-creator.js b/resources/assets/js/focus-creator.js index 19e43286f..d2ee8d136 100644 --- a/resources/assets/js/focus-creator.js +++ b/resources/assets/js/focus-creator.js @@ -12,7 +12,6 @@ function setFocusCreatorActionListeners () { $('.focusCheckbox').click(checkboxCheckListener); $('#addFocusBtn').click(() => showFocusCreateDialog('')); $('#editFocusBtn').click(editCurrentFocus); - $('#toggleOptBtn').click(toggleOptionsDialog); $('.save-focus-btn').click(saveFocus); $('.delete-focus-btn').click(deleteFocus); $('#focus-select').change(focusChanged); @@ -340,15 +339,6 @@ function getFocusInUrl () { } } -function toggleOptionsDialog () { - var btnMode = $('#toggleOptBtn').attr('data-mode'); - if (btnMode == 'o') { - openOptionsDialog(); - } else { - closeOptionsDialog(); - } -} - function openOptionsDialog () { $('#toggleOptBtn').html('<i class="fa fa-chevron-up" aria-hidden="true"></i>'); $('#toggleOptBtn').attr('data-mode', 'c'); diff --git a/resources/assets/js/searchbar.js b/resources/assets/js/searchbar.js index e1ed7e291..4d5cc1bc7 100644 --- a/resources/assets/js/searchbar.js +++ b/resources/assets/js/searchbar.js @@ -1,5 +1,6 @@ $(function () { loadLocalStorage(); + setSearchbarActionListeners(); }); /** @@ -11,6 +12,10 @@ function loadLocalStorage () { } } +function setSearchbarActionListeners () { + $('#toggleOptBtn').click(toggleOptionsDialog); +} + function setSettings () { var acceptedParams = ['autocomplete', 'key', 'lang', 'newtab', 'sprueche']; for (var key in localStorage) { @@ -37,3 +42,12 @@ function setSettings () { $('#searchForm').attr('method', requestMethod); } } + +function toggleOptionsDialog () { + var btnMode = $('#toggleOptBtn').attr('data-mode'); + if (btnMode == 'o') { + openOptionsDialog(); + } else { + closeOptionsDialog(); + } +} diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less index 41ad2bfbc..c4645358e 100644 --- a/resources/assets/less/metager/searchbar.less +++ b/resources/assets/less/metager/searchbar.less @@ -12,19 +12,16 @@ display: flex; align-items: center; position: relative; - &>button { border: none; border-right: 1px solid rgb(170, 170, 170); background-color: white; margin: 5px; } - .search-settings:only-child { padding: 5px; border-right: solid 1px #ccc; } - select { width: 100%; -webkit-appearance: none; @@ -40,7 +37,7 @@ } &:after { content: "\f078"; - font: 15px "FontAwesome", sans-serif; //text-align: center; + font: 15px "FontAwesome", sans-serif; line-height: 30px; background-color: transparent; right: 8px; @@ -50,7 +47,6 @@ pointer-events: none; } } - .search-option-frame { display: flex; position: absolute; @@ -59,7 +55,6 @@ padding: 10px; border: 1px solid rgb(175, 175, 175); border-radius: 4px; - .searchbar-options-arrow { width: 0; height: 0; @@ -71,14 +66,22 @@ margin-left: 3%; } } - .search-button-container { display: flex; margin-top: 3%; + @media (max-width: @screen-xs-max) { + flex-direction: column; + } + >* { + display: flex; + justify-content: space-between; + align-items: baseline; + &:hover { + background-color: #e6e6e6; + } + } } - .search-add-focus { - //display: flex; position: relative; button { background-color: white; @@ -91,10 +94,9 @@ } } .search-edit-focus { - //display: flex; position: relative; button { - background-color: white; + background-color: transparent; border: none; padding: 0px 8px; font-size: 16px; @@ -104,7 +106,6 @@ } } .search-settings { - //display: flex; position: relative; a.btn { border: none; @@ -114,7 +115,6 @@ font-size: 16px; } } - .search-input-submit { flex-grow: 1; display: flex; @@ -153,7 +153,6 @@ .search-custom-hidden { display: none; } - @media (max-width: @screen-xs-max) { flex-direction: column-reverse; } @@ -166,6 +165,12 @@ div:hover>.searchbar-tooltip { } } +.search-option-descriptor { + @media (min-width: @screen-sm-min) { + display: none; + } +} + .startpage-searchbar { >* { border: 1px solid #aaa; @@ -197,9 +202,6 @@ div:hover>.searchbar-tooltip { border-left: 1px solid #aaa; } } - *:not(.search-submit, .searchbar-options-arrow) { - width: 100%; - } } } diff --git a/resources/lang/de/index.php b/resources/lang/de/index.php index debd2d0ea..d7e6d5ea2 100644 --- a/resources/lang/de/index.php +++ b/resources/lang/de/index.php @@ -114,6 +114,7 @@ return [ 'plugin.vivaldi.9' => 'Klicken Sie in Ihrem Browser oben links auf das rote Vivaldi Logo und wählen Sie zuerst "Werkzeuge", dann im Untermenü "Einstellungen".', 'plugin.vivaldi.10' => 'Tragen Sie im Feld "Startseite" "https://metager.de" ein.', - 'add-focus' => 'Eigenen Fokus hinzufügen', - 'edit-focus' => 'Fokus bearbeiten', + 'tooltips.add-focus' => 'Eigenen Fokus hinzufügen', + 'tooltips.edit-focus' => 'Aktuellen Fokus bearbeiten', + 'tooltips.settings' => 'Allgemeine Einstellungen', ]; diff --git a/resources/views/parts/searchbar.blade.php b/resources/views/parts/searchbar.blade.php index 4ce4e596c..8eab79fe1 100644 --- a/resources/views/parts/searchbar.blade.php +++ b/resources/views/parts/searchbar.blade.php @@ -22,37 +22,49 @@ <option value="maps" style="font-family: FontAwesome, sans-serif;"> Kartensuche</option> </select> <div class="search-option-frame hide"> - <div class="searchbar-options-arrow"> - </div> + <div class="searchbar-options-arrow"></div> <div class="search-button-container"> <div class="search-add-focus js-only"> + <div class="search-option-descriptor"> + <label for="addFocusBtn">{{{ trans('index.tooltips.add-focus') }}}</label> + </div> <button type="button" id="addFocusBtn"> <i class="fa fa-plus"></i> </button> <div class="searchbar-tooltip"> - <div class="searchbar-tooltip-arrow"> - </div> + <div class="searchbar-tooltip-arrow"></div> <div class="searchbar-tooltip-content"> - <p>{{{ trans('index.add-focus') }}}</p> + <p>{{{ trans('index.tooltips.add-focus') }}}</p> </div> </div> </div> <div class="search-edit-focus js-only"> + <div class="search-option-descriptor"> + <label for="editFocusBtn">{{{ trans('index.tooltips.edit-focus') }}}</label> + </div> <button type="button" id="editFocusBtn" title="@lang('index.edit-focus')"> <i class="fa fa-wrench"></i> </button> <div class="searchbar-tooltip"> - <div class="searchbar-tooltip-arrow"> - </div> + <div class="searchbar-tooltip-arrow"></div> <div class="searchbar-tooltip-content"> - <p>{{{ trans('index.edit-focus') }}}</p> + <p>{{{ trans('index.tooltips.edit-focus') }}}</p> </div> </div> </div> <div class="search-settings"> + <div class="search-option-descriptor"> + <label for="settings-btn">{{{ trans('index.tooltips.settings') }}}</label> + </div> <a id="settings-btn" class="mutelink btn btn-default" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "settings ") }}"> <i class="fa fa-cog" aria-hidden="true"></i> </a> + <div class="searchbar-tooltip"> + <div class="searchbar-tooltip-arrow"></div> + <div class="searchbar-tooltip-content"> + <p>{{{ trans('index.tooltips.settings') }}}</p> + </div> + </div> </div> </div> </div> -- GitLab