Commit graph

219 commits

Author SHA1 Message Date
Kijin Sung
c23a1949cc Merge pull request #378 from kijin/pr/url-conversion
경로↔URL 변환 및 정리 함수 추가
2016-03-16 16:09:38 +09:00
Kijin Sung
d325ef99bc Add unit tests for some legacy tests, too 2016-03-16 11:36:36 +09:00
Kijin Sung
f9ea115c19 Fix some minor bugs in global functions and add unit tests 2016-03-16 10:09:48 +09:00
Kijin Sung
ca7a7b64ea Use a more realistic server environment in unit tests 2016-03-16 09:13:31 +09:00
Kijin Sung
ff0df0a14b Ensure proper handling of network shares and URLs in cleanPath() 2016-03-15 14:41:21 +09:00
Kijin Sung
8773b15410 Update unit tests 2016-03-15 14:15:03 +09:00
Kijin Sung
9d2fe0270b Add URL-to-path and clean path conversion 2016-03-15 13:48:07 +09:00
Kijin Sung
cb229c2d66 Clean up namespaces 2016-03-14 21:04:27 +09:00
Kijin Sung
6944b64643 Add wildcard support and customization method to media filter 2016-03-14 16:02:21 +09:00
Kijin Sung
26138c25da Perform more thorough unit test of HTMLFilter 2016-03-14 15:33:07 +09:00
Kijin Sung
13a67f3496 Implement URL::modifyURL() 2016-03-14 11:51:32 +09:00
Kijin Sung
de0d49b9f3 Add more algorithms to unit test 2016-03-13 23:56:04 +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
ddab5ce8d8 Fix unit tests for Security::getRandomNumber() 2016-03-13 22:11:30 +09:00
Kijin Sung
647bc7c112 Implement new Password class and related unit tests 2016-03-13 22:08:56 +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
7ecd9230c2 Add MediaFilter class to absorb most EmbedFilter functionality 2016-03-13 09:51:15 +09:00
Kijin Sung
3d3fa6d7d3 Use HTMLFilter::clean() directly in unit tests 2016-03-13 00:11:47 +09:00
Kijin Sung
31080ddc04 Add unit tests for removeEmbeddedMedia() 2016-03-12 23:24:00 +09:00
Kijin Sung
143b65e840 Perform tag filtering after HTMLPurifier is done with the content 2016-03-12 22:18:33 +09:00
Kijin Sung
f577b456ec Absorb removeSrcHack() into HTMLFilter postprocessing method 2016-03-12 22:15:55 +09:00
Kijin Sung
37c07f7b6e Rename old SecurityTest class 2016-03-12 19:59:10 +09:00
Kijin Sung
b693c8cdad Add unit tests for Security and URL classes 2016-03-12 19:44:05 +09:00
Kijin Sung
1c32e993ab Add unit tests for FilenameFilter class 2016-03-12 17:42:28 +09:00
Kijin Sung
e405fc69ac Update unit tests 2016-03-11 15:36:36 +09:00
conory
79209bf2af unit test4 2016-03-03 16:47:57 +09:00
conory
ea2cc89d46 unit test3 2016-03-03 14:57:03 +09:00
conory
b727466e61 unit test2 2016-03-03 14:46:19 +09:00
conory
e5ae4a828a unit test 2016-03-03 12:45:35 +09:00
Kijin Sung
3f604c7f59 Fix unit tests 2016-02-18 20:10:08 +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
3237f188e3 Merge branch 'develop' into pr/reorganize-unit-tests 2016-02-16 17:45:45 +09:00
Kijin Sung
670baecb73 Reorganize unit tests 2016-02-16 16:17:46 +09:00
Kijin Sung
d51ad8b4e5 Standardize on uppercase 2016-01-11 16:44:10 +09:00
Kijin Sung
4449d4ad72 Clean up autogenerated files in test directory 2016-01-11 16:35:18 +09:00
Kijin Sung
da1822d296 Add option to minify only common (core) files 2016-01-10 17:02:26 +09:00
Kijin Sung
45a2611a74 Fix unit tests to allow duplicate loading 2016-01-09 21:45:16 +09:00
Kijin Sung
371f4a60b0 Merge branch 'develop' into refactor/minify-on-the-fly 2016-01-09 15:19:08 +09:00
Kijin Sung
f8e020f8ec Miscellaneous fixes and optimizations 2016-01-09 11:04:39 +09:00
Kijin Sung
afbbc965ab Don't hide E_WARNING in unit tests 2016-01-08 13:49:22 +09:00
Kijin Sung
7dd804ed09 Fix incorrect timestamp in unit tests 2016-01-07 16:14:16 +09:00
Kijin Sung
22910608a2 Update unit tests to check for minification 2016-01-07 16:06:07 +09:00
Kijin Sung
55584fb18a Update tests to reflect deletion of minified scripts 2016-01-07 11:39:53 +09:00
MinSoo Kim
74facfc670 HTML Purifer 변경 후 달라진 예상 값 변경4 2016-01-02 15:53:27 +09:00
MinSoo Kim
841a40a878 HTML Purifer 변경 후 달라진 예상 값 변경3-1 2016-01-02 15:45:29 +09:00
MinSoo Kim
a2088308de HTML Purifer 변경 후 달라진 예상 값 변경3 2016-01-02 15:44:46 +09:00
MinSoo Kim
7ca4096161 HTML Purifer 변경 후 달라진 예상 값 변경2 2016-01-02 15:39:30 +09:00
MinSoo Kim
3a616adee3 PHP 문법 오류 수정2 2016-01-02 15:27:21 +09:00