Commit graph

724 commits

Author SHA1 Message Date
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
8438578dc6 추가하지 않은 인자함수 추가. 2017-03-07 07:41:50 +09:00
BJRambo
7b4c49d7e9 휴지통에서 댓글 복원할 수 있는 메서드 추가. 2017-03-07 07:38:43 +09:00
bnu
ada67465cf 내장 모듈의 act에 대한 퍼미션 정리 2017-03-06 14:06:04 +09:00
BJRambo
b040372133 댓글 삭제할때에도 휴지통 사용여부에 따라 휴지통으로 이동할 수 있도록 기능 추가 2017-03-06 11:38:47 +09:00
Kijin Sung
81511e47b1 Enhance permissions check on module config actions 2017-03-06 11:05:53 +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
238d97e4ab Restrict effect of setGrant() to current request
앞으로 또 발견될지도 모르는 보안 취약점으로 인한 피해를 줄이기 위해
문서나 댓글에 대하여 setGrant()를 호출하더라도 해당 세션 전체가 아닌
하나의 요청 내에서만 관리권한을 부여받도록 고칩니다.

세션 전체에 관리 권한을 부여하려면 새로 추가된 setGrantForSession()
메소드를 사용하여야 하며, 이것은 함부로 사용해서는 안됩니다.

그동안 getDocument(), getComment() 등에 $is_admin 파라미터가 너무
남용되어 왔으므로, 이 권한을 제한하는 것만으로도 서드파티 호환성에
미치는 영향을 최소화하면서 상당한 효과가 있을 것으로 보입니다.
2017-03-02 20:41:36 +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
6df32746c3 Refresh isAccessible() if document or comment is updated
https://www.xetown.com/qna/510717
2017-02-24 15:47:01 +09:00
Kijin Sung
563814a2f3 Remove unnecessary calculation of comment count 2017-02-17 20:16:16 +09:00
Kijin Sung
3b7d0da0f6 Fix #607 #662 thumbnail_type=none always overrides custom setting 2017-02-14 16:09:43 +09:00
Kijin Sung
a85c3ccb01 Initial implementation of view comment screen 2017-02-10 22:17:29 +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
1577955664 Reapply "Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결"
This reverts commit e9f9bec9ca.
2017-01-12 15:21:44 +09:00
Kijin Sung
e9f9bec9ca Revert "Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결"
This reverts commit 884c91a606.
2017-01-12 15:19:51 +09:00
bnu
884c91a606 Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결 2017-01-12 14:44:40 +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
Kijin Sung
92b73a1149 Fix #664 make comment placeholders available to all board skins 2016-12-20 14:11:50 +09:00
Kijin Sung
af7bab4814 Do not create thumbnails if thumbnail_type is none 2016-12-17 17:48:32 +09:00
Kijin Sung
83513cfc59 Fix 78 unused variable in CommentModel::getComments() 2016-10-01 22:10:59 +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
BJRambo
508b6ed340 Fix uninitialized stdClass in rarely used method 2016-05-27 07:57:58 +09:00
Kijin Sung
61da304a4c Clean up more language files and default skin 2016-05-26 11:19:06 +09:00
Kijin Sung
dab8504a2f Clean up some language files related to #511 2016-05-26 11:13:50 +09:00
BJRambo
e3803550ad 발행 미발행 댓글구분시 삭제댓글이 표시되지않던 문제고침 2016-05-25 20:31:40 +09:00
BJRambo
2462c7b13a Bug fix the order of the comments list 2016-05-25 00:43:52 +09:00
BJRambo
5d7a996913 피라미터에 기본빈값 추가 2016-05-25 00:07:33 +09:00
BJRambo
4bbbd6ee36 대댓글에 대한 세부옵션을 추가 2016-05-24 23:23:16 +09:00
BJRambo
a0699b2e33 Unused parameter deleted. 2016-05-24 21:37:35 +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
e9bd281e24 fix space to tab. 2016-05-23 05:11:09 +09:00
BJRambo
228eb1f6c9 When deleting a comment, add to display 'deleted' message. 2016-05-23 05:05:51 +09:00
Kijin Sung
78cbaea1a4 Limit minimum original image size for thumbnails of external images
cf. xpressengine/xe-core a4a54f9 by @bnu
Exclude external images less than 30% of the thumbnail size

TODO: Make the limit configurable
2016-05-16 22:35:53 +09:00
Kijin Sung
eb895f76cd Do not rollback if an 'after' trigger returns error 2016-05-14 20:24:45 +09:00