Commit graph

17233 commits

Author SHA1 Message Date
Kijin Sung
4a5159b255 Always cache module and action info 2020-06-13 01:04:21 +09:00
Kijin Sung
1bf5b4c240 Change syntax for specifying multiple routes for the same action 2020-06-13 00:37:59 +09:00
Kijin Sung
b706f2f6ab Add support for the generic mid/act URL pattern 2020-06-13 00:27:23 +09:00
Kijin Sung
f02c4aa4c4 Remove object return type declaration for compatibility with PHP < 7.2 2020-06-12 23:53:09 +09:00
Kijin Sung
eb2c9d0aed Spaces to tabs 2020-06-12 23:49:33 +09:00
Kijin Sung
e6c61c4042 Support module-defined routes 2020-06-12 23:38:01 +09:00
Kijin Sung
17897aef5a Add some routes to the board module 2020-06-12 23:21:25 +09:00
Kijin Sung
b44f9a2c78 Fix cache key mismatch in getModuleActionXml() 2020-06-12 23:20:59 +09:00
Kijin Sung
2d1a7ec432 Add ability to parse routes into regexp 2020-06-12 23:19:23 +09:00
Kijin Sung
7cf17bc43f Implement SimpleXML parsers for info.xml and module.xml 2020-06-12 22:41:18 +09:00
Kijin Sung
f0b8836595 Fix short URL for category 2020-06-12 20:20:30 +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
1cd3cfc7d9 Support different rewrite levels for XE compatibility 2020-06-12 13:24:01 +09:00
Kijin Sung
f01fb9ae42 Merge branch 'develop' into next 2020-06-12 10:28:36 +09:00
Kijin Sung
369858012e
Merge pull request #1312 from nemo9l/improve/exec_json
#1311 exec_json 에서 callback_error 의 반환값에 따라 alert 하지 않도록 수정
2020-06-12 08:20:35 +09:00
Webstack
7830e2f8f4 #1311 exec_json 에서 callback_error 의 반환값에 따라 alert 하지 않도록 수정 2020-06-11 17:02:04 +09:00
Kijin Sung
748dbeb95a Allow custom notifications to set target_srl for future reference 2020-06-09 16:07:58 +09:00
Kijin Sung
5fa7308a09
Merge pull request #1309 from misol/is_countable
count() 함수를 사용하기 전에, 셀 수 있는 변수인지 확인
2020-06-08 20:39:30 +09:00
Kijin Sung
494e0ee028 Clean up usage of is_countable() 2020-06-08 20:35:54 +09:00
Min-Soo Kim
67a9aba082 Check is_countable in the DB.class.php 2020-06-07 23:03:52 +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
Min-Soo Kim
43fe12af13
알림 수신 거부 기능을 드롭다운 메뉴에 추가 (#1301)
알림센터의 수신 거부 기능을 드롭다운 메뉴에 추가.

* 알림 수신 설정 메뉴 트리거 코드 수정
* Unsubscribe_srl이 잘못된 값일 경우에 대한 오류 처리 추가
* Refining the unsubscribing methods
* 사용하지 않는 변수 제거, 오류 문구 정리
* 사용할 필요가 없어진 $member_srl 변수 사용 안함.
* 수신 거부 해제 대상이 아닌 컨텐츠를 수신 거부 해제 요청시 오류 문구 추가.
* Support multi-lang for the unsubscribing page of default skin
2020-05-31 22:44:14 +09:00
Kijin Sung
29b929b7eb Fix typo 2020-05-31 16:40:01 +09:00
Min-Soo Kim
81774f6e96
Update a skin html for user config. page of the notification module (#1300)
알림센터 모듈의 default_bottom 스킨의 사용자 설정 페이지에 설정이 일부 빠져 있어서 업데이트 합니다.
2020-05-31 15:18:22 +09:00
Kijin Sung
fa9e8fbe21 Fix duplicate slash in point module config screen 2020-05-31 13:36:29 +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
6afbdf1de5 Merge branch 'develop' into next 2020-05-26 19:19:51 +09:00
Kijin Sung
3f9d406f8d Fix #1295 empty list returned in procCommentGetList 2020-05-26 19:19:20 +09:00
Kijin Sung
34eb311ac0 Merge branch 'develop' into next 2020-05-26 09:00:15 +09:00
Kijin Sung
5cd1cc53a5 Fix #1298 array/object confusion in point module 2020-05-26 08:25:05 +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
4d64264573
Merge pull request #1296 from kijin/pr/static-models
정보를 불러오는 메소드들 대부분을 static으로 변경
2020-05-24 21:27:39 +09:00
Kijin Sung
530b00e3c1 Add ModuleModel::getModuleInfo() shortcut method 2020-05-24 21:05:18 +09:00
Kijin Sung
f6d4de8e70 Change method calls to static in point module 2020-05-24 20:49:09 +09:00
Kijin Sung
c90d529c74 Change method calls to static in many core modules 2020-05-24 20:43:52 +09:00
Kijin Sung
89ec44152e Convert most methods in FileModel to static 2020-05-24 19:23:42 +09:00
Kijin Sung
2e2e11618b Fix inconsistent data type for point module part config 2020-05-24 11:00:50 +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
eceb12c85a Add MemberModel::getMemberInfo() 2020-05-23 19:16:38 +09:00
Kijin Sung
8dbb023816 Convert most methods in PointModel to static 2020-05-23 19:13:20 +09:00
Kijin Sung
9b5decbd2e Convert most methods in CommentModel to static 2020-05-23 19:10:13 +09:00
Kijin Sung
145ce98268 Convert most methods in DocumentModel to static 2020-05-23 14:13:35 +09:00
Kijin Sung
55ee9d03cb Fill in more function modifiers 2020-05-23 14:13:13 +09:00
Kijin Sung
eca99205df Fill in missing function modifiers 2020-05-22 00:02:57 +09:00
Kijin Sung
d9f16f888b Convert most methods in MemberModel to static 2020-05-21 23:21:17 +09:00
Kijin Sung
40db6ceb73 Convert most methods in ModuleModel to static 2020-05-21 22:53:55 +09:00