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
zhujinyong
94c876426f
* [misc] compatibility with PHP8.4.
2025-07-07 14:47:31 +08:00
liugang
8c7fa0e6cc
* [refac] don't exlucde text fields in framework/model.class.php.
2024-12-03 16:49:06 +08:00
liugang
c8bd87698c
* [refac] replace dao with mao.
2024-11-20 15:42:49 +08:00
朱金勇
1b01378120
* [perf] Fix error.
2024-11-20 15:42:49 +08:00
liugang
7df002e23d
- [perf] remove unused code of redis.
2024-11-20 15:42:49 +08:00
wangyidong
d8d39e6f51
* [perf story #67964 ] Add groupID for work flow.
2024-10-12 16:37:28 +08:00
wangyidong
bbbb0a82f4
* [perf story #67949 ] Add groupID for execute hook.
2024-10-12 08:51:14 +08:00
sunguangming
8d18d978b9
* [task#129303,done,0.2h] rename func.
2024-09-26 09:26:35 +08:00
wangyidong
bcda8593a7
* [perf story #63514 ] Adjust for get uiID in framework.
2024-08-27 08:52:33 +08:00
dingguodong
8a318a66d0
+ [task#121999] Enable redis.
2024-06-28 16:59:08 +08:00
sunguangming
f83f00f61f
Merge branch 'main' into feature/epic
2024-06-20 07:04:51 +00:00
wangyidong
cf5fbd878f
* [perf bug #50860 ] ignore fetch flow when upgrade or install.
2024-06-11 16:49:23 +08:00
sunguangming
79476cb051
* Story use status list by type.
2024-04-09 17:28:16 +08:00
sunguangming
28970279a7
* Code for story status.
2024-03-04 13:01:30 +08:00
wangyuting
7b4b2b820b
* Add required function for old view pages.
2024-02-29 14:39:12 +08:00
liugang
f144b7df18
* framework: check the property before calling it.
2024-02-20 16:20:55 +08:00
wangyidong
9a50bb271a
* Refactor mail model.
2023-12-20 19:26:19 +08:00
sunguangming
5f469c56b3
* Remove useless code.
2023-11-28 10:03:30 +08:00
liugang
c317dc98d7
+ framework model: add method to rollback database operations and return false.
2023-11-25 14:09:08 +08:00
songchenxuan
fe3c2de13f
* Merge commit dc31210bfb.
2023-11-10 10:39:29 +08:00
liugang
e7fcff7ae2
* model: sort methods.
2023-11-07 16:49:50 +08:00
liugang
3a9824a576
+ model: return false if the $id parameter is empty.
2023-10-17 16:11:14 +08:00
朱金勇
6948740e1d
* Migrate changes from 18.x to master.
2023-10-12 08:42:59 +00:00
wangyidong
4f0b716a01
* Rewrite story view page. Code for task #102973 .
2023-09-27 15:01:26 +08:00
tianshujie
cd3269c543
* Refactor delete an execution method.
2023-09-07 11:15:25 +08:00
tianshujie
0b44f74b68
* Fixed an issue where the objectType was incorrect when deleting.
2023-09-07 11:03:57 +08:00
dingguodong
bfad848bee
* Rename ACTIONMODEL to actionModel.
2023-09-07 09:35:38 +08:00
dingguodong
559a6971d1
* Remove unnecessary parameter.
2023-09-07 09:35:38 +08:00
wangxuepeng
6a892e2c11
* Refactor action control create method.
2023-08-29 08:07:59 +00:00
tianshujie
7d35e336b5
+ Add fetchByID method.
2023-08-29 11:21:29 +08:00
wangyuting
d501327cec
* Add afterCreate function from create bug.
2023-05-31 15:02:58 +08:00
朱金勇
cb5b5bb2c5
- Remove unused local variable.
2023-05-25 03:00:16 +00:00
hufangzhou
dc8fcc9484
* Merge 18.4 into master.
2023-05-05 09:26:04 +08:00
wangyidong
901fc68f3c
* adjust for change bizVersion to edition.
2023-04-24 17:00:52 +08:00
鲁飞
045289d4c7
* Support PHP8.1.
2023-04-23 11:21:09 +00:00
Guan Xiying
c220eda19e
* Extend the loadTao function to be compatible with the codes merged
...
from ZDOO.
2022-10-26 11:21:06 +08:00
Guan Xiying
646e61e3db
* Revert the loadModel function.
2022-10-26 11:07:19 +08:00
Guan Xiying
a769caa8c5
* Get module name by preg_match.
2022-10-20 14:24:30 +08:00
Guan Xiying
86df3868fb
* Refactor the magic method to support call static method. Only static
...
methods of classes declared in a zen file or an ext zen file or a tao
file or an ext tao file can be called.
2022-10-20 10:28:35 +08:00
Guan Xiying
1cbb4546fd
* If the method is callable return its result else trigger error.
2022-10-20 10:25:46 +08:00
Guan Xiying
83cf9f8aa5
* Fix bug called a object by the loadModel function in another module.
2022-10-20 10:21:13 +08:00
Guan Xiying
50c2fd653c
* Simplify the codes to load the tao file by the loadModel function.
2022-10-19 16:36:22 +08:00
Guan Xiying
01ac19f6e5
* Fix bug of load zen and tao.
2022-10-18 17:19:18 +08:00
Guan Xiying
8d961926a4
* Adjust the comments.
2022-10-18 16:45:52 +08:00
Guan Xiying
b9b8b6e584
* Add functions to call the methods declared in the zen files and the tao files.
2022-10-18 16:32:26 +08:00