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
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. ( #1558 )
...
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +09:00
Kijin Sung
f4ad0dbb48
Fix #1551 incorrect conversion of jQuery template code in sitemap.xml ( #1544 regression)
2021-01-09 10:39:56 +09:00
Kijin Sung
f8859769e8
Clean up ModuleController::replaceDefinedLangCode()
2021-01-08 21:27:44 +09:00
Kijin Sung
4dcdb9e4bd
Fix various warnings in PHP 8.0
2021-01-08 00:27:00 +09:00
Kijin Sung
e2e32902b6
Merge pull request #1544 from shydah/pr/template-srcset
...
템플릿 내 srcset의 상대경로를 절대경로로 변환하도록 개선
2021-01-07 23:04:59 +09:00
Chanyoung Oh
adcbe248c5
Improve url regular expression
...
- Improve regex to process non-whitespace characters only
- Remove /s flag
2021-01-07 13:21:57 +00:00
Chanyoung Oh
96bbbcf4bc
Fix typo
2021-01-07 13:09:20 +00: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
c80a80f986
Support calling Context::loadFile() with just a filename
...
기존에도 사용이 가능하긴 했으나, 정식으로 지원함
2021-01-06 23:07:16 +09:00
Chanyoung Oh
db9e6050b2
Fix #1543 - Convert relative path in srcset attribute
2021-01-05 15:00:30 +00: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
70d88bc026
Fix #1521 error in PHP 8.0 if API class doesn't exist
2020-12-25 23:12:01 +09:00
Kijin Sung
25a4a3b348
Fix warning in PHP 8.0
2020-12-22 22:28:17 +09:00
Kijin Sung
b0f66a36c5
Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
...
_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
2020-12-18 15:21:23 +09:00
Kijin Sung
4fdb51d689
Fix outdated use of REMOTE_ADDR instead of RX_CLIENT_IP
2020-12-18 15:10:30 +09:00
Kijin Sung
9d75690e2d
Fix #1489 , fix #1491 incorrect routing to standalone index act
2020-12-16 21:19:15 +09:00
Kijin Sung
c275702fbf
Merge pull request #1482 from kijin/pr/color-scheme
...
다크모드 감지 및 설정을 위한 rx_color_scheme 쿠키값의 표준화
2020-12-15 01:59:17 +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
bca7a9ae72
Add proper comments to Context::setResponseMethod()
2020-12-13 22:08:46 +09:00
Kijin Sung
a405b91e42
Add RawDisplayHandler and fix RSS/Atom not producing the correct headers
2020-12-13 22:06:16 +09:00