Commit graph

263 commits

Author SHA1 Message Date
conory
48c818d7de 잘못된 지정 수정 2017-12-12 14:30:27 +09:00
conory
81986c40a9 document의 isAccessible() 개선 2017-12-12 13:21:37 +09:00
Kijin Sung
78a8bd362d Fix invalid CSS when title color starts with #
칼라피커를 어떤 것을 사용하는지에 따라 색상 앞에 #가 붙어 들어올 때가 있음
이런 경우 문법에 맞지 않는 ##xxxxxx 결과가 나오지 않도록 패치
2017-12-07 14:41:52 +09:00
Kijin Sung
9c540ea414 Fix classes inheriting Object 2017-12-01 01:14:23 +09:00
kijin
9f15787dd2 스킨설정이 없을경우 default 스킨을 가져오도록 추가 2017-11-28 18:42:23 +09:00
BJRambo
75ea89e203 문서 모듈의 아이콘을 스킨으로 설정할 수 있도록 개선
https://github.com/xpressengine/xe-core/pull/2172
2017-11-28 18:07:33 +09:00
Kijin Sung
bb51db5956 Add trigger after documentItem->getComments() 2017-11-25 15:51:49 +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
conory
b667808d95 Feed 유효성 통과!
https://validator.w3.org/feed/
2017-09-05 10:18:26 +09:00
Kijin Sung
aa7dc75f56 Add getContentPlainText() and fix improper escaping in getContentText() 2017-07-11 17:08:48 +09:00
Kijin Sung
094f1bf0d1 Fix #872 remove weird characters from tags 2017-07-11 16:31:07 +09:00
Kijin Sung
ba2d4f1bc3 Fix calling nonexistent method getDefaultStatus() of DocumentItem 2017-06-08 21:10:25 +09:00
sunmikr
47ebe210e0 변수 중복 수정 2017-05-30 13:28:39 +09:00
conory
35eae12cca 불필요한 부분 제거 2017-05-23 10:30:38 +09:00
conory
855e4ce9f1 f4db8adddb 보완 2 2017-05-17 21:40:56 +09:00
conory
385ce7107a f4db8adddb 보완 2017-05-17 21:24:21 +09:00
conory
f4db8adddb getSummary 개선
No-break space 문자에 대한 처리가 제대로 되지 않아 띄워쓰기가 엉망으로 표시되었던 문제 수정
2017-05-17 16:24:06 +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
af7bab4814 Do not create thumbnails if thumbnail_type is none 2016-12-17 17:48:32 +09:00
Kijin Sung
714035c3a0 Fix #645 comment navigation sometimes missing 2016-12-09 15:09:06 +09:00
Kijin Sung
54bbc36e73 Partially revert #584
Bug reported in https://www.xetown.com/qna/375598
2016-09-23 23:30:36 +09:00
Kijin Sung
9d594526b4 Cache grant information for modules and documents
https://www.xetown.com/qna/374223
http://sejin7940.co.kr/xe_tips/108198
2016-09-16 16:44:29 +09:00
pelly ryu
484b0e7fbe Fixed typo 2016-08-30 03:09:42 +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
f25e685209 Make OpenGraph configurable, and fix canonical URL to include mid 2016-05-09 11:51:11 +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
Kijin Sung
4f821bca85 Do not even load counts of document in widget page 2016-04-24 17:57:51 +09:00
Kijin Sung
2e98962264 Update references to CacheHandler in document module 2016-04-18 01:42:33 +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
3e8a8aed46 Fix empty thumbnail type for documents on new install 2016-01-26 11:29:24 +09:00
Kijin Sung
2f64a4ce8f Fix thumbnails for external URLs with no extension 2016-01-26 11:13:57 +09:00
qw5414
ecb3b41913 #56 요약이 없을경우, Content 를 다시 불러올 수 잇도록 개선 2016-01-24 03:35:42 +09:00
qw5414
6f1066d3b9 댓글에 대해서도 추천, 비추천 2016-01-23 23:12:12 +09:00
qw5414
c2b78f4468 코드 개선 2016-01-23 19:22:11 +09:00
qw5414
31ea80a380 문자열을 숫자로 변경 2016-01-22 13:17:47 +09:00
qw5414
43a6caeb36 추천/비추천 인식 방법을 변경하고 그에 맞게 코드 변경 2016-01-22 13:07:22 +09:00
qw5414
6a2dc541bb 추천을 취소할 수 잇도록 개선. 2016-01-22 01:13:30 +09:00
BJRambo
0b1a511c38 이미지인지 아닌지 확실하게 구별하기 위한 방법 추가. 2016-01-08 09:59:24 +09:00
BJRambo
9c97f24d35 외부 이미지의 경우 섬네일을 생성하지 않는 문제점 개선 2016-01-08 06:09:43 +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