Kijin Sung
f00d2800b5
Fix missing type="module" when js files are concatenated #2581
2025-07-21 21:48:25 +09:00
Kijin Sung
4eebbf36b5
Fix undefined key when unload() is called with invalid args
2025-06-21 08:28:46 +09:00
Kijin Sung
d0ba53407c
Remove remaining parameters named targetIe
2025-06-03 15:37:23 +09:00
Kijin Sung
5ccd4f68d9
Use FrontEndFileHandler as a singleton
2025-03-27 10:46:09 +09:00
Kijin Sung
df1c365872
Enable logging in FrontEndFileHandler
2025-03-27 10:28:13 +09:00
Kijin Sung
97762fa43d
Fix incorrect relative path in concatenated files #2492
2025-02-17 20:57:27 +09:00
Kijin Sung
5b575f9c30
Support type="module" for JS files loaded from template v2 #2482
2025-02-15 22:04:50 +09:00
Kijin Sung
e2cfa524d0
Fix TemplateParserV1 and FrontEndFileHandler not recognizing Google webfonts '.../css2?...' URL as CSS
2024-01-10 13:09:01 +09:00
Kijin Sung
d54eb4f3d5
Handle the special case of Context::loadFile($filename, true)
...
https://xetown.com/questions/1793899
2023-11-09 01:17:21 +09:00
Kijin Sung
e9e46e3391
Remove HTTP/2 server push for Cloudflare
...
클플에서 해당 기능 지원 중단하여 더이상 작동하지 않음
https://developer.chrome.com/blog/removing-push/
2023-10-24 20:32:35 +09:00
Kijin Sung
c8638d2548
Change cache-busting query string format from ?YYYYMMDDHHMMSS to ?t=UnixTime
...
- 날짜, 유닉스 타임스탬프, 16진수(CKEditor) 등 여러 가지 포맷을 혼용하고 있던
캐시 방지용 쿼리스트링의 형태를 "유닉스 타임스탬프"로 통일
- 표준 시간대 처리 등 은근히 많은 자원을 소모하는 date() 함수를 사용하지 않음
- t=를 붙여서 정상적인 쿼리스트링 구조가 나오도록 하여, 웹방화벽이나 CDN
등에서 문제를 일으킬 가능성을 줄임
- 덤으로, 길이도 2바이트씩 짧아짐
2023-09-12 23:15:26 +09:00
Kijin Sung
dfa1e93c79
Remove unnecessary header and footer from class files
...
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
c881e73c1d
Remove trailing whitespace in legacy class files
2023-01-17 21:07:55 +09:00
Kijin Sung
9e9adcdb43
Remove support for targetie attribute on assets
2022-12-28 00:35:57 +09:00
Kijin Sung
e258cf7525
Fix #1926 add @charset UTF-8 to beginning of concatenated CSS file
2022-07-02 23:55:45 +09:00
Kijin Sung
ef2cdb56b0
Fix warning in PHP 8.0
2021-07-01 15:16:12 +09:00
Kijin Sung
f1c839042c
Fix warning in PHP 8.0
2021-07-01 14:39:47 +09:00
Kijin Sung
d78ba8c77c
Fix #1734 out-of-order loading of external CSS resource
2021-07-01 14:36:35 +09:00
Kijin Sung
664a68fc2a
Fix #1727 Recompile SCSS/LESS files when imported file is changed
...
- import된 파일 목록을 따로 보관해 두었다가, 그 중 하나라도 변경되었다면 다시 컴파일
- PHP의 stat cache 덕분에 성능 영향은 크지 않을 것으로 보이나, 모니터링 필요
2021-06-20 22:02:26 +09:00
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