Commit graph

1805 commits

Author SHA1 Message Date
Kijin Sung
b6557622d2 Improve regex for robot detection
- User-Agent에 URL이 들어갈 때는 괄호에 넣거나 +를 붙이도록 되어 있음
- 워드프레스 핑백 공격도 로봇으로 취급
2018-06-14 14:18:27 +09:00
conory
9e2a09f108 웹 브라우저가 아닌 wget, curl, php를 봇으로 취급 2018-06-14 12:57:00 +09:00
conory
ce5a730505 네이버, 다음 등 일부 봇들을 인식하지 못하는 문제 수정 2018-06-14 12:00:30 +09:00
Kijin Sung
5683ba7bba Version 1.9.7 2018-06-11 23:57:40 +09:00
Kijin Sung
1a3cbb7ae0 Fix #1037 IDN in Javascript @misol 2018-05-30 21:31:41 +09:00
Kijin Sung
83fe72be18 Fix #1037 IDN in Javascript @misol 2018-05-30 21:26:05 +09:00
Kijin Sung
4533dacd4b Add Storage::getLock() for exclusive access to a named lock
여러 프로세스를 동시에 실행할 경우 1개만 작동하도록
lock을 관리하는 기능을 코어 프레임워크에서 제공하도록 한다.

두 개 이상의 프로세스에서 동일한 이름의 lock을 요청할 경우
먼저 요청한 프로세스는 true, 나머지 프로세스들은 false를 받게 된다.
lock을 갖고 있던 프로세스가 종료되면 다시 요청할 수 있다.

예를 들어 크론탭에서 1분마다 실행하는 CLI 스크립트가 있는데
간혹 1분 이상 소요된다면 2개가 동시에 실행될 수도 있다.
이 때 lock을 받지 못한 쪽을 종료하면 동시 실행을 방지할 수 있다.
2018-05-30 21:04:30 +09:00
Kijin Sung
f278ae5e75 Add methods to enable/disable Debug log collection
크론탭 등에서 다수의 쿼리를 실행하거나 각종 일괄처리 작업을 할 때
디버그 기록 때문에 메모리 사용량이 무한정 증가하는 문제 방지
2018-05-30 20:48:04 +09:00
Min-Soo Kim
3bdc896f4e Fix error on the IDN site javascript..
To handle url on the javascript, convert the url to punycode. If not, `isSameOrigin` and return `false` when we compare `location.href` and `request_uri` even though they are same...

