Commit graph

286 commits

Author SHA1 Message Date
Kijin Sung
03f8081550 Send application/json content-type with JSON responses 2020-07-04 19:08:17 +09:00
Kijin Sung
098a02a008 Fix #1275 add layout (before) trigger point 2020-04-27 22:46:52 +09:00
Kijin Sung
dfbdf46085 Fix #1262 2020-04-03 17:09:26 +09:00
Kijin Sung
8e593a9d60 Fix #1254 use cover image first when extracting images for SEO 2020-03-20 01:24:54 +09:00
Kijin Sung
6a43274826 Filter error location in JSON and XML responses 2020-03-19 17:56:38 +09:00
Kijin Sung
030f27d488 Fix #1228 #1243 thanks to @nemo9l 2020-02-14 16:27:10 +09:00
Kijin Sung
05fed158d0 Improve consultation detection in SEO 2019-11-23 11:42:30 +09:00
Kijin Sung
aba1830fb3 Fix #1203 inappropriate exposure of SEO metadata 2019-11-23 10:47:17 +09:00
Kijin Sung
a114976d2b Fix #1195 debug file not being written if comment is enabled 2019-09-13 15:02:00 +09:00
Kijin Sung
baeedb7aae Add OpenGraph metadata and icons before final trigger
SEO 데이터와 아이콘 추가 작업을 display.before 트리거 실행 전으로 옮겨
서드파티 자료가 SEO 데이터를 추가하거나 변경할 수 있도록 함.
2019-01-29 23:05:00 +09:00
Kijin Sung
e027bc8319 Add jquery-latest.js to blacklist
http://code.jquery.com/jquery-latest.js 와 같은 스크립트를 임의로
로딩하지 못하도록 막음. 버전이 붙은 파일명은 이미 대부분 막혀 있었지만,
이 커밋에서는 -latest가 포함된 것도 막도록 변경함.

cf. https://xetown.com/qna/1089463
2018-10-11 14:32:10 +09:00
Kijin Sung
71e5bdb354 Add js-cookie library 2018-10-02 23:20:31 +09:00
Kijin Sung
b048200a30 Allow multiple selection of display debug types 2018-09-06 17:00:50 +09:00
Kijin Sung
637e4f9e46 Move admin layout assets to admin layout template files
@conory
2018-08-05 19:19:30 +09:00
Kijin Sung
a489012d6d Remove unnecessary mobile.css
해당 파일의 내용은 rhymix.less와 100% 중복되므로 별도 로딩할 필요가 없음
2018-08-04 23:18:29 +09:00
Kijin Sung
8db2ac16c7 Revert "basic files의 로드를 막을 수 있도록 Context::unloadBasicFiles() 추가"
This reverts commit 35b73eec0b.
2018-08-04 20:56:41 +09:00
Kijin Sung
867d6930cf Revert "35b73eec0b 보완"
This reverts commit 30e0a5c583.
2018-08-04 20:56:34 +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
conory
30e0a5c583 35b73eec0b 보완
파일이름으로 unload 할 수 없도록 변경 (호환성 파괴 위험성이 크므로)
2018-08-03 12:32:42 +09:00
conory
35b73eec0b basic files의 로드를 막을 수 있도록 Context::unloadBasicFiles() 추가
예) Context::unloadBasicFiles('admin' , 'rhymix.less', ...);
2018-07-05 16:45:55 +09:00
Kijin Sung
fb73a0d410 Add getTags() and getHashtags() to document item 2018-03-15 12:34:51 +09:00
Kijin Sung
e4fb4e1dbf Add document tags and hashtags to og:article:tag 2018-03-15 12:22:43 +09:00
conory
bbba3d013e 28dfc44a86 보완 @kijin 2018-01-30 00:22:38 +09:00
conory
28dfc44a86 913ccf4a3c 보완 2018-01-29 23:38:19 +09:00
conory
913ccf4a3c 디버그 기능 사용시 템플릿 경로를 표시하는 주석 태그 추가
관리자일 경우에만 표시
위젯 캐시 등 사용시 템플릿 주석이 노출될 가능성이 있으므로 HTMLDisplayHandler->prepareToPrint()에서 주석 제거 처리
2018-01-29 22:08:39 +09:00
Kijin Sung
7563ab859d Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
Kijin Sung
e78189ea5c Fix invisible message content on mobile default skin
- 모바일에서 쪽지 본문이 보이지 않는 문제 수정
- 모바일 쪽지 기본 스킨에서 본문 아래에 목록을 표시하도록 수정
- 항상 Context::get('m') 변수를 사용할 수 있도록 수정
2017-12-03 22:23:48 +09:00
Kijin Sung
487509c1e5 Revert "Revert "Convert default SCSS stylesheet to LESS""
This reverts commit 5586956fea.
2017-12-01 18:02:41 +09:00
Kijin Sung
5586956fea Revert "Convert default SCSS stylesheet to LESS"
This reverts commit 1a98f0974c.
2017-12-01 17:57:30 +09:00
Kijin Sung
1a98f0974c Convert default SCSS stylesheet to LESS
서버단에서 컴파일하는 속도가 SCSS보다 LESS가 훨씬 빠름
2017-12-01 17:32:55 +09:00
Kijin Sung
1a81fd43f3 Convert Object class to BaseObject in core classes 2017-11-27 22:34:28 +09:00
Kijin Sung
a29fa554c1 Fix compatibility with sketchbook skin after removal of XpressEditor
스케치북 스킨 등에서 XpressEditor 파일을 강제로 로딩하려고 할 경우
CKEditor의 동일 파일로 치환하도록 변경함

