1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-21 07:22:26 +01:00

6 Commits

Author SHA1 Message Date
Steve Clay
865946c0ed Merge branch '2.x' into merge2x
Conflicts:
	.gitignore
	HISTORY.txt
	README.md
	config.php
	docs/CookBook.wiki.md
	docs/CustomSource.wiki.md
	lib/Minify/CSS/UriRewriter.php
	min/lib/DooDigestAuth.php
	min/lib/FirePHP.php
	min/lib/JSMinPlus.php
	min/lib/Minify/Controller/Base.php
	min/lib/Minify/Loader.php
	min/lib/Minify/Logger.php
2016-05-12 11:03:16 -04:00
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
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
1aaf8f014f Set builder default back to disabled 2015-09-29 14:31:47 -04:00
Steve Clay
0bc3769802 Make CSSmin the default CSS compressor 2015-09-28 20:32:56 -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