Commit Graph
728 Commits
Author SHA1 Message Date
caoyanyi bd38379f8c Merge branch 'release-20.0.stable' 2024-03-15 21:14:04 +08:00
tianshujie 2c47eb1939 * Fix bug #47035. 2024-03-15 16:54:21 +08:00
sunhao 6f11a685b9 * user: fix property undefined error. 2024-03-15 15:33:35 +08:00
wangyuting 5a45f4d024 * Add ajaxprinttemplates function. 2024-03-06 14:37:52 +08:00
liumengyi 100206c2a0 * Change userModel::getProductMembers from private to protected, it's used in excel. 2024-03-04 10:07:40 +08:00
liumengyi bed23c698b * Change userModel::getProductMembers from private to protected, it's used in excel. 2024-03-01 11:02:11 +08:00
朱金勇 561f53ccc2 * Fix sql for dmdb. 2024-01-24 16:42:51 +08:00
liumengyi 689701d010 - Remove groups field from zt_project, and remove userModel::mergeObjectGroupsToUserView. 2024-01-23 17:09:21 +08:00
liumengyi 671691c1e9 * Fix bug of priv initialization function of object groups. 2024-01-23 09:53:17 +08:00
liumengyi 87aa57b5a6 * Add whitelist groups to project, and add its priv initialization function. 2024-01-22 13:50:14 +08:00
朱金勇 c8c7354a5a * Fix identifyByCookie for check modifyPassword. 2024-01-16 16:21:19 +08:00
tianshujie 92000d22f6 * Fix bug #41199. 2024-01-04 16:32:04 +08:00
liumengyi 35f4744c61 * Fix bug #43189. 2024-01-04 16:29:15 +08:00
tianshujie 90beee3cc4 * Fix bug #41199. 2024-01-04 16:19:25 +08:00
caoyanyi d666acac54 * Adjust save rule for code commit. 2023-12-28 17:17:58 +08:00
wangyuting bdae4f0c36 * Adjust user unit test `` to ~~. 2023-12-26 14:20:59 +08:00
liugang 368befc151 * userModel: remove unused parameters when calling fetchExtraUsers method. 2023-12-22 19:52:01 +08:00
liugang 90249b7bd1 * userModel: refactor the fetchExtraUsers method. 2023-12-22 19:47:59 +08:00
liugang 84c0f42447 * userModel: call fetchPairs to simplify code. 2023-12-22 16:02:06 +08:00
liugang 379ac65a5c - userModel: remove unused code of calling computeUserView method. 2023-12-22 15:48:57 +08:00
liugang c4c1ca1290 * userModel: return false if the new groups are same as the old groups. 2023-12-22 15:47:42 +08:00
wangyuting 5b2fadc259 * Optimize user model. 2023-12-22 15:08:18 +08:00
wangyuting d7ea0d484e * Optimize user::computeUserView. 2023-12-22 14:49:20 +08:00
tianshujie 4bfded2301 * Fix bug #42192. 2023-12-22 14:44:00 +08:00
liugang d1b1cdf8f3 * userModel: return false if the new account is different from the old account. 2023-12-22 11:25:46 +08:00
liugang 1fe64e57b0 + userModel: return false if the passed parameters are empty. 2023-12-22 11:06:41 +08:00
wangyuting 2435047be6 * Adjust teamsGroups to teamsGroup. fix the bug #42184. 2023-12-22 09:13:26 +08:00
wangyuting 1857c51870 * Refactor userModel::getTeamMemberPairs. 2023-12-21 18:20:00 +08:00
wangyuting 3f8688450c * Refactor userModel::getProductViewListUsers. 2023-12-21 17:24:38 +08:00
wangyuting 5b2528b953 * Refactor userModel::checkSprintAuthed. 2023-12-21 17:04:17 +08:00
wangyuting 72ea5237cc * Refactor userModel::checkProgramPriv. 2023-12-21 17:01:05 +08:00
wangyuting 2fdf2cd18b * Refactor userModel::checkproductpriv. 2023-12-21 16:55:08 +08:00
wangyuting bc16df6cb2 * Refactor checkproductpriv and checkprogrampriv and checkprojectpriv and checksprintpriv. 2023-12-21 16:20:31 +08:00
wangyuting cf39d5b216 * Refactor userModel::updateUserView and finish unit test script. 2023-12-21 15:06:25 +08:00
liugang 60ea1746be * userModel: modify the $passwordStrength parameter's type to integer. 2023-12-21 14:24:14 +08:00
chaideqing 2b32f25e29 * Fix bug #42087. 2023-12-21 02:59:07 +00:00
liugang 5c80cd2db2 * userModel: check account property of user object to judge if it's empty. 2023-12-21 10:48:50 +08:00
wangyuting 6360168976 * Adjust authorize unit test script. 2023-12-20 19:28:53 +08:00
liugang 7bd006a280 * userModel: fix bugs found by unit testing. 2023-12-20 19:12:24 +08:00
liugang 63795a0bb7 * userModel: remove the unused unset() statement. 2023-12-20 18:38:03 +08:00
liugang 876f0a9da8 * userModel: check if the properties of user match field settings in database. 2023-12-20 18:36:52 +08:00
liugang 7589645860 + userModel: return false if the passed $users parameter is empty. 2023-12-20 18:35:21 +08:00
wangyuting 23a673db58 * Refactor upgradeModel::grantUserView and finish unit test script. 2023-12-20 16:59:46 +08:00
wangyuting b71da2d1bd * Refactor userModel::getProductMembers and fix computeuserview unit test bug. 2023-12-20 15:26:05 +08:00
liugang 943a6adbe2 * userModel: fix errors found by unit testing. 2023-12-20 14:52:44 +08:00
wangyuting e3cb113d28 * Refactor userModel::computeUserView and finish unit test script. 2023-12-20 09:55:23 +08:00
wangyuting dc13578f77 * Refactor userModel::getParentStageAuthedUsers and finish unit test script. 2023-12-19 15:20:36 +08:00
wangyuting 0bf13958ed * Refactor userModel::authorize and finish unit test script. 2023-12-19 15:03:35 +08:00
liugang 7eb13b19cf * userModel: modify return type in method comment. 2023-12-19 14:34:32 +08:00
wangyuting 09312d0034 * Fix bug where project priv overwrite user priv. 2023-12-19 14:11:40 +08:00