Commit graph

2015 commits

Author SHA1 Message Date
Kijin Sung
5b5c785b19 Do not simply exit on DB connection error 2016-03-20 00:32:31 +09:00
Kijin Sung
37bce0343d Update core classes to refer to UA class for robot detection 2016-03-19 23:32:35 +09:00
Kijin Sung
b4002e70de Add more HTTP response codes to ModuleHandler 2016-03-18 23:03:25 +09:00
Kijin Sung
89bd526a13 Refactor FileHandler to call Storage class internally 2016-03-18 20:54:04 +09:00
Kijin Sung
a9d6cf598d Add MIME class 2016-03-17 15:45:31 +09:00
Kijin Sung
4f015f7bbc Merge pull request #366 from kijin/pr/security-refactor
보안관련 클래스 전반적 정리 및 기능 개선 프로젝트
2016-03-14 22:19:59 +09:00
Kijin Sung
cb229c2d66 Clean up namespaces 2016-03-14 21:04:27 +09:00
Kijin Sung
19ad1d1ac4 Use encryption and URL functions to improve SSO 2016-03-14 13:16:02 +09:00
Kijin Sung
f4dc7e6b21 Move all functionality of old Password class to new Password class 2016-03-13 23:23:48 +09:00
Kijin Sung
90dcc4a2e8 Implement encryption, decryption, and CSPRNG in Security class 2016-03-13 20:40:23 +09:00
Kijin Sung
544170b530 Move IpFilter class to Security namespace 2016-03-13 10:24:52 +09:00
Kijin Sung
0adb13ca30 Add inRanges() and validateRanges() methods to IpFilter class 2016-03-13 10:18:52 +09:00
Kijin Sung
2effbea06f Update all other places to use new MediaFilter class 2016-03-13 09:59:26 +09:00
Kijin Sung
7ecd9230c2 Add MediaFilter class to absorb most EmbedFilter functionality 2016-03-13 09:51:15 +09:00
Kijin Sung
6f53a3f068 Check object whitelist in HTMLFilter class, not EmbedFilter class 2016-03-12 22:35:43 +09:00
Kijin Sung
be882d0c5c Do not check allowscriptaccess because HTMLPurifier does it better 2016-03-12 21:11:53 +09:00
Kijin Sung
b962409652 Use new Security and URL classes in other places 2016-03-12 17:26:41 +09:00
conory
8cbc379280 GET 일 경우에만 404 에러를 내도록 수정 2016-03-11 22:19:04 +09:00
Kijin Sung
4594c40321 Disable useless UploadFileFilter 2016-03-11 19:55:41 +09:00
conory
10e8962fa1 문서가 없을 경우 404 에러를 내도록 개선 2016-03-11 16:15:47 +09:00
Kijin Sung
b89818e13d Update HTMLPurifier configuration and allow HTML5 2016-03-11 15:29:42 +09:00
conory
fcf7e25858 301 redirection시 무조건 no-cache 설정 2016-03-09 13:50:29 +09:00
conory
3305df35a7 SEO에 좋은 301 redirection 으로 변경 2016-03-09 12:07:44 +09:00
Kijin Sung
f40ea2e05d Merge pull request #324 from kijin/pr/redirect-after-board-write
#323 게시판에서 글이나 댓글을 작성 또는 삭제한 후 짧은 주소로 redirect하도록 변경
2016-03-07 08:39:48 +09:00
Kijin Sung
658ee85f7b Merge pull request #340 from kijin/pr/autolang
언어 자동 선택 옵션 추가
2016-03-06 20:43:27 +09:00
CONORY
cf26f20461 Merge pull request #338 from conory/pr/add_function
lang() 함수 추가
2016-03-06 17:09:30 +09:00
conory
90400e2b5f 모두 lang() 함수로 변경 2016-03-06 17:01:15 +09:00
Kijin Sung
96154c8430 Add option to auto-select the language 2016-03-06 14:50:55 +09:00
Kijin Sung
7b0c24e67c Improve debug settings 2016-03-06 14:13:34 +09:00
Kijin Sung
1b372375a4 Always set redirect_url if a module calls setRedirectUrl() 2016-03-02 10:10:10 +09:00
Kijin Sung
27cfa4aeba Redirect to short URL after insertDocument, insertComment, etc. 2016-03-02 10:03:48 +09:00
Kijin Sung
4a79b5ce25 Merge pull request #306 from kijin/pr/plugin-blacklist
호환되지 않거나 불필요한 애드온과 모듈의 실행을 방지
2016-02-27 14:41:20 +09:00
Kijin Sung
705ad34c49 Also fix JSON encoding when the result contains objects not arrays 2016-02-27 14:27:46 +09:00
Kijin Sung
379bed000d Fix JSON encoding to be fully XE-compatible 2016-02-26 14:58:42 +09:00
Kijin Sung
892aa58540 Eliminate redundant redirect through redirect.html 2016-02-25 15:11:51 +09:00
Kijin Sung
4b81e32e22 Do not display alert if Virtual XML request was successful 2016-02-25 15:05:30 +09:00
Kijin Sung
d4a7b921d0 Do not call trigger for blacklisted modules 2016-02-25 11:26:00 +09:00
Kijin Sung
87a3128af6 Fix #303 Unable to disable rewrite 2016-02-24 09:58:47 +09:00
Kijin Sung
e335aa477e Initial implementation of blacklist function 2016-02-23 21:37:44 +09:00
MinSoo Kim
fab9e43c16 Clean up admin i18n css
<html> element has the lang attribute as a default. so, we can clean up
css files.

<html> 요소는 lang 속성을 가지고 있습니다. 이를 이용하면 css 파일을 정리할 수 있습니다.
{$lang_type} 에 따른 css 를 불러오도록 HTMLDisplayHandler.php 에 정의되어 있지만, 한국어, 영어
외에는 파일이 존재하지 않습니다. (일본어도 _ja.css 파일은 부재) 언어별로 파일을 만들지 않아도 충분히 표현할 수 있기
때문에 이를 하나의 파일로 합칩니다.
2016-02-23 01:15:13 +09:00
Kijin Sung
055fd49e40 Fix undefined array in ExtraItem class 2016-02-21 15:08:55 +09:00
Kijin Sung
ec685c1606 Fix non-ASCII characters being incorrectly escaped in array keys 2016-02-19 16:36:37 +09:00
Kijin Sung
9703b1268d Fix multidimensional array handling in Context::_filterRequestVar() 2016-02-19 15:36:08 +09:00
Kijin Sung
397a1e163b Fix #293 Incompatible use of set_to_get_vars in Context::set() 2016-02-19 14:14:19 +09:00
Kijin Sung
4ec179372a Fix unit tests for validator 2016-02-18 09:12:32 +09:00
Kijin Sung
1a3c500c76 Fix unit tests, and auto-load default lang if not loaded 2016-02-18 08:49:57 +09:00
Kijin Sung
c67dbbc659 Fix #286 Lang object is overwritten by third-party layout 2016-02-17 22:36:21 +09:00
Kijin Sung
65517735e0 Clean up common_layout.html and merge with mobile_layout.html 2016-02-17 16:20:57 +09:00
Kijin Sung
e5ffb52c53 Fix #284 Unable to save session in some environments 2016-02-17 09:37:13 +09:00
Kijin Sung
78c0417065 Merge pull request #283 from kijin/pr/improve-embed-filter
EmbedFilter에서 사용하던 오래된 라이브러리 제거
2016-02-16 20:26:09 +09:00