Kijin Sung
c1cbc5dbdb
Add MustLogin exception and apply to communication module
2018-08-27 00:31:48 +09:00
Kijin Sung
b8fc4ca46f
Hide friend-only option if friend feature is disabled in communication module
2018-07-02 15:54:19 +09:00
BJRambo
271fd78c08
Fix #993 읽지 않은 보관함에 있는 쪽지를 삭제할 수 없는 문제 고침
...
읽지않은 쪽지함으로 사용할때 부득이하게 코드의 절약과 구동 개선을 위해서 message_type 변수를 사용하였는데, 이 변수가 메세지의 보관함에 보관하는 것과 받은 사람, 보낸 사람 이렇게 나뉘는 부분을 확인하였습니다.
그래서 아래와 같은 동작으로 작동하도록 하엿습니다.
1. 메세지 타입이 N(읽지않은 경우) 의 값으로 호출이 된다면 무조건 메세지는 R(받은사람)의 쪽지를 기준으로 선택하도록 합니다.
2. 보관함의 경우 기본 동작은 메세지 읽기-> 보관함이동을 통해서 보관함으로 이동하기 때문에 보관함의 기준으로 삭제하는 기능의 대해서는 별 다른 조치를 취하지 않습니다.
위와 같이 동작을 확인하였으며 일단 전체적인 액션을 테스트 해본 결과 이상이 없어 보입니다.
이 커밋의 내용은 단순히 증상만 정상적으로 보이도록 하였을 수 있으며, 코드 리뷰를 통해서 좀 더 세밀하게 두고두고 볼 필요가 있을 것 입니다.
by @BJRambo
2018-02-25 08:50:46 +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
7b1f0b4ee2
Fix #916 show error earlier if attempting to add self as friend
2017-09-28 11:34:15 +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
Kijin Sung
c900f49d72
Fix #654 don't display send message link if not permitted for current user
2016-12-16 23:43:46 +09:00
Kijin Sung
eb895f76cd
Do not rollback if an 'after' trigger returns error
2016-05-14 20:24:45 +09:00
Kijin Sung
f79e1601ae
Disallow adding oneself as a friend
2016-03-21 16:55:24 +09:00
Kijin Sung
359cf29dce
Disallow duplicate friend registration
2016-03-21 16:53:39 +09:00
BJRambo
1880b7f7fc
Merge pull request #383 from bjrambo/pr/ncenterlite
...
알림센터 모듈을 라이믹스로 흡수 시킴.
2016-03-19 20:49:40 +09:00
BJRambo
322aec9fab
remove communication notify
2016-03-19 16:14:37 +09:00
conory
dd91f177c3
쪽지를 읽어도 알림이 사라지지않는 문제수정
2016-03-19 10:32:35 +09:00
BJRambo
d8ef4bfb37
if use massage notify, communication notify do not use.
2016-03-17 06:13:24 +09:00
Kijin Sung
9fc1926dc3
Fix disappearing message & friend menu in other places, too
2016-03-16 19:19:53 +09:00
Kijin Sung
e9ca45eac7
Fix disappearing message & friend menu
2016-03-16 19:10:53 +09:00
Kijin Sung
5a3893be5e
Do not display notification if we are already on the message view
2016-03-16 14:51:58 +09:00
Kijin Sung
488704acf0
Move trigger to moduleObject.proc.after for better consistency
2016-03-16 14:48:54 +09:00
Kijin Sung
b890f9f42e
Consistently update the new message flag file
2016-03-16 14:14:41 +09:00
BJRambo
686ea0cd04
communication return by admin page.
2016-03-09 18:24:17 +09:00
conory
65dc36f661
Merge branch 'develop' of https://github.com/rhymix/rhymix into pr/communication
...
# Conflicts:
# modules/communication/communication.controller.php
2016-03-06 17:23:19 +09:00
conory
90400e2b5f
모두 lang() 함수로 변경
2016-03-06 17:01:15 +09:00
conory
cb206acfc0
새 쪽지 알림 문제 개선
2016-03-05 17:45:51 +09:00
conory
5d3389a6ff
쪽지 발송 권한 설정 다듬기
2016-03-05 14:18:50 +09:00
conory
b8b0e8978a
쪽지, 친구에 대한 활성화 설정 추가
2016-03-04 22:50:31 +09:00
conory
a50695f047
#331 쪽지보내기와 친구등록 메뉴가 나오지않았던 문제 수정
2016-03-04 20:35:42 +09:00
qw5414
160129879a
쪽지 발송시 이메일로 험깨 발송되는 콘텐츠의 필터링 보충 추가 (xe1.8.16)
2016-02-18 16:49:15 +09:00
qw5414
0c9fa7400f
관리자 페이지일경우 사용하지 않음.
2016-02-13 10:12:10 +09:00
qw5414
29044a98bf
커뮤니케이션 맴버 모듈을 삭제하고, 커뮤니케이션 모듈을 생성 (기본값 사용함)
2016-02-13 09:30:04 +09:00
Kijin Sung
d474c20a36
Encode non-BMP UTF-8 characters as HTML entities
2016-01-17 14:09:45 +09:00
YJSoft
853907815f
빠진 ' 추가
...
Oops
2015-03-20 15:45:30 +09:00
YJSoft
c71968a7d5
#1330 모바일 쪽지 발송시 success_return_url 오류 수정
...
모바일 쪽지 발송시에는 is_popup값이 Y로 전달됩니다. 따라서 alert창으로 띄우지 않고 setRedirectUrl 함수를 사용하여 success_return_url로 리다이렉트 시키는데요, 문제는 기본 스킨에는 success_return_url값이 없어서 getNotEncodedUrl를 사용해서 만드는데, 이때 content값 등 기존 값까지 전부 들어가기에 메세지 내용이 길어질 경우 정상적으로 리다이렉트가 안됩니다. 따라서 getNotEncodedUrl 인자 앞에 `'',`를 붙여 기존 모든 인자를 사용하지 않도록 변경하였습니다.
2015-03-20 14:52:54 +09:00
devflow
bb39d31fb4
communication.controller.php 주석 오타 수정
...
오타 수정
2014-12-15 16:53:22 +09:00
akasima
f382c3615d
#872 add send message trigger parameter
2014-07-30 14:58:27 +09:00
akasima
08f80e42ab
#38 쪽지 발송 권한 설정 추가
2014-03-03 09:33:09 +09:00
bnu
bf85de4e26
Merge branch 'pr/55' into develop
...
Conflicts:
modules/communication/communication.controller.php
2013-11-23 20:18:20 +09:00
bnu
c2b3933831
#55 스팸필터 차단 시 발송되었다는 메시지로 잘못 나오는 문제 수정.
2013-11-23 20:13:58 +09:00
bnu
cb112a65d3
쪽지 발송 시 불필요한 getNextSequence() 제거.
2013-11-19 22:47:03 +09:00
bnu
436ff4bef4
#73 쪽지 발송 시 트리거 추가.
...
communicationController::sendMessage()
2013-11-19 22:43:34 +09:00
akasima
736f382b27
#66 install php version check
...
#16 install rewrite module usable check
#48 htmlspecialchars function params add
2013-11-19 13:32:39 +09:00
SMaker
6d8137bfc9
쪽지 발송 시 스팸필터가 작동하도록 개선
...
- communication.sendMessage 트리거 추가
- 쪽지 발송 차단 시 메시지 추가
2013-11-15 17:22:30 +09:00
akasima
bce0a0b6d4
copyright add to php files
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99
change author
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
flyskyko
687fe8683b
issue 2119. supporting php 5.4. communication module.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12722 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-07 07:57:54 +00:00
flyskyko
8a7c28babc
issue 2119. supporting php 5.4. modules and widgets.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12706 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 09:45:04 +00:00
chschy
76b100e076
Issue 2617 added send message in communication module
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12267 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-20 10:53:33 +00:00
ovclas
d9f44e9d48
issue 2662 comment, communication
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12239 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-16 05:16:42 +00:00
devjin
11d296b19d
issue 2561 had deploy a patch. (contributor by dowon2308)
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11719 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-15 12:42:37 +00:00
devjin
bf76e14f32
issue 2341 fixed a bug that friends move another group.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11140 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-03 06:29:55 +00:00