Commit Graph
112134 Commits
Author SHA1 Message Date
liugangandClaude 75e2b8e566 + [misc] Add unit tests for metricModel::updateMetricFields() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:57 +08:00
liugangandClaude f3bc6d57f2 + [misc] Add unit tests for metricModel::getLatestResultByCode() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 12dff9777f + [misc] Add unit tests for metricModel::getDateByDateType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 936dfe4775 + [misc] Add unit tests for instanceModel::stop() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude efc22c643c + [misc] Add unit tests for instanceModel::installationSettingsMap() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 82986e3ed1 + [misc] Add unit tests for convertModel::saveState() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 399041c96b + [misc] Add unit tests for convertModel::getZentaoObjectList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude ca9bc07bb9 + [misc] Add unit tests for convertModel::getZentaoFields() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 4521dfa4b0 + [misc] Add unit tests for commonModel::printDuration() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 0faa62a9c0 + [misc] Add unit tests for cneModel::validateCert() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 63a1a1bc68 + [misc] Add unit tests for cneModel::uploadCert() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude bfd92fc13c + [misc] Add unit tests for cneModel::translateError() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:56 +08:00
liugangandClaude 2cc3cfd4ef + [misc] Add unit tests for cneModel::restore() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude 67b24132d4 + [misc] Add unit tests for cneModel::installApp() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude e279ca97d7 + [misc] Add unit tests for cneModel::getVolumesMetrics() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude 969d2b6307 + [misc] Add unit tests for cneModel::getDiskSettings() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude b101ed4729 + [misc] Add unit tests for cneModel::getBackupStatus() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude 64d965b4f9 + [misc] Add unit tests for cneModel::getBackupList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude 62009c475d + [misc] Add unit tests for cneModel::getAppVolumes() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude aaa0d0980a + [misc] Add unit tests for cneModel::deleteBackup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude c6d5488595 + [misc] Add unit tests for cneModel::cneServerError() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:55 +08:00
liugangandClaude a25043313c + [misc] Add unit tests for cneModel::backup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:54 +08:00
liugangandClaude b6df87182c + [misc] Add unit tests for cneModel::apiPost() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:54 +08:00
liugangandClaude e83744c9a1 + [misc] Add unit tests for cneModel::apiGet() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:54 +08:00
liugangandClaude 517636007a + [misc] Add unit tests for branchModel::manage() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:54 +08:00
liugang e685cd5da8 + [misc] Update data to generate unit test scripts by Claude Code. 2025-11-25 08:37:54 +08:00
liugang 32f9d4273e + [misc] Update script to delete the failed unit test scripts generated by Claude Code. 2025-11-25 08:37:54 +08:00
liugang 2b768ca382 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-25 08:37:54 +08:00
xieqiyu 8ea86d3ecf * [bug#66510] Add the comment for buildModel::fetchBuilds. 2025-11-25 08:37:54 +08:00
李阳 ec477f9979 Merge branch release/21.7.7 of zentao/zentaopms (#12509) 2025-11-24 17:12:26 +08:00
朱金勇 2d3ef28002 * [highgo] type changed. 2025-11-24 17:06:32 +08:00
朱金勇 dfca35dad6 * [highgo] type changed. 2025-11-24 17:05:41 +08:00
朱金勇 1f52c942ca * [highgo] type changed. 2025-11-24 17:04:20 +08:00
刘刚 e3c1dde031 Merge branch release/21.7.7 of zentao/zentaopms (#12507) 2025-11-24 16:51:06 +08:00
wanshan 1c7f35a669 + [task#152947,doing,2h] add ui test for story module tasks 2025-11-24 16:49:13 +08:00
liugang 31ea3bab55 * [misc] Change the build field data type from char(30) to int unsigned. 2025-11-24 16:43:13 +08:00
李阳 afa065a0dc Merge branch release/21.7.7 of zentao/zentaopms (#12505) 2025-11-24 16:35:01 +08:00
李阳 f24e8404ed Merge branch release/21.7.7 of zentao/zentaopms (#12504) 2025-11-24 16:34:46 +08:00
yulujie 962d7b36d5 *[uitest] Modify waittime. 2025-11-24 16:34:31 +08:00
yulujie 992b1723b1 *[uitest] Modify waittime. 2025-11-24 16:34:31 +08:00
wanshan a909358033 + [task#152440,doing,2h] add ui test for user module delete 2025-11-24 16:26:15 +08:00
刘刚 0d8b6b1ab7 Merge branch release/21.7.7 of zentao/zentaopms (#12503) 2025-11-24 16:23:40 +08:00
liugang 7eaf0e84a7 * [refactor] Refactor SQL processing for database installation and upgrade
- Extract SQL processing methods to install model for better reusability
- Add replaceContantsInSQL() and appendMySQLTableOptions() public methods
- Unify SQL constants replacement across installation and upgrade modules
- Remove duplicate SQL processing code in extension and upgrade models
- Fix __TABLE__ to __DATABASE__ in zentao.sql for consistency
- Improve code maintainability and reduce duplication
2025-11-24 16:17:02 +08:00
liugang 586391d449 * [fix] Fix CREATE TABLE SQL parsing and ensure ENGINE=InnoDB for MySQL tables
- Fix SQL parsing logic in extension/model.php to properly handle table definitions
- Fix SQL parsing logic in install/model.php to properly handle table definitions
- Ensure ENGINE=InnoDB is explicitly set for MySQL CREATE TABLE statements in upgrade/model.php
- This addresses potential issues with table creation and ensures consistent InnoDB engine usage
2025-11-24 16:17:02 +08:00
liugang 789def3fe7 * [perf] Move getDatabaseCharsetAndCollation() call outside the foreach loop to improve performance. 2025-11-24 16:17:02 +08:00
liugang ef056ceab0 * [misc] Add = in sql statement to set character set and collation. 2025-11-24 16:17:01 +08:00
liugang 0e1e398ced * [misc] Add the keyword DEFAULT when installing MySQL or MariaDB. 2025-11-24 16:17:01 +08:00
刘刚 b71d1eaec9 Merge branch release/21.7.7 of zentao/zentaopms (#12497) 2025-11-24 16:15:49 +08:00
刘刚 6c0c4ca17c Merge branch release/21.7.7 of zentao/zentaopms (#12496) 2025-11-24 16:15:41 +08:00
李阳 90675aff5e Merge branch release/21.7.7 of zentao/zentaopms (#12459) 2025-11-24 16:11:33 +08:00