Commit graph

130 commits

Author SHA1 Message Date
Kijin Sung
bc3502988e Fix incorrectly capitalized class names in document and comment modules 2022-12-27 23:09:25 +09:00
dewekk
a21d14ac09 댓글 신고 취소 기능 추가 2022-11-23 21:47:57 +09:00
conory
582024daf4 Fix 99d16d84c3 2022-08-05 23:31: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
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
ae44f26bc5 Fix fatal error in PHP 8.0 when thumbnail size is not given as integer 2021-11-22 15:01:28 +09:00
Kijin Sung
ce2d019aaf Fix #1784 error when getThumbnail() uses external image with $height = 'auto' 2021-09-07 01:48:21 +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
633bc340e7 Fix #1707 support thumbnail height value of 'auto' in any type 2021-06-19 23:11:59 +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
fc4d8a6824 Fix #1634 bypass spamfilter when sending messages from core modules 2021-02-23 22:01:32 +09:00
Kijin Sung
ebe806f7a5 Fix warnings in PHP 8.0 2021-02-07 15:29:28 +09:00
Kijin Sung
71d71a886c Set 'fill' as default thumbnail method 2021-01-19 17:42:00 +09:00
Kijin Sung
16d3209bbd Provide triggers document.getThumbnail (before) and comment.getThumbnail (before) 2020-10-01 17:22:06 +09:00
Kijin Sung
9d0e808514 Optimize thumbnail check logic 2020-10-01 17:03:42 +09:00
Kijin Sung
01424ddd2d Update some commonly used methods to use ModuleModel::getMidByModuleSrl() 2020-10-01 16:34:07 +09:00
Kijin Sung
a02bd88a66 Clean up unnecessary module instances in documentItem and commentItem classes 2020-10-01 15:55:11 +09:00
conory
8ccfd963b6 rhymix_content class 추가 2020-09-17 20:40:06 +09:00
BJRambo
ab712585d3 Fix #1290 기존 스킨의 호환성을 위한 메소드 추가 2020-05-16 02:01:59 +09:00
BJRambo
2b6d6b9925 Fix #1290 함수명을 일괄성있게 고침 2020-05-15 16:06:01 +09:00
Kijin Sung
68076b40c6 Make JPG quality in document/comment thumbnails configurable, too 2019-08-01 16:37:05 +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
72287b2fe5 Fix duplicate revert 2018-08-26 23:31:40 +09:00
Kijin Sung
b7d38f0294 Revert "Revert "0848f2ad3c 보완""
This reverts commit 5ecb1241ca.
2018-08-26 23:21:52 +09:00
Kijin Sung
5ecb1241ca Revert "0848f2ad3c 보완"
This reverts commit 6beae3b620.
2018-08-26 23:21:45 +09:00
conory
6beae3b620 0848f2ad3c 보완 2018-08-23 17:52:01 +09:00
conory
0848f2ad3c getContentText() 사용시 중복으로 escape 되는 문제 수정
이미 작성 과정에서 escape 하였으므로 중복 처리하면 특수문자 <,>가 깨짐
2018-08-23 17:23:17 +09:00
Kijin Sung
f12cf74dda Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
Kijin Sung
ba1942a65d Fix incorrect handling of secret comments in commentItem::isAccessible()
Regression #961

댓글은 비밀 여부를 status 필드가 아니라 is_secret 필드로 표시함.
문서 모듈 쪽의 코드를 그대로 복붙하여 발생한 오류로 보임.
2017-12-27 14:17:38 +09:00
conory
f93ad9c0f6 코드 정리 2017-12-13 21:10:46 +09:00
conory
6bc8376435 isAccessible() 개선 2017-12-12 13:10:15 +09:00
Kijin Sung
3992b4b5bc Fix strict count() behavior in PHP 7.2 2017-12-01 01:49:20 +09:00
Kijin Sung
9c540ea414 Fix classes inheriting Object 2017-12-01 01:14:23 +09:00
conory
1b5818e73c content 위젯 출력시 item URL에 mid가 포함되도록 개선 2017-09-15 19:29:14 +09:00
Kijin Sung
1a6e84d9cc Add configuration for thumbnail target
- 썸네일 생성 대상 설정과 썸네일 생성 방식 설정을 분리하여
  외부이미지 썸네일 생성을 방지할 수 있는 옵션 추가
- 문서 모듈과 관리 모듈에 흩어져 있는 썸네일 관련 언어파일을
  관리 모듈로 합침
2017-09-12 14:20:05 +09:00
conory
1d8d685fc1 의도에 맞도록 getRegdateGM(), getUpdateGM() 개선
RSS Feed의 날짜 표시를 GMT+0으로 변경
2017-09-06 23:38:42 +09:00
Kijin Sung
aa7dc75f56 Add getContentPlainText() and fix improper escaping in getContentText() 2017-07-11 17:08:48 +09:00
conory
35eae12cca 불필요한 부분 제거 2017-05-23 10:30:38 +09:00
conory
eb339c8101 'getSummary 개선' 추가 적용 2017-05-22 23:16:31 +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
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
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
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
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
a107e86dc6 Reduce risk of accidental disclosure of member_srl and other personal info 2016-04-28 13:03:23 +09:00