Commit graph

351 commits

Author SHA1 Message Date
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. (#1558)
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +09:00
Kijin Sung
cdfd2196ec Use full paths for table checking and creating 2021-01-09 00:17:01 +09:00
Kijin Sung
c26325efee Fix #1550 mark counter_site_status table as deleted 2021-01-08 23:54:50 +09:00
Kijin Sung
f8859769e8 Clean up ModuleController::replaceDefinedLangCode() 2021-01-08 21:27:44 +09:00
Kijin Sung
824d0c5ae9 Fix #1502 error in PHP 8.0 if there are no module categories 2020-12-19 22:31:50 +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
70c2bfe5df Remove deleted routes from action_forward table 2020-12-18 00:54:34 +09:00
Kijin Sung
7a09bf632a Fix warning in PHP 8.0 2020-12-15 22:37:14 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +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
df9f156ff3 Fix #1446 and other incorrect code in module module 2020-10-30 00:39:20 +09:00
Kijin Sung
46ac583a83 Add option to display module title in board list 2020-10-29 22:47:28 +09:00
Kijin Sung
a25497c567 Add caching to ModuleModel::getModuleInfoByDocumentSrl() 2020-10-02 01:52:31 +09:00
Kijin Sung
7d6e30f936 Add ModuleModel::getMidByModuleSrl() 2020-10-01 16:29:34 +09:00
Kijin Sung
2407ad15df Separate module info cache by lang_type 2020-07-07 19:21:04 +09:00
Kijin Sung
67dfb3c282 Remove optional SSL 2020-07-03 00:41:59 +09:00
Kijin Sung
f8a47bbabb Improve error handling when module.xml doesn't exist 2020-06-19 13:47:14 +09:00
Kijin Sung
7e47c1cb8a Fix duplicate cache key 2020-06-18 14:14:29 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
f92fc9c980 Use action_forward to register standalone routes from all modules 2020-06-17 16:56:42 +09:00
Kijin Sung
bb3d1f08a1 Allow standalone routes from other modules to be used 2020-06-17 00:18:10 +09:00
Kijin Sung
4a5159b255 Always cache module and action info 2020-06-13 01:04:21 +09:00
Kijin Sung
b44f9a2c78 Fix cache key mismatch in getModuleActionXml() 2020-06-12 23:20:59 +09:00
Kijin Sung
7cf17bc43f Implement SimpleXML parsers for info.xml and module.xml 2020-06-12 22:41:18 +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
2c6f1a2b24 Merge branch 'develop' into next 2020-05-31 23:59:17 +09:00
Kijin Sung
c087121262 Change ModuleModel::getModuleConfig() to return null if no config exists 2020-05-26 19:22:43 +09:00
Kijin Sung
34eb311ac0 Merge branch 'develop' into next 2020-05-26 09:00:15 +09:00
Kijin Sung
55f7898dc9 Return null by default in getModulePartConfig() 2020-05-26 08:24:44 +09:00
Kijin Sung
55cba46f26 Remove unnecessary check for array in getModulePartConfig() 2020-05-26 00:27:31 +09:00
Kijin Sung
b419dcf2bc Merge branch 'develop' into next 2020-05-24 21:29:08 +09:00
Kijin Sung
530b00e3c1 Add ModuleModel::getModuleInfo() shortcut method 2020-05-24 21:05:18 +09:00
Kijin Sung
c90d529c74 Change method calls to static in many core modules 2020-05-24 20:43:52 +09:00
Kijin Sung
1254594a7c Stop using ArrayObject in module part config
module part config에 배열을 저장한 경우 배열을 그대로 반환하고, 그렇지 않으면
항상 오브젝트를 반환하도록 변경함. 만약 ArrayObject가 저장되어 있는 경우
오브젝트로 변환하여 반환함.

https://bugs.php.net/bug.php?id=77298 버그로 인해 ArrayObject를 serialize하여
저장했다가 나중에 다시 불러와서 조작하려고 하면 segfault가 발생함.
그 때문에 일부 PHP 7.3 버전에서 라이믹스를 정상적으로 사용하기가 불가능함.
특히 카페24의 PHP 7.3 웹호스팅에서 "페이지 로딩이 지연되었습니다" 에러 발생.

PHP 엔진 자체의 버그이지만, 라이믹스에서 지원하는 버전 대역에 포함되어 있고
실제로 많이 사용되는 버전이므로 라이믹스에서 땜빵하는 것이 옳다고 생각됨.

만약 이 패치 때문에 설정을 제대로 불러오거나 저장할 수 없는 모듈이 발견된다면
해당 모듈을 수정해야 함. 자기 설정의 자료형이 뭔지도 모르는 모듈을
코어에서 배려해 줄 필요 없음.
2020-05-24 10:44:22 +09:00
Kijin Sung
55ee9d03cb Fill in more function modifiers 2020-05-23 14:13:13 +09:00
Kijin Sung
40db6ceb73 Convert most methods in ModuleModel to static 2020-05-21 22:53:55 +09:00
Kijin Sung
3ca551e5f2 Fix multidomain not working when domain is IDN 2020-03-26 22:12:33 +09:00
Kijin Sung
c4116b9fcb Fix #1239 uninitiated object used in sscanf() 2020-02-15 17:06:39 +09:00
Kijin Sung
2199f0d270 Fix #1175 incorrect path prefix in module filebox 2019-05-24 18:36:38 +09:00
Kijin Sung
70108f858d XEVE-19-001, XEVE-19-003, XEVE-19-006
xpressengine/xe-core@18ec8078eb
2019-05-04 17:36:41 +09:00
Kijin Sung
f844d30690 Reduce unnecessary use of site_srl 2018-12-29 10:45:37 +09:00
Kijin Sung
e6e5044f1f Remove site grant option 2018-12-03 22:38:46 +09:00
Kijin Sung
cc2577af00 Fix user lang not working in board config page 2018-10-11 14:18:56 +09:00
Kijin Sung
ea964e72ba Support mobile and responsive skins in integration search module 2018-10-10 19:34:09 +09:00
Kijin Sung
f842a977a3 Don't cache module info if DB query fails
xpressengine/xe-core#2308
2018-10-10 15:56:42 +09:00
bnu
71651c0542 검색엔진 수집이 불필요한 페이지에 대한 robots 메타 태그 추가
xpressengine/xe-core#2293 patch by @bnu
2018-10-02 22:50:05 +09:00
Kijin Sung
88dc76501a Return BaseObject instead of Exception in commonly used internal functions 2018-09-06 09:41:40 +09:00
Kijin Sung
d8a0773b97 Replace $this->stop() with proper exceptions 2018-09-06 00:19:47 +09:00
conory
9fb23bd3dd 문서의 검색, 확장변수와 관련된 비효율적인 코드 정리
- setToAllDocumentExtraVars() 최적화
- 확장변수(-1, -2)를 이용한 문서 다국어 기능 관련 버그 수정 및 개선
- getDocumentList() 최적화 (비효율적인 코드 대거 삭제)
- _setSortIndex(), _setSearchOption() 최적화 (확장 변수 관련 쿼리들 정리)
- 권한자가 아니라면 공개글만 검색되도록 개선 (검색 옵션과 상관없이)
--- 문서 검색(제목+내용,내용,댓글)시 권한자도 비밀글을 검색할 수 없었던 문제 수정
- 'NOTICE Undefined variable' 조차 발생되지 않도록 getGrant() 수정
- '(포인트가 부족한 경우) 글 열람 금지' 옵션 사용시 본문 뿐만 아니라 확장 변수도 볼 수 없도록 숨김
- 기타 버그 수정 (많이 잡은 것 같은 데 정확히 기억안남ㅠ)
2018-06-28 19:59:21 +09:00
conory
bacca5d025 getActionForward() 에서 값이 없을 경우 빈 리턴을 하도록 개선
rss 모듈의 action forward가 등록되지 않는 문제 수정 (기존 서드파티에도 같은 문제가 발생될 것 같아 이렇게 수정함)
2018-06-21 16:13:03 +09:00