Commit graph

365 commits

Author SHA1 Message Date
Kijin Sung
d671f0468c Explicitly mark _loadDesktopJSCSS() as public, to ensure backward compatibility 2025-11-05 11:51:07 +09:00
Kijin Sung
dcd84033cf Set default layout_file depending on the current layout_path 2025-09-18 19:39:37 +09:00
Kijin Sung
23190bd2f5 Remove all use of global variables as debug timers 2025-08-20 00:34:57 +09:00
Kijin Sung
87e34246f2 Add polyfill for FormData 2025-06-18 18:51:02 +09:00
Kijin Sung
dc21fc3007 Add polyfill for Promise (yes, we still support IE11) 2025-06-13 16:54:06 +09:00
Kijin Sung
0f554c6d51 Consoliate all debug-related variables under the Rhymix object 2025-05-21 14:07:34 +09:00
Kijin
cac3ec1165 Fix potentially erroneous response size in debug output #2546 2025-04-28 21:46:45 +09:00
Kijin Sung
83a42081fa Fix fatal error when some important variables contain non-scalar values 2025-03-08 14:29:25 +09:00
Kijin Sung
d3dcb03a01 Prepend layout header script for backward compatibility 2025-02-17 20:10:09 +09:00
Kijin Sung
ef751041dd Fix incorrect header script if member module uses its own layout #2474 2025-02-15 21:24:06 +09:00
Kijin Sung
8c5f96f8c5 Fix incorrect Content-Type in JSON callback responses #2448 2024-12-15 00:16:57 +09:00
Kijin Sung
41d33837f2 Fix #2431 undefined properties 2024-11-16 17:04:40 +09:00
Kijin Sung
76bb57ad80 Move some meta tags back above the <title>
원칙적으로 순서는 관계가 없으나, description이 title보다 먼저 나와야 한다고
주장하는 변태들이 있으므로 빌미를 주지 않기 위해 상단으로 다시 옮김.
2024-10-27 23:07:23 +09:00
Kijin Sung
9c92ad1f05 Remove X-UA-Compatible meta tag in all browsers except IE 11 2024-10-27 22:59:12 +09:00
Kijin Sung
bf0093b56a Move most meta tags above the <title> to below it #2419 2024-10-27 22:50:02 +09:00
Kijin Sung
8b2fc81b8d Fix #2405 use video thumbnail as SEO image 2024-10-07 20:48:44 +09:00
Kijin Sung
f0c27773c4 Record error when JSON encoding fails in JSONDisplayHandler 2024-08-24 13:16:30 +09:00
Kijin Sung
3cafc180b2 Merge HTMLDisplayHandler::_moveLinkToHeader() and _moveMetaToHeader(), and add special treatment for non-stylesheet <link> elements 2024-05-05 16:31:15 +09:00
Kijin Sung
eb61c2c45d Fix #2328 automatically add WebP image to og:image meta tag 2024-04-29 23:40:50 +09:00
Kijin Sung
d0183268ce Add newline after JSON and XML responses 2024-04-16 21:38:56 +09:00
Kijin Sung
925ddf9fa0 Output previously buffered content only if the response format is HTML 2024-03-24 21:34:07 +09:00
kkigomi
42919d1259
Debug 메시지가 json_encode() 오류로 인해 잘못된 포맷으로 응답을 생성하는 문제 해결 2024-01-20 23:24:30 +09:00
Kijin Sung
a0af57139e Fix relative path in "poster" attribute not being converted correctly 2024-01-16 21:35:09 +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
a196706d7f Add Request class and make Router::parseUrl() return an instance of it 2023-10-29 23:32:49 +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
45f016d53b Update references to TemplateHandler in common code paths 2023-10-10 15:05:46 +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
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
e5f53429f7 Fix count() error in XMLDisplayHandler 2023-08-30 23:28:05 +09:00
Kijin Sung
06e736178b Support sending all _rx_* POST fields as HTTP headers instead
하위호환성, 부가기능 등을 위한 _rx_* POST 필드가 점점 많아짐에 따라
모두 헤더로 대체할 수 있도록 지원하고, 앞으로 점점 헤더로 바꿀 예정

CSRF 토큰은 예전부터 X-CSRF-Token 헤더를 지원했음
2023-08-27 23:32:31 +09:00
Kijin Sung
2197b0a982 Add option to control whether boards and pages are indexed by search engines, using the X-Robots-Tag header 2023-08-13 02:03:02 +09:00
Kijin Sung
78ba527c78 Fix warnings in PHP 8.x 2023-07-20 21:38:16 +09:00
Kijin Sung
5ba6346bec Add security options to add X-Frame-Options and X-Content-Type-Options headers
- 보안 관련하여 널리 알려진 헤더 3종 가운데 2종을 기본 지원
- X-XSS-Protection 헤더는 IE 지원 종료로 불필요
2023-06-18 23:33:41 +09:00
Kijin Sung
e3ce2bcbcc Remove gzip support; rely on webserver instead 2023-06-18 23:05:16 +09:00
Kijin Sung
7d88e532c9 Fix deprecation warning in PHP 8.2 when $output is null 2023-05-01 02:59:45 +09:00
dewekk
871b25c3ba 디버그 패널에서 무조건 에러 내용이 표시되는 문제 수정
- 패널, JSON 요청에서 요청/응답정보, 에러 정보 표시가 디버그 설정에 따라 표시되게 수정
2023-02-10 16:30:04 +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
c07efe7905 Fix deprecation notices in PHP 8.2 #2064 2023-01-16 21:24:59 +09:00
Kijin Sung
0aa4fed636 Add option to select jQuery 3.x (#1835) + add description to other options in Advanced config screen 2022-12-28 01:09:27 +09:00
Kijin Sung
dc1182f6f5 Add jQuery 3.x 2022-12-28 00:52:48 +09:00
Kijin Sung
684eed4a4d Remove special cases for MSIE 2022-12-28 00:41:59 +09:00
Kijin Sung
a667228f29 Change rhymix.less back to rhymix.scss because the LESS converter seems to be abandoned :( 2022-12-26 00:50:02 +09:00
Kijin Sung
72c2b93790 Fix #2011 #2012 convert lang path before calling pathinfo() 2022-11-07 01:45:32 +09:00