https://www.xetown.com/qna/778780

오류가 발생하는 사이트에서는 캐시파일 재생성이 필요할 수 있음
2017-10-29 01:43:22 +09:00
Kijin Sung
c686cb3229 Clean up duplicate blocking of common scripts 2017-09-20 17:32:11 +09:00
Kijin Sung
a722f279d9 Fix #922 failure to load scripts with the name 'jquery' in it 2017-09-20 17:16:48 +09:00
Kijin Sung
1bf96e646e Add Blankshield.js and URI.js 2017-09-11 18:04:46 +09:00
bnu
ac953cc216 특정 입력 값에 대한 escape 처리를 스킨 출력 시 적용되지 않는 문제 고침
- @kijin 님께서 알려주셨습니다
2017-08-16 22:41:38 +09:00
Kijin Sung
a3b557dcbc Revert "Fix #881 disable display.before triggers if site is locked and visitor is not admin"
This reverts commit 44be0468ab.
2017-07-31 15:57:53 +09:00
Kijin Sung
44be0468ab Fix #881 disable display.before triggers if site is locked and visitor is not admin 2017-07-23 22:21:28 +09:00
conory
468b1cc00f XML 응답 처리 문제 수정
rss 요청시 Content-Type: text/xml 헤더로 응답할 수 없었던 문제 수정
2017-07-22 21:32:16 +09:00
Kijin Sung
e51836c0d9 Convert all relative src attributes, not just images 2017-07-05 17:32:11 +09:00
Kijin Sung
21072195c0 Prevent overwriting jQuery and other common scripts
- Block third-party programs trying to load their own version of jQuery
- Block obsolete scripts such as xe.css and xe.js
- Block minified versions of the above, too
- Increase blocking index threshold from 1,500,000 to 1,500,000,000
- Add unit tests for script blocking
2017-07-02 00:36:19 +09:00
bnu
11707a8821 fix #2094 검색과 관련된 입력 값에 대한 encode 적용 2017-05-30 12:20:30 +09:00
Kijin Sung
d240fcbb70 02731e1 보완
일부 요청에서 JSON을 반환할 때 Content-Type: text/xml 헤더가 나오는 문제 수정
2017-04-27 11:01:28 +09:00
Kijin Sung
f7d19ea47c Fix #785 excessive use of cache in SEO function 2017-04-14 16:16:28 +09:00
bnu
bff80770f1 fix #2064 link 태그 사용 시 self-closing 차이에 따라 뒤에 오는 태그를 head 영역으로 잘못 끌어 올리는 문제 고침 2017-04-12 20:33:59 +09:00
Kijin Sung
d5959a91bb Apply favicon, mobicon, and default image for each domain 2017-03-12 23:40:11 +09:00
Kijin Sung
fda9763e82 Replace CDATA with proper escape in XML output 2017-02-27 22:47:26 +09:00
Min-Soo Kim
5140047b5f 네모의 꿈/ 컨텐츠 위젯 스킨 (#712)
## 컨텐츠 모듈 스킨

- 사이트 테마를 따르지 않고 다른 색을 선택할 수 있도록 네모의 꿈 회원 스킨 컬러셋 추가.
- 탭이 많을 때 터치 환경이 아니면 좌우로 넘기기 어려운 점을 고려하여서 메뉴를 펼침.
- 작은 화면에서 화면을 최대한 활용하도록, 레이아웃 햄버거 메뉴를 부드럽게 나타내고 감춥니다.

## 위젯에서 LESS/SCSS 의 사용
- 변수를 위젯 캐시에도 전달할 수 있도록 해서 LESS 나 SCSS 에 값 전달이 가능하도록 함.
- LESS 나 SCSS 를 사용한 경우에 위젯 코드 캐싱 코드가 적절하게 기록되도록 해서 LESS나 SCSS 를 사용
가능하도록 수정.

## 그 외 변화
- Reduce the number of regular expressions.
2017-02-26 01:05:57 +09:00
Kijin Sung
67d16d0f3c Fix xe_validator_id being overwritten by input error 2017-01-10 00:09:50 +09:00