Commit graph

194 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
78ba527c78 Fix warnings in PHP 8.x 2023-07-20 21:38:16 +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
Kijin Sung
475ca19ee9 Add board name as og:article:section 2021-03-31 21:04:05 +09:00
Kijin Sung
4bf232569c Fix #1663 add meta tag for author 2021-03-31 21:01:07 +09:00
Kijin Sung
367e7440be Don't overwrite OpenGraph tags already set by user 2021-03-05 13:56:35 +09:00
Kijin Sung
e8c5ee02d2 Fix error in PHP 8.0 if $INPUT_ERROR has more than one dimension 2021-02-22 22:32:36 +09:00
Kijin Sung
f8859769e8 Clean up ModuleController::replaceDefinedLangCode() 2021-01-08 21:27:44 +09:00
Kijin Sung
1a204d8c52 Completely disable Debug logging if it is not enabled for the current user
관리자 또는 특정 IP에서만 디버그 기능을 사용하도록 설정된 경우,
그 밖의 요청에서는 어떤 에러메시지, 쿼리, 트리거 소요시간 등의 기록도
디버그 클래스에 저장하지 않도록 변경합니다.

워닝이 많이 발생하는 PHP 8.0에서는 20~30%의 성능 개선 효과가 있습니다.
2021-01-07 02:51:43 +09:00
Kijin Sung
48f5190445 Allow third-party resources to customize the SEO image
Context::addMetaImage() 메소드를 사용하여 특정 페이지 공유시 SNS에 표시되는
이미지를 좀더 세부적으로 커스터마이징할 수 있습니다.
2020-12-29 15:48:49 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
2c1d380a0a Fix #1458 unnecessary slash in script concatenation (regression from e9bec85) 2020-11-11 15:11:53 +09:00
Kijin Sung
65d106b237 Remove class="x" in mobile page edit screen #1416 2020-10-04 16:55:48 +09:00
Kijin Sung
39e0c31de2 Revert "Remove unnecessary class="x" in mobile page edit screen #1416"
This reverts commit 9cd715008b.
2020-10-04 16:51:35 +09:00
Kijin Sung
9cd715008b Remove unnecessary class="x" in mobile page edit screen #1416 2020-10-03 01:43:13 +09:00
Kijin Sung
00fd1a672a Support Twitter meta tags 2020-09-29 01:58:02 +09:00
Kijin Sung
ffe9cda5e0 Merge branch 'develop' into next 2020-08-29 23:53:31 +09:00
Kijin Sung
82bf017f01 Fix #1389 improve handling of viewport meta tag
- viewport 설정에 빈 값을 저장한 경우 메타 태그를 출력하지 않음
- 단, 아예 설정이 없는 경우(XE 또는 구버전에서 업그레이드한 경우)에는 예외
2020-08-27 21:15:11 +09:00
Kijin Sung
e9bec851f9 Fix forms with empty actions 2020-06-20 15:50:22 +09:00
Kijin Sung
f8ea38c22d Remove vid handling code from HTMLDisplayHandler 2020-06-18 10:38:49 +09:00
Kijin Sung
480635d131 Fix relative URLs in form actions and other HTML attributes 2020-06-17 18:38:26 +09:00
Kijin Sung
8e593a9d60 Fix #1254 use cover image first when extracting images for SEO 2020-03-20 01:24:54 +09:00