Commit graph

112 commits

Author SHA1 Message Date
Kijin Sung
2a8c18eb01 Use Formatter class to add multiple common scripts at the same time 2016-05-04 14:27:47 +09:00
Kijin Sung
753a70005a Do not check mtime of remote or inaccessible scripts 2016-05-03 22:07:43 +09:00
Kijin Sung
5d23ac2f16 Simplify path handling 2016-05-03 21:57:37 +09:00
Kijin Sung
99a86a072b Clean up path handling in FrontEndFileHandler 2016-05-03 21:44:13 +09:00
Kijin Sung
7709eb97c6 Support passing variables to LESS and SCSS stylesheets 2016-05-03 21:35:42 +09:00
Kijin Sung
25965b5d72 Initial support for LESS and SCSS stylesheets 2016-05-03 21:23:38 +09:00
Kijin Sung
d41516349c Remove use of old db_info in minify_scripts processing 2016-02-05 11:03:43 +09:00
Kijin Sung
b0bfb9a364 Set up replacement table for path conversions 2016-01-12 14:02:26 +09:00
Kijin Sung
1476d8d0f4 Also check file content to detect corrupted symlinks 2016-01-11 19:58:50 +09:00
Kijin Sung
7850afdb63 Do not recognize broken symlinks (smaller than 32 bytes) as minified scripts 2016-01-11 19:21:14 +09:00
Kijin Sung
da1822d296 Add option to minify only common (core) files 2016-01-10 17:02:26 +09:00
Kijin Sung
4e8f048c1d Prevent templates from duplicating common CSS and JS scripts 2016-01-09 21:38:37 +09:00
Kijin Sung
f8e020f8ec Miscellaneous fixes and optimizations 2016-01-09 11:04:39 +09:00
Kijin Sung
4bb565dd51 Fix error when loading two or more files with the same basename 2016-01-09 10:39:33 +09:00
Kijin Sung
9871c5f547 Do not treat symlinks as already minified scripts 2016-01-08 10:27:04 +09:00
Kijin Sung
750ea2e9bb Fix incorrectly minified URLs in third-party resources 2016-01-08 09:36:38 +09:00
Kijin Sung
ff0e71a4e3 Fix compatibility with safe_mode when saving minified scripts 2016-01-07 16:37:48 +09:00
Kijin Sung
22910608a2 Update unit tests to check for minification 2016-01-07 16:06:07 +09:00
Kijin Sung
bfaa2c170b Make minify option configurable by the site administrator 2016-01-07 15:33:35 +09:00
Kijin Sung
a4d944f23d Create human-readable paths for minified scripts 2016-01-07 15:21:33 +09:00
Kijin Sung
6a08c10f2d Initial implementation of auto-minify 2016-01-07 13:54:47 +09:00
Kijin Sung
38744d7088 Fix #1477 프로토콜 상대주소 처리 개선 2015-05-19 15:02:03 +09:00
Kijin Sung
cd823663b4 Allow protocol-relative URLs in <load> syntax 2015-02-25 16:05:35 +09:00
khongchi
216ae5a3d1 #852 isSsl() 메소드 오류 수정 및 deprecated 설정 2014-08-18 16:37:29 +09:00
bnu
a5f082e081 fix #623 오타 수정 2014-04-04 19:11:02 +09:00
bnu
3f38f32f99 fix #623 stable 버전이 아니면 .min 파일 대신 원본을 load 하도록 수정 2014-04-04 18:26:20 +09:00
ngleader
27cf174b0c NOISSUE, trivial code change 2013-11-25 22:28:10 +09:00
khongchi
3581db5932 remove cdn feature
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 06:04:28 +00:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
ovclas
1c53ed7ada issue 2969 modify fileExtension variable
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12761 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-15 06:43:39 +00:00
flyskyko
94da6058e7 issue 2961. fixed a bug. duplicate load, abnormal sorting.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12751 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-14 06:24:46 +00:00
flyskyko
7305cebf38 issue 2119. supporting php 5.4. frontend file handler, handler and xe http request classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12689 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 01:42:28 +00:00
flyskyko
0f04bd3f92 merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 08:09:07 +00:00
flyskyko
6ada9a3639 rollback 12571-12581
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12676 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 05:48:33 +00:00
chschy
eac2272e05 loadFile() error
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12581 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-01-23 05:38:57 +00:00
flyskyko
0797d6126d Fixed a bug, does not load external front end file
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12281 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-22 05:56:10 +00:00
ovclas
66e2363b43 issue 2622 coding convention in classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12218 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-14 09:07:29 +00:00
flyskyko
798bc6269f issue 2090, do not change index when load same front-end file that have higher index then before loaded
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11273 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-17 09:42:17 +00:00
flyskyko
b4e53d306f issue 2140, retouch
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11272 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-17 09:36:21 +00:00
flyskyko
c4285ba2ed issue 2140, Do not load duplicated front-end file(have .min, no .min in filename)
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11270 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-17 08:43:49 +00:00
devjin
2511d1c01e issue 2034 add a file modified date to a file path of css.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11005 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-08 13:35:00 +00:00
misol
508c32963d Issue 2144 add to r10896 Context class fix.
and FrontEndFileHandler fix again.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10897 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-14 18:39:33 +00:00
misol
f71fcc8b31 Issue 2144 JS or CSS file index default value is 0 and the index should have interval value.(NO NULL value.)
And remove all file should refer to '$this->'.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10896 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-14 18:19:22 +00:00
ovclas
1a7a68efea issue 2109 Fixed a problem in_array function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10832 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-05 00:16:31 +00:00
flyskyko
f0034715b2 adds comment for phpDoc and remove php5 syntax
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10732 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-24 05:57:21 +00:00
ovclas
f7330acf02 reverse merge from 1.6.0 (r10668, r10667, r10600, r10596, r10595, r10594, r10578, r10572)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10717 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:27:55 +00:00
ovclas
3afad81016 reverse merge rollback
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10714 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 02:38:33 +00:00
ovclas
63f9e43024 reverse merge from 1.6.0 (r10572)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10712 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 01:03:30 +00:00
ovclas
2cf8b285ca issue 1337 if media value is empty, media value set to 'all'
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10135 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-20 09:39:12 +00:00