Commit graph

91 commits

Author SHA1 Message Date
Kijin Sung
37bce0343d Update core classes to refer to UA class for robot detection 2016-03-19 23:32:35 +09:00
Kijin Sung
d325ef99bc Add unit tests for some legacy tests, too 2016-03-16 11:36:36 +09:00
Kijin Sung
cb229c2d66 Clean up namespaces 2016-03-14 21:04:27 +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
616d894021 Clean up deprecated functions in common/legacy.php 2016-03-12 22:48:05 +09:00
Kijin Sung
6f53a3f068 Check object whitelist in HTMLFilter class, not EmbedFilter class 2016-03-12 22:35:43 +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
1302d77cec Remove duplicate code from checkCSRF() 2016-03-12 21:05:09 +09:00
Kijin Sung
5d7853645a Remove all calls to checkUploadedFile() 2016-03-12 21:03:26 +09:00
Kijin Sung
b962409652 Use new Security and URL classes in other places 2016-03-12 17:26:41 +09:00
Kijin Sung
b89818e13d Update HTMLPurifier configuration and allow HTML5 2016-03-11 15:29:42 +09:00
conory
90400e2b5f 모두 lang() 함수로 변경 2016-03-06 17:01:15 +09:00
Kijin Sung
be83a34b1e Merge pull request #278 from kijin/pr/fix-csrf-false-positive
#275 기본 URL 변경에 따른 오류 해소
2016-02-16 14:34:53 +09:00
Kijin Sung
516479cf20 Migrate addon, trigger, and widget logging functions to Debug class 2016-02-16 11:01:45 +09:00
Kijin Sung
3614cef84a Modify checkCSRF() to always allow requests from the same hostname 2016-02-15 20:15:27 +09:00
Kijin Sung
51f985c215 Only use error handler and slowlog when debugging is enabled 2016-02-13 11:29:09 +09:00
Kijin Sung
6b4d69bcc2 Remove old debug constants 2016-02-13 11:19:13 +09:00
Kijin Sung
47bca4f2ca Replace debugPrint() and handleError() with new system 2016-02-12 16:43:19 +09:00
Kijin Sung
a75eb80f8e Add getInternalDateTime() and getDisplayDateTime() functions 2016-02-12 09:09:27 +09:00
Kijin Sung
540e1ff9d5 Fix getTimeGap() to return more accurate results 2016-02-12 08:51:21 +09:00
Kijin Sung
96dfdfc840 Merge branch 'develop' into pr/extra-timezones 2016-02-12 08:31:43 +09:00
conory
8dffa0ad93 getTimeGap()에서 타임존으로 인하여 잘못된 시간이 표시된 문제 수정2 2016-02-11 22:36:22 +09:00
Kijin Sung
aaa3e25ad5 Implement more precise timezone handling in edge cases 2016-02-11 21:27:36 +09:00
conory
7881463ac7 getTimeGap()에서 타임존으로 인하여 잘못된 시간이 표시된 문제 수정 2016-02-11 19:01:55 +09:00
Kijin Sung
005d507bfa Do not convert date format automatically 2016-02-07 22:39:27 +09:00
Kijin Sung
e55504e1f4 Merge branch 'develop' into pr/new-config-format
Conflicts:
	common/legacy.php
2016-02-07 22:15:27 +09:00
conory
d5260bab0d zdate()에서 잘못된 배열처리로 인한 오류 수정 2016-02-07 18:30:53 +09:00
Kijin Sung
acd3b66eff Remove outdated timezone list 2016-02-04 17:52:21 +09:00
Kijin Sung
f7191123fd Always use the internal timezone in ztime() function 2016-02-04 09:50:39 +09:00
Kijin Sung
c27da2ed24 Port all time-related functions to new timezone handling system 2016-02-04 09:39:09 +09:00
qw5414
7e48ea11cf slowlog 를 원하는 아이피에서만 실행 하도록 개선 2016-02-01 08:03:03 +09:00
conory
0164159680 dispLayoutPreview block 2016-01-26 13:12:32 +09:00
conory
804aced715 모든 proc ACT를 제한한 대신, 첨부파일 다운로드를 예외 ACT로 지정
단, 예외로 로그아웃 disp ACT 도 차단.
2016-01-26 12:54:51 +09:00
conory
4de10a74f2 태그에서 act 가 포함된 url이 제거되지않도록 변경 2016-01-25 21:46:50 +09:00
Kijin Sung
a8094fe766 Refactor some URL related functions to use Rhymix constants 2016-01-20 15:45:18 +09:00
Kijin Sung
8e284db3b9 Add more libraries 2016-01-20 14:15:59 +09:00
Kijin Sung
bde13db245 Add miscellaneous utility functions 2016-01-20 14:07:11 +09:00
Kijin Sung
4061fab8a3 Add polyfills for mbstring functions used by third-party libraries 2016-01-18 21:33:20 +09:00
Kijin Sung
f9dabb06f4 Move the autoloader, startup script, and functions to 'common' folder 2016-01-16 11:15:28 +09:00
Renamed from config/func.inc.php (Browse further)