1
0
mirror of https://github.com/mrclay/minify.git synced 2025-03-13 08:59:38 +01:00

579 Commits

Author SHA1 Message Date
Elan Ruusamäe
c29dc274c4 Update CommonProblems.wiki.md 2016-03-08 08:49:11 +02: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
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
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
Graham Campbell
1ab6bcffc1 Delete composer.lock 2015-11-22 22:30:18 +00:00
Elan Ruusamäe
07dd4f1958 cache also vendor dir 2015-11-22 22:31:10 +02:00
Elan Ruusamäe
628f9bdebb travis: use container infra
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-11-22 22:27:30 +02:00
Elan Ruusamäe
ff5b1249db Update README.md
typical installation does not require dev deps
2015-11-22 22:21:36 +02:00
Elan Ruusamäe
2471fbfc6e travis: always use latest composer.json, run phpunit tests 2015-11-22 22:19:10 +02:00
Elan Ruusamäe
6f923c66ee lower phpunit version to run with php 5.3 on travis 2015-11-22 22:16:37 +02:00
Elan Ruusamäe
492222df18 Update README.md
don't need to escape camelcase in this wiki
2015-11-22 22:08:50 +02:00
Elan Ruusamäe
fe359bbf8a use block comment for better (future) git annotate 2015-11-22 22:06:33 +02:00
Elan Ruusamäe
8d1f4ad765 Merge pull request #491 from mrclay/phpunit_conversion
PHPUnit conversion
2015-11-22 22:02:01 +02:00
Elan Ruusamäe
ac1e254c48 restore *again* composer dev deps and suggests. refs aa825fc 2015-11-22 21:56:59 +02:00
Elan Ruusamäe
2819e133a5 Merge pull request #490 from glensc/nailgun
add Nailgun based ClosureCompiler
2015-11-22 21:45:45 +02:00
Steve Clay
47e2c178a3 Update composer.lock 2015-11-22 14:01:58 -05:00
Steve Clay
316a109032 Port last of min_unit_tests, remove references to it, add composer script 2015-11-22 13:57:53 -05:00
Steve Clay
9370e96fd4 port MinifyTest to phpunit, move test_environment to server-info.php 2015-11-22 13:57:52 -05:00
Steve Clay
2a24e8a31a drop test_Minify_CSS.php 2015-11-22 13:57:52 -05:00
Steve Clay
ae4b49fcee port MinifyLinesTest to phpunit 2015-11-22 13:57:52 -05:00
Steve Clay
8a35a8d9ca Add explicit dependency on PHPUnit 5 2015-11-22 13:57:52 -05:00
Elan Ruusamäe
6c95daf3cf formatting fixes 2015-11-22 13:56:59 -05:00
Elan Ruusamäe
8816e270e6 port HTTPConditionalGetTest 2015-11-22 13:56:59 -05:00
Elan Ruusamäe
3a9687ad4e port MinifyCSSUriRewriterTest to phpunit 2015-11-22 13:56:59 -05:00
Elan Ruusamäe
6e7767aa3e port MinifyHTMLTest to phpunit 2015-11-22 13:56:59 -05:00
Elan Ruusamäe
16b8296c34 port MinifyHTMLHelperTest to phpunit 2015-11-22 13:56:59 -05:00
Elan Ruusamäe
fa9f5db843 port MinifyCacheWinCacheTest to phpunit 2015-11-22 13:56:59 -05:00