Commit graph

1019 commits

Author SHA1 Message Date
Kijin Sung
03c4d87cb9 Clear mid/module_srl cache when global cache is cleared 2020-10-01 16:42:42 +09:00
Kijin Sung
7d6e30f936 Add ModuleModel::getMidByModuleSrl() 2020-10-01 16:29:34 +09:00
Kijin Sung
1c786d8cd5 Remove module update scripts from XE 1.7 and before
XE 1.7 이하 버전에서 테이블 스키마 조정, 인덱스 추가, 임시파일 처리 등을 위해
만들어 놓은 업데이트 스크립트를 대부분 제거하여 처리 효율을 향상시킵니다.

이 중 대부분은 XE 개발 초창기(1.2 이전) 스키마 변경이 빈번하던 시절에
하위호환성을 위해 추가된 것으로, 이미 10년 이상 불필요한 상태였습니다.

단, 앞으로는 XE 1.8 미만 버전에서 라이믹스로 업데이트하기 어려워질 수 있습니다.
XE 1.8 미만 버전을 사용하는 사이트에서는 먼저 XE 최신 버전으로 업데이트한 후
라이믹스를 덮어씌우는 방식으로 진행하여야 합니다.
2020-09-29 01:33:57 +09:00
Kijin Sung
ffe9cda5e0 Merge branch 'develop' into next 2020-08-29 23:53:31 +09:00
Kijin Sung
5e9d9ef02f Fix #1393 allow adding module admin by email address 2020-08-29 23:30:15 +09:00
Kijin Sung
2407ad15df Separate module info cache by lang_type 2020-07-07 19:21:04 +09:00
Kijin Sung
5985ca5b6b Merge branch 'develop' into next 2020-07-05 00:09:26 +09:00
Kijin Sung
c35d739443 Fix #1304 JS error when no option has init="true" attribute 2020-07-04 20:33: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
358832922e Fix incorrect global route detection 2020-06-19 11:14:10 +09:00
Kijin Sung
85fcc79457 Reorganize data exchange format between Context and Router 2020-06-18 20:06:59 +09:00
Kijin Sung
c8a6b8de79 Support global routes 2020-06-18 16:36:27 +09:00
Kijin Sung
7e47c1cb8a Fix duplicate cache key 2020-06-18 14:14:29 +09:00
Kijin Sung
527e16c924 Merge branch 'next' into next-router 2020-06-18 13:17:28 +09:00
Kijin Sung
4cd548cd58 Merge branch 'develop' into next 2020-06-18 13:16:38 +09:00
Kijin Sung
c164f506bb Fix #1324 extra_vars not saved when editing widget page 2020-06-18 12:14:52 +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
5dcb0d332b Extend action_forward feature to include route info 2020-06-17 15:52:06 +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
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
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
Ji Yong, Kim
cd0fff81bd Fix #1234 2020-02-12 23:17:32 +09:00
Kijin Sung
00e70f80df Add defenses against XEVE-19-008
xpressengine/xe-core@1f048c94
2019-11-22 21:33:59 +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
7e80ab2c62 Fix #1130 ignore site_srl in getSiteModules query 2018-12-29 15:11:18 +09:00
Kijin Sung
f844d30690 Reduce unnecessary use of site_srl 2018-12-29 10:45:37 +09:00
Kijin Sung
e25e2df6a8 Fix #1130 missing module list
예전에 멀티사이트 기능을 사용한 적이 있어서 일부 모듈의 site_srl 값이
0이 아닌 경우, 모듈 선택 화면에 표시되지 않는 문제 수정
2018-12-29 09:45:47 +09:00
Kijin Sung
930ebc97b7 Use proper file storage path for skin uploads 2018-12-18 16:03:27 +09:00
Kijin Sung
43f4a766c6 Remove unnecessary triggers at cache recompile
캐시파일 재생성 시점에 불필요한 트리거(현재 설치되어 있지 않은 모듈에서
등록한 트리거)를 일괄 삭제하여 평소 실행 속도를 개선함.
프로파일러 모듈에서 제공하는 것과 유사한 기능임.
단, 모듈 설정이나 애드온 설정은 재설치에 대비하여 그대로 둠.
2018-12-14 17:16:05 +09:00