Commit graph

2871 commits

Author SHA1 Message Date
Kijin Sung
a102f20766 Fix #2237 failure to recognize layout.blade.php 2023-12-30 23:53:05 +09:00
Kijin Sung
9175d51bd5 Fix warning when forwarded module info does not contain all attributes 2023-12-30 21:05:31 +09:00
Kijin Sung
3e09ca63a9 Fix #2241 inconsistent handling of class name specified in event handler 2023-12-30 20:45:48 +09:00
Kijin Sung
6e2bab02cc Be more permissive about null values passed to lang() and Context::getLang() 2023-12-18 21:19:33 +09:00
Kijin Sung
14449dff9d Fix #2227 duplicate og:url meta tag in page header 2023-12-13 23:04:21 +09:00
Kijin Sung
cb7b6cbfde Fix #2226 warnings when module_info doesn't exist 2023-12-06 11:03:35 +09:00
Kijin Sung
f00d6c7e19 Remove leading whitespace from displayed response 2023-11-21 22:51:14 +09:00
Kijin Sung
618d075a99 Fix warning if header script is not defined in layout 2023-11-18 23:51:51 +09:00
Kijin Sung
8176bdb845 Fix undefined variables in several module config templates 2023-11-09 01:37:38 +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
d79c2f5140 Fix #2202 undefined properties if domain settings are not saved 2023-10-31 11:50:00 +09:00
Kijin Sung
a602779fc2 General cleanup of Context vars 2023-10-31 11:36:20 +09:00
Kijin Sung
96330593fd Add $this->request to module and template instances 2023-10-29 23:37:08 +09:00
Kijin Sung
a196706d7f Add Request class and make Router::parseUrl() return an instance of it 2023-10-29 23:32:49 +09:00
Kijin Sung
ce0313acc5 Mark old Context methods as deprecated 2023-10-27 00:48:36 +09:00
Kijin Sung
80e50d41f5 Change default Cookie path to "/" for compatibility with JS function setCookie() 2023-10-24 23:17:01 +09:00
Kijin Sung
5005a09f06 Add Rhymix\Framework\Cookie class with sane defaults 2023-10-24 22:37:27 +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
6856f60ff9 Fix incorrect default canonical URL on pages using Router 2023-10-24 20:27:16 +09:00
Kijin Sung
6a2a2826ec Optimize common code paths using Template class 2023-10-23 14:11:26 +09:00
Kijin Sung
4054dec926 Fix reuse of \$oTemplate in HTMLDisplayHandler 2023-10-21 22:01:10 +09:00
Kijin Sung
4e8c184d0c Don't add .html automatically to template name 2023-10-15 02:45:58 +09:00
Kijin Sung
b2cac3e868 Remove old TemplateHandler class, leaving only an alias for BC 2023-10-15 00:54:59 +09:00
Kijin Sung
45f016d53b Update references to TemplateHandler in common code paths 2023-10-10 15:05:46 +09:00
Kijin Sung
16572c4515 Make TemplateHandler inherit Template nstead of class_alias 2023-10-10 14:52:17 +09:00
Kijin Sung
c777b59afb Merge branch 'develop' into template-v2 2023-10-10 14:23:39 +09:00
Kijin Sung
9daa1a65cf Deprecate old, rarely used methods of FileHandler 2023-10-04 01:33:57 +09:00
Kijin Sung
624bdec182 Fix potential type errors in FileHandler class 2023-10-04 01:31:35 +09:00
Kijin Sung
044ad8fbf6 Mark old Security class as deprecated 2023-10-04 01:24:22 +09:00
Kijin Sung
2a1aad7c1b Mark old EmbedFilter and Password classes as deprecated 2023-10-04 01:22:30 +09:00
Kijin Sung
3c9828ec5f Mark old IpFilter and Purifier classes as deprecated 2023-10-04 01:20:29 +09:00
Kijin Sung
20fedd2810 Mark most methods of Mobile class as deprecated 2023-10-04 01:15:39 +09:00
Kijin Sung
3505d49de6 Separate common Template class from Template v1 parser 2023-10-03 23:27:02 +09:00
Kijin Sung
6215e57762 Add warning to discourage ruleset use
https://xetown.com/questions/1788526
2023-10-03 19:31:15 +09:00
Kijin Sung
57d7821bcc Fix deprecated function call and potential type error in XMLRPC request parser 2023-10-03 16:16:06 +09:00
Kijin Sung
a1c6f7a902 Fix potential type errors in Context class 2023-10-03 15:22:04 +09:00
Kijin Sung
a5e0b2c7fa Fix #2187 undefined lang code in page.admin.controller.php 2023-10-01 00:03:33 +09:00
Kijin Sung
028a56a678 Remove notice about moving to mobile site 2023-09-27 15:55:12 +09:00
Kijin Sung
a4b49048f3 Fix uppercase scripts not working as CLI command 2023-09-26 15:02:09 +09:00
Kijin Sung
a1537bafe3 Fix incorrect or missing type declarations in Cache and DB classes 2023-09-26 11:09:55 +09:00
Kijin Sung
5a61bc62d3 Fix meaningful whitespace being hidden after template compile 2023-09-18 14:26:56 +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
fead32337e Fix incorrect debug comment for outer templates in a deeply nested include tree 2023-09-12 22:42:30 +09:00
Kijin Sung
7f7e0a099d Fix incorrect display of SCSS variable in meta debug info 2023-09-12 22:18:29 +09:00
Kijin Sung
e60ffb4e8d Add option to control partial page rendering (layout drop)
XE 시절부터 layout=none 또는 isLayoutDrop=1 파라미터로 레이아웃이 없는
부분적인 페이지 렌더링을 허용하는 기능이 있었습니다. 관리자 화면에서
팝업이나 iframe을 표시하는 용도로도 사용하고, AJAX로 페이지 일부 내용만
새로고침할 때 불필요한 데이터를 주고받지 않도록 하는 데도 유용합니다.

그러나 사이트에 따라서는 레이아웃을 적용하지 않을 경우 민감한 정보가
노출되는 등의 부작용이 발생할 수도 있으므로, 이 기능을 사용하지 않도록
선택하는 옵션을 제공합니다.
2023-09-12 00:33:54 +09:00
Kijin Sung
7bba7732d7 Display relative path in "Template not found" error message 2023-09-09 01:39:07 +09:00
Kijin Sung
a50041007d Remove UTF-8 BOM and CRLF in templates when compiling them 2023-09-05 01:05:53 +09:00
Kijin Sung
7a62550c30 Fix incorrect handling of newline in TemplateHandler 2023-09-05 00:56:17 +09:00
Kijin Sung
fd27ec177b Refine empty line handling without changing line numbers 2023-09-05 00:42:12 +09:00
Kijin Sung
cd8e6371c6 Preserve line numbers when compiling templates 2023-09-05 00:17:15 +09:00