Commit graph

31 commits

Author SHA1 Message Date
Kijin Sung
8b4818a767 Add commonly used member properties to SessionHelper class #2279 2024-05-04 20:33:00 +09:00
Kijin Sung
ac16d2e7f5 Remove var_dump() 2024-04-23 23:47:24 +09:00
Kijin Sung
1abd6a04c9 Fix FCM auth token not being cached persistently if APC is used in PHP-CLI 2024-04-23 23:37:57 +09:00
Kijin Sung
dee7ed34e9 Add helper classes that implement PSR-6 caching interface with Rhymix cache backend 2024-04-21 02:16:21 +09:00
Kijin Sung
a6a45bcf76 Fix #2249 incorrect attribute path 2023-12-30 22:15:13 +09:00
Kijin Sung
9b5160eb94 Fix DBStmtHelper compatibility with PHP <= 7.4 2023-09-27 23:51:07 +09:00
Kijin Sung
f4c09bf634 Specify parameter and return types of all other helper class methods 2023-09-27 23:39:52 +09:00
Kijin Sung
bde78570f6 Make parameter types of HTTPHelper::withStatus() compatible with that of ResponseInterface 2023-09-27 23:37:18 +09:00
Kijin Sung
b9068c56f7 Clarify return types of DBStmtHelper 2023-09-27 23:35:16 +09:00
Kijin Sung
6f9bb059e8 Use helper class to handle various error conditions during HTTP request 2023-04-23 14:50:39 +09:00
Kijin Sung
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +09:00
Kijin Sung
a6872d6e2a Remove all type declarations in DBHelper/DBStmtHelper methods inherited from PDO, for broad compatibility with PHP 7 and 8 2023-01-16 22:21:48 +09:00
Kijin Sung
0ba4c51c3c Fix type error in DBHelper::query() when there is a query error 2023-01-16 21:39:30 +09:00
Kijin Sung
8e2c4b3ef9 Fix #2065 add ReturnTypeWillChange attribute to DBHelper 2023-01-16 21:16:13 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Kijin Sung
70acafb8ea Add AllowDynamicProperties to SessionHelper 2022-12-20 09:27:36 +09:00
Kijin Sung
0b05404f23 Use DB result helper class instead of plain BaseObject 2022-02-06 21:48:53 +09:00
Kijin Sung
70cfe24cdd Use $this->user instead of $logged_info more consistently #1866 2022-02-04 01:19:30 +09:00
Kijin Sung
f4758b7570 Fix #1610 memory leak in initial debug status check 2021-02-10 00:27:04 +09:00
Kijin Sung
60465fb2db Fix various warnings in PHP 8.0 2021-01-28 22:32:56 +09:00
Kijin Sung
1a204d8c52 Completely disable Debug logging if it is not enabled for the current user
관리자 또는 특정 IP에서만 디버그 기능을 사용하도록 설정된 경우,
그 밖의 요청에서는 어떤 에러메시지, 쿼리, 트리거 소요시간 등의 기록도
디버그 클래스에 저장하지 않도록 변경합니다.

워닝이 많이 발생하는 PHP 8.0에서는 20~30%의 성능 개선 효과가 있습니다.
2021-01-07 02:51:43 +09:00
Kijin Sung
90084efd75 Fix undefined indices and incompatible function signatures 2020-10-30 23:14:08 +09:00
Kijin Sung
6e7049234e Reorganize query logging and add detailed comments 2020-06-30 23:21:14 +09:00
Kijin Sung
85df901924 Misc fixes for compatibility with existing XML queries and schemas 2020-06-30 14:43:42 +09:00
Kijin Sung
936568a8a5 Improve error handling by using wrapper classes for PDO and PDOStatement 2020-06-30 12:00:42 +09:00
Kijin Sung
786c9c9b8c Replace some usages of getModel(), getController(), etc. in the Rhymix Framework 2020-05-18 21:51:36 +09:00
Kijin Sung
5f7b4837dc Add more safeguards for the possibility of an empty member_srl 2017-02-10 20:59:17 +09:00
Kijin Sung
57ab94187e Remove static keyword 2017-02-10 20:53:38 +09:00
Kijin Sung
dfdbc1db85 Add session helper class and move remainder of session validation logic to Session class 2017-02-10 20:50:38 +09:00
Kijin Sung
0961253a74 Improve ConfigHelper::consolidate() to allow use of filters 2016-05-19 21:02:39 +09:00
Kijin Sung
557d338427 Add configuration helper (consolidator) class and unit tests 2016-05-19 17:46:52 +09:00