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
Kijin Sung
c227d188a7
Fix multiple queries for document/comment vote count
2016-04-24 19:50:22 +09:00
conory
90400e2b5f
모두 lang() 함수로 변경
2016-03-06 17:01:15 +09:00
Kijin Sung
2cbecff729
Use new datetime configuration in document and comment methods
2016-02-04 19:07:57 +09:00
Kijin Sung
2f64a4ce8f
Fix thumbnails for external URLs with no extension
2016-01-26 11:13:57 +09:00
qw5414
6f1066d3b9
댓글에 대해서도 추천, 비추천
2016-01-23 23:12:12 +09:00
Kijin Sung
29a534b256
문서 및 댓글 썸네일 URL에 mtime을 추가하여 캐시 갱신 유도
2015-12-22 17:42:26 +09:00
Kijin Sung
b38b3ed01c
Merge #1709 썸네일 생성시 race condition 해소 by kijin
...
* pr/1709:
Use lockfile instead of empty file
Prevent race condition on thumbnail generation
2015-10-08 15:08:45 +09:00
Kijin Sung
9bc6aa4fdc
Merge #1656 Fix #1577 서양 언어 사용시 getRegdateDT() 등이 잘못된 포맷을 반환 by kijin
...
* pr/1656:
Fix #1577 incorrect datetime format in non-Korean locales
2015-10-08 15:07:11 +09:00
Kijin Sung
9364563f4a
Merge #1615 선택적 세션 시작 (Proof of Concept) by kijin
...
* pr/1615:
Force start session if SSO is used
Improve and simplify session status detection
Improve handling of session variables related to validator
Start session automatically if an addon uses the session and exits
If cache-friendly behavior is enabled, don't skip updateReadedCount()
If cache-friendly behavior is enabled, don't update session when reading document or comment
Add option to enable/disable cache-friendly behavior
Improve the setCacheControl() method
Context::setCacheControl() method added etc.
do not always set mobile/user-agent cookies
선택적 세션 시작 + 서드파티 자료 호환성 (Proof of Concept)
2015-10-08 15:03:17 +09:00
Kijin Sung
a7ed4c56c8
Merge #1363 PHP 5 방식의 생성자 (__construct) 사용 by kijin
...
* pr/1363:
ExtraItem 클래스에도 PHP 5 방식의 생성자 (__construct) 사용
PHP 5 방식의 생성자 (__construct) 사용
Conflicts:
classes/context/Context.class.php
2015-10-08 14:10:32 +09:00
Kijin Sung
91b0680c21
Use lockfile instead of empty file
2015-09-17 16:35:34 +09:00
Kijin Sung
4e6d768dab
Prevent race condition on thumbnail generation
2015-08-17 10:49:12 +09:00
Kijin Sung
6d9312e445
Fix #1577 incorrect datetime format in non-Korean locales
2015-07-18 14:34:38 +09:00
Kijin Sung
42d864641f
Improve and simplify session status detection
2015-07-12 22:00:32 +09:00
Kijin Sung
caf01354df
If cache-friendly behavior is enabled, don't update session when reading document or comment
2015-07-12 15:13:12 +09:00
bnu
4faa291880
#1331 커버 이미지를 선택할 수 있는 기능 추가
...
- files 테이블에 cover_image 컬럼 추가
- 썸네일 생성 로직에 cover_image 값을 참조하여 이미지 선택 사용
- 파일 업로드 기능에 UI 추가
2015-07-07 17:39:11 +09:00
Kijin Sung
15d3ba7ca1
PHP 5 방식의 생성자 (__construct) 사용
2015-04-01 11:30:04 +09:00