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
Kijin Sung
4c62231e88
Fix template syntax for Context::unloadFile() and related unit tests
2020-12-13 21:33:27 +09:00
Kijin Sung
855e12a5de
Fix misc warnings in PHP 8.0
2020-12-13 21:21:10 +09:00
Kijin Sung
0237d5c759
Auto-detect color scheme first, then override with user preference
2020-12-13 19:55:37 +09:00
Kijin Sung
6200e8d4ae
Move getColorScheme/setColorScheme methods to UA class
2020-12-13 19:45:34 +09:00
Kijin Sung
bcfb96dda7
Merge branch 'develop' into pr/color-scheme
2020-12-13 19:40:20 +09:00
Kijin Sung
485b22ea22
Remove legacy dependence on create_function() from Validator class #1480
2020-12-11 21:55:57 +09:00
Kijin Sung
96295edc75
Update cookie value inside PHP if color scheme is changed manually
2020-12-11 20:56:17 +09:00
Kijin Sung
79c10d0b23
Add color_scheme_light/color_scheme_dark classes to body
2020-12-11 20:54:56 +09:00
Kijin Sung
9fffc050b4
Add rx_color_scheme cookie for detecting and setting color scheme
2020-12-11 20:35:22 +09:00
BJRambo
1e21c8f43b
Merge pull request #1475 from bjrambo/pr/new-ExtraVars
...
확장변수에 국가번호를 포함한 전화번호, 언어, 시간, 국가 선택할 수 있는 확장변수를 추가
2020-12-07 18:22:40 +09:00
BJRambo
ca202f2ffe
일부 select 값은 배열로 저장하지 않고 하나의 string으로 저장
2020-12-07 16:07:38 +09:00
BJRambo
017f1ec184
국가 국가번호를 포함한 전화번호 언어 시간대 선택하는 확장변수 추가
2020-12-07 15:46:51 +09:00
Kijin Sung
7d8a546b64
Fix #1470 misc errors in PHP 8.0
2020-11-30 21:56:15 +09:00