On the normal domain (except IDN), they are not affected by this commit.
2018-05-07 01:04:34 +09:00
Min-Soo Kim
f8edfacde2 Refine secure cookie flag
_use_ssl 대신 site_module_info 를 직접 참조하도록 수정.
함수 이름을 조금 더 자연스럽게 수정.
2018-04-28 11:25:15 +09:00
Min-Soo Kim
c1c9a94623 Improve cookie security; Secure flag
SSL 항상 사용 옵션인 경우 쿠키도 이에 맞추어 SSL 인 경우에만 사용되도록 `secure` flag 를 추가합니다.
선택적 SSL 인 경우 SSL 이 적용되지 않은 구간에서도 쿠키를 읽을 수 있어야 하므로, 적용하지 않습니다.
2018-04-24 19:30:38 +09:00
Kijin Sung
591e9cb270 Revert "Improve cookie secure setting values"
This reverts commit 73da2af393.
2018-04-23 00:43:24 +09:00
Kijin Sung
cfca05c897 Revert "Fix httpOnly flag by mistake.... (#1032)"
This reverts commit 0347bb7053.
2018-04-23 00:42:12 +09:00
Min-Soo Kim
0347bb7053
Fix httpOnly flag by mistake.... (#1032)
73da2af393 fix.
2018-04-23 00:17:26 +09:00
Min-Soo Kim
73da2af393 Improve cookie secure setting values
HTTPS 를 사용하는 상황에 대한 판단을 할 수 있는 상황에서 쿠키의 secure flag 를 달아준다.
2018-04-22 23:58:13 +09:00
Kijin Sung
e506975439 Fix #1028 JS error when attribute does not exist 2018-04-10 16:04:13 +09:00
Kijin Sung
e4fb4e1dbf Add document tags and hashtags to og:article:tag 2018-03-15 12:22:43 +09:00
conory
4520a6a2a4 canonical URL이 출력되지 않는 문제 수정 2018-03-12 21:50:52 +09:00
포피플
2306456154
Change Woorimail SSL Port
Some web hosting doesn't open a port 20080. So Woorimail change SSL port from 20080 to 443(ssl).
2018-03-09 14:13:51 +09:00
Kijin Sung
9e0298c067 Version 1.9.6 2018-03-08 14:48:19 +09:00
Kijin Sung
ddb2a8afa1 Fix CKEditor Korean line break issue in iOS #932
- iOS에서는 divarea 플러그인과 @largeden 님의 ios_enterkey 플러그인을 사용
- iOS에서는 divarea 플러그인과 호환되지 않는 에디터 컴포넌트를 로딩하지 않음
  - 추후 호환성 문제가 해결되면 다시 사용하도록 변경할 수 있음
- 기본 폰트 등의 스타일이 cke_wysiwyg_div 클래스에도 적용되도록 조치함
2018-03-08 14:23:47 +09:00
Kijin Sung
73a46bbac5 Update Cloudflare IP range list 2018-03-07 23:20:41 +09:00
Kijin Sung
a3f08eff7f Update Korean IP ranges list 2018-03-07 23:18:52 +09:00
Kijin Sung
5a158a6633 Version 1.9.5 2018-03-07 17:47:19 +09:00
Kijin Sung
53599756a1 Fix inconsistent use of 'data' variable in jquery.fileUpload integration script
공통으로 사용하는 data 변수를 이벤트 핸들러 파라미터 이름으로도 사용하여
특정 상황에서 스크립트 에러가 발생하는 문제를 수정함.
다른 이벤트 핸들러에서도 혼동의 여지가 없도록 변수명을 다르게 지정함.
2018-03-07 11:45:49 +09:00
Kijin Sung
b253c8c0b1 Version 1.9.4 2018-03-07 02:58:12 +09:00
Kijin Sung
ed3696ae93 Fix #987 error in URI.js when invalid URL is supplied 2018-03-07 02:40:56 +09:00
Kijin Sung
499a7e4457 Fix cursor selection after converting preview to editor 2018-03-06 21:57:59 +09:00
Kijin Sung
a0ae7a2a30 Apply editor replacement to all .editable_preview elements 2018-03-06 21:39:04 +09:00
포피플
43f6587d66 Add Indonesian locale 2018-03-06 20:50:04 +09:00
Kijin Sung
856c6ae4bd Standardize on upvote/downvote instead of recommend/not recommend 2018-01-31 23:40:29 +09:00
Kijin Sung
0dedc76107 Clear ncenterlite cache data after deleting old notifications 2018-01-17 13:14:53 +09:00
Kijin Sung
2dd549f076 Add methods to clear debug entries (for long-running scripts) 2018-01-16 15:03:36 +09:00
Kijin Sung
10049e9471 Version 1.9.3 2018-01-12 20:18:14 +09:00
Kijin Sung
2bbf4d902f Fix isSameOrigin() with relative URLs 2018-01-11 17:36:05 +09:00
Kijin Sung
7563ab859d Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
Kijin Sung
49be8be6c0 Fix error me_007 when sending email to multiple recipients via Woorimail 2018-01-04 14:20:57 +09:00
Kijin Sung
01ee23b7d9 Fix JS error when either url1 or url2 is undefined in isSameOrigin() 2017-12-21 15:16:16 +09:00
Kijin Sung
ae4fd85bfe Add option to empty the contents of the cache dir, not delete it
files/cache 폴더에 다른 파티션이나 램디스크 등이 마운트되어 있는 경우
캐시파일 재생성시 폴더를 삭제할 수 없어 오작동하는 문제를 우회하기 위해
폴더 자체를 삭제하지 않고 내용만 비우는 옵션을 추가함.
2017-12-21 14:39:39 +09:00
Kijin Sung
7099e30372 Fix isSameOrigin() 2017-12-18 15:14:44 +09:00
Kijin Sung
6eca39fd98 Version 1.9.2 2017-12-09 03:08:43 +09:00
Kijin Sung
fc5e60f4ce Version 1.9.1 2017-12-09 03:08:19 +09:00
Kijin Sung
e3a2c1a6aa Guard more count() calls in common framework classes 2017-12-09 02:49:01 +09:00
Kijin Sung
2158c4fa3b Remove unnecessary count() calls in MediaFilter 2017-12-09 02:32:40 +09:00
Kijin Sung
0023a9cc1a Cache opcache status to reduce function_exists() calls 2017-12-09 01:40:04 +09:00
Kijin Sung
f97a16e7e8 Reorder includes in autoload.php
- 사용자 환경설정(config.user.inc.php)을 로딩하기 전에 autoload 완료
- Object 클래스 로딩 위치 변경
2017-12-04 20:53:42 +09:00
Kijin Sung
0c62ff7561 Prevent exception on servers with flaky random_bytes() implementation
카페24 PHP 7.0 웹호스팅 상품에서 random_bytes() 함수가 작동하지 않음
2017-12-03 10:06:33 +09:00
Kijin Sung
4d180edbf1 Fix rhymix.less to use guarded mixins 2017-12-01 18:12:06 +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