Commit Graph
686 Commits
Author SHA1 Message Date
tianshujie 79229c2e91 * [refac,done,0.1h] To move the position of the arrayUnion function on the mobile. 2025-06-09 11:13:55 +08:00
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
sunguangming a0999d6357 * [error] fix framework error. 2025-05-14 14:38:46 +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 644b6f9b6c * [misc] make the content readable after json_encode. 2025-04-09 09:00: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
sunhao bc9ba9d2f6 * [bug #60600] fix failed to delete buffer in fetch(...). 2025-03-21 13:30:15 +08:00
caoyanyi c1abaa8c81 * [misc] move method to base. 2025-03-06 09:18:49 +08:00
liyang 2dd65ae8fe * [task#137831] fix bug for connet redis. 2025-02-28 14:04:14 +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
caoyanyi 401d6d9d3f * [misc] move helper::convertType method to base. 2025-01-22 14:44:45 +08:00
caoyanyi d279b9fb08 * [misc] adjust bool data format for env get. 2025-01-22 14:44:45 +08:00
caoyanyi bfb98116b6 * [misc] add getEnvData method for helper. 2025-01-22 14:44:45 +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 55e56f8b34 * [misc] fix code error. 2024-12-20 09:45:19 +08:00
caoyanyi e95504d2c2 * [misc] adjust https check. 2024-12-19 16:15:17 +08:00
caoyanyi 2ed5f416a5 * [misc] adjust webRoot get for container. 2024-12-17 10:03:33 +08:00
liugang f1f94474ff * [refac] connect redis in baseHelper so that api can use it. 2024-12-11 13:35:42 +08:00
songchenxuan e006fdbfa1 *[misc] Resolve json api with sessionid call fail and return login page issue. 2024-12-09 09:21:27 +08:00
sunguangming 41cac5c59d * Try reset vision when can't found control.php. 2024-12-04 17:30:44 +08:00
tianshujie 3a6228c700 * [refac,done,0.3h] remove formatHours method. 2024-12-04 15:58:46 +08:00
sunguangming 9a1076e62c * [task#133832,done,1h] finish task. 2024-12-04 15:06:09 +08:00
hufangzhou 424522620b * [bug#57474,done,1h] Trim the trailing .0 in order. 2024-11-27 15:49:28 +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
liugang 6f643638ea + [refac] add $mao object to baseControl. 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