Commit Graph
367 Commits
Author SHA1 Message Date
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
wangyuting c4958b368b * [bug#51149,done,3h,0h] Merge workflow mainNav before setOpenAdd function. 2024-06-17 16:41:00 +08:00
caoyanyi 72b8b9826f * [misc,0.2h] adjust installed check logic for quicon system. 2024-06-03 10:08:47 +08:00
wangyidong 3af10d14d6 * Fix bug #50499. 2024-06-03 10:08:47 +08:00
wangyidong 2778cd3c04 * Fix bug #50499. 2024-06-03 08:35:56 +08:00
wangyidong 9d4158807e * Fix bug #50499. 2024-06-03 08:35:52 +08:00
liugang 3669841406 - baseRouter: load cache config after installation. 2024-05-31 10:04:16 +08:00
caoyanyi d2df28f35f * Move checkInstalled method to base router. 2024-05-23 14:22:15 +08:00
liugang 0c6ff7c5bd * baseRouter: fix error of calling fetch method on bool. 2024-05-23 14:22:15 +08:00
liugang a5ffb58c5e * framework: enable cache if the mode is running. 2024-05-23 14:22:15 +08:00
liugang 869f5c5b32 + baseRouter: add a method to load cache configuration from database. 2024-05-23 14:22:14 +08:00