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
BJRambo
f3f40f6859
php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경
2017-11-28 20:01:28 +09:00
Kijin Sung
6d6acd5c9e
Clean up some comments and line spacing
2017-11-25 19:05:24 +09:00
Kijin Sung
509b403eff
Allow member info to be customized by trigger
...
문서나 댓글을 작성하거나 수정할 때 트리거에서 회원 정보를 조작할 수
있도록 허용함. $obj->manual_member_info = true 로 바꾸어 반환하면
글쓴이의 정보가 현재 로그인한 사용자나 최초 작성시 정보로 덮어씌워지지
않고 트리거에서 지정한 그대로 남음.
기존에도 $manual_inserted 를 사용하면 이런 기능을 구현할 수 있었으나,
이 변수는 트리거에서 조작할 수 없으며 다른 체크도 모두 건너뛰는 등
여러 가지 불편이 있어서 이렇게 일부 정보만 변경하도록 허용하는 새 방법을
제공함. 익명 게시판 등을 좀더 편리하게 개발할 수 있을 것으로 예상됨.
2017-11-24 23:42:28 +09:00
Kijin Sung
8e1cb8b3a9
Fix returning null in insertComment()
...
This causes a fatal error if someone tries to call toBool() on the return value.
2017-09-14 00:14:01 +09:00
conory
35646700fe
converter() 로 변경 및 개선
2017-07-14 16:17:26 +09:00
conory
820c725d69
convertHTML() 로 변경
2017-07-13 11:15:12 +09:00
conory
da0ad3bd39
에디터 모듈에 HTML 허용 설정 추가
...
회원 모듈에도 no html 서명을 위한 옵션 추가
2017-07-13 00:46:28 +09:00
Kijin Sung
24ab7dba9e
Fix erroneous identification of nohtml config
2017-06-29 19:39:18 +09:00
Kijin Sung
1d2368f105
Do not allow HTML content if editor config says nohtml
2017-06-29 19:23:39 +09:00
Kijin Sung
67e02824e3
Use is_html_content() in document and comment modules
2017-06-29 19:08:53 +09:00
Kijin Sung
c891415105
Use new Mail class in board and comment modules for all notifications
2017-06-29 17:45:44 +09:00
Kijin Sung
5e296e54e2
Fix #813 incorrect language about canceling downvotes
2017-05-07 21:58:00 +09:00
Kijin Sung
d3db01aae0
Add option to control updating the document's last-updated timestamp when a comment is posted
2017-05-07 21:37:37 +09:00
BJRambo
23a130f53c
Merge pull request #744 from bjrambo/pr/comment-trash
...
댓글 삭제할때에도 휴지통 사용여부에 따라 휴지통으로 이동할 수 있도록 기능 추가
2017-03-08 08:30:55 +09:00
BJRambo
2d1ba7d26d
삭제 액션에서 누락된 삭제 쿼리추가 및 댓글 카운터 정상적동할 수 잇도록 개선
2017-03-07 09:12:36 +09:00
BJRambo
2da5f1309e
회원번호를 0으로 초기화시키던 문제 고침
2017-03-07 08:35:47 +09:00
BJRambo
aefecb203c
삭제 할때 옵션여부의 동작을 인식하여 휴지통 기능을 실행하도록 개선
2017-03-07 08:34:04 +09:00
BJRambo
9886c92d2b
복구를 위한 쿼리 추가.
2017-03-07 07:59:23 +09:00
BJRambo
f2c17bf310
인자 정리 및 last_update는 쿼리의 기본값을 사용
2017-03-07 07:56:28 +09:00
BJRambo
7b4c49d7e9
휴지통에서 댓글 복원할 수 있는 메서드 추가.
2017-03-07 07:38:43 +09:00
BJRambo
b040372133
댓글 삭제할때에도 휴지통 사용여부에 따라 휴지통으로 이동할 수 있도록 기능 추가
2017-03-06 11:38:47 +09:00
Kijin Sung
387dd1f78b
Fix #741 do not allow empty HTML content in document and comment
2017-03-06 10:50:06 +09:00
Kijin Sung
9389b96f95
Revert "글쓴이에게는 무조건 세션 권한 부여"
...
This reverts commit 2840740286 .
2017-03-03 00:57:41 +09:00
conory
2840740286
글쓴이에게는 무조건 세션 권한 부여
...
비회원 글쓰기 후 본문 페이지에서 비밀번호 인증을 받아야 하기 때문에 매우 번거로움.
2017-03-03 00:36:04 +09:00
Kijin Sung
9143493f13
Restrict addGrant() to current request only
2017-03-02 23:24:28 +09:00
Kijin Sung
dc84dd1310
Fix unauthorized config manipulation in document and comment modules
...
Reported by @conory
2017-03-01 23:35:12 +09:00
Kijin Sung
563814a2f3
Remove unnecessary calculation of comment count
2017-02-17 20:16:16 +09:00
Kijin Sung
3f0cf4f9b7
Clear empty directories when deleting files or thumbnails
2017-01-26 18:09:56 +09:00
conory
60bc1e5637
댓글 신고 트리거에도 신고 메세지 추가
2017-01-23 19:32:42 +09:00
Kijin Sung
3da76b0bd7
Fix comment.deleteComment trigger not being called when leaving placeholder
2017-01-09 11:46:29 +09:00
Kijin Sung
d31536159f
Clean up comment deletion routine
2016-12-20 14:37:49 +09:00
sejin7940
2770037700
Update comment.controller.php
2016-09-25 14:33:15 +09:00
BJRambo
c1e62d93c7
Improvement to cut the post title
2016-07-30 08:11:09 +09:00
BJRambo
e4140c5162
Deleted test code
2016-07-30 07:56:49 +09:00
BJRambo
bcf6523e81
Modify the title of the comment notification e-mail.
2016-07-30 07:49:30 +09:00
Kijin Sung
61da304a4c
Clean up more language files and default skin
2016-05-26 11:19:06 +09:00
BJRambo
5d7a996913
피라미터에 기본빈값 추가
2016-05-25 00:07:33 +09:00
BJRambo
4bbbd6ee36
대댓글에 대한 세부옵션을 추가
2016-05-24 23:23:16 +09:00
BJRambo
fb4ff53a6f
Improving do not count the deleted comments.
2016-05-24 21:32:41 +09:00
BJRambo
5e036bf586
Fix any incorrect the list_order setting.
2016-05-24 21:14:34 +09:00
BJRambo
219c7fef1d
Fix any incorrect the list_order setting.
2016-05-23 15:28:15 +09:00
BJRambo
b2e6c5338e
Elimination the privileges of the commenter.
2016-05-23 15:22:46 +09:00
BJRambo
228eb1f6c9
When deleting a comment, add to display 'deleted' message.
2016-05-23 05:05:51 +09:00