1
0
mirror of https://github.com/mrclay/minify.git synced 2025-03-12 16:39:38 +01:00

7 Commits

Author SHA1 Message Date
Steve Clay
4710509c68 Large restructuring
Moves all dependency building into App
bootstrap.php returns an App instance
The app loads config files as necessary
Moves logging to Monolog
Moves HTTP digest auth to packagist component
Rely on sys_get_temp_dir
Env hosts $_POST and allows defaults when reading
HTML helper uses the App and can handle less files
Source factory assumes strings are filenames
Fixes JsClosureCompilerTest::test6 (API now handles ES5 by default)
Exclude JsClosureCompilerTest due to API limitations
config.php can now return a Minify\Config object
Variables set in config.php are now moved to a `Minify\Config` object,
allowing better static analysis.
The `zlib.output_compression` set is moved into `Minify::serve`.
2016-03-10 18:44:23 -05:00
Dmitry Demidovsky
01d4835d14 translate legacy setting to option for source factory (AllowDir) 2015-12-05 23:00:11 +03:00
Steve Clay
6998e61654 Merge pull request #476 from mrclay/symlinks_3
Allow specifying files via $min_symlinks paths
2015-12-02 12:14:30 -05:00
Steve Clay
53a832fd90 Be clearer about missing params
Fixes #423
2015-09-29 15:59:14 -04:00
Steve Clay
b7b26e3a83 A couple improvements
Show 400 if request is missing spec (instead of redirect)
Allow config.php to change factories for Minify and MinApp objects
These should've been separate commits, :(
2015-09-29 14:35:43 -04:00
Steve Clay
7c607ff932 Allow specifying files via $min_symlinks paths
If you have an alias/symlink like "//~name" => "/full/path", then you can
now serve with the more logical URL http://example.com/min/?f=~name/foo.css

Fixes #137
2015-09-28 21:50:32 -04:00
Steve Clay
e596b35fc4 Collapse "min" into project root and get unit tests working.
Fixes #472
2015-09-28 15:39:25 -04:00