Steve Clay
de39966e9c
Makes sure all file/dir paths are normalized to prepare for comparing.
...
Particularly the system docRoot and currentDir values passed to the URI
rewriter and the allowDirs check.
2016-05-12 13:29:54 -04:00
Steve Clay
7aac6792bc
Merge pull request #530 from mrclay/merge2x
...
Merge 2.x into master
2016-05-12 11:37:14 -04:00
Steve Clay
6f94b78135
Remove stuff accidentally left in merge
2016-05-12 11:14:38 -04:00
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
02e7358538
Merge pull request #528 from mrclay/version
...
Minify::VERSION tracks only the major version
2016-05-12 10:46:17 -04:00
Steve Clay
0db2af8741
Minify::VERSION tracks only the major version
2016-05-12 10:45:58 -04:00
Evgeny Mazovetskiy
6a2995f932
list allowDirs in exception to simplify debugging
2016-05-12 10:43:31 -04:00
Steve Clay
b38ed79042
Merge pull request #524 from mrclay/mrclay-mrclay-patch-1
...
Use $min_libPath in examples and move it within config.php
2016-05-12 10:28:59 -04:00
Steve Clay
bb6e4d5f2e
Merge pull request #519 from mrclay/clip_path_517
...
No longer alters inline SVG id URLs
2016-04-18 21:13:51 -04:00
Steve Clay
28197576c6
Use $min_libPath in examples and move it within config.php
...
Fixes #522
2016-04-18 21:12:12 -04:00
Steve Clay
b7cf3808d7
Improves README and add install doc page
...
Shows how to install as a composer dependency
2016-04-02 11:46:29 -04:00
Steve Clay
cff094781b
No longer alters inline SVG id URLs
...
Fixes #517
2016-03-16 18:32:47 -04:00
Elan Ruusamäe
5da955966b
fix branch name. refs ce2b8d6
2016-03-13 14:56:14 +02:00
Elan Ruusamäe
0eb2cfe78d
Update README.md
...
fixes from googlecode migration
2016-03-13 14:55:23 +02:00
Elan Ruusamäe
ce2b8d694c
composer: add 3.0 branch alias
...
so could use in deps mrclay/minify: ~3.0
2016-03-13 14:32:24 +02:00
Steve Clay
2d3c417a51
Update README.md
...
Add news
2016-03-11 23:08:29 -05:00
Steve Clay
24b601217e
Merge pull request #512 from mrclay/deps
...
Large restructuring
2016-03-10 18:48:49 -05: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
f4cb31135d
Merge pull request #516 from mrclay/23_deprecations
...
Begin prep for 2.3 release
2.3.0
2016-03-08 06:49:57 -05:00
Elan Ruusamäe
7c95ee7540
Update Debugging.wiki.md
2016-03-08 08:50:52 +02:00
Elan Ruusamäe
c29dc274c4
Update CommonProblems.wiki.md
2016-03-08 08:49:11 +02:00
Steve Clay
afbcadf33c
Begin prep for 2.3 release
2016-03-07 16:50:01 -05:00
Steve Clay
86bd761a5f
Merge pull request #511 from mrclay/fix_499
...
Minify no longer tries to minify -min.js/.min.js files
2016-03-07 15:52:21 -05:00
Steve Clay
7dbd2c87e4
Minify no longer tries to minify -min.js/.min.js files
...
2.2 used empty string as a magical value meaning do not minify, but
in the refactoring `Minify::combineMinify` forgot to interpret this
value that way and instead inherited the default compressor for the type.
This eliminates `""` as a magical value, but for BC rewrites it to
`Minify::nullMinifier` in the sources.
Fixes #499
2016-02-26 11:17:55 -05:00
Elan Ruusamäe
237d83d3cb
add jshrink thin wrapper
2016-02-03 09:11:52 +02:00
Elan Ruusamäe
0b466c0892
fix debugdetector
...
current docs say append '&debug' to url, therefore 'debug' parameter has no value.
2016-01-22 09:05:49 +02:00
Elan Ruusamäe
9de4e927c7
truepath can be private
2016-01-22 09:04:14 +02:00
Elan Ruusamäe
72ae74f1c5
fixes to allowDirs processing, #496 , #497 , #498
...
Merge branch 'pr/496'
2016-01-22 08:50:54 +02:00
Elan Ruusamäe
14bde12d3b
changes as per comments
...
https://github.com/mrclay/minify/pull/496#discussion_r50247608
2016-01-22 08:50:37 +02:00
Elan Ruusamäe
30961eb2ee
Merge pull request #502 from glensc/cs
...
do some trivial codestyle fixes
2016-01-22 08:46:11 +02:00
Elan Ruusamäe
8fc327bec6
ignore editor backups
2016-01-22 00:57:33 +02:00
Elan Ruusamäe
42875e8388
setup phpcs cache
2016-01-22 00:56:05 +02:00
Elan Ruusamäe
b2ac4a52bb
do trim whitespace in editorconfig
2016-01-22 00:41:48 +02:00
Elan Ruusamäe
e6f2df52b3
add php-cs-fixer config
...
config used to do previous commit (379feab
)
2016-01-22 00:38:40 +02:00
Elan Ruusamäe
379feaba99
do some trivial codestyle fixes
...
unix newlines, trailing spaces
2016-01-22 00:38:12 +02:00
Elan Ruusamäe
90bf31f53b
spelling fix
2016-01-20 18:46:41 +02:00
Elan Ruusamäe
22d34533ac
do not require SERVER_SOFTWARE being present in $server
2016-01-20 16:00:39 +02:00
Elan Ruusamäe
cd49391833
cosmetic
...
also comment why the check may be neccessary
2016-01-20 15:41:56 +02:00
Elan Ruusamäe
c387014e27
add test for #500
2016-01-20 13:21:11 +02:00
Elan Ruusamäe
7a73d781f2
closure: mute output for f5c12ad
2015-12-16 22:50:35 +02:00
Elan Ruusamäe
f5c12ad0f4
add test for closure compiler tags validation
...
https://code.google.com/p/closure-compiler/issues/detail?id=513
2015-12-16 22:43:32 +02:00
Dmitry Demidovsky
01d4835d14
translate legacy setting to option for source factory (AllowDir)
2015-12-05 23:00:11 +03:00
Dmitry Demidovsky
3fcb383f49
Changed allowDirs comparsion logic #497
2015-12-05 22:58:00 +03:00
Dmitry Demidovsky
3f02443c1f
Added rtrim, removed preg_match
2015-12-05 17:51:58 +03:00
Dmitry Demidovsky
da70e92cc1
normalize paths before checking allowed dirs
2015-12-04 14:02:02 +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
Elan Ruusamäe
04d7ab0856
travis: add memcache service
...
http://docs.travis-ci.com/user/database-setup/#Memcached
2015-11-23 15:41:33 +02:00
Elan Ruusamäe
a89b1b9efc
composer.lock is in root
2015-11-23 14:49:53 +02:00
Elan Ruusamäe
3060d2861b
Merge pull request #492 from GrahamCampbell/patch-1
...
Delete composer.lock
2015-11-23 14:48:55 +02:00
Graham Campbell
0ab74bb892
Update .gitignore
2015-11-22 22:31:10 +00:00