Commit graph

654 commits

Author SHA1 Message Date
Kijin Sung
2a3f5d3c51 Add statusList parameter to most comment model methods #2035 2022-12-18 01:18:26 +09:00
Kijin Sung
68a247cc16 Add statusList to more queries and adjust some of them #2035 2022-12-18 01:07:10 +09:00
Kijin Sung
4bd49c29bb Fix #2035 add statusList argument to most comment select queries 2022-12-18 00:28:45 +09:00
Kijin Sung
f3ed346e0b Delete unnecessary parameters when calling getComment() 2022-12-18 00:16:40 +09:00
Kijin Sung
dc90a6abf7 #2010 보완: 문서 모듈과의 일관성을 위해 2022-12-18 00:14:21 +09:00
dewekk
03e186f80c 댓글 추천/비추천 취소 버튼 추가
댓글 메뉴에 댓글 추천/비추천 취소 버튼 추가
2022-11-23 23:16:48 +09:00
dewekk
a21d14ac09 댓글 신고 취소 기능 추가 2022-11-23 21:47:57 +09:00
BJRambo
2d1164e670 베트남어 번역 추가 및 수정 2022-10-26 17:28:59 +09:00
Kijin Sung
83e4b763ce Merge branch 'security/document-module-check' into develop 2022-08-16 08:55:44 +09:00
Kijin Sung
170f7f95b9 #1973 보완 - 대댓글이 있을 때만 자리를 남기도록 설정한 경우, 대댓글이 없는 댓글은 삭제되지 않는 문제 수정 2022-08-15 17:46:30 +09:00
Kijin Sung
f81f7f565d #1973 보완 - 코드 정리 2022-08-15 17:44:48 +09:00
conory
582024daf4 Fix 99d16d84c3 2022-08-05 23:31:02 +09:00
conory
99d16d84c3 Fix potential vulnerabilities 2022-08-05 11:19:02 +09:00
conory
0dd567bc00 Add an option to check the permissions of modules linked to documents or comments 2022-08-04 11:06:23 +09:00
Johnny
cd99a67977 코드 정리 2022-07-08 03:25:28 +09:00
Johnny
a8331a48f3 휴지통 으로 보내는 옵션을 기본화 시키고 그러지 않을경우는 항상 자리 남김 또는 삭제 하도록 개선 2022-07-08 03:23:36 +09:00
Johnny
df42e43259 관리자가 게시글을 삭제 할 떄 자리 남김 옵션을 사용할 경우 해당 모듈의 옵션대로 자리 남기도록 개선 2022-07-08 02:48:29 +09:00
Kijin Sung
ec51b64e78 Fix #1928 댓글 자리 남김 + 삭제시 휴지통 이동 기능 동시 사용시 댓글 내용이 유실되는 문제 수정 2022-07-03 00:15:10 +09:00
Johnny
4d39685350 조건문을 한줄로 묶음 2022-03-24 23:11:07 +09:00
Johnny
2788392060 기존 방식 롤백한뒤 에러 코드를 이용하여 찾지 못하는 경우 -2 에러코드를 리턴 시킴 2022-03-24 23:07:06 +09:00
Johnny
b4b1188081 삭제한 댓글을 다시 삭제하지 않도록 기록 2022-03-24 19:13:59 +09:00
Kijin Sung
418c2b9dfa Fix #1901 always delete thumbnail directory when deleting document or comment 2022-03-21 14:14:37 +09:00
Kijin Sung
031261469e Fix #1900 incorrect detection of non-member vote status 2022-03-16 10:20:15 +09:00
Kijin Sung
ae28116ac0 Fix #1816 allow images of at least 100x100px when creating large thumbnails 2021-12-31 01:41:04 +09:00
Kijin Sung
e311207348 Fix #1840 query error when loading comment declared list 2021-12-31 01:14:02 +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
Kijin Sung
ae44f26bc5 Fix fatal error in PHP 8.0 when thumbnail size is not given as integer 2021-11-22 15:01:28 +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
Kijin Sung
ce2d019aaf Fix #1784 error when getThumbnail() uses external image with $height = 'auto' 2021-09-07 01:48:21 +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
eb56785d54 Fix incorrect data type handling of thumbnail $height parameter
https://xetown.com/questions/1584581
2021-06-22 16:24:28 +09:00
Kijin Sung
786dace639 Fix various warnings in PHP 8.0 2021-06-20 22:25:16 +09:00
Kijin Sung
633bc340e7 Fix #1707 support thumbnail height value of 'auto' in any type 2021-06-19 23:11:59 +09:00
Kijin Sung
856f2af743 Fix #1732 inconsistent 'target' attribute in popup menus 2021-06-19 22:30:18 +09:00
Kijin Sung
8c0532297b Remove unnecessary arguments from query 2021-04-26 00:19:38 +09:00
conory
1d9033742a 검색옵션이 뒤죽박죽으로 표시될 수 있는 문제 수정
언어코드 이름이 모두 search_target_list로 같기에 향후 코어나 서드파티에 의해 호출 순서가 바뀌면 다른 모듈의 $lang->search_target_list 변수가 표시될 수 있다.
2021-04-24 11:50:39 +09:00
Kijin Sung
2330a5d6fd Merge status and is_secret columns in comment list view 2021-04-20 22:40:41 +09:00
Kijin Sung
76f3376670 Add getStatus() and getStatusText() methods to document and comment for easy management 2021-04-20 22:38:42 +09:00
Kijin Sung
1db10e4ada Fix #1652 non-member vote not working for comments 2021-03-17 23:22:41 +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
8c2bfd8297 Fix #1611 query error in declared document/comment list page 2021-02-10 15:57:13 +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
ebe806f7a5 Fix warnings in PHP 8.0 2021-02-07 15:29:28 +09:00
Kijin Sung
0873b371a1 Change some other instances of problematic GROUP BY into SELECT DISTINCT 2021-01-31 16:27:37 +09:00
Kijin Sung
41ed1d7bec Fix importer module not saving documents/comments with empty password fields 2021-01-29 15:01:26 +09:00