Commit Graph
44 Commits
Author SHA1 Message Date
liugang 1503f91b2b * [refac] Split xxx.unittest.class.php into model.class.php, tao.class.php and zen.class.php. 2026-01-14 15:32:47 +08:00
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugang f0ac66d7eb * [misc] Fix unittest error of the cacheModel::clear() method. 2025-09-16 14:22:06 +08:00
liugangandClaude fe53c63555 + [misc] Add unit tests for cacheModel::clear() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:11 +08:00
liugang 8ad753e956 * [refac] convert bool value to integer. 2025-01-16 09:23:41 +08:00
liugang d1e4a61223 * [refac] check if redis support the igbinary serializer. 2024-12-09 09:21:27 +08:00
liugang 4d2f17e88c * [refac] close the cache to prevent new data from being written before clear cache. 2024-12-09 09:21:27 +08:00
liugang c243c1f56b * [bug#57811,1h] fix the inconsistency issue between cache data and database. 2024-12-09 09:21:27 +08:00
liugang 4792c1dad1 * [bug#57812,1h] fix can't close cache. 2024-12-09 09:21:27 +08:00
liugang 3094754644 * [refac] disable auto complete of html input. 2024-12-09 09:21:27 +08:00
liugang bde08619cc * [refac] fix error of hiding cache settings. 2024-12-09 09:21:27 +08:00
liugang 5869765709 * [refac] hide cache settings when disable cache. 2024-12-09 09:21:27 +08:00
liugang f5340533a0 * [refac] set the autocomplete attribute to off. 2024-12-09 09:21:27 +08:00
liugang d1c0d4dce3 + [refac] modify the port input as a number input. 2024-12-09 09:21:27 +08:00
liugang 30741b469b * [refac] always save redis configuration. 2024-12-09 09:21:27 +08:00
liugang f53c76b654 * [bug#57802,1h] clear the cache after changing its configuration. 2024-12-09 09:21:27 +08:00
liugang 262efb3a5f * [refac] the serializer of redis can not be empty. 2024-12-09 09:21:27 +08:00
liugang 67025b6f77 * [refac] turn off the cache before clear it if it is shared by multiple applications. 2024-12-09 09:21:27 +08:00
liugang b46ff0492e * [bug#57800,0.5h] rename the method clear to flush because it is declared in baseControl class. 2024-12-09 09:21:27 +08:00
liugang 2abbfff91f + [bug#57801,0.1h] add english language items. 2024-12-09 09:21:27 +08:00
liugang 64b1872f41 * [refac] check privilege before print clear cache button. 2024-11-25 14:12:18 +08:00
liugang 9c1eb71c16 * [refac] rename method ajaxClear to clear. 2024-11-25 14:12:18 +08:00
liugang 600c7a7a0f + [refac] add lang items of cache module. 2024-11-25 14:12:18 +08:00
liugang 16cc6278d2 * [refac] calling clearCache method of mao class. 2024-11-20 15:42:49 +08:00
liugang 5aefa58096 + [refac] clear cache when redis database changed. 2024-11-20 15:42:49 +08:00
liugang 64e7c831d0 * [refac] user can set database of redis. 2024-11-20 15:42:49 +08:00
liugang 8c17984ce1 * [refac] modify php serialize's key to php. 2024-11-20 15:42:49 +08:00
liugang 29fa9fdd58 * [refac] fix the error of form control linkage display. 2024-11-20 15:42:49 +08:00
liugang 9ea4c9a0f7 * [refac] check required form fields. 2024-11-20 15:42:49 +08:00
liugang 3f16552bd3 - [refac] remove unused code. 2024-11-20 15:42:49 +08:00
liugang 8af8f18d38 * [refac] modify lang items. 2024-11-20 15:42:49 +08:00
liugang 7c362f7350 * [refac] add cache scope. 2024-11-20 15:42:49 +08:00
liugang e4aee0c87d + [refac] add cache module to manage configuration of cache. 2024-11-20 15:42:49 +08:00
liugang 4c47a182e6 - [refac] remove unused file. 2024-11-20 15:42:49 +08:00
朱金勇 e530add989 * [perf] rename cache to mao 2024-11-20 15:42:49 +08:00
liugang 28200cb337 * [refac] fix error. 2024-11-20 15:42:49 +08:00
liugang 1c79e4315e - [refac] remove unused code and file. 2024-11-20 15:42:49 +08:00
liugang 914ba50a55 * [refac] compatible with model.class.php. 2024-11-20 15:42:49 +08:00
liugang 3839b68c3f + [perf] add example of cache handler. 2024-11-20 15:42:49 +08:00
liugang 19176ed148 * [refac] modify class comment. 2024-11-20 15:42:49 +08:00
liugang e278cffb60 * [refac] refactor the cacheModel. 2024-11-20 15:42:49 +08:00
liugang 68dfcea210 + [perf] add configuration of cached keys. 2024-11-20 15:42:49 +08:00
朱金勇 a3c1dcaacf + [perf] Add cache handler. 2024-11-20 15:42:49 +08:00
朱金勇 b0e979d664 + [perf] Add cache model. 2024-11-20 15:42:49 +08:00