Commit Graph
120 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
liugangandClaude 1d0c80f83e * [misc] Enhance unit tests for gogsModel::getApiRoot() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:12 +08:00
liugangandClaude b795de2fef + [misc] Add unit tests for gogsZen::getMatchedUsers() 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 011962c686 + [misc] Add unit tests for gogsZen::checkToken() 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 f9ed180663 + [misc] Add unit tests for gogsModel::apiGetMergeRequests() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:16 +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
caoyanyi cce956a362 * [unittest] adjust gogs unit test case. 2025-06-05 16:47:20 +08:00
caoyanyi f5091bd9c3 * [unittest] adjust gogs token for unittest case. 2025-06-05 13:13:07 +08:00
caoyanyi a9f5490b3e * [bug#59402] add get merge requests method for gogs. 2025-01-22 08:56:21 +08:00
caoyanyi 6a52f50e50 * [bug#59400] adjust user get logic for gitlab. 2025-01-21 15:23:00 +08:00
caoyanyi d161f7520d * [misc] adjust gogs mr page error. 2024-07-08 11:13:40 +08:00
caoyanyi 93bb0ae06d * [misc,0.2h] adjust gogs repos get type. 2024-06-13 00:30:51 +00:00
caoyanyi 4bc31404e6 * Adjust server bind user data for gitea and gogs. 2024-05-23 14:22:15 +08:00
caoyanyi de24a389c8 * Adjust server bind user data for gitea and gogs. 2024-05-23 14:22:15 +08:00
caoyanyi acc26ba24d Merge remote-tracking branch 'remotes/origin/release-20.0'
# Conflicts:
#	db/update20.0.beta2.sql
#	lib/zin/func.php
#	lib/zin/wg/fileselector/v1.php
#	lib/zin/wg/upload/v1.php
#	module/action/model.php
#	module/backup/js/index.ui.js
#	module/block/lang/vi.php
#	module/block/ui/recentprojectblock.html.php
#	module/block/zen.php
#	module/common/lang/vi.php
#	module/custom/lang/vi.php
#	module/execution/js/kanban.ui.js
#	module/execution/ui/story.html.php
#	module/kanban/js/view.ui.js
#	module/metric/test/calc/project/hour/ac_of_weekly_all_in_waterfall.php
#	module/metric/test/calc/project/rate/cv_in_waterfall.php
#	module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php
#	module/mr/control.php
#	module/mr/ui/browsebyexecution.html.php
#	module/product/zen.php
#	module/programplan/zen.php
#	module/project/model.php
#	module/repo/lang/de.php
#	module/repo/lang/en.php
#	module/repo/lang/fr.php
#	module/repo/lang/zh-cn.php
#	module/space/ui/createapplication.html.php
#	module/testcase/ui/view.html.php
#	module/upgrade/model.php
#	www/js/zui3/zen-editor/p-0aaccc7e.js
#	www/js/zui3/zen-editor/p-276dd30f.js
#	www/js/zui3/zen-editor/p-2b13cc9a.js
#	www/js/zui3/zen-editor/p-38d18c5d.js
#	www/js/zui3/zen-editor/p-3f6cad83.js
#	www/js/zui3/zen-editor/p-51e3a048.js
#	www/js/zui3/zen-editor/p-617d463f.js
#	www/js/zui3/zen-editor/p-62c0132e.js
#	www/js/zui3/zen-editor/p-6d22490c.js
#	www/js/zui3/zen-editor/p-a563f50b.js
#	www/js/zui3/zen-editor/p-bf31230c.js
#	www/js/zui3/zen-editor/p-c6c95773.js
#	www/js/zui3/zen-editor/p-d83dd3f0.js
#	www/js/zui3/zen-editor/p-d8bedd14.js
#	www/js/zui3/zen-editor/p-eaaa4129.js
#	www/js/zui3/zen-editor/zen-editor.esm.js
#	www/js/zui3/zui.zentao.css
#	www/js/zui3/zui.zentao.js
2024-05-06 09:17:49 +08:00
liugang 1c13a31e99 * Rename $lang->colon to $lang->hyphen. 2024-04-28 14:35:26 +08:00
tianshujie bced2b76b4 Merge remote-tracking branch 'origin/release-20.0' 2024-04-23 17:12:24 +08:00
caoyanyi 8d97a1116e * Rename account name field. 2024-04-23 08:53:23 +08:00
caoyanyi 47f72739f9 * Move user account setting of gogs. 2024-04-22 16:21:46 +08:00
liyang 354c300c86 * Modify unit test directory structure and data generation method. 2024-04-22 14:25:50 +08:00
caoyanyi 7400302e94 Merge branch 'release-20.0' 2024-04-22 10:23:21 +08:00
caoyanyi ffba35e582 * Adjust app token input widget height. 2024-04-19 11:00:30 +08:00
dingguodong 926744bf4f - Remove vi.php. 2024-04-17 09:11:48 +08:00
caoyanyi 8f5805521a * Adjust language for devops app. 2024-04-12 10:53:08 +08:00
liyang 6eaecded47 * Fix Bug #45920. 2024-02-19 08:41:01 +08:00
caoyanyi 1c453240a6 * Adjust end(), current() param need inited error. 2023-12-22 16:26:52 +08:00
caoyanyi f848cda440 * Adjust unit test check rule for gogs. 2023-12-22 11:08:13 +08:00
caoyanyi 1f70eb7738 * Adjust unit test check rule for gogs. 2023-12-22 11:02:32 +08:00
caoyanyi 1916c3e68a + Add unit test case for gogs->apigetsingleproject. 2023-12-22 10:52:02 +08:00
caoyanyi 8e79d6fbd9 + Add unit test case for gogs->apiDeleteBranch. 2023-12-22 10:50:30 +08:00
caoyanyi 68113556d0 - Remove unused method. 2023-12-22 10:37:12 +08:00
caoyanyi 5efdd47998 + Add unit test case for gogs->apiGetUsers. 2023-12-22 10:37:12 +08:00
caoyanyi 02ef7a5d8e + Add unit test case for gogs->apiGetSingleBranch. 2023-12-22 10:37:12 +08:00
caoyanyi e216d8a2ae + Add unit test case for gogs->apiGetProjects. 2023-12-22 10:37:12 +08:00
caoyanyi b16290073c + Add unit test case for gogs->apiGetBranchPrivs. 2023-12-22 10:37:12 +08:00
caoyanyi 45cc0fef81 + Add unit test case for gogs->apiGetBranches. 2023-12-22 09:55:47 +08:00
caoyanyi 96e4cf1614 - Delete file for gogs unit test case. 2023-12-22 09:49:26 +08:00
caoyanyi 6f277514d7 * Adjust unit test case for gogs->checkTokenAccess. 2023-12-22 09:49:26 +08:00
caoyanyi 57dd2e1aba + Add yaml for gogs unit test case. 2023-12-22 09:49:26 +08:00
caoyanyi 9f59f54218 + Add unit test case for gogs->bindUser. 2023-12-22 09:49:26 +08:00
caoyanyi 5813f61e66 * Adjust bind user logic for gogs. 2023-12-22 09:49:26 +08:00
caoyanyi 6c82d011c8 + Add unit test case for gogs->getApiRoot. 2023-12-22 09:49:26 +08:00
caoyanyi 9ef77446cb * Adjust bind user method and remove unused method. 2023-12-22 09:49:26 +08:00
caoyanyi 2c297f78bb * Adjust function params type and return value. 2023-12-19 09:03:47 +08:00
caoyanyi 3e01a5a142 * Adjust sonar error for gogs. 2023-12-18 19:19:44 +08:00