Commit Graph
682 Commits
Author SHA1 Message Date
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
liugang e7161ecede * userModel: fix error of calling undefined property. 2023-12-19 13:31:08 +08:00
liugang e79487c1f7 * userModel: don't prepend vision before group name if the vision list doesn't include the vision. 2023-12-19 10:37:21 +08:00
liugang e57622486e * userModel: refactor the getWeakUsers method to check password with clear text. 2023-12-18 14:16:14 +08:00
liugang 8bf2aff2f1 * user: move the checkTmp method from model.php to zen.php bacause it's only used in zen.php. 2023-12-16 17:21:06 +08:00
liugang d16927814a * userModel: call time() function to simplify code. 2023-12-16 17:16:18 +08:00
liugang 57268b1425 + userModel: auto check whether the data format matches the database field settings. 2023-12-16 16:44:25 +08:00
liugang cefefaa98d + userModel: add comment of parameter. 2023-12-16 10:38:55 +08:00
liugang 47f7228d2e - userModel: remove the unused getListByAccount method. 2023-12-16 09:59:52 +08:00
liugang 6c1ee987b5 - userModel: remove default value of the accounts parameter. 2023-12-16 09:22:36 +08:00
liugang 0511fd15b3 * userModel: rename getByIdList method to getListByIdList. 2023-12-15 10:21:05 +08:00
liugang 60df0ee248 * userModel: call empty to check properties before batch create users. 2023-12-14 11:44:39 +08:00
liugang bb2415e657 * userModel: call empty to check email, phone and mobile of users. 2023-12-14 11:36:04 +08:00
liugang afe0376dce + userModel: check realname and visions before batch update users. 2023-12-14 11:35:01 +08:00
liugang b02a8ec554 * userModel: check realname, visions and password before batch create users. 2023-12-14 09:20:45 +08:00
liumengyi 7473a8b5ee * Optimize code. 2023-12-13 17:37:19 +08:00
liumengyi cb2a225d56 * Fix bug #41466, fix return type error. 2023-12-13 17:14:57 +08:00
liugang eb93e675ae * userModel: fix error of checking if a value exists in an array. 2023-12-13 10:15:10 +08:00
liugang bc29f6b913 * userModel: the access permission of methods is changed from private to public. 2023-12-12 16:18:46 +08:00
liugang 006dba837e * userModel: refactor the saveUserTemplate method. 2023-12-11 16:35:06 +08:00
liugang ad4abc0f5d * userModel: modify method comment and declare parameter type and return type of the isClickable method. 2023-12-11 15:06:27 +08:00
liugang b423f135db * userModel: modify method comment and declare parameter type and return type of the getUserTemplates method. 2023-12-11 15:03:25 +08:00
liugang f620a37dd4 * userModel: remove the unused getPersonalData method. 2023-12-11 14:55:51 +08:00
liugang 680d1a4941 * userModel: refactor the getListForGitLabAPI method. 2023-12-11 14:49:52 +08:00
liugang 7bf65d8920 * userModel: rename the getUserDetailsForAPI method to getListForGitLabAPI. 2023-12-11 14:42:22 +08:00
liugang 1dd1957419 * userModel: refactor the getCanCreateStoryUsers method. 2023-12-11 14:33:58 +08:00
liugang fba716d6b8 * userModel: refactor the checkTmp method. 2023-12-11 14:32:39 +08:00
liugang 1afa689bdd * userModel: refactor the checkPasswordStrength method. 2023-12-11 14:31:50 +08:00
liugang 1941ea7d9a * userModel: refactor the getWeakUsers method. 2023-12-11 14:30:39 +08:00
liugang 470fb5ad52 * userModel: declare parameter type and return type of the deleteContactList method. 2023-12-11 14:29:23 +08:00
liugang 055e7e8352 * userModel: refactor the updateContactList method. 2023-12-11 14:25:37 +08:00
liugang 06892fdb47 * userModel: refactor the createContactList method. 2023-12-11 14:24:31 +08:00
liugang b27030ef7f * userModel: modify method comment and declear parameter type and return type. 2023-12-11 14:22:01 +08:00
liugang 0837edb2cf * userModel: refactor the unbind method. 2023-12-11 14:18:23 +08:00
liugang 782fe249ed * userModel: refactor the cleanLocked method. 2023-12-11 14:17:46 +08:00
liugang 68a17d669c * userModel: refactor the checkLocked method. 2023-12-11 14:16:56 +08:00
liugang 30a3f269bb * userModel: refactor the failPlus method. 2023-12-11 14:15:55 +08:00
liugang e0f01932c3 - userModel: remove the unused setGlobalContacts method. 2023-12-11 10:56:25 +08:00
liugang 4541a8c84c * userModel: keep to one decimal place using the round function. 2023-12-11 09:53:46 +08:00
liugang 62a715aaf1 * userModel: remove unused parameters. 2023-12-11 09:42:18 +08:00
liugang d1b8bd3837 * userModel: split the getObject method into getProjects and getExecutions. 2023-12-08 22:24:33 +08:00
liugang 350944b189 * userModel: rename the processAccountSort method to setCurrentUserFirst. 2023-12-07 17:01:10 +08:00
liugang e3a7741b89 * userModel: refactor the processAccountSort method. 2023-12-07 16:56:18 +08:00
liugang d8ed5144ab * userModel: fixed an issue where 32-bit or 40-bit clear text passwords may fail to verify. 2023-12-07 16:37:01 +08:00
liugang 19e6c15e01 * userModel: refactor the identify method. 2023-12-07 16:31:59 +08:00
liugang c0d8e4fcfa + userModel: add method to identify user by account and password. 2023-12-07 16:30:39 +08:00
liugang 2ee263cafc + userModel: add method to check if need to modify password. 2023-12-07 16:29:39 +08:00