Kijin Sung
dbd92c191c
Move legacy class list to legacy.php, where it belongs
2024-01-04 01:05:08 +09:00
Kijin Sung
7132ef4c00
Fix type error when null is passed to cut_str()
...
https://xetown.com/questions/1793588
2023-11-05 20:24:07 +09:00
Kijin Sung
ea9f469513
Convert potentially problematic parameters to string before passing from legacy function to Rhymix Framework
2023-09-26 20:34:30 +09:00
Kijin Sung
9ca2c94fe4
Fix #2186 type error when unexpected values are passed to columnList
2023-09-26 20:08:08 +09:00
Kijin Sung
c48eb3a169
Add missing return type declarations
2023-09-24 22:57:37 +09:00
Kijin Sung
2fe3837f07
Mark changeValueInUrl() as deprecated
2023-09-24 22:57:24 +09:00
Kijin Sung
d8fcb3cc70
Add proper comments and some _rx_ variables to getDestroyXeVars()
2023-09-24 22:49:48 +09:00
Kijin Sung
caa80f8d97
Move deprecated functions to the end of legacy.php
2023-09-24 22:45:36 +09:00
Kijin Sung
29ea470f56
Mark more legacy functions as deprecated
2023-09-24 22:36:30 +09:00
Kijin Sung
6434a18b06
Add return types to legacy global functions
...
오래된 함수들은 서드파티 자료들이 예상치 못한 자료형의 변수를 넘기는 경우가
많으므로, 파라미터의 타입은 강제하지 않고 반환 타입만 선언함.
2023-09-24 22:33:02 +09:00
Kijin Sung
2dbdfbaadb
Fix #2161 incorrect timestamp when seconds are missing or negative time zone is given
2023-08-04 12:13:09 +09:00
Kijin Sung
26f052925b
Fix #2099 remove empty item for inaccessible menus that have accessible children
2023-06-19 22:05:11 +09:00
Kijin Sung
8b8ae5f64c
Remove WAP classes and mark getWAP() as deprecated
2023-06-19 14:50:00 +09:00
Kijin Sung
dfa1e93c79
Remove unnecessary header and footer from class files
...
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
a9f72a5cd2
Remove trailing whitespace
2023-01-17 20:57:44 +09:00
Kijin Sung
c07efe7905
Fix deprecation notices in PHP 8.2 #2064
2023-01-16 21:24:59 +09:00
Kijin Sung
e0e4da50b7
Fix incorrect detection of admin user when writer is anonymous
2022-12-27 22:44:30 +09:00
Kijin Sung
0ed1cfdef7
Support YYYY-MM-DD HH:MM:SS format and ISO 8601 format in zdate(), ztime(), and related functions
2022-12-24 22:57:18 +09:00
Kijin Sung
019aa525c6
Fix string concatenation without initialization
2022-08-15 18:31:41 +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
ce76501f2b
Fix incorrect parsing of some dates due to timezone difference
...
https://xetown.com/questions/1598582
2021-08-03 20:56:07 +09:00
Kijin Sung
ce5dc45326
Allow class name to be specified when executing queries
...
PDO에는 결과를 어떤 클래스로 받아올지 선택하는 기능이 있는데 (기본값 stdClass)
executeQuery()로 쿼리를 실행할 때도 이 기능을 활용할 수 있도록 개선합니다.
stdClass를 받아와서 속성들을 추출한 후 documentItem에 도로 집어넣는 등
비효율적인 부분을 추후 개선하는 데 도움이 될 것으로 예상합니다.
2021-04-25 13:18:47 +09:00
Kijin Sung
49923844b2
Various fixes to remove warnings in PHP 8.0
2020-12-15 00:18:42 +09:00
Kijin Sung
ed7130f552
Add 'raw' result type
2020-06-30 23:28:06 +09:00
Kijin Sung
8a3afa03cc
More element handling of executeQueryArray()
2020-06-30 23:05:04 +09:00
Kijin Sung
ad5169bc7a
Remove legacy DB classes and XML query parser classes
2020-06-30 12:20:12 +09:00
Kijin Sung
cc271ee154
Initial implementation of DB class based on PDO MySQL driver
2020-06-29 15:45:01 +09:00
Kijin Sung
6f9bfb0bac
Remove unnecessary function calls
2020-05-18 21:26:57 +09:00
Kijin Sung
2cbfd4500c
Remove error_return_url more efficiently
2020-05-18 19:54:05 +09:00
nemo9l
8ea3f8ccd3
Fix typo
2020-02-13 13:20:20 +09:00
Kijin Sung
70108f858d
XEVE-19-001, XEVE-19-003, XEVE-19-006
...
xpressengine/xe-core@18ec8078eb
2019-05-04 17:36:41 +09:00
Kijin Sung
109203d12b
Remove invalid characters from REQUEST_URI
2018-07-31 19:08:02 +09:00
Kijin Sung
3992b4b5bc
Fix strict count() behavior in PHP 7.2
2017-12-01 01:49:20 +09:00
Kijin Sung
af7309b807
Consistently use new domain system for URL::isInternalUrl() and checkCSRF()
2017-03-04 22:09:45 +09:00
Kijin Sung
8ad6f40abd
Enable ztime() function to process Unix timestamps
2017-02-22 20:20:55 +09:00
Kijin Sung
0a5042ec6e
Fix potential fatal error when migrating from previous session
2017-02-11 14:21:21 +09:00
Kijin Sung
b32ae03396
Fix session variables being reset to an empty string
2017-02-11 14:15:38 +09:00
Kijin Sung
e96ac0ba7a
Add function to get relative timestamp up to many years, with unit tests
2016-05-26 16:41:20 +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
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