Commit graph

616 commits

Author SHA1 Message Date
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
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
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. (#1558)
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +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
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
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
c275702fbf
Merge pull request #1482 from kijin/pr/color-scheme
다크모드 감지 및 설정을 위한 rx_color_scheme 쿠키값의 표준화
2020-12-15 01:59:17 +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
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
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
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
0f9b96f9b4 Stop providing XE-compatible $db_info and db.config.php 2020-09-29 00:55:10 +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
conory
adf067e557 오타로 Context::addHtmlFooter()시 줄바꿈되지 않은 문제 수정 2020-08-04 01:10:45 +09:00
Kijin Sung
dfc1082c85 Add UA::getLocale() 2020-07-05 20:21:44 +09:00
Kijin Sung
68f428edd7 Fix getUrl() not resetting existing params when called with an array 2020-07-04 00:29:58 +09:00
Kijin Sung
67dfb3c282 Remove optional SSL 2020-07-03 00:41:59 +09:00
Kijin Sung
9fdcd86f1d Add XMLRPCParser class to parse XE-compatible XML requests 2020-07-03 00:03:58 +09:00
Kijin Sung
84b7e9f8eb Enable router with JSON requests 2020-07-02 16:42:12 +09:00
Kijin Sung
dd603639e0 Allow JSON requests with actual JSON payload 2020-07-02 16:13:31 +09:00
Kijin Sung
54375d16ad Fix incorrect URL in admin header 2020-07-02 14:29:18 +09:00
Kijin Sung
a6318436c2 Adjust argument priority 2020-06-19 11:33:21 +09:00
Kijin Sung
85fcc79457 Reorganize data exchange format between Context and Router 2020-06-18 20:06:59 +09:00
Kijin Sung
6286fd3397 Display 404 error if a route cannot be found 2020-06-18 13:25:16 +09:00
Kijin Sung
4c7e3dea82 Return more detailed information from router 2020-06-18 11:23:20 +09:00
Kijin Sung
221f30484f Fix regexp for detecting valid mid/act/module 2020-06-17 22:54:22 +09:00
Kijin Sung
85c2f87f13 Move some security measures from ModuleHandler to Context 2020-06-17 22:31:22 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
ca183c89a0 Fix missing variables 2020-06-16 20:55:06 +09:00
Kijin Sung
e83e82f8d3 Update Context::getUrl() to use Router 2020-06-14 20:31:57 +09:00
Kijin Sung
a680f89326 Adjust some parts of Context class for better integration with Router 2020-06-12 14:54:05 +09:00
Kijin Sung
baddbd3cba Support XE-compatible rewrite rules 2020-06-12 14:16:36 +09:00
Kijin Sung
f01fb9ae42 Merge branch 'develop' into next 2020-06-12 10:28:36 +09:00
Kijin Sung
494e0ee028 Clean up usage of is_countable() 2020-06-08 20:35:54 +09:00
Min-Soo Kim
a641b3103a is_countable?! 2020-06-07 22:56:21 +09:00
Kijin Sung
4f1264dee5
Merge pull request #1292 from kijin/pr/object-cleanup
모듈 클래스 인스턴스를 직접 생성할 수 있도록 개선
2020-05-20 21:34:41 +09:00