Commit Graph
1592 Commits
Author SHA1 Message Date
朱金勇 9cb0387965 * [apiv2] init formData 2025-10-21 17:31:03 +08:00
朱金勇 373c45353f * [apiv2] Display method may be called by zen. 2025-10-21 16:48:18 +08:00
朱金勇 9f289906c1 * [apiv2] viewType is always html. 2025-10-21 16:42:52 +08:00
liugang 519d427def * [misc] Fix sonar issues. 2025-10-21 14:43:51 +08:00
liugang ef7155f844 * [refac] Refactor the baseRouter::startSession() method to reuse web session in api mode. 2025-10-21 14:37:39 +08:00
朱金勇 2ced7c2ec9 + [apiv2] Add ext routes. 2025-10-21 11:19:57 +08:00
朱金勇 f6af8a5b15 * [apiv2] Compatible apiv1 2025-10-17 09:54:19 +08:00
朱金勇 af0a271ae7 * [apiv2] Fix createLink 2025-10-14 16:14:33 +08:00
朱金勇 253a543556 * [apiv2] Fix session 2025-10-14 15:05:03 +08:00
朱金勇 298a59adc8 * [apv2] Fix webRoot. 2025-10-14 14:54:04 +08:00
朱金勇 046f353aee * [misc] typo 2025-10-14 14:52:23 +08:00
朱金勇 4a15d1ab3d * [apiv2] Fix routing 2025-10-14 14:45:10 +08:00
朱金勇 99c8b11f78 + [apiv2] Add http code in helper.class.php 2025-10-14 14:22:50 +08:00
朱金勇 de87fbd1d5 - [apiv2] Remove http code define. 2025-10-14 13:54:01 +08:00
朱金勇 6cc42fd3d5 + [apiv2] Add control.class.php 2025-10-14 13:51:05 +08:00
朱金勇 9aad96ada0 + [highgo] Add toIntArray 2025-10-11 00:12:24 +08:00
wangyidong 9191b08abf Merge branch 'feature/reporttemplate' into release/21.7.6 2025-09-15 13:49:40 +08:00
sunguangming be101daee2 * [bug#65260,done,0.2h] fix bug. 2025-09-09 03:42:12 +00:00
liugang 87339213f0 - [refac] Remove unused code to setup sql profiling. 2025-08-27 15:51:32 +08:00
liugang df0078ba19 * [refac] Refactor the dbh class to record duration and trace info when execute sql. 2025-08-27 15:14:56 +08:00
liugang 9680f756ee * [refac] Call dirname to get absolute directory path. 2025-08-27 14:52:31 +08:00
wangyuting 862986cbe6 * [task#148795,done,1h,0h] Fix extra readonly field is required error. 2025-08-26 08:51:54 +08:00
tianshujie 9ca9293c41 * [misc] remove unused param. 2025-08-21 08:48:31 +08:00
liugang d9f0cf78ca * [perf] Refactor search parameter caching: rename cacheSearchParams to cacheSearchFunc
- Rename method cacheSearchParams() to cacheSearchFunc() in framework/model.class.php
- Update parameter name from cacheSearchParams to cacheSearchFunc across execution and my modules
- Update corresponding test files and documentation comments
- Improve naming clarity to reflect that we're caching the function/method rather than just parameters
2025-08-21 08:38:54 +08:00
liugang 15686322b9 * [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-21 08:38:53 +08:00
liugang 9d2f04c2ed * [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-21 08:38:53 +08:00
liugang 26c93856a7 * [perf] Replace the magic constants __CLASS__ and __FUNCTION__ with the magic constant __METHOD__ to simplify the code. 2025-08-21 08:38:53 +08:00
liugang 397028f97c + [perf] Add a method to cache search parameters. 2025-08-21 08:38:53 +08:00
朱金勇 5c37c5a8bd * [misc] Compatible with PHP8.4 2025-08-21 08:38:27 +08:00
liugang 49ebadd658 * [refac] Enhance the debug method to support variadic parameters. 2025-08-21 08:38:26 +08:00
liugang ea4f98c66f * [perf] Refactor search parameter caching: rename cacheSearchParams to cacheSearchFunc
- Rename method cacheSearchParams() to cacheSearchFunc() in framework/model.class.php
- Update parameter name from cacheSearchParams to cacheSearchFunc across execution and my modules
- Update corresponding test files and documentation comments
- Improve naming clarity to reflect that we're caching the function/method rather than just parameters
2025-08-18 16:24:23 +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 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 f7bdd4283d + [perf] Add a method to cache search parameters. 2025-08-18 09:09:09 +08:00
朱金勇 95feaeb607 * [misc] Compatible with PHP8.4 2025-08-08 08:59:48 +08:00
liugang f41faa5e7d * [refac] Enhance the debug method to support variadic parameters. 2025-08-07 12:01:09 +08:00
sunguangming 6ec9deacb1 * [misc] fix code error. 2025-08-06 15:22:16 +08:00
liugang d0ab2be6ba * [perf] Caching array count to improve performance. 2025-08-06 15:22:16 +08:00
sunguangming 328178eb9c * [misc] fix code error. 2025-08-04 01:33:08 +00:00
liugang 5a4dc90974 * [perf] Caching array count to improve performance. 2025-08-01 18:05:10 +08:00
zhujinyong afb31447a2 *[misc] Compatible with PHP 8.4 2025-07-24 16:36:59 +08:00
zhujinyong fc2482d739 *[misc] Compatible with PHP 8.4 2025-07-24 16:21:02 +08:00
zhujinyong 37c1ea739f * [refact] Adjusting ResponseEndException. 2025-07-22 15:12:00 +08:00
qixinzhi 49d415dee6 Merge branch 'release/21.7.4' into feature/task-report 2025-07-22 02:20:48 +00:00
刘刚 14048ca496 Merge branch dev/task-146709 of zentao/zentaopms (#10482) 2025-07-21 17:32:13 +08:00
daitingting cb11e095b5 * [task#146784,done,2h] Remove useless codes. 2025-07-18 16:16:54 +08:00
wangyidong 1aa5190eab * [refac] Fix for restart session. 2025-07-17 08:54:36 +08:00
wangyuting e9fc769f83 * [bug#63850,done,3h,0h] Adjust ajax get workflowGroups to autoload. 2025-07-15 09:31:58 +08:00
wangyidong c7b0192be6 * [refac] Adjust code for sonar. 2025-07-11 09:46:37 +08:00