BJRambo
45892d7419
주석 코드와 사용하지 않는 쿼리 삭제
2018-09-17 20:52:12 +09:00
BJRambo
15ab8b5353
회원 탈퇴시(트리거 발생시) 유저 세팅 데이터도 삭제 할 수 있도록 개선
2018-09-17 19:34:15 +09:00
BJRambo
a20156242f
회원 설정 이용시 리디렉트 방법 개선
2018-09-17 19:29:41 +09:00
Kijin Sung
be1ce69073
Update more modules to throw exceptions
2018-09-05 23:12:08 +09:00
COMI
a32721b6e1
숨겨진 관리자 설정의 설명을 보이도록 변경함 ( #1072 )
...
@wincomi
* Update skin_config.html
* Update module_setup.html
* Update page_info.html
* Update config.html
* Update document_config.html
* Update module_grants.html
* Update skinsetting.html
* Update category_list.html
* Update module_grant_setup.html
2018-08-19 08:51:42 +09:00
Kijin Sung
f12cf74dda
Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
...
This reverts commit b1cb1f3f34 .
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34
다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
...
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지
CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
Kijin Sung
802ca2cf1b
Fix incorrect sender info in new message notification
...
A 회원 계정으로 로그인한 상태에서 애드온이나 서드파티 모듈이
B 회원으로부터 C 회원에게 쪽지가 발송되도록 하면,
C회원에게 표시되는 쪽지 알림에는 A 회원으로부터 쪽지가 왔다고
잘못 표시되는 문제 수정.
- 쪽지 발송 트리거에서 sender_srl을 참조하는 코드가 누락되어 있었음.
- insertNotify에서 명시적으로 지정한 target_member_srl 속성보다
현재 로그인한 사용자의 회원정보를 우선 처리하는 문제가 있었음.
이러면 target_member_srl 속성을 쓰는 이유가 없음 ㅡ.ㅡ;;
2018-01-25 23:39:03 +09:00
Kijin Sung
c9d3645f10
Automatically fill cache in ncenterliteModel->_getNewCount()
...
285ea8a 보완
카운트 캐시가 없는 경우 자동으로 캐시를 생성하도록 변경함.
푸시앱 등 알림 내용은 안 불러오고 카운트만 받아가는 경우가 있어서
이렇게 하지 않으면 반복 호출해도 캐시 효과가 없음.
푸시앱 사용자가 많고 알림이 수천~수만 개씩 쌓이는 사이트에서
이 패치 적용 후 DB서버 부하가 50% 이상 줄어들었음.
2018-01-16 23:36:37 +09:00
Kijin Sung
285ea8a8ed
Apply object cache to ncenterliteModel->_getNewCount()
...
알림이 많이 쌓여 있는 경우 푸시앱 등 알림센터에 직접 접근하는 서드파티 자료에서
알림 수를 가져올 때 부하가 발생함. 이미 알림 목록을 캐싱하도록 되어 있으므로
캐시를 활용하여 불필요한 SELECT COUNT(*) 쿼리를 하지 않도록 개선함.
2018-01-16 23:16:27 +09:00
BJRambo
564944263b
값을 조건문밖으로 빼서 아래 변수사용할 수 있도록 고침
2018-01-15 15:51:45 +09:00
BJRambo
5ceac274e4
702d94a 보안 페이지값이 1이상일 경우 디비에서 페이지리스트를 가져와야함
2018-01-15 15:41:04 +09:00
Kijin Sung
702d94a9e7
Use object cache to store notification list in ncenterlite
...
오브젝트 캐시 사용시 알림센터에서 플래그 파일 대신 캐시를 활용하도록 변경.
기존 방식에서 오브젝트 캐시로 전환시 플래그 파일은 삭제됨.
2018-01-15 14:20:51 +09:00
Kijin Sung
25369a15f8
Eliminate slow query from ncenterlite auto read trigger
...
글읽기시 해당 글과 관련된 알림을 자동으로 읽기 처리해 주는 루틴에서
불필요한 SELECT COUNT(*) 쿼리와 플래그 파일 갱신이 발생하는 문제 수정.
SELECT COUNT(*) 쿼리 없이 무조건 업데이트부터 하고
affected rows 값에 따라 플래그 파일 갱신 여부를 결정하도록 함.
2018-01-15 14:01:16 +09:00
BJRambo
b6dd614dc7
관리자의 경우 회원 닉네임이 노출되지 않는 문제 고침
2018-01-11 20:35:19 +09:00
BJRambo
8f2f4aae42
Fix #968 알림센터의 유저 알림기본 동작을 항상 받는 동작으로 개선
2018-01-11 20:31:08 +09:00
Kijin Sung
f41c976fcf
Add index hint to ncenterlite.getNotifyNewCount
2018-01-04 14:01:43 +09:00
Kijin Sung
d6428bb71d
Add index hint to ncenterlite.getNotifyList query
2018-01-04 12:08:05 +09:00
Kijin Sung
28a2398e91
Fix null value in some circumstances in insertNotify()
2017-12-21 00:27:02 +09:00
Kijin Sung
b9074335aa
Fix inconsistent document & comment vote handling in ncenterlite
2017-12-21 00:20:14 +09:00
Kijin Sung
f0ad692650
Enable responsive skin in member, communication, and ncenterlite
...
회원, 커뮤니케이션, 알림센터Lite 모듈에서 모바일 스킨을 선택할 때
PC와 동일한 반응형 스킨을 지정할 수 있도록 개선
2017-12-05 23:58:04 +09:00
Kijin Sung
84e5542d77
Remove unnecessary use of BaseObject
...
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859
php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경
2017-11-28 20:01:28 +09:00
Kijin Sung
460cfd5455
Eliminate unnecessary require_once in mobile classes
2017-11-21 18:09:23 +09:00
BJRambo
2c3de50678
Fix #940 member_srl 과 로그인정보가 없을 경우에 리턴하도록 고침.
2017-11-05 21:33:33 +09:00
BJRambo
60a08982f5
Fix typo.
2017-11-05 14:15:25 +09:00
BJRambo
7f42031e2a
Fix #940 fix the ability to pass logged_info when member_srl is empty.
2017-11-05 14:14:01 +09:00
BJRambo
ad2beed710
Fix display notify menu depends on user notify setting
2017-08-19 17:18:03 +09:00
BJRambo
063e22152d
Fix typo to newline in en.php.
2017-08-19 17:07:07 +09:00
BJRambo
c1d48b9912
Add to default user_notify_setting.
2017-08-19 17:03:19 +09:00
BJRambo
6b11100822
Add option to user notify setting.
2017-08-19 16:55:02 +09:00
BJRambo
76f3df792f
Do not double-check the member serial.
2017-08-19 15:35:21 +09:00
BJRambo
d680ea9529
Fix typo in admin comment notify.
2017-08-19 15:31:53 +09:00
BJRambo
5c7b480501
Delete unuse custom code.
2017-08-19 09:52:38 +09:00
BJRambo
1b4caf710d
Fix check login and execute trigger.
2017-08-19 07:11:38 +09:00
BJRambo
c5afdebd85
Delete unused parameter
2017-08-17 18:29:36 +09:00
BJRambo
3756acac59
Delete unnecessary comment
2017-08-17 18:21:32 +09:00
BJRambo
a771266443
Add to comment voted notify feature.
2017-08-17 18:17:58 +09:00
BJRambo
42ba503bea
Change the call location of getSmsHandler and improbe member login check.
2017-08-17 16:42:50 +09:00
BJRambo
763052eb58
Fix call worning method name in dispNcenterliteUserConfig.
2017-08-17 11:59:47 +09:00
BJRambo
dcb7b0b321
Intuitive change the name.
2017-08-17 09:33:39 +09:00
BJRambo
f981e2cd29
Mobile code cleanup
2017-08-17 09:08:33 +09:00
BJRambo
208761b866
Improbe not to initialize return url in procNcenterliteUserConfig
2017-08-17 09:07:11 +09:00
BJRambo
589e196230
Create a method to send a montions.
2017-08-17 09:00:11 +09:00
BJRambo
f2dd50f37e
조건문을 Context::isLocked()으로 검사
2017-07-31 23:42:47 +09:00
BJRambo
cf5def3ed3
잠금 아이피도 함께 검사한다음 잠금아이피에 들어가있찌 않은경우에 리턴하도록 개선
2017-07-31 23:09:27 +09:00
BJRambo
dbaada29a6
리턴방식 통일 및 잠금시 일반회원이 알림센터를 확인할 수 없도록 고침
2017-07-31 22:58:29 +09:00
BJRambo
7a35c60f40
알림센터에서 $obj->disable_triggers 설정 추가
...
게시글 등록시 여러글을 한꺼번에 입력해주는 모듈을 이용할 경우 해당 모듈에서 작동할때 불필요하게 트리거를 거쳐 작업이 많이 이루어지게 됩니다. 알림센터에서 글작성 트리거를 실행하지 않고 싶다면 다음과 같이 추가하면 됩니다.
$args->disable_triggers = array('ncenterlite' => true);
위의 코드를 이용해서 알림센터 모듈의 경우 글작성 트리거를 실행하지 않도록 할 수 있습니다.
2017-07-09 12:09:07 +09:00
Kijin Sung
61930d5129
Use new Mail class in communication and ncenterlite modules for all notifications
2017-06-29 17:46:06 +09:00
BJRambo
b45523f37c
아래쪽 플래그파일에도 readPHPData함수 사용
2017-05-05 21:52:27 +09:00