FEATURE #1854: add widget settings

This commit is contained in:
Michal Kváček
2017-08-10 21:27:39 +02:00
parent 6af0c16a9a
commit f702ba3a29
11 changed files with 6595 additions and 139 deletions
@@ -23,6 +23,9 @@ class IncrementWidgetsViews
public function terminate($request, $response) public function terminate($request, $response)
{ {
// if (!setting('useWidgetPreloading', false))
// return;
$widgets = WidgetAreas::getLoadedWidgets(); $widgets = WidgetAreas::getLoadedWidgets();
if (!empty($widgets['areas'])) { if (!empty($widgets['areas'])) {
+1
View File
@@ -118,6 +118,7 @@ class AppServiceProvider extends ServiceProvider
$registrator->register('basic', 'admin/settings.basic', 'admin.settings.parts.basic'); $registrator->register('basic', 'admin/settings.basic', 'admin.settings.parts.basic');
$registrator->register('meta', 'admin/settings.meta', 'admin.settings.parts.meta'); $registrator->register('meta', 'admin/settings.meta', 'admin.settings.parts.meta');
$registrator->register('social', 'admin/settings.socialSites', 'admin.settings.parts.social'); $registrator->register('social', 'admin/settings.socialSites', 'admin.settings.parts.social');
$registrator->register('widgets', 'admin/settings.widgets.title', 'admin.settings.parts.widgets');
} }
/** /**
+4 -11
View File
@@ -7,7 +7,7 @@
"license": "MIT", "license": "MIT",
"type": "project", "type": "project",
"require": { "require": {
"php": ">=5.5.9", "php": ">=7.0.0",
"laravel/framework": "5.4.*", "laravel/framework": "5.4.*",
"watson/sitemap": "^2.0", "watson/sitemap": "^2.0",
"mcamara/laravel-localization": "^1.1", "mcamara/laravel-localization": "^1.1",
@@ -37,16 +37,9 @@
} }
}, },
"scripts": { "scripts": {
"post-install-cmd": [ "post-install-cmd": [],
"php artisan clear-compiled", "pre-update-cmd": [],
"php artisan optimize" "post-update-cmd": []
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
]
}, },
"config": { "config": {
"preferred-install": "dist", "preferred-install": "dist",
Generated
+120 -110
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "55d3fc4c8ded52b3b1a3fdb720787538", "content-hash": "c1d95b3a28c04323c45a7fab876aadb7",
"packages": [ "packages": [
{ {
"name": "doctrine/inflector", "name": "doctrine/inflector",
@@ -223,7 +223,7 @@
"laravel5", "laravel5",
"recaptcha" "recaptcha"
], ],
"time": "2017-04-06 17:10:49" "time": "2017-04-06T17:10:49+00:00"
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
@@ -288,7 +288,7 @@
"uri", "uri",
"url" "url"
], ],
"time": "2017-07-17 09:11:21" "time": "2017-07-17T09:11:21+00:00"
}, },
{ {
"name": "intervention/image", "name": "intervention/image",
@@ -366,12 +366,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "e59981477f0b710dd40708952e10f96fbf1f5361" "reference": "f0d417bfa7a2e78d70c7382bfc51fe02321f0a3e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/e59981477f0b710dd40708952e10f96fbf1f5361", "url": "https://api.github.com/repos/laravel/framework/zipball/f0d417bfa7a2e78d70c7382bfc51fe02321f0a3e",
"reference": "e59981477f0b710dd40708952e10f96fbf1f5361", "reference": "f0d417bfa7a2e78d70c7382bfc51fe02321f0a3e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -487,7 +487,7 @@
"framework", "framework",
"laravel" "laravel"
], ],
"time": "2017-08-01T12:58:10+00:00" "time": "2017-08-08T16:36:51+00:00"
}, },
{ {
"name": "laravelcollective/html", "name": "laravelcollective/html",
@@ -549,12 +549,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "988626314a28f34e682f374162b67deb855af2d1" "reference": "d3ce2f8f409ac7d01dea0fd03d30f1e466bdd957"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/988626314a28f34e682f374162b67deb855af2d1", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/d3ce2f8f409ac7d01dea0fd03d30f1e466bdd957",
"reference": "988626314a28f34e682f374162b67deb855af2d1", "reference": "d3ce2f8f409ac7d01dea0fd03d30f1e466bdd957",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -624,24 +624,24 @@
"sftp", "sftp",
"storage" "storage"
], ],
"time": "2017-07-29T19:03:34+00:00" "time": "2017-08-08T08:44:14+00:00"
}, },
{ {
"name": "mcamara/laravel-localization", "name": "mcamara/laravel-localization",
"version": "v1.2.6", "version": "v1.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mcamara/laravel-localization.git", "url": "https://github.com/mcamara/laravel-localization.git",
"reference": "2177e05d5cf35efea3a43c0f1785a3edd816347f" "reference": "5f7e0e646d5c2374b8adaf1757599e043cd0994d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/2177e05d5cf35efea3a43c0f1785a3edd816347f", "url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/5f7e0e646d5c2374b8adaf1757599e043cd0994d",
"reference": "2177e05d5cf35efea3a43c0f1785a3edd816347f", "reference": "5f7e0e646d5c2374b8adaf1757599e043cd0994d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"laravel/framework": "~5.2", "laravel/framework": "~5.2, ~5.3, ~5.4",
"php": ">=5.6.0" "php": ">=5.6.0"
}, },
"require-dev": { "require-dev": {
@@ -649,6 +649,16 @@
"phpunit/phpunit": "5.4.*" "phpunit/phpunit": "5.4.*"
}, },
"type": "library", "type": "library",
"extra": {
"laravel": {
"providers": [
"Mcamara\\LaravelLocalization\\LaravelLocalizationServiceProvider"
],
"aliases": {
"LaravelLocalization": "Mcamara\\LaravelLocalization\\Facades\\LaravelLocalization"
}
}
},
"autoload": { "autoload": {
"classmap": [], "classmap": [],
"psr-0": { "psr-0": {
@@ -673,7 +683,7 @@
"localization", "localization",
"php" "php"
], ],
"time": "2017-05-18T10:22:35+00:00" "time": "2017-08-08T04:41:28+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
@@ -856,26 +866,26 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nWidart/laravel-menus.git", "url": "https://github.com/nWidart/laravel-menus.git",
"reference": "4ccc94ea47f0be812488f743f22662e6f446f53b" "reference": "71a5fb430ab1ae19773f1c47625f854c612afea1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nWidart/laravel-menus/zipball/4ccc94ea47f0be812488f743f22662e6f446f53b", "url": "https://api.github.com/repos/nWidart/laravel-menus/zipball/71a5fb430ab1ae19773f1c47625f854c612afea1",
"reference": "4ccc94ea47f0be812488f743f22662e6f446f53b", "reference": "71a5fb430ab1ae19773f1c47625f854c612afea1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/config": "5.2.*|5.3.*|5.4.*", "illuminate/config": "5.4.*",
"illuminate/support": "5.2.*|5.3.*|5.4.*", "illuminate/support": "5.4.*",
"illuminate/view": "5.2.*|5.3.*|5.4.*", "illuminate/view": "5.4.*",
"laravelcollective/html": "5.2.*|5.3.*|5.4.*", "laravelcollective/html": "5.4.*",
"php": ">=5.5.9" "php": ">=5.6.4"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^1.11", "friendsofphp/php-cs-fixer": "^2.4",
"mockery/mockery": "~0.9", "mockery/mockery": "~0.9",
"orchestra/testbench": "3.2.*| 3.3.*|3.4.*", "orchestra/testbench": "3.4.*",
"phpro/grumphp": "^0.9.1", "phpro/grumphp": "^0.11",
"phpunit/phpunit": "~5.7" "phpunit/phpunit": "~5.7"
}, },
"type": "library", "type": "library",
@@ -916,7 +926,7 @@
"nav", "nav",
"navigation" "navigation"
], ],
"time": "2017-06-02 09:42:52" "time": "2017-08-06T15:28:13+00:00"
}, },
{ {
"name": "paragonie/random_compat", "name": "paragonie/random_compat",
@@ -1014,7 +1024,7 @@
"request", "request",
"response" "response"
], ],
"time": "2016-08-06 14:39:51" "time": "2016-08-06T14:39:51+00:00"
}, },
{ {
"name": "psr/log", "name": "psr/log",
@@ -1069,12 +1079,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ramsey/uuid.git", "url": "https://github.com/ramsey/uuid.git",
"reference": "c479cdd42f53c98b7f93209131c37b436503f808" "reference": "0ef23d1b10cf1bc576e9d865a7e9c47982c5715e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/c479cdd42f53c98b7f93209131c37b436503f808", "url": "https://api.github.com/repos/ramsey/uuid/zipball/0ef23d1b10cf1bc576e9d865a7e9c47982c5715e",
"reference": "c479cdd42f53c98b7f93209131c37b436503f808", "reference": "0ef23d1b10cf1bc576e9d865a7e9c47982c5715e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1143,7 +1153,7 @@
"identifier", "identifier",
"uuid" "uuid"
], ],
"time": "2017-07-31T06:30:25+00:00" "time": "2017-08-04T13:39:04+00:00"
}, },
{ {
"name": "swiftmailer/swiftmailer", "name": "swiftmailer/swiftmailer",
@@ -1151,12 +1161,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git", "url": "https://github.com/swiftmailer/swiftmailer.git",
"reference": "4441f8a61006f81138aa4a3e5a6cb8330e5160f2" "reference": "e8a71970b33410591f664f72dba6bd755fa7bf55"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/4441f8a61006f81138aa4a3e5a6cb8330e5160f2", "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/e8a71970b33410591f664f72dba6bd755fa7bf55",
"reference": "4441f8a61006f81138aa4a3e5a6cb8330e5160f2", "reference": "e8a71970b33410591f664f72dba6bd755fa7bf55",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1197,7 +1207,7 @@
"mail", "mail",
"mailer" "mailer"
], ],
"time": "2017-05-19T18:47:58+00:00" "time": "2017-08-10T12:25:50+00:00"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
@@ -1205,16 +1215,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "e7f890da834c1bdd395df1f39cf3656c5f1f23fa" "reference": "0e283478c2d68c9bf9cc52592ad1ef1834083a85"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/e7f890da834c1bdd395df1f39cf3656c5f1f23fa", "url": "https://api.github.com/repos/symfony/console/zipball/0e283478c2d68c9bf9cc52592ad1ef1834083a85",
"reference": "e7f890da834c1bdd395df1f39cf3656c5f1f23fa", "reference": "0e283478c2d68c9bf9cc52592ad1ef1834083a85",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"symfony/debug": "~2.8|~3.0|~4.0", "symfony/debug": "~2.8|~3.0|~4.0",
"symfony/polyfill-mbstring": "~1.0" "symfony/polyfill-mbstring": "~1.0"
}, },
@@ -1267,7 +1277,7 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-31T09:53:49+00:00" "time": "2017-08-10T07:07:17+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
@@ -1328,16 +1338,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/debug.git", "url": "https://github.com/symfony/debug.git",
"reference": "97592888b907532a9225f6e84a620e642d7093df" "reference": "50bda5b4b8641616d45254c6855bcd45f2f64187"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/97592888b907532a9225f6e84a620e642d7093df", "url": "https://api.github.com/repos/symfony/debug/zipball/50bda5b4b8641616d45254c6855bcd45f2f64187",
"reference": "97592888b907532a9225f6e84a620e642d7093df", "reference": "50bda5b4b8641616d45254c6855bcd45f2f64187",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"psr/log": "~1.0" "psr/log": "~1.0"
}, },
"conflict": { "conflict": {
@@ -1376,7 +1386,7 @@
], ],
"description": "Symfony Debug Component", "description": "Symfony Debug Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-28T15:30:20+00:00" "time": "2017-08-10T07:07:17+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
@@ -1447,16 +1457,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "295fa37f13dbc4bba200680d2f4ae2c4a1f77709" "reference": "bf0450cfe7282c5f06539c4733ba64273e91e918"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/295fa37f13dbc4bba200680d2f4ae2c4a1f77709", "url": "https://api.github.com/repos/symfony/finder/zipball/bf0450cfe7282c5f06539c4733ba64273e91e918",
"reference": "295fa37f13dbc4bba200680d2f4ae2c4a1f77709", "reference": "bf0450cfe7282c5f06539c4733ba64273e91e918",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9" "php": "^5.5.9|>=7.0.8"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -1488,7 +1498,7 @@
], ],
"description": "Symfony Finder Component", "description": "Symfony Finder Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-06-01T21:02:15+00:00" "time": "2017-08-03T09:34:20+00:00"
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
@@ -1496,16 +1506,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "0c4bf18214f040537c47ff8ecabdf10278bdf689" "reference": "b7e34ba2eb4d0ac9eb0c2d46b20d9136fde5fa66"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/0c4bf18214f040537c47ff8ecabdf10278bdf689", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b7e34ba2eb4d0ac9eb0c2d46b20d9136fde5fa66",
"reference": "0c4bf18214f040537c47ff8ecabdf10278bdf689", "reference": "b7e34ba2eb4d0ac9eb0c2d46b20d9136fde5fa66",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"symfony/polyfill-mbstring": "~1.1" "symfony/polyfill-mbstring": "~1.1"
}, },
"require-dev": { "require-dev": {
@@ -1541,7 +1551,7 @@
], ],
"description": "Symfony HttpFoundation Component", "description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-21T11:05:08+00:00" "time": "2017-08-10T07:07:17+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
@@ -1549,16 +1559,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "8913930a3f122b4b223bc41700fde77a815d87ac" "reference": "42dab8a691f7d0d00b496ba39202f017f286cec3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/8913930a3f122b4b223bc41700fde77a815d87ac", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/42dab8a691f7d0d00b496ba39202f017f286cec3",
"reference": "8913930a3f122b4b223bc41700fde77a815d87ac", "reference": "42dab8a691f7d0d00b496ba39202f017f286cec3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"psr/log": "~1.0", "psr/log": "~1.0",
"symfony/debug": "~2.8|~3.0|~4.0", "symfony/debug": "~2.8|~3.0|~4.0",
"symfony/event-dispatcher": "~2.8|~3.0|~4.0", "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
@@ -1566,7 +1576,7 @@
}, },
"conflict": { "conflict": {
"symfony/config": "<2.8", "symfony/config": "<2.8",
"symfony/dependency-injection": "<3.3", "symfony/dependency-injection": "<3.4",
"symfony/var-dumper": "<3.3", "symfony/var-dumper": "<3.3",
"twig/twig": "<1.34|<2.4,>=2" "twig/twig": "<1.34|<2.4,>=2"
}, },
@@ -1577,7 +1587,7 @@
"symfony/config": "~2.8|~3.0|~4.0", "symfony/config": "~2.8|~3.0|~4.0",
"symfony/console": "~2.8|~3.0|~4.0", "symfony/console": "~2.8|~3.0|~4.0",
"symfony/css-selector": "~2.8|~3.0|~4.0", "symfony/css-selector": "~2.8|~3.0|~4.0",
"symfony/dependency-injection": "~3.3|~4.0", "symfony/dependency-injection": "~3.4|~4.0",
"symfony/dom-crawler": "~2.8|~3.0|~4.0", "symfony/dom-crawler": "~2.8|~3.0|~4.0",
"symfony/expression-language": "~2.8|~3.0|~4.0", "symfony/expression-language": "~2.8|~3.0|~4.0",
"symfony/finder": "~2.8|~3.0|~4.0", "symfony/finder": "~2.8|~3.0|~4.0",
@@ -1626,7 +1636,7 @@
], ],
"description": "Symfony HttpKernel Component", "description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-15T08:52:56+00:00" "time": "2017-08-09T16:53:01+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
@@ -1693,16 +1703,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "aeea12fe8abbf2f6ccb917c0037a7664d0e20b51" "reference": "9794f948d9af3be0157185051275d78b24d68b92"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/aeea12fe8abbf2f6ccb917c0037a7664d0e20b51", "url": "https://api.github.com/repos/symfony/process/zipball/9794f948d9af3be0157185051275d78b24d68b92",
"reference": "aeea12fe8abbf2f6ccb917c0037a7664d0e20b51", "reference": "9794f948d9af3be0157185051275d78b24d68b92",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9" "php": "^5.5.9|>=7.0.8"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -1734,7 +1744,7 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-15T08:52:56+00:00" "time": "2017-08-03T09:34:20+00:00"
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
@@ -1742,16 +1752,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "5d8d766e4db7eda52ec886b1584538808f8b718e" "reference": "1513f0bec2de03bee38a23a262bae9bfae4a5c26"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/5d8d766e4db7eda52ec886b1584538808f8b718e", "url": "https://api.github.com/repos/symfony/routing/zipball/1513f0bec2de03bee38a23a262bae9bfae4a5c26",
"reference": "5d8d766e4db7eda52ec886b1584538808f8b718e", "reference": "1513f0bec2de03bee38a23a262bae9bfae4a5c26",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9" "php": "^5.5.9|>=7.0.8"
}, },
"conflict": { "conflict": {
"symfony/config": "<2.8", "symfony/config": "<2.8",
@@ -1812,7 +1822,7 @@
"uri", "uri",
"url" "url"
], ],
"time": "2017-07-26T06:46:38+00:00" "time": "2017-08-03T09:34:20+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
@@ -1820,16 +1830,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "eca09e9af11fe317f313d2915e1573a01609fcb9" "reference": "62bb068e004874bbe39624101e1aae70ca7c05cd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/eca09e9af11fe317f313d2915e1573a01609fcb9", "url": "https://api.github.com/repos/symfony/translation/zipball/62bb068e004874bbe39624101e1aae70ca7c05cd",
"reference": "eca09e9af11fe317f313d2915e1573a01609fcb9", "reference": "62bb068e004874bbe39624101e1aae70ca7c05cd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"symfony/polyfill-mbstring": "~1.0" "symfony/polyfill-mbstring": "~1.0"
}, },
"conflict": { "conflict": {
@@ -1879,7 +1889,7 @@
], ],
"description": "Symfony Translation Component", "description": "Symfony Translation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-06T06:49:25+00:00" "time": "2017-08-03T12:04:31+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
@@ -1887,16 +1897,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "b7e0da3cdcf72a472eeeb3193105cf4902433df1" "reference": "c83889ce881bc16a4c23d7f5dd42b51deb0333a2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/b7e0da3cdcf72a472eeeb3193105cf4902433df1", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c83889ce881bc16a4c23d7f5dd42b51deb0333a2",
"reference": "b7e0da3cdcf72a472eeeb3193105cf4902433df1", "reference": "c83889ce881bc16a4c23d7f5dd42b51deb0333a2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9", "php": "^5.5.9|>=7.0.8",
"symfony/polyfill-mbstring": "~1.0" "symfony/polyfill-mbstring": "~1.0"
}, },
"conflict": { "conflict": {
@@ -1948,7 +1958,7 @@
"debug", "debug",
"dump" "dump"
], ],
"time": "2017-07-28T15:30:20+00:00" "time": "2017-08-09T16:38:43+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
@@ -2003,12 +2013,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vlucas/phpdotenv.git", "url": "https://github.com/vlucas/phpdotenv.git",
"reference": "7ac2c1cef304f5bd5a8d40750fbcbdd49333b9e5" "reference": "3dd3d8f90e6604e75cca48ec32b033b50b05135b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/7ac2c1cef304f5bd5a8d40750fbcbdd49333b9e5", "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/3dd3d8f90e6604e75cca48ec32b033b50b05135b",
"reference": "7ac2c1cef304f5bd5a8d40750fbcbdd49333b9e5", "reference": "3dd3d8f90e6604e75cca48ec32b033b50b05135b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2045,7 +2055,7 @@
"env", "env",
"environment" "environment"
], ],
"time": "2017-02-03T22:05:04+00:00" "time": "2017-08-08T20:02:34+00:00"
}, },
{ {
"name": "watson/sitemap", "name": "watson/sitemap",
@@ -2275,12 +2285,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fzaninotto/Faker.git", "url": "https://github.com/fzaninotto/Faker.git",
"reference": "ea4244d0354634e020042278478c9842524b0459" "reference": "e70d9612d9108ec07476f7c304f14b8e583b6494"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fzaninotto/Faker/zipball/ea4244d0354634e020042278478c9842524b0459", "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/e70d9612d9108ec07476f7c304f14b8e583b6494",
"reference": "ea4244d0354634e020042278478c9842524b0459", "reference": "e70d9612d9108ec07476f7c304f14b8e583b6494",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2317,7 +2327,7 @@
"faker", "faker",
"fixtures" "fixtures"
], ],
"time": "2017-07-19T13:05:01+00:00" "time": "2017-08-10T09:58:44+00:00"
}, },
{ {
"name": "hamcrest/hamcrest-php", "name": "hamcrest/hamcrest-php",
@@ -2552,22 +2562,22 @@
}, },
{ {
"name": "phpdocumentor/reflection-docblock", "name": "phpdocumentor/reflection-docblock",
"version": "3.2.0", "version": "3.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585" "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585", "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/4aada1f93c72c35e22fb1383b47fee43b8f1d157",
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585", "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5", "php": ">=5.5",
"phpdocumentor/reflection-common": "^1.0@dev", "phpdocumentor/reflection-common": "^1.0@dev",
"phpdocumentor/type-resolver": "^0.4.0", "phpdocumentor/type-resolver": "^0.3.0",
"webmozart/assert": "^1.0" "webmozart/assert": "^1.0"
}, },
"require-dev": { "require-dev": {
@@ -2593,20 +2603,20 @@
} }
], ],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2017-07-15T11:38:20+00:00" "time": "2017-08-08T06:39:58+00:00"
}, },
{ {
"name": "phpdocumentor/type-resolver", "name": "phpdocumentor/type-resolver",
"version": "0.4.0", "version": "0.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git", "url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fb3933512008d8162b3cdf9e18dba9309b7c3773",
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2640,7 +2650,7 @@
"email": "me@mikevanriel.com" "email": "me@mikevanriel.com"
} }
], ],
"time": "2017-07-14T14:27:02+00:00" "time": "2017-06-03T08:32:36+00:00"
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
@@ -3515,16 +3525,16 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "8ccc03269a0e2a248c0daff5ad20050388cc07c4" "reference": "1395ddba6f65bf46cdf1d80d59223cbab8ff3ccc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/8ccc03269a0e2a248c0daff5ad20050388cc07c4", "url": "https://api.github.com/repos/symfony/yaml/zipball/1395ddba6f65bf46cdf1d80d59223cbab8ff3ccc",
"reference": "8ccc03269a0e2a248c0daff5ad20050388cc07c4", "reference": "1395ddba6f65bf46cdf1d80d59223cbab8ff3ccc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9" "php": "^5.5.9|>=7.0.8"
}, },
"require-dev": { "require-dev": {
"symfony/console": "~2.8|~3.0|~4.0" "symfony/console": "~2.8|~3.0|~4.0"
@@ -3562,7 +3572,7 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2017-07-26T06:46:38+00:00" "time": "2017-08-04T13:29:48+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
@@ -3624,7 +3634,7 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=5.5.9" "php": ">=7.0.0"
}, },
"platform-dev": [] "platform-dev": []
} }
+6393
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -6,14 +6,14 @@
}, },
"devDependencies": { "devDependencies": {
"bootstrap-sass": "^3.3.7", "bootstrap-sass": "^3.3.7",
"bower": "1.8.0",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"jquery": "^3.1.0", "jquery": "^3.2.1",
"laravel-elixir": "^6.0.0-11", "laravel-elixir": "^6.0.0-11",
"laravel-elixir-vue-2": "^0.2.0", "laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-webpack-official": "^1.0.2", "laravel-elixir-webpack-official": "^1.0.2",
"lodash": "^4.16.2", "lodash": "^4.16.2",
"vue": "^2.0.1", "vue": "^2.4.2",
"vue-resource": "^1.0.3", "vue-resource": "^1.3.4"
"bower": "1.8.0"
} }
} }
+3 -3
View File
@@ -22,9 +22,9 @@ a:focus {
padding-bottom: 20px !important; padding-bottom: 20px !important;
} }
.form-control { /*.form-control {*/
margin: .3em 0; /*margin: .3em 0;*/
} /*}*/
.text-center { .text-center {
text-align: center; text-align: center;
+7 -4
View File
@@ -21,8 +21,11 @@ return [
], ],
"socialSites" => "Sociální sítě", "socialSites" => "Sociální sítě",
"successfullySaved" => "Nastavení úspěšně změněno", "successfullySaved" => "Nastavení úspěšně změněno",
'recaptcha' => 'reCaptcha', 'widgets' => [
"recaptchaSecret" => "Application secret key", "title" => 'Widgety',
"recaptchaSiteKey" => "Site key", 'useWidgetPreloading' => 'Používat přednačítání widgetů?',
'useInvisibleRecaptcha' => 'Neviditelná reCAPTCHA' 'preloadFrequentedWidgetAreasTreshold' => 'Práh pro přednačtení widgetů',
'widgetCacheLifetime' => 'Platnost cache pro widgety'
]
]; ];
+3
View File
@@ -27,4 +27,7 @@ return [
"positionFixed" => "fixní", "positionFixed" => "fixní",
"positionStatic" => "statické", "positionStatic" => "statické",
"sidebar" => "Sidebar", "sidebar" => "Sidebar",
'minutes' => 'minut',
'views' => 'zobrazení'
]; ];
+7 -6
View File
@@ -1,9 +1,10 @@
<?php <?php
return [ return [
"containerClass" => "HTML třída použitá pro obalový element widgetu", "containerClass" => "HTML třída použitá pro obalový element widgetu",
"containerId" => "Unikátní ID widgetu (může být i prázdné)", "containerId" => "Unikátní ID widgetu (může být i prázdné)",
"description" => "Popis", "description" => "Popis",
"edit" => "Upravuji widget :name", "edit" => "Upravuji widget :name",
"name" => "Jméno", "name" => "Jméno",
"new" => "Vytvořit nový widget" "new" => "Vytvořit nový widget",
"widgetDescription" => "Jednoduchý widget pro vkládání HTML kódů.",
]; ];
@@ -0,0 +1,49 @@
<div class="row">
<div class="col-lg-9">
<label>
<input class="checkbox" value="1"
@if(!isset($settings->useWidgetPreloading) || $settings->useWidgetPreloading['lang'] == null)
checked
@endif name="useWidgetPreloading" type="checkbox">
<span>@lang('admin/settings.widgets.useWidgetPreloading')</span>
</label>
</div>
<div class="col-lg-3">
@include('admin.settings.snippets.commonSettings', ['field' => 'useWidgetPreloading'])
</div>
</div>
<div class="row">
<div class="col-lg-9">
<label class="label-control">
@lang('admin/settings.widgets.preloadFrequentedWidgetAreasTreshold')
</label>
<div class="input-group">
<input type="text" class="form-control" value="{{old('preloadFrequentedWidgetAreasTreshold', isset($settings->preloadFrequentedWidgetAreasTreshold) ? $settings->preloadFrequentedWidgetAreasTreshold['val'] : 10)}}">
<span class="input-group-addon">@lang('common.views')</span>
</div>
</div>
<div class="col-lg-3">
@include('admin.settings.snippets.commonSettings', ['field' => 'author'])
</div>
</div>
<div class="row">
<div class="col-lg-9">
<label class="label-control">
@lang('admin/settings.widgets.widgetCacheLifetime')
</label>
<div class="input-group">
<input type="text" class="form-control" value="{{old('widgetCacheLifetime', isset($settings->widgetCacheLifetime) ? $settings->widgetCacheLifetime['val'] : 10)}}">
<span class="input-group-addon">@lang('common.minutes')</span>
</div>
</div>
<div class="col-lg-3">
@include('admin.settings.snippets.commonSettings', ['field' => 'author'])
</div>
</div>