Commit graph

42 commits

Author SHA1 Message Date
Kijin Sung
651238916b Fix deprecation warnings in PHP 8.2 2023-01-17 00:15:12 +09:00
Kijin Sung
e0a041bb3d Fix deprecation warnings in PHP 8.2 2023-01-16 22:42:04 +09:00
Kijin Sung
c07efe7905 Fix deprecation notices in PHP 8.2 #2064 2023-01-16 21:24:59 +09:00
Kijin Sung
cd427e04ec Fix special case for contains() when the needle is empty 2022-12-02 15:52:26 +09:00
Kijin Sung
928a24fac0 Add polyfills for str_contains(), str_starts_with(), str_ends_with() for PHP < 8.0 2022-12-02 15:45:58 +09:00
Kijin Sung
d93027078e Mark old, rarely used, and/or not recommended functions as deprecated 2022-08-15 18:31:10 +09:00
Kijin Sung
8abe1b1d7d Add option to escape() to keep user lang codes intact #1976 2022-08-15 18:06:26 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
d9a63c30ce Remove problematic special characters in utf8_clean() 2020-07-31 14:58:11 +09:00
Kijin Sung
494e0ee028 Clean up usage of is_countable() 2020-06-08 20:35:54 +09:00
Min-Soo Kim
a641b3103a is_countable?! 2020-06-07 22:56:21 +09:00
conory
77122a32b2 is_command() 대체 2019-10-09 23:28:23 +09:00
conory
16e44d44c7 움직이지 않는 gif도 mp4로 변환되는 문제 수정
FFmpeg 사용 불가 안내 메시지 추가
추후에 활용하기 위한 type, width, height, duration 컬럼 추가
업로드시 이미지, 오디오, 동영상 파일의 확장자가 잘못된 경우 올바른 확장자를 덧붙이는 기능 추가
2019-10-01 22:50:38 +09:00
Kijin Sung
72577ce6bb Fix #1174 Add number_shorten() function and 'shorten' template filter 2019-07-27 21:33:30 +09:00
Kijin Sung
7b9fe8f7f2 Revert "Fix var_export() not working for stdClass in PHP < 7.3"
This reverts commit 3f7f802585.
2018-12-13 18:59:27 +09:00
Kijin Sung
7e48c4989e Revert "Fix var_export() not working for ArrayObject class"
This reverts commit e527269633.
2018-12-13 18:59:18 +09:00
Kijin Sung
e527269633 Fix var_export() not working for ArrayObject class 2018-12-13 15:29:33 +09:00
Kijin Sung
3f7f802585 Fix var_export() not working for stdClass in PHP < 7.3 2018-12-13 15:22:11 +09:00
Kijin Sung
6f35f5bafc Fix strict count() behavior in PHP 7.2 2017-12-01 01:42:03 +09:00
Kijin Sung
54cf5bb056 Add comment about base64_encode_urlsafe() 2017-09-12 23:56:20 +09:00
Kijin Sung
2a023f0854 Also use the <span> tag to determine whether an editor was used 2017-06-29 18:53:46 +09:00
Kijin Sung
3c772bf1cf Separate <p> tests from <br> tests 2017-06-29 18:44:52 +09:00
Kijin Sung
804533222c Add is_html_content() function to detect whether a string is HTML 2017-06-29 18:25:36 +09:00
Kijin Sung
8147044802 Fix toBool() and add more test cases 2017-04-08 22:02:03 +09:00
Kijin Sung
f73580945d Remove unnecessary polyfill for hex2bin() 2017-04-08 21:57:34 +09:00
Kijin Sung
387dd1f78b Fix #741 do not allow empty HTML content in document and comment 2017-03-06 10:50:06 +09:00
Kijin Sung
91ff3c6323 Add array_escape() function to escape all keys and values of an array or object 2017-01-26 14:41:03 +09:00
Kijin Sung
ed50a57f9c Add formatter class and associated unit tests 2016-03-18 14:10:10 +09:00
Kijin Sung
c23a1949cc Merge pull request #378 from kijin/pr/url-conversion
경로↔URL 변환 및 정리 함수 추가
2016-03-16 16:09:38 +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
f983335833 Add function aliases for URL and path conversion 2016-03-15 13:54:33 +09:00
conory
0e99f8eb44 lang() 함수의 langType 기능 제거 2016-03-06 23:42:06 +09:00
conory
fc09ea0d47 파라미터없이 lang()함수 사용시 현재 사용하고 있는 언어타입 반환
lang 에 set 메소드를 추가함 (실제로 set이 되지않는 문제수정)
2016-03-06 16:35:01 +09:00
conory
bd6f7d6542 lang() 함수 추가 2016-03-05 23:05:41 +09:00
Kijin Sung
9538322305 Fix typo in comment for config() function 2016-02-16 13:20:27 +09:00
Kijin Sung
a80468fc25 Allow changing system config with config() function 2016-02-05 23:17:21 +09:00
Kijin Sung
5d8896560e Fix comment style 2016-02-04 17:56:04 +09:00
Kijin Sung
e89a1232b1 Add shortcut function to system configuration 2016-02-04 17:55:38 +09:00
Kijin Sung
9ddf2f54f3 Fix compatibility with PHP 5.3 2016-01-20 14:19:24 +09:00
Kijin Sung
bde13db245 Add miscellaneous utility functions 2016-01-20 14:07:11 +09:00
Kijin Sung
d474c20a36 Encode non-BMP UTF-8 characters as HTML entities 2016-01-17 14:09:45 +09:00
Kijin Sung
f9dabb06f4 Move the autoloader, startup script, and functions to 'common' folder 2016-01-16 11:15:28 +09:00