1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-24 08:52:50 +01:00

24 Commits

Author SHA1 Message Date
Steve Clay
9a1f306305 no need for user to call setDocRoot() 2011-09-03 20:39:25 -04:00
Steve Clay
2f11b725b8 improved issue 170 2011-09-03 20:18:57 -04:00
Steve Clay
c6a2f87641 Minify_CSS : remove charset at-rules by default & options cleanup
Minify_HTML : speed patch (Issue 192)
Minify_Controller_MinApp : better error logging (Issue 193)
index.php : allow easier custom controller hacking
2010-09-30 04:31:58 +00:00
Steve Clay
19e79ff7fb Fixed tests & classes in case of mbstring.func_overload & 2 (Issue 132)
Added ability to match multiple strings in URIs for debugging
2010-05-16 01:27:33 +00:00
Steve Clay
02dbf14c8e Work on: Issue 120, Issue 170, Issue 152, Issue 125, Issue 134, Issue 143
Broke some tests
2010-05-10 07:44:40 +00:00
Steve Clay
f4c688b338 Work on: Issue 125, Issue 126, Issue 132, Issue 134, Issue 138, Issue 139, Issue 147, Issue 149, Issue 151, Issue 162, Issue 166 2010-05-09 16:43:47 +00:00
Steve Clay
03673e0928 Prep for 2.1.3
HTTP_ConditionalGet: no more "must-revalidate"
HTTP_Encoder: prefers gzip over deflate
Minify: no more deflate encoding
File cache works w/o setting $min_cachePath
Minify_Source: + public $contentType
2009-06-30 19:44:55 +00:00
Steve Clay
22ee97a934 CSS/UriRewriter.php : fixed expansion of docRoot in symlink links
min/index.php : removed expansion (unneeded)
2009-03-06 02:43:12 +00:00
Steve Clay
f694969342 min/index.php : fix Issue 92 2009-03-04 16:28:14 +00:00
Steve Clay
4c1fe68ab6 Minify.php : moved logging to Logger.php
Controller/Base.php : + log()
Changed controllers to use $this->log()
HTML.php : Issue 83 (preserve some WS around scripts)
CSS.php : + symlinks option to correct some rewritten URIs
min/config.php : + $min_symlinks
min/index.php : normalize symlinks and use Logger.php
min_unit_tests/_inc.php : default FirePHP logging, start output buffering
2009-01-28 20:02:25 +00:00
Steve Clay
53f39bc2ab Separated logging option from debug option (allows custom logger injection).
Formalized setting document root (will no longer be overridden on IIS).
Rearranged options in config.php.
2009-01-26 00:44:43 +00:00
Steve Clay
e03c263d18 + FirePHP error logging in Files, Groups, and MinApp controllers 2009-01-25 19:40:51 +00:00
Steve Clay
6ccdc5f253 min/index.php : Allow far-off expires on f= URIs
min/README.txt : + docs for far-off expires
2008-10-28 00:25:40 +00:00
Steve Clay
6dffb5e10e + unit tests for sensing server/PHP auto-HTTP-encoding and zlib.output_compression
moved ini_set('zlib.output_compression', '0') to config.php so extras and ab tests should work when this is set in php.ini/.htaccess.
builder/index.php : added escapes to JS strings for valid HTML
2008-10-07 20:47:15 +00:00
Steve Clay
6b2ecd4038 Issue 57 work. Min app sets "zlib.output_compression" to "0" in case it is "1". Builder doesn't encode is it senses this option set, and runs AJAX checks for the status of it and to check for double-encoded output. 2008-10-07 15:07:13 +00:00
Steve Clay
12ca7b470f + Controller/MinApp.php for min app
min/index.php : rewritten to use MinApp.php
Controller/Base.php : simplified _fileIsSafe()
min/config.php : + flock and maxFiles options
2008-09-18 01:56:29 +00:00
Steve Clay
12dc98c50a Prep for 2.1
min/builder/ : enableBuilder option, better debug behavior
HTTP/Encoder.php : phpdoc fix
Minify.php : removed setServerCache()
Cache/Memcache.php : better docs
README : simplified
2008-09-05 04:22:57 +00:00
Steve Clay
86c09a1cd0 builder app improvements
Minify.php : + setDocRoot() for IIS (min only checks if on Windows)
Controller/Page.php : + 'file' option for simpler usage
2008-09-03 19:42:41 +00:00
Steve Clay
7b9fcb4dd6 crude builder app for generating URIs quickly 2008-09-03 05:13:52 +00:00
Steve Clay
79a4e17fb6 All PHP/doc files have Unix newlines w/ no BOM 2008-08-29 22:56:34 +00:00
Steve Clay
4b3e92ca91 min: + options for maxAge, uploaderHoursBehind, debug
Minify: better docblock for uploaderHoursBehind
2008-08-24 00:30:30 +00:00
Steve Clay
62d7c83d80 + README.txt
min/config.php: removed $minifyAllowBase option and reorganized file
min/index.php: added option to send far-off expires if "&\d" matches query string
2008-08-19 21:01:05 +00:00
Steve Clay
348c838c8b min/config.php: allows multiple allow directories
Controller/Version1.php: + option to specify multiple allow dirs
Minify_Controller_Base::_fileIsSafe() allows multiple safe dirs
Minify_CSS: shorter line length output
2008-08-16 15:25:27 +00:00
Steve Clay
961e04ca30 Created "min" = new default implementation as specified in Issue 45.
Minify: fixed default value in useServerCache(), + doc for 'contentType' serve() option
Minify_Controller_Base: added todo item
Minify_Controller_Version1: fixed default cache to '' (instead of null)
2008-08-12 01:55:35 +00:00