Kijin Sung
031261469e
Fix #1900 incorrect detection of non-member vote status
2022-03-16 10:20:15 +09:00
Kijin Sung
3925c24487
Add option to disable admin content protection
...
최고관리자의 글을 게시판 관리자가 수정/삭제하지 못하도록 하는 기능은
게시판을 위키 등 협업 용도로 사용하는 경우 불편을 유발할 수 있으므로
옵션으로 켜고 끌 수 있도록 합니다. 기본값은 수정/삭제 금지입니다.
2021-12-30 23:55:10 +09:00
Kijin Sung
12e8cc4510
Merge pull request #1822 from BOBODDO/develop
...
컨텐츠 위젯 및 comment 모듈 버그 수정
2021-12-09 23:16:26 +09:00
conory
94918a070d
휴지통 삭제시 댓글수가 반영되지 않을 수 있는 문제 수정
...
댓글 삭제로 인해 댓글수가 0이 되었을 경우에도 반영되어야 함
2021-11-30 21:51:31 +09:00
BOBODDO
c6ef211867
댓글 자리남김 기능 사용 시 댓글 삭제 트리거 작동 안하는 문제 수정
...
ModuleHandler::triggerCall('comment.deleteComment', 'after', $obj); 을 ModuleHandler::triggerCall('comment.deleteComment', 'after', $comment); 로 수정해야합니다.
updateCommentByDelete 함수에서 받아오는 $obj 값을 그대로 사용해서 트리거로 전달하면 안되며, $comment = getModel('comment')->getComment($obj->comment_srl); 을 통해 저장한 $comment 값을 넘겨주어야 합니다.
2021-11-12 22:46:03 +09:00
Kijin Sung
c87e6d759c
#1802 보완
2021-10-19 20:35:02 +09:00
BOBODDO
b611940adf
신고 불가 시 세션값을 FALSE > TRUE로 수정 필요
2021-10-08 23:42:37 +09:00
conory
c5138ab477
긴 댓글은 휴지통에 들어가지 않는 문제 수정
...
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1
불필요 코드 제거
2021-09-03 01:04:41 +09:00
Kijin Sung
856f2af743
Fix #1732 inconsistent 'target' attribute in popup menus
2021-06-19 22:30:18 +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
4fe083b3c7
Fix #1625 failure to preserve comment with children when parent is moved to trash
2021-02-22 22:00:41 +09:00
Kijin Sung
6b956d2e5b
Allow admin to report (declare) even if it's the same IP
2021-02-10 15:56:47 +09:00
Kijin Sung
f8859769e8
Clean up ModuleController::replaceDefinedLangCode()
2021-01-08 21:27:44 +09:00
Kijin Sung
a43f0368ec
Fix #1341 also calculate point difference accurately when new file is uploaded to a comment
2020-12-15 23:39:25 +09:00
Kijin Sung
2d6a175b19
Fix #1468 inconsistent use of REMOTE_ADDR vs. RX_CLIENT_IP
2020-11-18 00:17:49 +09:00
BJRambo
2cb477fd55
게시글과 댓글을 작성 및 수정시 대기된 파일을 공개하는 방식을 변경
...
파일이 대기모드에서 공개할때 트리거에서 직접 호출 하는 방식으로 변경
2020-11-11 15:06:00 +09:00
Kijin Sung
0f469baae8
Merge branch 'develop' into next
2020-07-31 15:36:40 +09:00
Kijin Sung
3f620481cf
Clean up vote cancel functions and ensure consistency between document and comment modules #1367
2020-07-31 13:41:40 +09:00
Kijin Sung
5047c39bcf
Merge branch 'develop' into next
2020-07-03 16:27:26 +09:00
Kijin Sung
8681923f3e
글, 댓글 삭제시 권한 체크 강화
...
김경욱님이 제보해 주신 버그를 수정합니다.
2020-07-03 16:03:36 +09:00
Kijin Sung
da73eb7427
Use static method calls and consistent permission checks throughout the Board module
2020-07-03 15:47:52 +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
c90d529c74
Change method calls to static in many core modules
2020-05-24 20:43:52 +09:00
Kijin Sung
f5f2cd99e0
Fix #1269 use proper translation for browser title
2020-04-16 17:38:38 +09:00
Kijin Sung
16b6b69276
Fix #1269 use browser title, not mid, in new comment notification
2020-04-16 17:34:41 +09:00
Kijin Sung
b8665d73cb
Fix #1214 add option to display the first page of comments by default
2020-03-23 01:45:25 +09:00
conory
21bcd888c9
관리자의 게시글의 댓글도 관리자 메일로 알림되도록 수정
2020-03-06 01:31:32 +09:00
conory
64e1258f0c
비회원의 댓글은 관리자 메일 알림이 되지 않을 수 있는 문제 수정
...
setReplyTo: Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
2020-02-21 01:46:23 +09:00
Kijin Sung
73c5b6d84b
Fix #1190 make comment page count configurable
2019-09-13 20:11:32 +09:00
Kijin Sung
70108f858d
XEVE-19-001, XEVE-19-003, XEVE-19-006
...
xpressengine/xe-core@18ec8078eb
2019-05-04 17:36:41 +09:00
Kijin Sung
6a9a884680
Fix XEVE-18-006
2018-12-18 15:50:45 +09:00
Kijin Sung
4158d94606
Fix #1119 inconsistent point handling when moving comments in and out of Trash
2018-12-13 11:27:05 +09:00
Kijin Sung
75a468552d
Check vote log before allowing cancellation
2018-11-30 16:04:50 +09:00
Kijin Sung
e7b272f7af
Make more use of trigger result in updateVotedCount
2018-11-30 15:32:24 +09:00
Kijin Sung
bf0014a7d9
Add triggers before updateVotedCount/Cancel
...
문서 및 댓글 추천 액션에 after 트리거만 있고 before 트리거가 없어서
서드파티 자료에서 추천을 미리 막거니 변조하기가 어려웠음.
before 트리거를 추가하여 이 문제를 해결함.
추천 취소 액션에도 마찬가지로 before 트리거를 추가하고,
댓글 추천/취소시 document_srl 값도 받아올 수 있도록 개선함.
2018-11-30 15:05:47 +09:00
conory
964f87c276
부모가 없는 자식 댓글을 휴지통 복원하는 경우 에러조차없이 그냥 삭제되는 문제 수정
...
select 쿼리 결과가 없는 것은 에러가 아님
2018-10-25 22:51:55 +09:00
Kijin Sung
7c2b0b94a2
문서 및 댓글 신고시 불완전한 정보가 기록되는 문제 수정
...
- 비회원이 작성한 글은 신고자가 로그인했더라도 IP 주소 기준으로만 중복을 체크하는 문제 수정
- 회원이 신고하면 신고자의 IP 주소가 기록되지 않는 문제 수정
2018-09-06 15:50:05 +09:00
Kijin Sung
08964804be
Use more granular exceptions and error messages in important modules
2018-09-06 10:11:05 +09:00
Kijin Sung
10c8d11785
Add FeatureDisabled and SecurityViolation exception classes
2018-09-06 10:00:47 +09:00
Kijin Sung
ad00ac800b
Update document, comment, file modules to throw exceptions
2018-09-05 23:55:50 +09:00
conory
2b183435c8
insertComment($manual_inserted = true) 일 경우 오류 수정
2018-08-23 16:07:01 +09:00
Kijin Sung
89abb2ef8e
문서 및 댓글 신고시 간단한 관리자 알림 기능 #588
2018-05-30 22:12:29 +09:00
Kijin Sung
23d074b486
Optimize query getCommentParentNextSibling
...
검색 조건에 document_srl을 넣지 않아서 인덱스를 타지 않는 문제 수정
(복합 인덱스의 첫 번째 컬럼이 검색 조건에 포함되어 있지 않으면 인덱스가 없는 것과 마찬가지임)
2018-02-02 16:09:14 +09:00
conory
54401ea28f
copyDocumentModule(), deleteModuleDocument() 정리, 성능 개선
2018-01-29 00:57:35 +09:00
conory
3d2ade4aa1
문서 이동 / 첨부 파일 삭제 기능 개선
2018-01-24 21:23:00 +09:00
conory
f93ad9c0f6
코드 정리
2017-12-13 21:10:46 +09:00
Kijin Sung
cfe5ae01d3
Allow converter to be used even when manually inserted
...
익명게시판에서는 댓글 작성시 $manual_inserted = true로 설정되기 때문에
converter가 작동하지 않음. 이런 경우에도 allow_html, use_html 등의
변수가 지정된 경우 converter를 사용하도록 변경하여
에디터를 지원하지 않는 모바일 스킨과의 호환성을 높임.
2017-12-07 14:43:54 +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
1803883e1d
코드가 new Object으로만 작성된 코드에 대해서도 동일하게 BaseObject 호출하도록 추가.
2017-11-28 20:07:08 +09:00