1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-23 16:33:02 +01:00

401 Commits

Author SHA1 Message Date
Elan Ruusamäe
0624820859 tests: use Minify_Source 2014-09-18 21:52:06 +03:00
Elan Ruusamäe
6817584513 last_modified is always integer, no need to check for null 2014-09-18 21:51:39 +03:00
Elan Ruusamäe
4f5cdbb746 Convert Minify_Source::lastModified to ->getModifiedTime() #114 2014-09-18 20:28:44 +03:00
Steve Clay
fb3931f8cd Fixes #97: URIs with spaces are correctly rewritten 2014-04-03 19:53:48 -04:00
Steve Clay
50488ce207 Merge pull request #96 from glensc/patch-2
insert_final_newline to true
2014-03-20 06:47:05 -04:00
Elan Ruusamäe
ebc91b5d33 insert_final_newline to true 2014-03-20 09:17:56 +02:00
Steve Clay
e7728405f5 Merge pull request #95 from glensc/patch-1
.editorconfig: skip style apply in vendor/ (composer stuff)
2014-03-19 12:31:26 -04:00
Elan Ruusamäe
537b4b314a skip style apply in vendor/ (composer stuff) 2014-03-19 17:19:57 +02:00
Steve Clay
4a884a381f Merge pull request #94 from glensc/issue-51
Handle faiure to open cache file for writing
2014-03-19 10:34:30 -04:00
Steve Clay
b018c834da Created .editorconfig 2014-03-19 10:33:07 -04:00
Elan Ruusamäe
27b4f758bc fix passing invalid parametrs to flock. #51 2014-03-19 15:07:57 +02:00
Steve Clay
9231aed49f Adds Bootstrap styling to builder app 2014-03-12 10:35:14 -04:00
Steve Clay
ea7fe90554 Merge branch 'Jimdo-add-tests-closure-compiler' 2014-03-12 09:52:21 -04:00
Steve Clay
5ceada8a22 YUIC unit test updates
bail if jar not found, make test more obviously customizable, don't
fail test if YUIC correctly handles input it used to choke on.
2014-03-12 09:51:53 -04:00
Steve Clay
66f2622705 Clean up unit test messages 2014-03-12 09:49:16 -04:00
Steve Clay
f3a408fd74 Remove unused var, add @throws 2014-03-12 09:48:36 -04:00
Steve Clay
d245bca498 Merge branch 'sambauers-master' 2.2.0 2014-03-12 08:54:23 -04:00
Sam Bauers
c91f746132 2.2.0 release - update VERSION constant 2014-03-12 08:53:30 -04:00
Sam Bauers
853dfd0395 Prepare for 2.2.0 release with updated HISTORY.txt 2014-03-12 08:53:30 -04:00
Joscha Feth
c60b6a2984 fix typo 2014-03-05 19:29:22 +01:00
Joscha Feth
54a53c9c19 Adds tests for the command line based Closure Compiler 2014-03-05 19:20:52 +01:00
Steve Clay
eadf601dbe Cleanup index.php a bit 2014-02-04 11:00:25 -05:00
Steve Clay
30839ab5f0 Allow long expires with "v" query string param 2014-02-04 11:00:11 -05:00
Steve Clay
b4b8606dfd Fix/simplify custom config paths implementation 2014-02-04 10:57:45 -05:00
Steve Clay
86fbe1f948 Merge branch 'joec4i-master' 2014-02-04 10:31:37 -05:00
Steve Clay
a2487c7c1a Simplify identifying file-relative URIs in rewriter 2014-02-04 10:31:00 -05:00
Steve Clay
f3aa19283b Merge pull request #86 from mrclay/cite_is_inline
Remove cite from block elements pattern
2014-02-04 07:08:59 -08:00
Steve Clay
ef726e261b Merge branch 'Jimdo-jimdo-compiler-service-options' 2014-02-04 10:00:22 -05:00
Steve Clay
a35b801ce9 Clean up pull/84 additions 2014-02-04 09:59:46 -05:00
Joscha Feth
5d73cd0886 * Allow additional HTTP options to be passed to the Closure compiler service
* Allow option for overriding the maximum byte size POST limit
2014-02-04 09:59:46 -05:00
Steve Clay
ddee838f7c Merge pull request #88 from sambauers/master
Allow definition of custom config directory.
2014-02-04 06:10:18 -08:00
Sam Bauers
8e74d727f0 Use base for main config key. 2014-02-05 00:59:21 +11:00
Sam Bauers
8e55cd8091 Use base for main config key. 2014-02-05 00:58:46 +11:00
Sam Bauers
2c897a0b59 Fix index names on config paths array. 2014-02-05 00:57:18 +11:00
Sam Bauers
63519b55f6 Remove filenames from include statements. 2014-02-05 00:54:03 +11:00
Sam Bauers
0f4692e0c0 Change custom path explanation to match full custom paths changes. 2014-02-05 00:51:23 +11:00
Sam Bauers
b34d964e88 Allow full custom path including filename 2014-02-05 00:46:08 +11:00
Sam Bauers
ae70500a2d Allow optional custom configs to be optional
This change tests first for the existence of the custom config variable and then the existence of each custom config file in turn. If found the directory path to append to that config file is changed to the custom path.

This allows fallback to the standard config when no custom config is present.

Maybe it would be even better to load both - the standard config, then the custom config, but this might be confusing for groupConfig.php. It could work using array merge, but it wouldn't be particularly clear or easy to explain.
2014-02-04 12:37:40 +11:00
Sam Bauers
b8a0cac0e5 Explain separate config storage in MIN.txt 2014-02-04 12:13:33 +11:00
Sam Bauers
719c22fca4 Include groupsConfig.php in MINIFY_CONFIG_DIR. 2014-02-03 18:19:46 +11:00
Sam Bauers
aceef480c3 Allow definition of custom config directory.
To allow "clean" checkouts of Minify we could use the possibility to define a custom config directory outside the minify directory.

Using this patch a user can define MINIFY_CUSTOM_CONFIG_DIR on a new page outside the minify directory and then include minify's index.php on that page and point their rewrites etc. there instead.

The config.php (and config-test.php) could be copied to the custom directory and edited without causing svn:external/git:submodule conflicts.
2014-02-03 18:19:00 +11:00
Steve Clay
9e4176f193 Remove cite from block elements pattern 2014-01-13 16:50:48 -05:00
Joe Cai
ea866716e7 Fixed the last commit 2014-01-02 22:44:27 +08:00
Joe Cai
bb03aa097d about:blank check with regex 2014-01-02 22:32:41 +08:00
Joe Cai
143046d472 CSS_UriRewriter: do not rewrite about:blank 2014-01-02 11:27:40 +08:00
Steve Clay
5560a664e9 Fix up web-based tool and correct error byte in JSMin exceptions 2013-11-27 18:28:39 -05:00
mrclay.org
f8b62b358b Fixes issue 299 on Windows by reducing length of cache filenames 2013-11-13 20:37:44 -05:00
Steve Clay
218f37fb44 Update CSSmin, adds Minify_CSSmin wrapper, removes units for CSSmin 2013-11-13 20:18:19 -05:00
Steve Clay
e778d4f714 Merge pull request #78 from glensc/cc-url2
allow possibility to configure closure-compiler url
2013-11-08 17:00:44 -08:00
Steve Clay
88367b3f72 Merge pull request #77 from glensc/temp-path-error
report temp path when mktemp fails
2013-11-08 16:58:39 -08:00