Commit Graph
453 Commits
Author SHA1 Message Date
liugang 34da0d0856 - [misc] Remove useless code and files of unit tests. 2025-09-29 16:41:29 +08:00
liugangandClaude d49f6f3db3 * [misc] Enhance unit tests for extensionModel::getExpiringPlugins() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:08 +08:00
liugangandClaude bba2628548 * [misc] Enhance unit tests for extensionModel::getExpireDate() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:08 +08:00
liugangandClaude 09ae56a5f2 * [misc] Enhance unit tests for extensionModel::erasePackage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:08 +08:00
liugangandClaude 29966494b0 * [misc] Enhance unit tests for extensionModel::updateExtension() method
Expanded test coverage for extension update functionality:
- Added test for empty data array handling
- Added test for empty extension code validation
- Added test for updating existing extension status
- Added test for JSON encoding of dirs and files fields
- Added test for non-existent extension code handling
- Added test for multi-field combination updates
- Added test for directory path processing functionality
- Improved test data setup with comprehensive extension scenarios
- Enhanced test structure with clear step documentation
- Better variable naming and assertion validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:03 +08:00
liugangandClaude 938ac9358c * [misc] Enhance unit tests for extensionModel::checkVersion() method
Improved test coverage for extension version checking functionality:
- Added test for 'all' version string validation
- Added test for version string not containing current version
- Added test for version string matching current version
- Added test for empty version string handling
- Added test for multi-version list containing current version
- Improved test structure with clear step documentation
- Enhanced code readability with variable assignments
- Better test case descriptions for maintenance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:03 +08:00
liugangandClaude 556bd3c350 * [misc] Enhance unit tests for extensionModel::saveExtension() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude 50faf889ff * [misc] Enhance unit tests for extensionModel::removePackage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude 2cf093c1f1 * [misc] Enhance unit tests for extensionModel::getPathsFromPackage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude cb1b6ca545 * [misc] Enhance unit tests for extensionModel::getPackageFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude b82e0aca03 * [misc] Enhance unit tests for extensionModel::getFilesFromPackage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude ea769b1dde * [misc] Enhance unit tests for extensionModel::executeDB() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude a2b7129f90 * [misc] Enhance unit tests for extensionModel::checkIncompatible() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude 10a478ee3d + [misc] Add unit tests for extensionZen::compareForLimit() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude f1886b8211 + [misc] Add unit tests for extensionZen::checkFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude a8e7ced58a + [misc] Add unit tests for extensionZen::checkDepends() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 52651b986e + [misc] Add unit tests for extensionZen::checkConflicts() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 5e39417df7 + [misc] Add unit tests for extensionZen::checkCompatible() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 168ae7a6c9 + [misc] Add unit tests for extensionZen::checkExtractPath() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 8b674b1c81 + [misc] Add unit tests for extensionZen::checkExtensionPaths() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 8889e7d6eb + [misc] Add unit tests for extensionZen::togglePackageDisable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 12f04ac6f0 + [misc] Add unit tests for extensionZen::backupDB() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude c51dc6f668 + [misc] Add unit tests for extensionZen::copyPackageFiles() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude e22d02e59c + [misc] Add unit tests for extensionZen::extractPackage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 58eba02c96 + [misc] Add unit tests for extensionZen::installExtension() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 41e15220be + [misc] Add unit tests for extensionZen::copyHookFiles() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude c8b71e989f + [misc] Add unit tests for extensionZen::checkFileConflict() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 1036c78491 + [misc] Add unit tests for extensionZen::checkExtension() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 692ea3210b + [misc] Add unit tests for extensionZen::getDependsByDB() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 243e0d2b4a + [misc] Add unit tests for extensionZen::getHookFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude ca37dbbce9 + [misc] Add unit tests for extensionZen::checkSafe() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude fa584fbd37 + [misc] Add unit tests for extensionModel::cleanModelCache() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
liugangandClaude cf79e373c6 + [misc] Add unit tests for extensionModel::removeExtensionDirs() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
liugangandClaude 77273da578 + [misc] Add unit tests for extensionModel::removeExtensionFiles() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
liugangandClaude 5c7375cf90 + [misc] Add unit tests for extensionModel::fetchAPI() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
liugangandClaude b6183f6709 + [misc] Add unit tests for extensionModel::__construct() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
liugang 985e56e785 - [misc] Remove unused css and js files. 2025-09-15 10:02:06 +08:00
liugang 53be2c64c6 - [misc] Remove unused view files. 2025-09-11 16:30:53 +08:00
wangyidong a9f1108a60 * [refac bug #62957] Fix error. 2025-05-28 14:05:45 +08:00
wangyidong b383e57ac9 * [refac bug #62250] Use zfile removeDir method to replace rmdir function. 2025-05-23 16:51:55 +08:00
tianshujie b9f4d3ce6a * [bug#57373,done,0.1h] change plugin view link. 2025-04-09 15:29:13 +08:00
tianshujie 51b6d07865 * [bug#57373,59619,done,0.1h] remove empty. 2025-04-08 16:55:00 +08:00
tianshujie 1876f8cf5c * [bug#57373,59619,done,1h] change plugin view link. 2025-04-08 15:56:59 +08:00
wangyidong f0214b0cd9 * [refac bug #60549] Fix bug. 2025-03-18 14:22:29 +08:00
wangyidong 8d2969f73d * [refac bug #60549] Disable agree btn when install extension. 2025-03-14 17:23:08 +08:00
sunguangming fb1c7f27fe * [bug#60038,done,0.1h] fix bug. 2025-02-27 10:55:15 +08:00
zhaixiaojian de2e6306e4 * [bug#58587,done,0.1h,0h] Fixed delete plugin bug. 2024-12-25 13:21:50 +08:00
caoyanyi cba6092fe6 * [bug#58241] adjust extension data get. 2024-12-17 13:21:36 +08:00
wangyidong 1a5804a648 * [refac bug #55501] Adjust for check dir owner. 2024-09-24 13:40:17 +08:00
caoyanyi 61e8e2f768 - [misc] delete unused code. 2024-09-12 13:20:41 +08:00