Commit graph

2530 commits

Author SHA1 Message Date
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
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
Kijin Sung
2c1d380a0a Fix #1458 unnecessary slash in script concatenation (regression from e9bec85) 2020-11-11 15:11:53 +09:00
Kijin Sung
99728527f9 Fix incorrect testing of CSS file index in FrontEndFileHandler 2020-10-31 15:27:47 +09:00
Kijin Sung
68ef362789 Fix duplicate loading of XmlParser class 2020-10-31 02:30:39 +09:00
Kijin Sung
417e4d15b0 More fixes to improve PHP 8.0 compatibility 2020-10-31 00:40:28 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
dff97a9604 Don't treat failed upload as security issue, fix #1451 2020-10-30 21:50:46 +09:00
Kijin Sung
ba971f7b5a Implement loading documents from other modules 2020-10-29 01:04:46 +09:00
Kijin Sung
9752c2ed61 Fix #1432 incorrect redirect in widget document edit popup 2020-10-21 23:57:37 +09:00
Kijin Sung
438386f3dc Fix #1430 path conversion error in Windows 2020-10-19 13:36:14 +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
c9230360cc Preseve mid when reading notice-all document from other module 2020-10-02 11:08:03 +09:00
Kijin Sung
fea468f895 Don't redirect to another mid if a document is notice-all 2020-10-02 01:54:52 +09:00
Kijin Sung
00fd1a672a Support Twitter meta tags 2020-09-29 01:58:02 +09:00
Kijin Sung
0f9b96f9b4 Stop providing XE-compatible $db_info and db.config.php 2020-09-29 00:55:10 +09:00
Kijin Sung
9ef29a5f1c Merge remote-tracking branch 'upstream/next' into next 2020-09-07 20:33:42 +09:00
Kijin Sung
191cd50c70 Merge branch 'develop' into next 2020-09-07 20:33:04 +09:00
Kijin Sung
215f143e70 Fix incorrect ordering of CSS resources 2020-09-04 23:44:21 +09:00
Kijin Sung
7770069dae Fix 404 response when reading a document 2020-08-31 10:49:27 +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