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
645f65315e
Fix persistent module update prompt after fresh install
2020-11-25 00:27:53 +09:00
Kijin Sung
1366bb72ce
Fix #1452 misc errors in PHP 8.0
2020-11-12 14:03:11 +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
a3271c6a40
Display alert when file selected in filebox is too large #1451
2020-10-30 21:49:48 +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
a6e55dcdee
Use transactions in several member controller methods
2020-10-04 17:02:23 +09:00
Kijin Sung
338951f5c8
Fix #1406 convert 'jp' to 'ja' in lang table
2020-10-03 01:30:28 +09:00
Kijin Sung
0177ee3abe
Fix #1411 placeholders and descriptions on extra_vars fields
2020-10-02 20:31:33 +09:00
Kijin Sung
a25497c567
Add caching to ModuleModel::getModuleInfoByDocumentSrl()
2020-10-02 01:52:31 +09:00
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