Commit graph

88 commits

Author SHA1 Message Date
Kijin Sung
cc17bbe05a Clean up HTML filtering and emoji encoding #2631 2025-12-17 17:53:46 +09:00
Kijin Sung
faa89442c6 Fix #2253 add triggers before/after communication.deleteMessage and deleteMessages 2024-01-01 17:25:08 +09:00
Kijin Sung
986fc23043 Redirect to inbox after sending message 2023-10-27 19:32:17 +09:00
Kijin Sung
53ec02b6bb Restore sending message by email (revert #1109)
- 스팸 방지를 위해 관리자만 발송할 수 있도록 변경
- 보낸이의 메일 주소를 노출하지 않도록 변경
2023-10-24 21:33:39 +09:00
Kijin Sung
8f32e94f8a Clean up capitalization and unnecessary methods in communication module classes 2023-10-02 21:57:46 +09:00
Kijin Sung
64b2918559 Also support plain window for adding friend & friend group #2154 2023-07-17 21:50:04 +09:00
Kijin Sung
e635970c6a Support replying to message in the same window #2154 2023-07-17 21:38:44 +09:00
Kijin Sung
77ac355259 Fix #2100 allow sender, recipient, and other info to be updated by trigger in communication.sendMessage 2023-06-27 21:49:07 +09:00
Kijin Sung
37b0d3a1e6 Remove trailing whitespace 2023-01-30 21:43:21 +09:00
Kijin Sung
afdc450b00 Fix #1877 allow moving archived messages back to the inbox 2022-12-20 01:27:19 +09:00
Kijin Sung
7b46deb973 Fix #1886 clean up incorrect use of getMemberInfo* methods 2022-03-14 01:40:43 +09:00
BJRambo
960d0018d0 98267d90d5 보안 숫자 검사하지 않고 intval 처리 하여 새 그룹 등록 여부 확인 2021-05-30 19:29:20 +09:00
BJRambo
98267d90d5 Fix #1719 친구 등록이 되지 않던 문제 고침 2021-05-30 19:14:24 +09:00
Kijin Sung
b7c3aa1790 Fix #1666 add triggers before/after addFriend and deleteFriend 2021-03-29 20:40:29 +09:00
Kijin Sung
fc4d8a6824 Fix #1634 bypass spamfilter when sending messages from core modules 2021-02-23 22:01:32 +09:00
Kijin Sung
133c29012b Provide MemberController::clearMemberCache() 2020-10-30 01:16:14 +09:00
BJRambo
cf0bd0140b Fix #1287 쪽지수신여부 설정시 캐싱을 하지 않던 문제 고침 2020-05-05 23:57:02 +09:00
Kijin Sung
253c66b67e Delete attached files when messages are deleted 2019-11-22 20:00:59 +09:00
Kijin Sung
46f19a9f17 Enable file upload when sending messages 2019-11-22 18:20:52 +09:00
BJRambo
b4239c1c61 커뮤니케이션 모듈에 메일전송 기능을 삭제 2018-10-27 16:12:45 +09:00
BJRambo
6d239378a0 쪽지 알림 메일을 항상 라이믹스 알림에서 설정한 이메일주소로 전송되는 문제 고침 2018-10-26 16:52:12 +09:00
Kijin Sung
c54fa8dab1 Use escape more consistently
여기저기 htmlspecialchars가 들어 있는 것을 escape로 통일
2018-10-10 15:07:51 +09:00
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