Kijin Sung
60465fb2db
Fix various warnings in PHP 8.0
2021-01-28 22:32:56 +09:00
Kijin Sung
49923844b2
Various fixes to remove warnings in PHP 8.0
2020-12-15 00:18:42 +09:00
Kijin Sung
99728527f9
Fix incorrect testing of CSS file index in FrontEndFileHandler
2020-10-31 15:27:47 +09:00
Kijin Sung
417e4d15b0
More fixes to improve PHP 8.0 compatibility
2020-10-31 00:40:28 +09:00
Kijin Sung
191cd50c70
Merge branch 'develop' into next
2020-09-07 20:33:04 +09:00
Kijin Sung
215f143e70
Fix incorrect ordering of CSS resources
2020-09-04 23:44:21 +09:00
Kijin Sung
9782c30654
Merge branch 'develop' into next
2020-08-19 15:41:14 +09:00
Kijin Sung
313e527512
Fix CSS sort order different from XE
2020-08-19 15:39:37 +09:00
Kijin Sung
143600306d
Clean up editor module
2020-07-09 16:37:04 +09:00
Kijin Sung
14ad62e869
Fix incorrect use of curly braces in legacy classes
2020-05-19 20:52:44 +09:00
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