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
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
6470da0d5d
Merge branch 'develop' into experimental/session-start
2015-07-22 21:41:13 +09:00
Kijin Sung
6d9312e445
Fix #1577 incorrect datetime format in non-Korean locales
2015-07-18 14:34:38 +09:00
YJSoft
a22aa3040b
비교문 수정
2015-07-14 09:52:28 +09:00
YJSoft
b95ff6a5f8
없는 확장변수에 접근시 발생할 수 있는 문제 수정
2015-07-13 21:40:22 +09:00
xedev
a8b594b975
SECISSUE
...
getExtraValue, getExtraEidValue 함수 사용시 값 필터링이 되지 않는 문제를 수정합니다.
2015-07-13 10:22:19 +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
Kijin Sung
23a83a7033
선택적 세션 시작 + 서드파티 자료 호환성 (Proof of Concept)
2015-07-10 16:05:46 +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