Commit Graph
638 Commits
Author SHA1 Message Date
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
liugang 3cafc6e7b0 * userModel: add parameter type and return type of the login method. 2023-12-07 16:27:48 +08:00
liugang 32d09b6a62 * userModel: add keepLogin parameter to the login method. 2023-12-07 16:27:11 +08:00
liugang 09e77b60ec * userModel: modify comment of the login method. 2023-12-07 16:25:39 +08:00
liugang 26f673985c * userModel: refactor the keepLogin method. 2023-12-07 15:26:24 +08:00
liugang a52dbb81f8 * userModel: refactor the isLogon method. 2023-12-07 15:24:50 +08:00
liugang 72f5ad77f9 * userModel: add parameter type, return type and commit of the getGroups method. 2023-12-07 15:23:29 +08:00
liugang 03380eba66 * userModel: refactor the identifyByCookie method. 2023-12-07 14:44:09 +08:00
liugang be5c46e46d * userModel: refactor the identifyByPhpAuth method. 2023-12-07 14:05:12 +08:00
liugang 052dc72cfe * userModel: refactor the updatePassword method. 2023-12-07 14:04:21 +08:00
liugang 71c68f9a29 * userModel: refactor the getByQuery method. 2023-12-07 14:00:48 +08:00
liugang 3c81b7ec8b * userModel: refactor the getById method. 2023-12-07 14:00:12 +08:00
liugang a02010000c * userModel: refactor the getUserRoles method. 2023-12-07 13:58:56 +08:00
liugang 1582220455 * userModel: refactor the getRealNameAndEmails method. 2023-12-07 13:58:10 +08:00
liugang 3ca99c6658 * userModel: refactor the getCommiters method. 2023-12-07 13:57:23 +08:00
liugang 3b7d08b97b * userModel: refactor the getAvatarPairs method. 2023-12-07 13:55:16 +08:00
liugang 786a112774 * userModel: refactor the getList method. 2023-12-07 13:54:44 +08:00
liugang 823b377b90 * userModel: modify method comment. 2023-12-07 13:52:58 +08:00
liugang c59ec04567 * userModel: rename the checkBeforeBatchEdit method to checkBeforeBatchUpdate. 2023-12-07 13:49:27 +08:00
liugang 9681527b5a * userModel: the access permission of the method is changed from public to private. 2023-12-07 13:48:51 +08:00
liugang 9bcd96bd7d * userModel: refactor the resetPassword method. 2023-12-07 13:25:36 +08:00
caoyanyi 8e17266f28 * Update commit link info. 2023-12-06 13:42:44 +08:00
liugang 45f31d796f - userModel: remove unused getUserDisplayInfos method. 2023-12-06 11:13:28 +08:00
liugang c2620ba061 * Move the updateSessionRandom method from userModel to helper. 2023-12-05 16:54:47 +08:00
liugang 612701b58a * user: move functions which used to check the post data from zen to model. 2023-12-05 15:42:33 +08:00
caoyanyi a33ad4ad71 * Update copyright year. 2023-12-05 13:32:52 +08:00
liugang 22bae254a4 * Move the getVisionList method from user/model.php to helper.class.php and rename it to getVisisons. 2023-12-04 16:15:42 +08:00
liugang 9504582934 * userModel: refactor the su method and add script to test it. 2023-12-04 16:00:00 +08:00
liugang 72c07de7f0 * user: move the getFeatureBarMenus method from model to zen and refactor it. 2023-12-04 14:55:04 +08:00
liugang 648fd7f739 - userModel: delete unused setUserList method. 2023-12-04 08:38:16 +08:00
liugang c45268f473 * userModel: refactor the getGroupsByVisions method. 2023-11-29 11:27:18 +08:00
liugang 68492bb508 - userModel: remove unused getContactUserPairs method. 2023-11-29 10:49:46 +08:00
liugang bd8505fa47 * userModel: refactor the getContactLists method. 2023-11-29 10:46:59 +08:00
liugang cfb73aaea0 * userModel: refactor the resetPassword method. 2023-11-28 10:19:10 +08:00
liugang 99360b42a2 * user: move the getDataInJSON method from model to zen and refactor it. 2023-11-28 08:59:31 +08:00
liugang d23ff1b127 * userModel: log detail history when edit a user. 2023-11-27 10:12:28 +08:00
liugang d85b68088f * userModel: rename the batchEdit method to batchUpdate and refactor it. 2023-11-27 10:11:50 +08:00
liugang 1bd46e6297 * userModel: return after rollback database operation. 2023-11-25 17:24:37 +08:00
liugang a1e75fc17e * userModel: remove unused $type parameter of batchCreate method. 2023-11-25 17:23:49 +08:00
liugang 9b4b0a11d9 + userModel: add a method to get users by id list. 2023-11-25 16:11:15 +08:00
liugang dc2a614dbc * user: remove unused verifyRand field. 2023-11-25 16:10:13 +08:00
liugang 1c278a17ec * userModel: refactor code to remove unavailable contact fields from required fields when edit a user. 2023-11-25 14:52:52 +08:00
liugang e630799279 * userModel: smiplify code to process required fields when create a user. 2023-11-25 14:38:48 +08:00
liugang 38758ce5fe * userModel: create a company when the user type is outside and passed the new property. 2023-11-25 14:37:02 +08:00
liugang e2d65ba85a * userModel: call the rollback method in parent class instead of the rollback method in dao class. 2023-11-25 14:34:03 +08:00