Commit graph

17195 commits

Author SHA1 Message Date
BJRambo
6516984dc0 do not use Curl and send more that two message, create a group to improve text message.
* messages 혹은 $options->to 으로 넘어오는 전화번호의 갯수의 의해 문자를 2건 이상 전송할 경우 무조건 그룹메세지를 통해 전송하도록 고침.
* static선언하는 메소드들을 전부 static선언을 지움
* 최종 요청을 FileHandler::getRemoteResource() 으로 처리하도록 고침
2020-06-14 14:53:48 +09:00
BJRambo
b073700f96 Fix problem that do not send SMS in ncentelite 2020-06-13 22:22:13 +09:00
BJRambo
a925f68871 Add to image upload for SolAPI driver 2020-06-13 21:43:06 +09:00
BJRambo
43161bab35 Fix typo 2020-06-13 20:34:03 +09:00
BJRambo
8c4e300f1a Add SolAPI driver for SMS 2020-06-13 20:19:45 +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
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
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
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
3f9d406f8d Fix #1295 empty list returned in procCommentGetList 2020-05-26 19:19:20 +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
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
953faecd55 Detect AJAX abort due to page unload #1280 2020-05-21 20:53:49 +09:00
Kijin Sung
766cd4b1d5 Fix .travis.yml warnings 2020-05-19 21:04:57 +09:00
Kijin Sung
a635546f39 Fix #1293 incorrect sender of message when managing documents 2020-05-19 21:00:55 +09:00
Kijin Sung
dc564a4a1a Update .travis.yml to reorder tests and remove unnecessary commands 2020-05-19 20:56:32 +09:00
Kijin Sung
37de1bc9ee Update .travis.yml to use xenial environment for PHP 7.4 2020-05-19 20:53:06 +09:00
Kijin Sung
14ad62e869 Fix incorrect use of curly braces in legacy classes 2020-05-19 20:52:44 +09:00
Kijin Sung
2cbfd4500c Remove error_return_url more efficiently 2020-05-18 19:54:05 +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
cd58305fc1 v1.9.9.7 Pensacola 2020-05-17 21:51:08 +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
BJRambo
2b6d6b9925 Fix #1290 함수명을 일괄성있게 고침 2020-05-15 16:06:01 +09:00
Kijin Sung
7c7727f8d1 Remove DB version check
PHP 7.0 이상 호스팅에서 MySQL 5.0 미만을 사용하는 사례는 사실상 전무하므로
불필요한 문제를 일으키는 DB 버전 체크 과정을 제거함.

cf. rhymix/rhymix-docs#3
2020-05-10 21:18:34 +09:00
BJRambo
cf0bd0140b Fix #1287 쪽지수신여부 설정시 캐싱을 하지 않던 문제 고침 2020-05-05 23:57:02 +09:00
Kijin Sung
9ca361ab45
Merge pull request #1284 from nemo9l/fix/strict-for-blank
Fix #1281
2020-05-04 09:35:10 +09:00
Ji Yong, Kim
9966a4eedd Fix #1281 2020-05-04 08:29:20 +09:00
Kijin Sung
098a02a008 Fix #1275 add layout (before) trigger point 2020-04-27 22:46:52 +09:00
Kijin Sung
ae36419ee7 Remove temporary fix for session domain
2020년 3월 한때 develop 브랜치에서 세션 도메인이 잘못 지정되었던 문제를
우회하기 위해 삽입했던 임시 코드를 삭제 또는 주석처리함.

문제가 있던 당시에 develop 브랜치로 업데이트했던 일부 사이트 외에는
필요하지 않은 코드이므로, master 머지를 앞두고 제거함.

참고: #1264
2020-04-21 22:49:02 +09:00
Kijin Sung
04bb0493c7 Implement SameSite cookie policy
- 세션 쿠키, 세션 보안키 등에 SameSite 속성을 적용할 수 있는 기능 추가
  (시스템 설정 -> 보안 설정)
- 일반적인 사이트는 Lax를 권장함, PG사 연동 오류 등의 경우 None 사용
- None 사용시 크롬 80부터는 SSL 전용 세션으로 지정해야 함
- Rhymix\Framework\Session에서 쿠키 관련 루틴들 정리
- PHP 7.3 이상, 7.2 이하 버전으로 나누어 처리
2020-04-21 22:39:10 +09:00
Kijin Sung
e33d8569bc Fix doChangeLangType() redirecting to main page when short URL is used
https://xetown.com/questions/1381097
2020-04-18 10:23:54 +09:00
Kijin Sung
4bac63f387 Add option to control custom notification channels 2020-04-16 19:51:10 +09:00