Commit graph

9389 commits

Author SHA1 Message Date
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
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
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
748dbeb95a Allow custom notifications to set target_srl for future reference 2020-06-09 16:07:58 +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
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
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
Kijin Sung
4f1264dee5
Merge pull request #1292 from kijin/pr/object-cleanup
모듈 클래스 인스턴스를 직접 생성할 수 있도록 개선
2020-05-20 21:34:41 +09:00
Kijin Sung
a635546f39 Fix #1293 incorrect sender of message when managing documents 2020-05-19 21:00:55 +09:00
Kijin Sung
564563f56c Clean up constructors and other method signatures 2020-05-18 20:37:16 +09:00
Kijin Sung
586f010f55 Allow passing an array of keys/values to getUrl()
getUrl()을 호출할 때 파라미터 이름과 파라미터 값을 풀어서 각각의 파라미터로
넘길 필요 없이, 하나의 연관배열로 넘길 수 있도록 허용합니다.

    $args = array(
        'mid' => $mid,
        'document_srl' => $document_srl,
    );

    getUrl($args);

이 문법을 사용하면 맨 앞에 빈 문자열을 넘겼을 때와 마찬가지로 기존의 URL
파라미터들은 모두 초기화됩니다. 즉 아래와 동일한 효과입니다.

    getUrl('', 'mid', $mid, 'document_srl', $document_srl);

기존의 URL 파라미터들을 남겨놓으려면 기존 방식대로 풀어서 써야 합니다.
2020-05-18 19:41:06 +09:00
Kijin Sung
3430e21be4 Fix unnecessary query when there are no polls 2020-05-18 19:12:06 +09:00
Kijin Sung
12f603feee Fix #1288 support meta keywords and description per domain 2020-05-17 21:38:37 +09:00
Kijin Sung
94ae4ccebe Add disclaimer about download count being incremented
https://xetown.com/questions/1402724
2020-05-17 21:25:49 +09:00
Kijin Sung
b5fc7b9ab2 Fix #1285 #1286 prevent change of status of deleted comments 2020-05-17 21:14:59 +09:00
Kijin Sung
b36675aeba Fix #1285 status displayed as 'undefined' in comment management popup 2020-05-17 20:53:17 +09:00
Kijin Sung
fab11bfd39 Fix #1285 display comment status properly in list 2020-05-17 20:46:14 +09:00
Kijin Sung
f1c15ab1e1 Fix #1283 do not show comments on secret documents in integration search 2020-05-17 20:06:27 +09:00
Kijin Sung
49a1c52913 Fix error in integration search when exclusion list is empty 2020-05-17 19:52:31 +09:00
Kijin Sung
bd94b6915e Fix cache select box displaying 'apc' if no config exists 2020-05-17 00:26:17 +09:00
BJRambo
ab712585d3 Fix #1290 기존 스킨의 호환성을 위한 메소드 추가 2020-05-16 02:01:59 +09:00