1
0
mirror of https://github.com/mrclay/minify.git synced 2025-03-15 18:09:39 +01:00

238 Commits

Author SHA1 Message Date
Elan Ruusamäe
76e2669180 drop bundled CSSmin, use tubalmartin/cssmin from packagist instead 2014-11-30 17:30:57 +02:00
Elan Ruusamäe
4f0741a935 drop bundled firephp, use firephp/firephp-core from packagist instead 2014-11-30 17:30:37 +02:00
Elan Ruusamäe
44683b2e63 Merge pull request #126 from glensc/autoloader
rework classloader
2014-11-17 23:23:11 +02:00
Elan Ruusamäe
0e9e1237c6 make composer dependency required
NOTE: this changes required minimum PHP version to 5.3.3
2014-10-16 00:04:51 +03:00
Elan Ruusamäe
bce6facdca remove duplicate $keys. refs bceffd5 2014-10-12 17:34:00 +03:00
Elan Ruusamäe
0cbbcd0a53 get rid of $min_libPath 2014-10-12 17:21:21 +03:00
Elan Ruusamäe
96da497e9c rework classloader
- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
2014-10-12 16:28:41 +03:00
Elan Ruusamäe
16069cc0c0 lesscss integration. #112 2014-10-01 16:37:27 +03:00
Steve Clay
beb750df3e Fix Files and Groups controllers, cleanup unused stuff 2014-09-23 11:47:20 -04:00
Steve Clay
9716fe802c Remove unneeded checkType in MinApp 2014-09-23 11:14:00 -04:00
Steve Clay
6d9fe1531e WIP: Huge overhaul. min app works! 2014-09-23 11:09:09 -04:00
Steve Clay
c75f97f3bc (WIP) Move to dynamic objects, adds env & source factory 2014-09-22 15:04:05 -04:00
Steve Clay
4910238a9f remove unneeded pack() 2014-09-21 13:01:09 -04:00
Steve Clay
7ff9438362 Rename cache interface in pref for namespaces 2014-09-21 13:00:03 -04:00
Elan Ruusamäe
ee47d21be2 rename Minify_Cache_Abstract class to Minify_Cache_Interface interface 2014-09-21 12:50:54 -04:00
Elan Ruusamäe
31a80b43a6 if no Cache is defined, create Minify_Cache_Null 2014-09-21 12:50:54 -04:00
Elan Ruusamäe
5193c76581 add Null cache 2014-09-21 12:50:53 -04:00
Elan Ruusamäe
bd8f3faacc add Minify::getCache() and Minify_Cache_Abstract that all cache classes must implement 2014-09-21 12:50:53 -04:00
acidvertigo
f29e1e6b06 Code clean 2014-09-21 12:50:53 -04:00
Elan Ruusamäe
54cec8b304 remove two DOS EOL 2014-09-21 12:50:53 -04:00
Matthias Fax
bb67f5762b Add Wincache
Updated comments

Check for Wincache existence in constructor

Normalized markup

Add Wincache test

Tie Wincache test to test index
2014-09-21 12:50:53 -04:00
Steve Clay
d40d71cdff Adds source interface https://github.com/mrclay/minify/issues/116 2014-09-20 23:37:50 -04:00
Steve Clay
dca6be63e3 Removes support for arbitrary objects for sources 2014-09-18 18:02:45 -04: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
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
f3a408fd74 Remove unused var, add @throws 2014-03-12 09:48:36 -04:00
Sam Bauers
c91f746132 2.2.0 release - update VERSION constant 2014-03-12 08:53:30 -04: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
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
Sam Bauers
8e74d727f0 Use base for main config key. 2014-02-05 00:59:21 +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
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
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