Commit graph

146 commits

Author SHA1 Message Date
Kijin Sung
3c3e510c2e Fix double escaping of document and comment summary 2025-09-09 15:24:54 +09:00
Kijin Sung
f1b2b4eaec Fix double escape of comment summary 2025-08-21 13:43:14 +09:00
Kijin Sung
e3eaa7d9a7 Also apply #2562 fix to comment.item.php 2025-06-08 23:41:53 +09:00
Kijin Sung
c17243e02a Include in file list even if upload_target_type is null 2025-01-09 19:49:48 +09:00
Kijin Sung
6a93e0c12d Fix excessive session data after accessing and voting on many documents and comments 2024-12-07 21:55:14 +09:00
Kijin Sung
8d8380a366 Apply manager scopes to Document and Comment isGranted() 2024-10-14 23:42:28 +09:00
Kijin Sung
796f14571b Fix #2340 null warning in comment.item.php 2024-05-04 20:23:29 +09:00
Kijin Sung
41f4eada9d Only add spaces in getContentText() before complete </p> and </div> tags, not </pre>
https://xetown.com/questions/1817630
2024-04-08 22:43:15 +09:00
Johnny
cc57e117c9 c229839f2b 보완 스킨에서 처리하지 않고 commentItem 에서 처리 하고 기본 메세지 내용 추가 2024-03-30 14:48:20 +09:00
Kijin Sung
d02ea160c1 Fix undefined variable in getThumbnail() 2023-11-05 13:30:55 +09:00
Kijin Sung
c8638d2548 Change cache-busting query string format from ?YYYYMMDDHHMMSS to ?t=UnixTime
- 날짜, 유닉스 타임스탬프, 16진수(CKEditor) 등 여러 가지 포맷을 혼용하고 있던
  캐시 방지용 쿼리스트링의 형태를 "유닉스 타임스탬프"로 통일
- 표준 시간대 처리 등 은근히 많은 자원을 소모하는 date() 함수를 사용하지 않음
- t=를 붙여서 정상적인 쿼리스트링 구조가 나오도록 하여, 웹방화벽이나 CDN
  등에서 문제를 일으킬 가능성을 줄임
- 덤으로, 길이도 2바이트씩 짧아짐
2023-09-12 23:15:26 +09:00
Kijin Sung
0fce8eef93 Add $enforce_max_height parameter to getSignature() #2146 2023-07-16 15:13:27 +09:00
Kijin Sung
558df8e42f Fix #2116 add space where line-breaking tag is removed 2023-06-19 22:14:08 +09:00
BJRambo
5c5d7223ce 사용하지 않는 변수 제거 2023-04-08 19:54:17 +09:00
Kijin Sung
c5267b42fd Remove trailing whitespace 2023-01-30 21:37:41 +09:00
Kijin Sung
bdae876529 Fix deprecation warnings for using trim() on null 2023-01-16 22:34:26 +09:00
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