Commit 54b558dc1bcb6e5660c33719d567a3756b794e52
1 parent
296aec1b
Minify
Showing
11 changed files
with
548 additions
and
13 deletions
Show diff stats
composer.json
@@ -36,7 +36,8 @@ | @@ -36,7 +36,8 @@ | ||
36 | "bower-asset/pnotify": "@dev", | 36 | "bower-asset/pnotify": "@dev", |
37 | "kartik-v/yii2-widget-colorinput": "*", | 37 | "kartik-v/yii2-widget-colorinput": "*", |
38 | "kartik-v/yii2-widget-datepicker": "@dev", | 38 | "kartik-v/yii2-widget-datepicker": "@dev", |
39 | - "nodge/yii2-eauth": "~2.0" | 39 | + "nodge/yii2-eauth": "~2.0", |
40 | + "skeeks/yii2-assets-auto-compress": "*" | ||
40 | }, | 41 | }, |
41 | "require-dev": { | 42 | "require-dev": { |
42 | "yiisoft/yii2-debug": "~2.0.0", | 43 | "yiisoft/yii2-debug": "~2.0.0", |
composer.lock
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", |
5 | "This file is @generated automatically" | 5 | "This file is @generated automatically" |
6 | ], | 6 | ], |
7 | - "content-hash": "f43dbc89b0b20b177ad04a1c8c260992", | 7 | + "content-hash": "05e52a3942b2da7e252a6d47a295317c", |
8 | "packages": [ | 8 | "packages": [ |
9 | { | 9 | { |
10 | "name": "2amigos/yii2-tinymce-widget", | 10 | "name": "2amigos/yii2-tinymce-widget", |
@@ -574,6 +574,37 @@ | @@ -574,6 +574,37 @@ | ||
574 | "time": "2016-09-14T20:40:20+00:00" | 574 | "time": "2016-09-14T20:40:20+00:00" |
575 | }, | 575 | }, |
576 | { | 576 | { |
577 | + "name": "container-interop/container-interop", | ||
578 | + "version": "1.2.0", | ||
579 | + "source": { | ||
580 | + "type": "git", | ||
581 | + "url": "https://github.com/container-interop/container-interop.git", | ||
582 | + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" | ||
583 | + }, | ||
584 | + "dist": { | ||
585 | + "type": "zip", | ||
586 | + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", | ||
587 | + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", | ||
588 | + "shasum": "" | ||
589 | + }, | ||
590 | + "require": { | ||
591 | + "psr/container": "^1.0" | ||
592 | + }, | ||
593 | + "type": "library", | ||
594 | + "autoload": { | ||
595 | + "psr-4": { | ||
596 | + "Interop\\Container\\": "src/Interop/Container/" | ||
597 | + } | ||
598 | + }, | ||
599 | + "notification-url": "https://packagist.org/downloads/", | ||
600 | + "license": [ | ||
601 | + "MIT" | ||
602 | + ], | ||
603 | + "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", | ||
604 | + "homepage": "https://github.com/container-interop/container-interop", | ||
605 | + "time": "2017-02-14T19:40:03+00:00" | ||
606 | + }, | ||
607 | + { | ||
577 | "name": "ezyang/htmlpurifier", | 608 | "name": "ezyang/htmlpurifier", |
578 | "version": "v4.9.3", | 609 | "version": "v4.9.3", |
579 | "source": { | 610 | "source": { |
@@ -1225,6 +1256,49 @@ | @@ -1225,6 +1256,49 @@ | ||
1225 | "time": "2015-09-19T16:54:05+00:00" | 1256 | "time": "2015-09-19T16:54:05+00:00" |
1226 | }, | 1257 | }, |
1227 | { | 1258 | { |
1259 | + "name": "intervention/httpauth", | ||
1260 | + "version": "2.0.2", | ||
1261 | + "source": { | ||
1262 | + "type": "git", | ||
1263 | + "url": "https://github.com/Intervention/httpauth.git", | ||
1264 | + "reference": "407203e29fc5b3f2c4dd2f1849a799a72aa15b1c" | ||
1265 | + }, | ||
1266 | + "dist": { | ||
1267 | + "type": "zip", | ||
1268 | + "url": "https://api.github.com/repos/Intervention/httpauth/zipball/407203e29fc5b3f2c4dd2f1849a799a72aa15b1c", | ||
1269 | + "reference": "407203e29fc5b3f2c4dd2f1849a799a72aa15b1c", | ||
1270 | + "shasum": "" | ||
1271 | + }, | ||
1272 | + "require": { | ||
1273 | + "php": ">=5.3.0" | ||
1274 | + }, | ||
1275 | + "type": "library", | ||
1276 | + "autoload": { | ||
1277 | + "psr-4": { | ||
1278 | + "Intervention\\Httpauth\\": "src/Intervention/Httpauth" | ||
1279 | + } | ||
1280 | + }, | ||
1281 | + "notification-url": "https://packagist.org/downloads/", | ||
1282 | + "license": [ | ||
1283 | + "MIT" | ||
1284 | + ], | ||
1285 | + "authors": [ | ||
1286 | + { | ||
1287 | + "name": "Oliver Vogel", | ||
1288 | + "email": "oliver@olivervogel.com", | ||
1289 | + "homepage": "http://olivervogel.com/" | ||
1290 | + } | ||
1291 | + ], | ||
1292 | + "description": "HTTP authentication (Basic & Digest) including ServiceProviders for easy Laravel integration", | ||
1293 | + "homepage": "https://github.com/Intervention/httpauth", | ||
1294 | + "keywords": [ | ||
1295 | + "Authentication", | ||
1296 | + "http", | ||
1297 | + "laravel" | ||
1298 | + ], | ||
1299 | + "time": "2017-01-29T12:04:52+00:00" | ||
1300 | + }, | ||
1301 | + { | ||
1228 | "name": "kartik-v/bootstrap-fileinput", | 1302 | "name": "kartik-v/bootstrap-fileinput", |
1229 | "version": "v4.4.1", | 1303 | "version": "v4.4.1", |
1230 | "source": { | 1304 | "source": { |
@@ -1685,6 +1759,219 @@ | @@ -1685,6 +1759,219 @@ | ||
1685 | "time": "2017-03-13T07:08:03+00:00" | 1759 | "time": "2017-03-13T07:08:03+00:00" |
1686 | }, | 1760 | }, |
1687 | { | 1761 | { |
1762 | + "name": "mrclay/jsmin-php", | ||
1763 | + "version": "2.3.2", | ||
1764 | + "source": { | ||
1765 | + "type": "git", | ||
1766 | + "url": "https://github.com/mrclay/jsmin-php.git", | ||
1767 | + "reference": "932c9633c35b390beb2cfdea69a41ea7dbc8d759" | ||
1768 | + }, | ||
1769 | + "dist": { | ||
1770 | + "type": "zip", | ||
1771 | + "url": "https://api.github.com/repos/mrclay/jsmin-php/zipball/932c9633c35b390beb2cfdea69a41ea7dbc8d759", | ||
1772 | + "reference": "932c9633c35b390beb2cfdea69a41ea7dbc8d759", | ||
1773 | + "shasum": "" | ||
1774 | + }, | ||
1775 | + "require": { | ||
1776 | + "ext-pcre": "*", | ||
1777 | + "php": ">=5.3.0" | ||
1778 | + }, | ||
1779 | + "require-dev": { | ||
1780 | + "phpunit/phpunit": "4.2" | ||
1781 | + }, | ||
1782 | + "type": "library", | ||
1783 | + "autoload": { | ||
1784 | + "psr-0": { | ||
1785 | + "JSMin\\": "src/" | ||
1786 | + } | ||
1787 | + }, | ||
1788 | + "notification-url": "https://packagist.org/downloads/", | ||
1789 | + "license": [ | ||
1790 | + "MIT" | ||
1791 | + ], | ||
1792 | + "authors": [ | ||
1793 | + { | ||
1794 | + "name": "Stephen Clay", | ||
1795 | + "email": "steve@mrclay.org", | ||
1796 | + "role": "Developer" | ||
1797 | + }, | ||
1798 | + { | ||
1799 | + "name": "Ryan Grove", | ||
1800 | + "email": "ryan@wonko.com", | ||
1801 | + "role": "Developer" | ||
1802 | + } | ||
1803 | + ], | ||
1804 | + "description": "Provides a modified port of Douglas Crockford's jsmin.c, which removes unnecessary whitespace from JavaScript files.", | ||
1805 | + "homepage": "https://github.com/mrclay/jsmin-php/", | ||
1806 | + "keywords": [ | ||
1807 | + "compress", | ||
1808 | + "jsmin", | ||
1809 | + "minify" | ||
1810 | + ], | ||
1811 | + "time": "2015-03-30T15:04:42+00:00" | ||
1812 | + }, | ||
1813 | + { | ||
1814 | + "name": "mrclay/minify", | ||
1815 | + "version": "3.0.0", | ||
1816 | + "source": { | ||
1817 | + "type": "git", | ||
1818 | + "url": "https://github.com/mrclay/minify.git", | ||
1819 | + "reference": "e904f2e1ae5e893f942e07a4860b6c47393844f1" | ||
1820 | + }, | ||
1821 | + "dist": { | ||
1822 | + "type": "zip", | ||
1823 | + "url": "https://api.github.com/repos/mrclay/minify/zipball/e904f2e1ae5e893f942e07a4860b6c47393844f1", | ||
1824 | + "reference": "e904f2e1ae5e893f942e07a4860b6c47393844f1", | ||
1825 | + "shasum": "" | ||
1826 | + }, | ||
1827 | + "require": { | ||
1828 | + "ext-pcre": "*", | ||
1829 | + "intervention/httpauth": "~2.0", | ||
1830 | + "monolog/monolog": "~1.1", | ||
1831 | + "mrclay/jsmin-php": "~2", | ||
1832 | + "mrclay/props-dic": "^2.2", | ||
1833 | + "php": "^5.3.0 || ^7.0", | ||
1834 | + "tubalmartin/cssmin": "~2.4.8-p5" | ||
1835 | + }, | ||
1836 | + "require-dev": { | ||
1837 | + "firephp/firephp-core": "~0.4.0", | ||
1838 | + "leafo/lessphp": "~0.4.0", | ||
1839 | + "leafo/scssphp": "~0.6.6", | ||
1840 | + "meenie/javascript-packer": "~1.1", | ||
1841 | + "phpunit/phpunit": "4.8.*", | ||
1842 | + "tedivm/jshrink": "~1.1.0" | ||
1843 | + }, | ||
1844 | + "suggest": { | ||
1845 | + "firephp/firephp-core": "Use FirePHP for Log messages", | ||
1846 | + "leafo/lessphp": "LESS support", | ||
1847 | + "meenie/javascript-packer": "Keep track of the Packer PHP port using Composer" | ||
1848 | + }, | ||
1849 | + "type": "library", | ||
1850 | + "extra": { | ||
1851 | + "branch-alias": { | ||
1852 | + "dev-master": "3.0.x-dev" | ||
1853 | + } | ||
1854 | + }, | ||
1855 | + "autoload": { | ||
1856 | + "classmap": [ | ||
1857 | + "lib/" | ||
1858 | + ] | ||
1859 | + }, | ||
1860 | + "notification-url": "https://packagist.org/downloads/", | ||
1861 | + "license": [ | ||
1862 | + "BSD-3-Clause" | ||
1863 | + ], | ||
1864 | + "authors": [ | ||
1865 | + { | ||
1866 | + "name": "Stephen Clay", | ||
1867 | + "email": "steve@mrclay.org", | ||
1868 | + "role": "Developer" | ||
1869 | + } | ||
1870 | + ], | ||
1871 | + "description": "Minify is a PHP5 app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers", | ||
1872 | + "homepage": "https://github.com/mrclay/minify", | ||
1873 | + "time": "2017-04-03T20:50:53+00:00" | ||
1874 | + }, | ||
1875 | + { | ||
1876 | + "name": "mrclay/props-dic", | ||
1877 | + "version": "2.2.0", | ||
1878 | + "source": { | ||
1879 | + "type": "git", | ||
1880 | + "url": "https://github.com/mrclay/Props.git", | ||
1881 | + "reference": "9ed6cf3a027f1eab03abdd134ec209467cf9c77e" | ||
1882 | + }, | ||
1883 | + "dist": { | ||
1884 | + "type": "zip", | ||
1885 | + "url": "https://api.github.com/repos/mrclay/Props/zipball/9ed6cf3a027f1eab03abdd134ec209467cf9c77e", | ||
1886 | + "reference": "9ed6cf3a027f1eab03abdd134ec209467cf9c77e", | ||
1887 | + "shasum": "" | ||
1888 | + }, | ||
1889 | + "require": { | ||
1890 | + "container-interop/container-interop": "^1.1", | ||
1891 | + "php": ">=5.3.3", | ||
1892 | + "pimple/pimple": "~3.0" | ||
1893 | + }, | ||
1894 | + "require-dev": { | ||
1895 | + "phpunit/phpunit": "~4.8" | ||
1896 | + }, | ||
1897 | + "type": "library", | ||
1898 | + "autoload": { | ||
1899 | + "psr-0": { | ||
1900 | + "Props\\": [ | ||
1901 | + "src/", | ||
1902 | + "test/" | ||
1903 | + ] | ||
1904 | + } | ||
1905 | + }, | ||
1906 | + "notification-url": "https://packagist.org/downloads/", | ||
1907 | + "license": [ | ||
1908 | + "MIT" | ||
1909 | + ], | ||
1910 | + "authors": [ | ||
1911 | + { | ||
1912 | + "name": "Steve Clay", | ||
1913 | + "email": "steve@mrclay.org", | ||
1914 | + "homepage": "http://www.mrclay.org/" | ||
1915 | + } | ||
1916 | + ], | ||
1917 | + "description": "Props is a simple DI container that allows retrieving values via custom property and method names", | ||
1918 | + "keywords": [ | ||
1919 | + "container", | ||
1920 | + "dependency injection", | ||
1921 | + "dependency injection container", | ||
1922 | + "di", | ||
1923 | + "di container" | ||
1924 | + ], | ||
1925 | + "time": "2016-02-10T18:59:20+00:00" | ||
1926 | + }, | ||
1927 | + { | ||
1928 | + "name": "natxet/CssMin", | ||
1929 | + "version": "v3.0.4", | ||
1930 | + "source": { | ||
1931 | + "type": "git", | ||
1932 | + "url": "https://github.com/natxet/CssMin.git", | ||
1933 | + "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39" | ||
1934 | + }, | ||
1935 | + "dist": { | ||
1936 | + "type": "zip", | ||
1937 | + "url": "https://api.github.com/repos/natxet/CssMin/zipball/92de3fe3ccb4f8298d31952490ef7d5395855c39", | ||
1938 | + "reference": "92de3fe3ccb4f8298d31952490ef7d5395855c39", | ||
1939 | + "shasum": "" | ||
1940 | + }, | ||
1941 | + "require": { | ||
1942 | + "php": ">=5.0" | ||
1943 | + }, | ||
1944 | + "type": "library", | ||
1945 | + "extra": { | ||
1946 | + "branch-alias": { | ||
1947 | + "dev-master": "3.0-dev" | ||
1948 | + } | ||
1949 | + }, | ||
1950 | + "autoload": { | ||
1951 | + "classmap": [ | ||
1952 | + "src/" | ||
1953 | + ] | ||
1954 | + }, | ||
1955 | + "notification-url": "https://packagist.org/downloads/", | ||
1956 | + "license": [ | ||
1957 | + "MIT" | ||
1958 | + ], | ||
1959 | + "authors": [ | ||
1960 | + { | ||
1961 | + "name": "Joe Scylla", | ||
1962 | + "email": "joe.scylla@gmail.com", | ||
1963 | + "homepage": "https://profiles.google.com/joe.scylla" | ||
1964 | + } | ||
1965 | + ], | ||
1966 | + "description": "Minifying CSS", | ||
1967 | + "homepage": "http://code.google.com/p/cssmin/", | ||
1968 | + "keywords": [ | ||
1969 | + "css", | ||
1970 | + "minify" | ||
1971 | + ], | ||
1972 | + "time": "2015-09-25T11:13:11+00:00" | ||
1973 | + }, | ||
1974 | + { | ||
1688 | "name": "noam148/yii2-image-manager", | 1975 | "name": "noam148/yii2-image-manager", |
1689 | "version": "1.2.5", | 1976 | "version": "1.2.5", |
1690 | "source": { | 1977 | "source": { |
@@ -2028,6 +2315,52 @@ | @@ -2028,6 +2315,52 @@ | ||
2028 | "time": "2017-06-05T06:31:10+00:00" | 2315 | "time": "2017-06-05T06:31:10+00:00" |
2029 | }, | 2316 | }, |
2030 | { | 2317 | { |
2318 | + "name": "pimple/pimple", | ||
2319 | + "version": "v3.0.2", | ||
2320 | + "source": { | ||
2321 | + "type": "git", | ||
2322 | + "url": "https://github.com/silexphp/Pimple.git", | ||
2323 | + "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a" | ||
2324 | + }, | ||
2325 | + "dist": { | ||
2326 | + "type": "zip", | ||
2327 | + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a30f7d6e57565a2e1a316e1baf2a483f788b258a", | ||
2328 | + "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a", | ||
2329 | + "shasum": "" | ||
2330 | + }, | ||
2331 | + "require": { | ||
2332 | + "php": ">=5.3.0" | ||
2333 | + }, | ||
2334 | + "type": "library", | ||
2335 | + "extra": { | ||
2336 | + "branch-alias": { | ||
2337 | + "dev-master": "3.0.x-dev" | ||
2338 | + } | ||
2339 | + }, | ||
2340 | + "autoload": { | ||
2341 | + "psr-0": { | ||
2342 | + "Pimple": "src/" | ||
2343 | + } | ||
2344 | + }, | ||
2345 | + "notification-url": "https://packagist.org/downloads/", | ||
2346 | + "license": [ | ||
2347 | + "MIT" | ||
2348 | + ], | ||
2349 | + "authors": [ | ||
2350 | + { | ||
2351 | + "name": "Fabien Potencier", | ||
2352 | + "email": "fabien@symfony.com" | ||
2353 | + } | ||
2354 | + ], | ||
2355 | + "description": "Pimple, a simple Dependency Injection Container", | ||
2356 | + "homepage": "http://pimple.sensiolabs.org", | ||
2357 | + "keywords": [ | ||
2358 | + "container", | ||
2359 | + "dependency injection" | ||
2360 | + ], | ||
2361 | + "time": "2015-09-11T15:10:35+00:00" | ||
2362 | + }, | ||
2363 | + { | ||
2031 | "name": "psr/cache", | 2364 | "name": "psr/cache", |
2032 | "version": "1.0.1", | 2365 | "version": "1.0.1", |
2033 | "source": { | 2366 | "source": { |
@@ -2074,6 +2407,55 @@ | @@ -2074,6 +2407,55 @@ | ||
2074 | "time": "2016-08-06T20:24:11+00:00" | 2407 | "time": "2016-08-06T20:24:11+00:00" |
2075 | }, | 2408 | }, |
2076 | { | 2409 | { |
2410 | + "name": "psr/container", | ||
2411 | + "version": "1.0.0", | ||
2412 | + "source": { | ||
2413 | + "type": "git", | ||
2414 | + "url": "https://github.com/php-fig/container.git", | ||
2415 | + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" | ||
2416 | + }, | ||
2417 | + "dist": { | ||
2418 | + "type": "zip", | ||
2419 | + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", | ||
2420 | + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", | ||
2421 | + "shasum": "" | ||
2422 | + }, | ||
2423 | + "require": { | ||
2424 | + "php": ">=5.3.0" | ||
2425 | + }, | ||
2426 | + "type": "library", | ||
2427 | + "extra": { | ||
2428 | + "branch-alias": { | ||
2429 | + "dev-master": "1.0.x-dev" | ||
2430 | + } | ||
2431 | + }, | ||
2432 | + "autoload": { | ||
2433 | + "psr-4": { | ||
2434 | + "Psr\\Container\\": "src/" | ||
2435 | + } | ||
2436 | + }, | ||
2437 | + "notification-url": "https://packagist.org/downloads/", | ||
2438 | + "license": [ | ||
2439 | + "MIT" | ||
2440 | + ], | ||
2441 | + "authors": [ | ||
2442 | + { | ||
2443 | + "name": "PHP-FIG", | ||
2444 | + "homepage": "http://www.php-fig.org/" | ||
2445 | + } | ||
2446 | + ], | ||
2447 | + "description": "Common Container Interface (PHP FIG PSR-11)", | ||
2448 | + "homepage": "https://github.com/php-fig/container", | ||
2449 | + "keywords": [ | ||
2450 | + "PSR-11", | ||
2451 | + "container", | ||
2452 | + "container-interface", | ||
2453 | + "container-interop", | ||
2454 | + "psr" | ||
2455 | + ], | ||
2456 | + "time": "2017-02-14T16:28:37+00:00" | ||
2457 | + }, | ||
2458 | + { | ||
2077 | "name": "psr/http-message", | 2459 | "name": "psr/http-message", |
2078 | "version": "1.0.1", | 2460 | "version": "1.0.1", |
2079 | "source": { | 2461 | "source": { |
@@ -2223,6 +2605,57 @@ | @@ -2223,6 +2605,57 @@ | ||
2223 | "time": "2017-01-11T14:05:47+00:00" | 2605 | "time": "2017-01-11T14:05:47+00:00" |
2224 | }, | 2606 | }, |
2225 | { | 2607 | { |
2608 | + "name": "skeeks/yii2-assets-auto-compress", | ||
2609 | + "version": "1.2.3", | ||
2610 | + "source": { | ||
2611 | + "type": "git", | ||
2612 | + "url": "https://github.com/skeeks-semenov/yii2-assets-auto-compress.git", | ||
2613 | + "reference": "18d80abd2bbce79e11fa1c0484ab72f08e772cb2" | ||
2614 | + }, | ||
2615 | + "dist": { | ||
2616 | + "type": "zip", | ||
2617 | + "url": "https://api.github.com/repos/skeeks-semenov/yii2-assets-auto-compress/zipball/18d80abd2bbce79e11fa1c0484ab72f08e772cb2", | ||
2618 | + "reference": "18d80abd2bbce79e11fa1c0484ab72f08e772cb2", | ||
2619 | + "shasum": "" | ||
2620 | + }, | ||
2621 | + "require": { | ||
2622 | + "mrclay/minify": "*", | ||
2623 | + "natxet/cssmin": "*", | ||
2624 | + "tedivm/jshrink": "*", | ||
2625 | + "yiisoft/yii2": "*" | ||
2626 | + }, | ||
2627 | + "type": "yii2-extension", | ||
2628 | + "autoload": { | ||
2629 | + "psr-4": { | ||
2630 | + "skeeks\\yii2\\assetsAuto\\": "" | ||
2631 | + } | ||
2632 | + }, | ||
2633 | + "notification-url": "https://packagist.org/downloads/", | ||
2634 | + "license": [ | ||
2635 | + "BSD-3-Clause" | ||
2636 | + ], | ||
2637 | + "authors": [ | ||
2638 | + { | ||
2639 | + "name": "Semenov Alexander", | ||
2640 | + "email": "semenov@skeeks.com" | ||
2641 | + } | ||
2642 | + ], | ||
2643 | + "description": "Automatically compile and merge files js + css", | ||
2644 | + "homepage": "http://www.skeeks.com/", | ||
2645 | + "keywords": [ | ||
2646 | + "JS", | ||
2647 | + "Sx", | ||
2648 | + "app", | ||
2649 | + "assets", | ||
2650 | + "auto assets", | ||
2651 | + "css", | ||
2652 | + "framework", | ||
2653 | + "skeeks", | ||
2654 | + "yii" | ||
2655 | + ], | ||
2656 | + "time": "2016-11-11T08:29:19+00:00" | ||
2657 | + }, | ||
2658 | + { | ||
2226 | "name": "speixoto/yii2-amcharts", | 2659 | "name": "speixoto/yii2-amcharts", |
2227 | "version": "v0.1.1", | 2660 | "version": "v0.1.1", |
2228 | "source": { | 2661 | "source": { |
@@ -2319,6 +2752,52 @@ | @@ -2319,6 +2752,52 @@ | ||
2319 | "time": "2017-05-01T15:54:03+00:00" | 2752 | "time": "2017-05-01T15:54:03+00:00" |
2320 | }, | 2753 | }, |
2321 | { | 2754 | { |
2755 | + "name": "tedivm/jshrink", | ||
2756 | + "version": "v1.2.0", | ||
2757 | + "source": { | ||
2758 | + "type": "git", | ||
2759 | + "url": "https://github.com/tedious/JShrink.git", | ||
2760 | + "reference": "667e99774d230525d4d3dc2a50da7ba6b1d56bad" | ||
2761 | + }, | ||
2762 | + "dist": { | ||
2763 | + "type": "zip", | ||
2764 | + "url": "https://api.github.com/repos/tedious/JShrink/zipball/667e99774d230525d4d3dc2a50da7ba6b1d56bad", | ||
2765 | + "reference": "667e99774d230525d4d3dc2a50da7ba6b1d56bad", | ||
2766 | + "shasum": "" | ||
2767 | + }, | ||
2768 | + "require": { | ||
2769 | + "php": "^5.6|^7.0" | ||
2770 | + }, | ||
2771 | + "require-dev": { | ||
2772 | + "fabpot/php-cs-fixer": "0.4.0", | ||
2773 | + "phpunit/phpunit": "4.0.*", | ||
2774 | + "satooshi/php-coveralls": "^0.7.0" | ||
2775 | + }, | ||
2776 | + "type": "library", | ||
2777 | + "autoload": { | ||
2778 | + "psr-0": { | ||
2779 | + "JShrink": "src/" | ||
2780 | + } | ||
2781 | + }, | ||
2782 | + "notification-url": "https://packagist.org/downloads/", | ||
2783 | + "license": [ | ||
2784 | + "BSD-3-Clause" | ||
2785 | + ], | ||
2786 | + "authors": [ | ||
2787 | + { | ||
2788 | + "name": "Robert Hafner", | ||
2789 | + "email": "tedivm@tedivm.com" | ||
2790 | + } | ||
2791 | + ], | ||
2792 | + "description": "Javascript Minifier built in PHP", | ||
2793 | + "homepage": "http://github.com/tedious/JShrink", | ||
2794 | + "keywords": [ | ||
2795 | + "javascript", | ||
2796 | + "minifier" | ||
2797 | + ], | ||
2798 | + "time": "2017-05-30T02:59:46+00:00" | ||
2799 | + }, | ||
2800 | + { | ||
2322 | "name": "tinymce/tinymce", | 2801 | "name": "tinymce/tinymce", |
2323 | "version": "4.6.3", | 2802 | "version": "4.6.3", |
2324 | "source": { | 2803 | "source": { |
@@ -2365,6 +2844,54 @@ | @@ -2365,6 +2844,54 @@ | ||
2365 | "time": "2017-05-30T12:56:46+00:00" | 2844 | "time": "2017-05-30T12:56:46+00:00" |
2366 | }, | 2845 | }, |
2367 | { | 2846 | { |
2847 | + "name": "tubalmartin/cssmin", | ||
2848 | + "version": "v2.4.8-p10", | ||
2849 | + "source": { | ||
2850 | + "type": "git", | ||
2851 | + "url": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port.git", | ||
2852 | + "reference": "9c640e5d2d6fe1eac2167ff138b8b0ce39475d03" | ||
2853 | + }, | ||
2854 | + "dist": { | ||
2855 | + "type": "zip", | ||
2856 | + "url": "https://api.github.com/repos/tubalmartin/YUI-CSS-compressor-PHP-port/zipball/9c640e5d2d6fe1eac2167ff138b8b0ce39475d03", | ||
2857 | + "reference": "9c640e5d2d6fe1eac2167ff138b8b0ce39475d03", | ||
2858 | + "shasum": "" | ||
2859 | + }, | ||
2860 | + "require": { | ||
2861 | + "php": ">=5.0.0" | ||
2862 | + }, | ||
2863 | + "require-dev": { | ||
2864 | + "cogpowered/finediff": "0.3.*" | ||
2865 | + }, | ||
2866 | + "type": "library", | ||
2867 | + "autoload": { | ||
2868 | + "classmap": [ | ||
2869 | + "cssmin.php" | ||
2870 | + ] | ||
2871 | + }, | ||
2872 | + "notification-url": "https://packagist.org/downloads/", | ||
2873 | + "license": [ | ||
2874 | + "BSD-3-Clause" | ||
2875 | + ], | ||
2876 | + "authors": [ | ||
2877 | + { | ||
2878 | + "name": "Túbal Martín", | ||
2879 | + "homepage": "http://tubalmartin.me/" | ||
2880 | + } | ||
2881 | + ], | ||
2882 | + "description": "A PHP port of the YUI CSS compressor", | ||
2883 | + "homepage": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port", | ||
2884 | + "keywords": [ | ||
2885 | + "compress", | ||
2886 | + "compressor", | ||
2887 | + "css", | ||
2888 | + "cssmin", | ||
2889 | + "minify", | ||
2890 | + "yui" | ||
2891 | + ], | ||
2892 | + "time": "2017-04-04T14:38:03+00:00" | ||
2893 | + }, | ||
2894 | + { | ||
2368 | "name": "yii2tech/filedb", | 2895 | "name": "yii2tech/filedb", |
2369 | "version": "1.0.3", | 2896 | "version": "1.0.3", |
2370 | "source": { | 2897 | "source": { |
frontend/config/main.php
@@ -15,18 +15,21 @@ | @@ -15,18 +15,21 @@ | ||
15 | 'id' => 'app-frontend', | 15 | 'id' => 'app-frontend', |
16 | 'homeUrl' => '/', | 16 | 'homeUrl' => '/', |
17 | 'basePath' => dirname(__DIR__), | 17 | 'basePath' => dirname(__DIR__), |
18 | - 'bootstrap' => [ 'log' ], | 18 | + 'bootstrap' => [ |
19 | + 'log', | ||
20 | + 'assetsAutoCompress', | ||
21 | + ], | ||
19 | 'controllerNamespace' => 'frontend\controllers', | 22 | 'controllerNamespace' => 'frontend\controllers', |
20 | 'controllerMap' => [ | 23 | 'controllerMap' => [ |
21 | 'basket' => 'artbox\order\controllers\BasketController', | 24 | 'basket' => 'artbox\order\controllers\BasketController', |
22 | ], | 25 | ], |
23 | 'components' => [ | 26 | 'components' => [ |
24 | - 'request' => [ | 27 | + 'request' => [ |
25 | 'class' => LanguageRequest::className(), | 28 | 'class' => LanguageRequest::className(), |
26 | 'csrfParam' => '_csrf-frontend', | 29 | 'csrfParam' => '_csrf-frontend', |
27 | 'baseUrl' => '/', | 30 | 'baseUrl' => '/', |
28 | ], | 31 | ], |
29 | - 'user' => [ | 32 | + 'user' => [ |
30 | 'identityClass' => 'artbox\order\models\Customer', | 33 | 'identityClass' => 'artbox\order\models\Customer', |
31 | 'enableAutoLogin' => true, | 34 | 'enableAutoLogin' => true, |
32 | 'identityCookie' => [ | 35 | 'identityCookie' => [ |
@@ -34,11 +37,11 @@ | @@ -34,11 +37,11 @@ | ||
34 | 'httpOnly' => true, | 37 | 'httpOnly' => true, |
35 | ], | 38 | ], |
36 | ], | 39 | ], |
37 | - 'session' => [ | 40 | + 'session' => [ |
38 | // this is the name of the session cookie used for login on the frontend | 41 | // this is the name of the session cookie used for login on the frontend |
39 | 'name' => 'advanced-frontend', | 42 | 'name' => 'advanced-frontend', |
40 | ], | 43 | ], |
41 | - 'log' => [ | 44 | + 'log' => [ |
42 | 'traceLevel' => YII_DEBUG ? 3 : 0, | 45 | 'traceLevel' => YII_DEBUG ? 3 : 0, |
43 | 'targets' => [ | 46 | 'targets' => [ |
44 | [ | 47 | [ |
@@ -58,14 +61,15 @@ | @@ -58,14 +61,15 @@ | ||
58 | ], | 61 | ], |
59 | ], | 62 | ], |
60 | ], | 63 | ], |
61 | - 'errorHandler' => [ | 64 | + 'errorHandler' => [ |
62 | 'errorAction' => 'site/error', | 65 | 'errorAction' => 'site/error', |
63 | ], | 66 | ], |
64 | - 'urlManager' => [ | 67 | + 'urlManager' => [ |
65 | 'baseUrl' => '/', | 68 | 'baseUrl' => '/', |
66 | 'class' => SeoUrlManager::className(), | 69 | 'class' => SeoUrlManager::className(), |
67 | 'enablePrettyUrl' => true, | 70 | 'enablePrettyUrl' => true, |
68 | 'showScriptName' => false, | 71 | 'showScriptName' => false, |
72 | + 'forceRedirect' => true, | ||
69 | 'rules' => [ | 73 | 'rules' => [ |
70 | [ | 74 | [ |
71 | 'pattern' => 'filter/<filter>', | 75 | 'pattern' => 'filter/<filter>', |
@@ -90,13 +94,17 @@ | @@ -90,13 +94,17 @@ | ||
90 | 'login/<service:google|twitter|facebook|yahoo|linkedin|linkedin_oauth2|github|steam|instagram>' => 'site/login', | 94 | 'login/<service:google|twitter|facebook|yahoo|linkedin|linkedin_oauth2|github|steam|instagram>' => 'site/login', |
91 | ], | 95 | ], |
92 | ], | 96 | ], |
93 | - 'basket' => [ | 97 | + 'basket' => [ |
94 | 'class' => Basket::className(), | 98 | 'class' => Basket::className(), |
95 | ], | 99 | ], |
96 | - 'eauth' => require( 'eauth.php' ), | ||
97 | - 'history' => [ | 100 | + 'eauth' => require( 'eauth.php' ), |
101 | + 'history' => [ | ||
98 | 'class' => History::className(), | 102 | 'class' => History::className(), |
99 | ], | 103 | ], |
104 | + 'assetsAutoCompress' => [ | ||
105 | + 'class' => '\skeeks\yii2\assetsAuto\AssetsAutoCompressComponent', | ||
106 | + 'enabled' => false, | ||
107 | + ], | ||
100 | ], | 108 | ], |
101 | 'params' => $params, | 109 | 'params' => $params, |
102 | ]; | 110 | ]; |
frontend/web/js/script.js