Commit Graph
104522 Commits
Author SHA1 Message Date
liugang 0807faa0ca * [misc] Fix unittest error of the myModel::buildTaskSearchForm method. 2025-08-18 10:38:57 +08:00
liugang 1658fae2ff * [misc] Fix unittest error of the executionModel::buildTaskSearchForm method. 2025-08-18 09:44:19 +08:00
liugang 3d5bd5cca7 * [perf] refactor: improve processSearchParams return handling and session access
- Change return type from bool to array for better data flow
- Replace direct $_SESSION access with $this->session for consistency
- Add null check for funcArgs parameter validation
- Return cached search parameters as fallback instead of false
- Return actual function result instead of boolean success indicator
2025-08-18 09:40:55 +08:00
liugang bc43a5a053 * [perf] refactor: standardize search cache naming and parameter handling
- Change session key from 'searchParams' to 'SearchFunc' for consistency
- Simplify processSearchParams method to accept module name directly
- Update method calls across search control and zen modules
2025-08-18 09:25:19 +08:00
liugang 993931eb0d * [perf] refactor: optimize search parameter handling mechanism
- Replace loadModel('search')->setSearchParams() call with direct session setting in framework/model.class.php
- Remove redundant parameter clearing and early return logic from searchModel::setSearchParams method
2025-08-18 09:21:40 +08:00
liugang 44828b6dee * [perf] refactor: improve task search configuration handling in my module
- Replace direct modification of global config with local searchConfig variable
- Avoid side effects by working with local copy instead of modifying shared config
- Add return statement to provide searchConfig for potential future use
2025-08-18 09:09:10 +08:00
liugang ab4ecfb7af * [perf] refactor: enhance task search form building functionality
- Add productID parameter to buildTaskSearchForm method to support better filtering
- Introduce module parameter to handle different search contexts (task, programplanTask, projectTask)
- Refactor search configuration to be more modular and context-aware
- Remove hardcoded search module configurations and pass them as parameters
- Simplify search form initialization across execution, programplan, and project modules
- Improve code reusability by centralizing search configuration logic
- Add conditional field filtering based on execution type and search context
2025-08-18 09:09:10 +08:00
liugang a2227c2e0d * [perf] Rename the processParams parameter to cacheSearchParams. 2025-08-18 09:09:10 +08:00
liugang eb56003159 * [perf] Replace the magic constants __CLASS__ and __FUNCTION__ with the magic constant __METHOD__ to simplify the code. 2025-08-18 09:09:09 +08:00
liugang 145aa104ff * [perf] Implement lazy search parameter processing in myModel::buildTaskSearchForm(). 2025-08-18 09:09:09 +08:00
liugang 2a06c19ab3 * [perf] Implement lazy search parameter processing in executionModel::buildTaskSearchForm(). 2025-08-18 09:09:09 +08:00
liugang e50e1ef834 + [perf] Optimize search module to process search parameters when needed. 2025-08-18 09:09:09 +08:00
liugang b15b8d9995 + [perf] Add a method to process search parameters when needed. 2025-08-18 09:09:09 +08:00
liugang 4cdff092dd * [perf] Clear old search params and support function-based parameter storage. 2025-08-18 09:09:09 +08:00
liugang f7bdd4283d + [perf] Add a method to cache search parameters. 2025-08-18 09:09:09 +08:00
刘刚 a7bb0c7f74 Merge branch release/21.7.5 of zentao/zentaopms (#10955) 2025-08-15 08:20:32 +08:00
wanshan 54fdf3766a + [feat] Add patch method in class rest. 2025-08-14 17:03:01 +08:00
李阳 0f707061a0 Merge branch release/21.7.5 of zentao/zentaopms (#10953) 2025-08-14 16:45:03 +08:00
huairong ad387af93b + [task#148342,doing,0.5h,1.0h] Add ui test file 2025-08-14 16:39:14 +08:00
huairong bbaad80dda + [task#148342,doing,1.5h,1.0h] Add createwaterfallplus function 2025-08-14 16:39:14 +08:00
李阳 088d8d6488 Merge branch release/21.7.5 of zentao/zentaopms (#10952) 2025-08-14 16:29:12 +08:00
lijie 542517b9c5 [task#147929, 2.5h] create batch edit story in lite. 2025-08-14 16:26:37 +08:00
刘刚 8b6c78de56 Merge branch release/21.7.5 of zentao/zentaopms (#10945) 2025-08-14 16:19:20 +08: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
李阳 cfe63c83cf Merge branch release/21.7.5 of zentao/zentaopms (#10944) 2025-08-14 14:35:43 +08:00
lixiaoyu fd98967a6b *[task#147928,done,1h,0h] 2025-08-14 14:22:25 +08:00
lixiaoyu 3018e8908d *[task#147928,doing,1h,3h] 2025-08-14 14:21:50 +08:00
lixiaoyu 12a40acc40 *[task#147928,doing,1h,3h]assign story in lite 2025-08-14 14:18:21 +08:00
刘刚 c09b5ebbc7 Merge branch release/21.7.5 of zentao/zentaopms (#10942) 2025-08-14 14:05:16 +08:00
刘刚 24b0132e1c Merge branch dev/bug-64109 of zentao/zentaopms (#10941) 2025-08-14 14:05:02 +08:00
刘刚 d45d84bf23 Merge branch dev/bug-64400 of zentao/zentaopms (#10940) 2025-08-14 14:04:58 +08:00
tianshujie 8cb0e81681 * [task#148030,done,0.1h] add step for getOrderedExecutions method. 2025-08-14 13:29:30 +08:00
tianshujie 5e195fa280 * [task#148029,done,0.15h] add step for summary method. 2025-08-14 13:29:30 +08:00
刘刚 39ce16a49c Merge branch release/21.7.5 of zentao/zentaopms (#10938) 2025-08-14 13:23:06 +08:00
刘刚 3e8d7eeda6 Merge branch release/21.7.5 of zentao/zentaopms (#10937) 2025-08-14 13:22:52 +08:00
刘刚 15c8ee274e Merge branch dev/bug-64400 of zentao/zentaopms (#10936) 2025-08-14 13:22:40 +08:00
刘刚 a41a7e46e8 Merge branch dev/bug-64109 of zentao/zentaopms (#10935) 2025-08-14 13:22:32 +08:00
李阳 466213f506 Merge branch release/21.7.5 of zentao/zentaopms (#10939) 2025-08-14 13:07:38 +08:00
lixiaoyu aa3833d753 *[task#147928,doing,0.1h,0h] 2025-08-14 13:07:15 +08:00
lixiaoyu d074c56633 *[task#147928,doing,0.1h,0h] 2025-08-14 13:07:15 +08:00
lixiaoyu f88be7e0f7 *[task#147928,done,1h,0h]submit review story in lite 2025-08-14 13:07:15 +08:00
lixiaoyu 09624e49ae *[task#147928,doing,1h,3h] 2025-08-14 13:07:15 +08:00
lixiaoyu 7696723860 *[task#147928,doing,1h,3h]submit review story in lite 2025-08-14 13:07:15 +08:00
李阳 4e7836b243 Merge branch release/21.7.5 of zentao/zentaopms (#10933) 2025-08-14 13:07:12 +08:00
李阳 b52f6550b3 Merge branch release/21.7.5 of zentao/zentaopms (#10922) 2025-08-14 13:06:51 +08:00
李阳 15f71249c6 Merge branch release/21.7.5 of zentao/zentaopms (#10932) 2025-08-14 13:06:35 +08:00
wangyidong dff72f2964 * [unit] Add unit test step. 2025-08-14 11:55:12 +08:00
tianshujie e16b71c607 * [unittest] fix step. 2025-08-14 11:49:30 +08:00
tianshujie 86e67886a5 * [bug#64717,done,0.4h] fix merge right error. 2025-08-14 11:45:40 +08:00