Commit Graph
884 Commits
Author SHA1 Message Date
liugangandClaude cc40abb8b7 + [misc] Add unit tests for fileZen::updateFileName() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:47 +08:00
liugang c8c0327b04 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-05 14:35:27 +08:00
liugang 1ab55a3462 * [bug#66835] Calling the exif_imagetype function to get real extension of image files. 2025-11-04 17:28:34 +08:00
liugang 809c78a531 * [refac] Refactor purifier initialization to use app loadClass method. 2025-10-27 09:08:22 +08:00
liugang 877bbffdc0 * [refac] Refactor the phpthumb class. 2025-10-27 09:08:21 +08:00
liugang 06a8cc3f63 * [misc] Fix unit tests with Claude Code. 2025-09-29 16:41:42 +08:00
liugangandClaude c8dc27e945 * [misc] Enhance unit tests for fileTao::saveFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:45 +08:00
liugangandClaude 66dd4ee005 * [misc] Enhance unit tests for fileModel::getCount() 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 fb3383ec09 * [misc] Enhance unit tests for fileModel::setPathName() method
Expanded test coverage for file path name generation functionality:
- Added test for normal file ID and extension
- Added test for boundary values (ID=0, empty extension)
- Added test for large file ID values with common extensions
- Added test for special character handling in extensions
- Added test for string type file ID conversion
- Added test for timestamp format verification in generated path
- Added test for path name uniqueness validation
- Improved test case documentation and structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:02 +08:00
liugangandClaude 970c36aa7e * [misc] Enhance unit tests for fileModel::sendDownHeader() method
Improved test coverage for file download header functionality:
- Added test for content-type download with valid filename
- Added test for file-type download with valid file path
- Added security test for invalid file path protection
- Added test for automatic file extension handling
- Added test for Safari browser filename encoding
- Added test for different MIME type content headers
- Added test for empty filename boundary handling
- Integrated with fileTest helper class for better test structure

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:58 +08:00
liugangandClaude 2e819b4197 * [misc] Enhance unit tests for fileModel::autoDelete() 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 c8b202ec67 + [misc] Add unit tests for fileZen::updateFileName() 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 752a2e15e9 + [misc] Add unit tests for fileZen::unlinkRealFile() 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 6e170c6e41 + [misc] Add unit tests for fileZen::buildDownloadTable() 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 588849cda4 + [misc] Add unit tests for fileZen::getDownloadMode() 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 bf6deeb448 + [misc] Add unit tests for fileModel::dwordize() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:16 +08:00
liugangandClaude 311a74e319 + [misc] Add unit tests for fileModel::deleteByObject() 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 39836e0b60 + [misc] Add unit tests for fileModel::__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
sunguangming 711405d304 * [misc] modify unittest. 2025-09-03 07:28:00 +00:00
sunguangming b5dab2ba1c * [bug#65163,done,0.1h] fix bug. 2025-09-03 07:28:00 +00:00
wangyuting 4d2e317ffd * Add setimgsize unit test script. 2025-08-28 15:50:36 +08:00
wangyuting 844be7ae38 * Optimize task view page. 2025-08-28 15:50:36 +08:00
wangyuting 8dd55a7b88 * Adjust unit test script file name. 2025-08-26 08:51:54 +08:00
wangyuting e08a90634b * [task#146178,done,3h,0h] Optimize history search method. 2025-08-26 08:51:54 +08:00
xieqiyu 55456ed8de * [bug#64850] Modify the unit test file of fileModel::sendDownHeader. 2025-08-19 08:29:30 +00:00
xieqiyu f611e6f1ff * [bug#64850] Switch file name to lower when adjust extention. 2025-08-19 08:08:08 +00:00
sunguangming 7bb4b98fd0 * [misc] for sonar. 2025-08-14 06:51:15 +00:00
sunguangming a61823b221 * [misc] return when filelist is empty. 2025-08-14 06:48:17 +00:00
xieqiyu f0a649e037 * [bug#64713] Add the unit test file of fileModel::buildFileActions. 2025-08-13 05:12:59 +00:00
xieqiyu 8cf0edc3e4 * [bug#64713] No change file title when print file. 2025-08-13 03:45:10 +00:00
sunguangming ae18d352eb * [misc] clode modal when success. 2025-07-17 05:45:32 +00:00
sunguangming f3e64bf9e3 * [bug#64105,dong,1.5h] fix bug. 2025-07-17 05:45:16 +00:00
sunhao 7731e77c25 * [bug #63818] fix download file with file-ajaxQuery without file name. 2025-07-15 12:46:59 +08:00
sunhao f7ad1195a8 * [bug #63818] fix download file with file-ajaxQuery without file name. 2025-07-10 22:31:01 +08:00