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
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