Commit graph

365 commits

Author SHA1 Message Date
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
9b714acb55 Show memory usage in debug panel 2021-02-09 23:52:35 +09:00
Kijin Sung
1289776c97 Remove debug data from previous request (causes memory overage in PHP 8.0) 2021-02-09 19:33:47 +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
88d31de75d Remove unnecessary duplicate method calls 2020-12-13 22:17:50 +09:00
Kijin Sung
a405b91e42 Add RawDisplayHandler and fix RSS/Atom not producing the correct headers 2020-12-13 22:06:16 +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
417e4d15b0 More fixes to improve PHP 8.0 compatibility 2020-10-31 00:40:28 +09:00
Kijin Sung
8cabb88dbb Be more consistent about JSON responses
cf. #152
2020-10-08 13:25:46 +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
9782c30654 Merge branch 'develop' into next 2020-08-19 15:41:14 +09:00
Kijin Sung
a6bb44bf88 Convert PHP_EOL to \n for consistency
adf067e 보완

- classes 내에서 사용하는 PHP_EOL을 \n으로 교체
- common/framework/debug.php, common/scripts 내의 스크립트들은
  OS에 맞춰야 하므로 수정하지 않음
2020-08-06 14:54:32 +09:00
Kijin Sung
5985ca5b6b Merge branch 'develop' into next 2020-07-05 00:09:26 +09:00
Kijin Sung
03f8081550 Send application/json content-type with JSON responses 2020-07-04 19:08:17 +09:00
Kijin Sung
96950161f1 Use Context::getResponseMethod() to decide the response format 2020-07-02 16:28:15 +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
052930a6d4 Replace some usages of getModel(), getController(), etc. with getInstance() 2020-05-18 21:45:44 +09:00
Kijin Sung
098a02a008 Fix #1275 add layout (before) trigger point 2020-04-27 22:46:52 +09:00
Kijin Sung
dfbdf46085 Fix #1262 2020-04-03 17:09: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
Kijin Sung
6a43274826 Filter error location in JSON and XML responses 2020-03-19 17:56:38 +09:00
Kijin Sung
030f27d488 Fix #1228 #1243 thanks to @nemo9l 2020-02-14 16:27:10 +09:00
Kijin Sung
05fed158d0 Improve consultation detection in SEO 2019-11-23 11:42:30 +09:00
Kijin Sung
aba1830fb3 Fix #1203 inappropriate exposure of SEO metadata 2019-11-23 10:47:17 +09:00
Kijin Sung
a114976d2b Fix #1195 debug file not being written if comment is enabled 2019-09-13 15:02:00 +09:00
Kijin Sung
baeedb7aae Add OpenGraph metadata and icons before final trigger
SEO 데이터와 아이콘 추가 작업을 display.before 트리거 실행 전으로 옮겨
서드파티 자료가 SEO 데이터를 추가하거나 변경할 수 있도록 함.
2019-01-29 23:05:00 +09:00
Kijin Sung
e027bc8319 Add jquery-latest.js to blacklist
http://code.jquery.com/jquery-latest.js 와 같은 스크립트를 임의로
로딩하지 못하도록 막음. 버전이 붙은 파일명은 이미 대부분 막혀 있었지만,
이 커밋에서는 -latest가 포함된 것도 막도록 변경함.

cf. https://xetown.com/qna/1089463
2018-10-11 14:32:10 +09:00
Kijin Sung
71e5bdb354 Add js-cookie library 2018-10-02 23:20:31 +09:00
Kijin Sung
b048200a30 Allow multiple selection of display debug types 2018-09-06 17:00:50 +09:00
Kijin Sung
637e4f9e46 Move admin layout assets to admin layout template files
@conory
2018-08-05 19:19:30 +09:00
Kijin Sung
a489012d6d Remove unnecessary mobile.css
해당 파일의 내용은 rhymix.less와 100% 중복되므로 별도 로딩할 필요가 없음
2018-08-04 23:18:29 +09:00
Kijin Sung
8db2ac16c7 Revert "basic files의 로드를 막을 수 있도록 Context::unloadBasicFiles() 추가"
This reverts commit 35b73eec0b.
2018-08-04 20:56:41 +09:00
Kijin Sung
867d6930cf Revert "35b73eec0b 보완"
This reverts commit 30e0a5c583.
2018-08-04 20:56:34 +09:00
Kijin Sung
f12cf74dda Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
conory
30e0a5c583 35b73eec0b 보완
파일이름으로 unload 할 수 없도록 변경 (호환성 파괴 위험성이 크므로)
2018-08-03 12:32:42 +09:00
conory
35b73eec0b basic files의 로드를 막을 수 있도록 Context::unloadBasicFiles() 추가
예) Context::unloadBasicFiles('admin' , 'rhymix.less', ...);
2018-07-05 16:45:55 +09:00