Commit Graph
377 Commits
Author SHA1 Message Date
liugang 230bc77313 * [refac] fix calling undefined method. 2025-06-03 09:15:11 +08:00
liugang 8fefa46ce2 * [refac] rename profiling to show_profiles. 2025-06-03 09:15:11 +08:00
liugang 6f2d830ae6 * [refac] rename profile to profiling. 2025-06-03 09:15:11 +08:00
liugang 36b2165522 * [refac] refactor the method to setup database profiling. 2025-06-03 09:15:11 +08:00
liugang 274ab84cda * [bug#62977] fix undefined array key error. 2025-05-28 16:51:48 +08:00
liugang 00c1ba69c0 * [refac] save trace information of sql queries in log file. 2025-05-27 15:58:32 +08:00
liugang 4753fd38eb * [refac] use dbh::$queries instead of dao::$querys. 2025-05-26 17:33:42 +08:00
liugang bcdb5bb486 - [refac] remove queries that have been executed in dbh class. 2025-04-23 13:42:44 +08:00
liugang 1176417bef * [refac] load cache after enable profiling to log cache queries. 2025-04-23 08:32:20 +08:00
liugang 3fc76bfb1f Revert "+ [story#57368] if debug is not enabled, but the user is logged in and X-ZIN-DEBUG is in the request header, enable debug mode."
This reverts commit 77aa239f7f.
2025-03-26 10:14:29 +08:00
liugang 11fdc932ec * [refac] fixed the bug that the version in the cache and database are inconsistent after upgrading. 2025-01-26 15:57:43 +08:00
liugang cb64bdf272 * [bug#59438] fix error when upgrading. 2025-01-26 15:57:43 +08:00
wangyidong e658bed7ac * [refac bug #59019] ignore loadCache when install or upgrade. 2025-01-08 17:31:50 +08:00
liugang 0bb92c32d9 + [refac] load configuration of automatic caches from database. 2024-12-30 09:42:38 +08:00
sunguangming 41cac5c59d * Try reset vision when can't found control.php. 2024-12-04 17:30:44 +08:00
liugang 8e3493d9bf - [refac] remove unused code of cache files. 2024-11-25 14:12:18 +08:00
liugang fe16031fd1 + [refac] add default $mao property of router class. 2024-11-20 15:42:49 +08:00
liugang 82eda5c887 + [refac] don't load cache configuration if isn't installed. 2024-11-20 15:42:49 +08:00
liugang 2e20324fe6 + [refac] close cache connection when program is shutdown. 2024-11-20 15:42:49 +08:00
liugang 62f313c0d6 * [refac] load cache configuration from database before initialize cache access object. 2024-11-20 15:42:49 +08:00
liugang 4ff19d7ef3 * [refac] add namespace to resolve class name conflicts. 2024-11-20 15:42:49 +08:00
liugang bc1e918af3 + [refac] add method to load cache. 2024-11-20 15:42:49 +08:00
朱金勇 e530add989 * [perf] rename cache to mao 2024-11-20 15:42:49 +08:00
liugang 90e52d53be - [refac] remove unused methods. 2024-11-20 15:42:49 +08:00
朱金勇 b0e979d664 + [perf] Add cache model. 2024-11-20 15:42:49 +08:00
朱金勇 aa5528372b + [perf] Add redis cache class. 2024-11-20 15:42:49 +08:00
liugang e6c1a08437 * [perf] pass instance of baseRouter class to zredis. 2024-11-20 15:42:49 +08:00
liugang 445f995a26 * [perf] connect and initlize redis in zredis class. 2024-11-20 15:42:49 +08:00
liugang aba9669e6e * [perf] fix error of add members to redis. 2024-11-20 15:42:49 +08:00
liugang a2a7aacca9 - [perf] remove unused code to flush redis. 2024-11-20 15:42:49 +08:00
liugang d33ec696d2 + [perf] load data from database to redis. 2024-11-20 15:42:49 +08:00
liugang 46dbb9dff6 * [perf] replace the global $config with $config property of baseRouter class. 2024-11-20 15:42:49 +08:00
sunhao 28380be441 * [misc] set profiling_history_size to 200 in debug mode. 2024-10-28 16:04:16 +08:00
songchenxuan 5d1919bb8f *[misc] use helper::import to import control file. 2024-10-17 15:10:46 +08:00
liugang ee00fcd0c2 * [bug#55789,0.1h] fix error of fetching unknown column from database. 2024-09-30 19:44:38 +08:00
sunguangming 793b719608 * [bug#55789,done,0.2h] fix bug. 2024-09-30 16:52:41 +08:00
朱金勇 c02a2c660e * [misc] Move loadDAO to router. 2024-09-29 13:50:47 +08:00
sunhao c28631da43 * [refac] remove unnecessary check for zin request. 2024-08-28 09:56:27 +08:00
daitingting b2d9809c84 * [misc] Adjust note. 2024-08-02 16:32:18 +08:00
liugang 65c1f59d15 * [refac] fix sql error in dameng database. 2024-07-11 11:32:23 +08:00
dingguodong 73c6518148 * [task#121999] Remove the static. 2024-06-28 16:59:08 +08:00
dingguodong 6326df2741 * [task#121999] Use "static" keyword instead of "self". 2024-06-28 16:59:08 +08:00
dingguodong 112c2cc4f3 * [misc] Die without any message if an error triggered in non-debug
mode.
2024-06-28 16:59:08 +08:00
dingguodong e7603e069a + [task#121999] Init redis object if redis is enabled. 2024-06-28 16:59:08 +08:00
宋辰轩 4daefbdf0b * [misc] modify base router importControlFile. 2024-06-28 13:50:33 +08:00
宋辰轩 66b42279e6 * [bug,done,1.5h] fix bug for api use lib form. 2024-06-27 10:55:48 +08:00
dingguodong 61c912d4b0 * [misc] Fix the type hint for quick reference. 2024-06-26 13:55:02 +08:00
liugang 4474d6f6e6 + [story#57368] reset debug after load user from session. 2024-06-21 14:56:19 +08:00
caoyanyi 62c37b12cc * [misc] adjust encrypted check logic. 2024-06-20 19:08:01 +08:00
liugang 77aa239f7f + [story#57368] if debug is not enabled, but the user is logged in and X-ZIN-DEBUG is in the request header, enable debug mode. 2024-06-17 19:08:52 +08:00