Kijin Sung
|
09eb7935fa
|
Refactor default language search routine for better performance
|
2016-03-17 13:58:57 +09:00 |
|
Kijin Sung
|
5d13c67cae
|
Merge Lang::getPluginLang() back into Lang::loadDirectory()
|
2016-03-17 13:29:35 +09:00 |
|
Kijin Sung
|
a33b961c62
|
Do not display HTML error page if the current SAPI is CLI
|
2016-03-16 16:31:27 +09:00 |
|
Kijin Sung
|
94859b1046
|
Improve performance of FilenameFilter::cleanPath()
|
2016-03-16 15:25:32 +09:00 |
|
Kijin Sung
|
b088348be2
|
More explicitly exclude a series of double dots
|
2016-03-15 18:05:48 +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
|
139e11df13
|
Also clean relative paths in cleanPath()
|
2016-03-15 14:14:50 +09:00 |
|
Kijin Sung
|
9d2fe0270b
|
Add URL-to-path and clean path conversion
|
2016-03-15 13:48:07 +09:00 |
|
Kijin Sung
|
a6a1b25f2d
|
Always allow debugging from localhost
|
2016-03-15 10:21:40 +09:00 |
|
Kijin Sung
|
93b045fa17
|
Fix incorrect use of global constant in Debug class
|
2016-03-15 09:59:38 +09:00 |
|
Kijin Sung
|
3e728dc6c2
|
Exclude more attributes from widget and editor component detection
|
2016-03-14 22:13:19 +09:00 |
|
Kijin Sung
|
cb229c2d66
|
Clean up namespaces
|
2016-03-14 21:04:27 +09:00 |
|
Kijin Sung
|
4407af2b0f
|
Use utf8_check to check variables in Security class
|
2016-03-14 20:54:27 +09:00 |
|
Kijin Sung
|
251b43cd00
|
Always format media filter prefixes in exactly the same way
|
2016-03-14 16:07:40 +09:00 |
|
Kijin Sung
|
6944b64643
|
Add wildcard support and customization method to media filter
|
2016-03-14 16:02:21 +09:00 |
|
Kijin Sung
|
804fd0515b
|
Also apply embed filter to <audio> and <video> tags
|
2016-03-14 15:32:39 +09:00 |
|
Kijin Sung
|
13a67f3496
|
Implement URL::modifyURL()
|
2016-03-14 11:51:32 +09:00 |
|
Kijin Sung
|
9d6284faad
|
Update all references to old Password class
|
2016-03-13 23:39:31 +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
|
642f048f64
|
Improve encoding and decoding of widget and editor component attributes
|
2016-03-13 23:01:49 +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
|
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
|
ef6f0c839f
|
Absorb core functionality of stripEmbedTagForAdmin() into HTMLFilter class
|
2016-03-12 23:17:37 +09:00 |
|
Kijin Sung
|
93629d1311
|
Refactor widget and editor component encoding with preg_replace_callback()
|
2016-03-12 22:44:09 +09:00 |
|
Kijin Sung
|
6f53a3f068
|
Check object whitelist in HTMLFilter class, not EmbedFilter class
|
2016-03-12 22:35:43 +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
|
598722b0cd
|
Remove checkXmpTag() and blockWidgetCode() because HTMLPurifier does it better
|
2016-03-12 21:33:42 +09:00 |
|
Kijin Sung
|
b693c8cdad
|
Add unit tests for Security and URL classes
|
2016-03-12 19:44:05 +09:00 |
|
Kijin Sung
|
28da8948d7
|
Initial implementation of Security and URL classes
|
2016-03-12 17:26:12 +09:00 |
|
Kijin Sung
|
f4e3d5762e
|
Support more CSS2 and CSS3 properties
|
2016-03-12 14:37:54 +09:00 |
|
Kijin Sung
|
5b7952c786
|
Add filename filter class
|
2016-03-11 19:56:04 +09:00 |
|
Kijin Sung
|
b89818e13d
|
Update HTMLPurifier configuration and allow HTML5
|
2016-03-11 15:29:42 +09:00 |
|
Kijin Sung
|
c09a759ace
|
Do not write debug entries to error log if debugging is disabled
|
2016-03-09 15:19:22 +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 |
|
conory
|
fc09ea0d47
|
파라미터없이 lang()함수 사용시 현재 사용하고 있는 언어타입 반환
lang 에 set 메소드를 추가함 (실제로 set이 되지않는 문제수정)
|
2016-03-06 16:35:01 +09:00 |
|
Kijin Sung
|
7b0c24e67c
|
Improve debug settings
|
2016-03-06 14:13:34 +09:00 |
|
conory
|
f13b7bf999
|
ArrayObject 에러 수정
|
2016-03-04 16:43:38 +09:00 |
|
conory
|
4c475b5b62
|
배열로 된 언어인 경우 요소가 하나라도 빠져있으면 영어로 대체하기
|
2016-03-04 13:16:03 +09:00 |
|
conory
|
b141e69dbc
|
코드 개선 (한글 대체 포기)
|
2016-03-04 11:16:54 +09:00 |
|
conory
|
6a351265ff
|
변수 충돌 부분 수정
|
2016-03-03 12:32:31 +09:00 |
|
conory
|
b9a8b15fe9
|
인스턴스 활용
|
2016-03-03 11:56:19 +09:00 |
|
conory
|
5f563af984
|
사용하는 언어에 언어코드가 없을 경우 다른 언어에서 찾아 가져오기
번역되지않은 문장이 있는 경우 달랑 언어코드만을 출력하지말고, 다른 언어로 대체하기 (영어 우선)
|
2016-03-02 23:53:49 +09:00 |
|
Kijin Sung
|
34a86defb6
|
Fix #321 incorrect display of objects in debugPrint()
|
2016-03-02 09:40:14 +09:00 |
|
Kijin Sung
|
0b339a9450
|
Fix #277 Incorrect priority when loading old lang files
|
2016-02-24 10:37:16 +09:00 |
|