Commit Graph
1576 Commits
Author SHA1 Message Date
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
wangyidong 1c107d6d79 * [refac] Add #[\ReturnTypeWillChange]. 2025-07-11 09:46:37 +08:00
wangyidong e4916a60ee * [refac] Adjust code for sonar. 2025-07-09 09:52:44 +08:00
qixinzhi ae6e17179f Merge branch 'release/21.7.3' into feature/task-report 2025-07-09 00:39:48 +00:00
wangyidong 0eff0853f8 * [refac] Add #[\ReturnTypeWillChange]. 2025-07-08 13:23:16 +08:00
liugang ae7825a547 + [misc] add 2 methods to compress and uncompress id list. 2025-07-08 09:38:53 +08:00
zhujinyong 94c876426f * [misc] compatibility with PHP8.4. 2025-07-07 14:47:31 +08:00
qixinzhi eebd3c7f02 Merge branch 'feature/task-report' into feature/task-report-merge 2025-07-07 06:41:52 +00:00
wangyuting 06a213e7a7 Merge branch 'feature/projecttpl2.0' into release/21.7.3 2025-07-03 09:31:33 +08:00
sunguangming ced7fe9e0f * [task#145867,145866,done,0.5h] compatiable php8.2+. 2025-07-02 05:26:50 +00:00
wangyidong c7c9389960 * [refac bug #63719] Adjust session gc method. 2025-06-26 11:40:28 +08:00
wangyidong f7fb754184 * [refac bug #63705] Adjust call session_set_save_handler method. 2025-06-25 16:20:25 +08:00
刘刚 461e1e75fa Merge branch release/21.7.2 of zentao/zentaopms (#9892) 2025-06-25 11:02:53 +08:00
wangyidong 80a1b81fc4 * [refac bug #63603] no start session for xuanxuan. 2025-06-24 16:04:10 +08:00
wangyidong 624873ee8c * [refac bug #63598] revert to not implements SessionHandlerInterface. 2025-06-24 10:17:02 +08:00
wangyidong ce531aced9 * [perf story #75382] Adjust ztSessionHandler class. 2025-06-23 17:31:40 +08:00
wangyidong 7daa0bad40 * [perf story #75382] init session file. 2025-06-23 15:17:29 +08:00