Commit graph

2588 commits

Author SHA1 Message Date
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
93fa7a46ce Fix FileHandler::checkMemoryLoadImage() returning false if memory_limit is actually unlimited 2021-06-19 23:16:08 +09:00
Kijin Sung
633bc340e7 Fix #1707 support thumbnail height value of 'auto' in any type 2021-06-19 23:11:59 +09:00
Kijin Sung
865e83a46a Fix #1722 incorrect language selection when domain setting conflicts with system setting 2021-06-19 21:55:14 +09:00
Kijin Sung
bd075ee409 Add getBodyClassList() and removeBodyClass() methods to Context
https://xetown.com/questions/1569477
2021-05-14 22:40:38 +09:00
Kijin Sung
32621dd34e Return a more descriptive error when module class is not found 2021-04-26 15:42:30 +09:00
Kijin Sung
4a34b3dfa8 Accommodate standalone=auto setting in other relevant places 2021-04-20 21:52:06 +09:00
BJRambo
34db077871 주석의 잘못된 리턴타입 변경 2021-04-16 16:40:13 +09:00
Kijin Sung
827499bee3 Fix random content being replaced for widget output if skin path does not exist 2021-04-12 22:48:05 +09:00
Kijin Sung
62d9befb0d Support custom classes in module.xml 2021-04-12 21:03:03 +09:00
Kijin Sung
45efb781ea Fix REQUEST_METHOD checking not working for class types that aren't controller
controller 타입이 아닌 액션에서는 method를 제한하더라도 적용되지 않는 문제 수정
2021-04-12 20:43:40 +09:00
Kijin Sung
8e4bfdc1a7 모듈 아래에 네임스페이스를 넣을 경우 module_path, module 변수가 잘못 세팅되는 문제 수정 2021-04-12 16:58:59 +09:00
Kijin Sung
b27617c854 Fix warning in PHP 8.0 2021-04-10 21:13:13 +09:00
Kijin Sung
bc7f8a73c3 ModuleObject::getInstance() 주석의 반환타입을 static으로 바꾸어 에디터가 제대로 인식하도록 개선 2021-04-10 16:18:53 +09:00
conory
80e0498425 관리자에게만 디버그 정보 표시 설정시 아예 표시되지 않는 문제 수정
isEnabledForCurrentUser() 에서 Context::get('logged_info') 사용되기에 self::set('logged_info', ..) 이후에서 실행되어야함
2021-04-09 01:38:33 +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
b3725443c5 Fix body class not being set when in auto mode (#1558 regression) 2021-03-29 20:19:48 +09:00
Kijin Sung
2ffc19cca3 Fix #1643 don't use full short URL for admin pages 2021-03-17 23:32:17 +09:00
Kijin Sung
ae60728efc Don't start session in CLI 2021-03-07 18:22:01 +09:00
Kijin Sung
fea902c946 Remove unnecessary pass-by-reference 2021-03-07 18:20:00 +09:00
Kijin Sung
c6833ba880 Remove query string from meta image path before checking 2021-03-05 14:29:40 +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
73c35e2f31 Call Debug::isEnabledForCurrentUser() in Context::init() after session start 2021-02-22 21:03:51 +09:00
Kijin Sung
906b20e17e Load updated lang code cache immediately after calling makeCacheDefinedLangCode() 2021-02-11 20:14:57 +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
c6f728cec6 Fix warnings in PHP 8.0 related to editor components 2021-02-09 01:21:53 +09:00
Kijin Sung
686699c2ee Fix warning in PHP 8.0 2021-02-08 21:16:49 +09:00
Kijin Sung
76c6ef56f2 Treat $_SESSION specially in template code
https://xetown.com/questions/1522739
2021-02-04 15:58:32 +09:00
Kijin Sung
bfd0c66269 Fix undefined variables in Validator class 2021-01-28 23:26:33 +09:00
Kijin Sung
e1f1de8e49 Fix warning in PHP 8.0 if user-agent header is missing 2021-01-28 23:14:48 +09:00
Kijin Sung
c151191b73 Fix warning in PHP 8.0 2021-01-28 22:59:14 +09:00
Kijin Sung
cc318479b4 Fix warning in Context class if lang_type cookie is not set 2021-01-28 22:52:28 +09:00
Kijin Sung
60465fb2db Fix various warnings in PHP 8.0 2021-01-28 22:32:56 +09:00
Kijin Sung
1ec6e1ec7a Change blacklist to 2-dimensional array
관리 편의를 위해 블랙리스트를 자료 종류별로 구분합니다.
단, 기존과 같이 Context::isBlacklistedPlugin()을 호출하면
자료 종류 구분 없이 블랙리스트 여부를 알려줍니다.
2021-01-24 11:39:42 +09:00
Kijin Sung
0e9c234bc5 Clean up color scheme detection code #1570 2021-01-20 21:15:20 +09:00
Kijin Sung
1bbd6cdb5f Force use of latest cacert.pem from Mozilla 2021-01-20 00:56:23 +09:00
Kijin Sung
d5160c28ce Pass RX_REQUEST_URL directly to the Router 2021-01-19 23:28:13 +09:00
Kijin Sung
06f973d227 Clean up createImageFile() 2021-01-19 21:13:49 +09:00
Kijin Sung
71d71a886c Set 'fill' as default thumbnail method 2021-01-19 17:42:00 +09:00
Kijin Sung
175b797ee1 Support more types of image resizing
기존에 지원하던 crop, ratio 외에 fill, stretch, center 옵션을 추가
2021-01-19 17:23:43 +09:00
Kijin Sung
015238d75f Remove other unnecessary function checks 2021-01-19 14:45:32 +09:00
Kijin Sung
adb6203f1b Always use imagecreatetruecolor(), we're not using PHP 4.0 anymore :) 2021-01-19 14:42:11 +09:00
Kijin Sung
aeba5b2192 Remove meaningless imagedestroy() with undefined variable 2021-01-19 14:24:01 +09:00
Kijin Sung
c18e0a7225 \#1558 보완
- 설정값 명칭을 기존에 사용하던 쿠키값과 동일하게 auto, light, dark로 통일하여 혼동을 방지합니다.
- 지나치게 긴 설명문보다는 옵션 명칭 자체가 충분히 의미를 전달할 수 있도록 합니다.
  - 설명문을 길게 써야 할 경우 매뉴얼에 넣어 주세요.
- 설정을 변경하지 않고 저장할 경우, 자동 감지를 기본값으로 합니다.
2021-01-11 00:28:22 +09:00