Commit Graph
95402 Commits
Author SHA1 Message Date
liugang 0bb92c32d9 + [refac] load configuration of automatic caches from database. 2024-12-30 09:42:38 +08:00
liugang ffc037318c - [refac] remove unused cache configuration. 2024-12-30 09:42:38 +08:00
liugang 819cdff645 + [refac] add table to save configuration of automatic caches. 2024-12-30 09:42:38 +08:00
liugang 487a99d2a7 + [refac] cache unique indexes. 2024-12-30 09:42:38 +08:00
liugang 77e463b8d1 - [refac] remove unused methods. 2024-12-30 09:42:38 +08:00
liugang c83a1269a3 * [refac] fix typos. 2024-12-30 09:42:38 +08:00
liugang 921d115c6e * [refac] rename cache key. 2024-12-30 09:42:38 +08:00
liugang 468c9dab5b * [refac] get data from cache. 2024-12-30 09:42:38 +08:00
liugang e8d99c17da * [refac] calling getResCache method to get data from cache. 2024-12-30 09:42:38 +08:00
liugang 1a85d38b8a + [refac] add method to get team list from cache by type. 2024-12-30 09:42:38 +08:00
liugang 0b56a149fe + [refac] add method to get access control list from cache by object type. 2024-12-30 09:42:38 +08:00
liugang 65069a6de1 + [refac] add method to get calculation result cache. 2024-12-30 09:42:38 +08:00
liugang 1473c59af8 * [refac] modify the access permissions of method so that it can be called from other classes. 2024-12-30 09:42:38 +08:00
liugang a1b201aae2 + [refac] add cache configuration. 2024-12-30 09:42:38 +08:00
liugang 41d93f5459 Revert "* [refac] using delete and insert operations instead of replace operation." 2024-12-30 09:42:38 +08:00
liugang 6622af6996 * [refac] fix syntax error. 2024-12-30 09:42:38 +08:00
liugang df81b6f5fe + [refac] convert replace operation to delete and insert operations. 2024-12-30 09:42:38 +08:00
liugang 7dd3993a98 + [refac] add a method to get unique indexes of a table. 2024-12-30 09:42:38 +08:00
liugang 6d229f2b09 * [refac] fetch stakeholder from cache. 2024-12-30 09:42:38 +08:00
liugang 9ead5ecaa9 + [refac] add cache configuration of table stakeholder. 2024-12-30 09:42:38 +08:00
liugang 85964e48c7 * [misc] remove extra spaces. 2024-12-30 09:42:38 +08:00
liugang 471d02eda4 + [refac] add index on objectType field. 2024-12-30 09:42:38 +08:00
liugang e7f58ecd36 * [refac] enhanced security. 2024-12-30 09:42:38 +08:00
liugang 7c1cb1f2dd * [refac] add script to convert unique indexes to php array. 2024-12-30 09:42:38 +08:00
liugang 0a3cfb49cf * [refac] rollback transaction if there's dao error. 2024-12-30 09:42:38 +08:00
liugang a14b1472ce + [refac] use transaction to prevent threads from writing database at the same time. 2024-12-30 09:42:38 +08:00
liugang b569955668 * [refac] get opened sprints in projetc from cache. 2024-12-30 09:42:38 +08:00
liugang edd37f38c4 * [refac] cache the project field. 2024-12-30 09:42:38 +08:00
liugang c224bbfbc2 * [refac] get projects from cache instead of query from database. 2024-12-30 09:42:38 +08:00
liugang 289e1f1e0a + [refac] add a method to get projects by acl. 2024-12-30 09:42:38 +08:00
liugang 05afc55b9b + [refac] add cache configuration. 2024-12-30 09:42:38 +08:00
liugang 546a776dc9 * [refac] replace dao query with methods. 2024-12-30 09:42:38 +08:00
liugang f72a6096ad * [refac] fix error of calling method get() on bool when cache is off. 2024-12-30 09:42:38 +08:00
liugang 0e53b3bcb4 * [refac] fix error of calling undefined method. 2024-12-30 09:42:38 +08:00
liugang 57b07ade07 + [refac] add a method to get projects by acl. 2024-12-30 09:42:38 +08:00
liugang 19077ce031 + [refac] add method to get products by acl. 2024-12-30 09:42:38 +08:00
liugang 1f91ca0f95 + [refac] add cache configuration. 2024-12-30 09:42:38 +08:00
liugang 2cbdfe3ed1 * [refac] add id field as primary key. 2024-12-30 09:42:38 +08:00
liugang 844f89c051 * [refac] replace dao with mao to fetch records from cache. 2024-12-30 09:42:38 +08:00
liugang 52cded6a8f * [refac] add configuration to cache the table zt_userview. 2024-12-30 09:42:38 +08:00
liugang e806a23761 * [refac] using delete and insert operations instead of replace operation. 2024-12-30 09:42:38 +08:00
liyang 91fa77d95d * [task#134807] add metric lang. 2024-12-30 08:50:29 +08:00
liyang 744e573dab * [task#134807] add count_of_code_commits_in_repo method. 2024-12-30 08:50:29 +08:00
liyang 7344bd2d50 * [task#134807] add count_of_code_commits_in_repo method. 2024-12-30 08:50:29 +08:00
liyang 4f206493de * [task#134821] add count_of_avtive_repo method. 2024-12-30 08:50:29 +08:00
liyang 4e1c381f09 * [task#134821] add count_of_avtive_repo method. 2024-12-30 08:50:29 +08:00
liyang 0f718476f9 * [task#134807] add count_of_user_code_commits_in_repo method. 2024-12-30 08:50:29 +08:00
liyang 343508e4a7 * [task#134807] add count_of_user_code_commits_in_repo method. 2024-12-30 08:50:29 +08:00
liyang 09d04ccacb * [task#134805] fix rate_of_success_pipeline metric. 2024-12-30 08:50:29 +08:00
liyang 016f880c3b * [task#134817] add avg_of_compile_time_pipeline metric. 2024-12-30 08:50:29 +08:00