Commit graph

83 commits

Author SHA1 Message Date
Kijin Sung
c176be9c9f Add an option to disable XE styles for .btn and .message
To disable XE styles for .btn, .btn-group, and .btnArea:
define('DISABLE_XE_BTN_STYLES', true);

To disable XE styles for .message:
define('DISABLE_XE_MSG_STYLES', true);

This is a limited version of XE's __DISABLE_DEFAULT_CSS__ constant.
Other styles and default CSS/JS resources are not affected.

DO NOT UNLOAD DEFAULT CSS/JS RESOURCES.
2018-08-04 23:20:45 +09:00
Kijin Sung
73c09ce876 Fix handling of external CSS/JS URLs with query strings
xpressengine/xe-core#2114
2017-08-16 23:05:45 +09:00
Kijin Sung
21072195c0 Prevent overwriting jQuery and other common scripts
- Block third-party programs trying to load their own version of jQuery
- Block obsolete scripts such as xe.css and xe.js
- Block minified versions of the above, too
- Increase blocking index threshold from 1,500,000 to 1,500,000,000
- Add unit tests for script blocking
2017-07-02 00:36:19 +09:00
Kijin Sung
1233919dba Fix missing default font config under some circumstances 2017-03-01 14:25:18 +09:00
Kijin Sung
e9df310364 Additional fixes for #601 2016-10-01 23:32:59 +09:00
Kijin Sung
222be43303 Remove condition of checking the content of minified scripts 2016-06-29 20:50:30 +09:00
Kijin Sung
aef4797c1c Update routine for broken symlink detection 2016-06-29 19:20:53 +09:00
Kijin Sung
4b27a503b5 Fix incorrect server push detection when using CloudFlare 2016-05-09 23:07:29 +09:00
Kijin Sung
c50a4764b8 Fix typo, and don't apply server push to scripts in the body footer 2016-05-06 22:19:32 +09:00
Kijin Sung
942235b6bc Enable HTTP/2 server push for CSS and JS resources 2016-05-06 22:02:47 +09:00
Kijin Sung
4290f5110c Add 'finalize' option to getCSSFileList() and getJSFileList(), to be used only by the final layout 2016-05-06 22:01:58 +09:00
Kijin Sung
1650b79a99 Fix variable escaping for LESS 2016-05-05 19:55:41 +09:00
Kijin Sung
7750a278a1 Do not combine scripts in the body section 2016-05-05 11:19:12 +09:00
Kijin Sung
398c36885a Use font config in rhymix.scss to set defaults 2016-05-05 11:05:06 +09:00
Kijin Sung
67cc7d3d00 Compile LESS/SCSS again if variables change 2016-05-05 10:42:15 +09:00
Kijin Sung
a421c78a4d Reorganize temporary directory structure 2016-05-05 01:36:43 +09:00
Kijin Sung
15c7dd5832 Add missing extensions to CSS-specific tasks 2016-05-04 22:08:13 +09:00
Kijin Sung
9a30c10ce8 Disable CSS/JS concatenation during legacy unit tests 2016-05-04 21:57:48 +09:00
Kijin Sung
ad86e03c5e Fix inconsistent variable names 2016-05-04 21:52:08 +09:00
Kijin Sung
a6d1a3c933 Add scope to all members of FrontEndFileHandler 2016-05-04 21:42:23 +09:00
Kijin Sung
b15b39ece1 Initial implementation of CSS and JS concatenation 2016-05-04 21:40:42 +09:00
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