154 Commits
Author SHA1 Message Date
liugang 7eaf0e84a7 * [refactor] Refactor SQL processing for database installation and upgrade
- Extract SQL processing methods to install model for better reusability
- Add replaceContantsInSQL() and appendMySQLTableOptions() public methods
- Unify SQL constants replacement across installation and upgrade modules
- Remove duplicate SQL processing code in extension and upgrade models
- Fix __TABLE__ to __DATABASE__ in zentao.sql for consistency
- Improve code maintainability and reduce duplication
2025-11-24 16:17:02 +08:00
liugang 586391d449 * [fix] Fix CREATE TABLE SQL parsing and ensure ENGINE=InnoDB for MySQL tables
- Fix SQL parsing logic in extension/model.php to properly handle table definitions
- Fix SQL parsing logic in install/model.php to properly handle table definitions
- Ensure ENGINE=InnoDB is explicitly set for MySQL CREATE TABLE statements in upgrade/model.php
- This addresses potential issues with table creation and ensures consistent InnoDB engine usage
2025-11-24 16:17:02 +08:00
liugang 789def3fe7 * [perf] Move getDatabaseCharsetAndCollation() call outside the foreach loop to improve performance. 2025-11-24 16:17:02 +08:00
liugang ef056ceab0 * [misc] Add = in sql statement to set character set and collation. 2025-11-24 16:17:01 +08:00
liugang 6e82125d12 * [refac] Simplify charset handling in database table creation. 2025-11-20 18:16:33 +08:00
liugang 998e7bff36 * [misc] Set collation when creating tables in MySQL or MairaDB. 2025-11-04 15:33:53 +08:00
liugang c4536d94e2 * [bug#66211] Display the license agreement during installation. 2025-10-17 09:02:54 +08:00
朱金勇 ca8f6dd82a + [highgo] Add install functions. 2025-10-11 08:42:21 +08:00
sunguangming 12c4b1a4f2 * [bug#63254,done,0.2h] fix bug. 2025-06-12 05:38:52 +00:00
wangyidong 37bace413f * [unittest] Fix install module expect. 2025-06-06 15:06:29 +08:00
tianshujie 87c19669b4 * [ci,done,0.1h] fix execdmsql unit test error. 2025-06-04 17:15:16 +08:00
liugang ff6493b39f * [misc] fix that the MySQL Server supported utf8 charset since the version 4.1.0. 2025-03-24 09:22:11 +08:00
tianshujie b68138428a * [bug#55696,done,1h] fix install zentao error when the db prefix isn't 'zt_'. 2025-01-17 11:12:33 +08:00
wangyidong a7528a9c1b * [perf] Adjust for oceanbase. 2025-01-08 10:55:14 +08:00
wangyidong 41d61e05a6 * 2025-01-07 17:01:04 +08:00
liugang 55c99fad60 * [refac] fix error the apcu cache can't work. 2024-12-13 13:58:37 +08:00
liugang 19cb0049d1 * [refac] modify replace to insert. 2024-11-20 15:42:49 +08:00
liugang adcf3b0caa * [refac] refactor method to enable cache by apcu after installed. 2024-11-20 15:42:49 +08:00
qixinzhi 8b1569afa2 * [misc,0.5h] add dm function. 2024-07-15 09:51:05 +08:00
qixinzhi 612a42acba * [story#60085,0.5h] remove duckdb check of install and upgrade. 2024-07-15 09:51:05 +08:00
liugang f6b573ec62 * [refac] call insert function instead of replace function. 2024-07-10 13:26:25 +08:00
songchenxuan f51afd3c9f * [bug#52421,done,0.5h] do not insert pivot and chart in dm. 2024-07-09 15:55:49 +08:00
qixinzhi 0b00cc5b1c * [story#59956,0.5h] add generateParquetFile for install and upgrade. 2024-07-09 11:15:43 +08:00
wangyidong 68ce0e21bb * Fix bug #52221. 2024-07-05 15:55:43 +08:00
liugang 3c3acb348d - installModel: remove unused method. 2024-06-04 14:20:12 +08:00
liugang 8147db5605 + installModel: enable dao cache by if apcu is enabled. 2024-06-04 14:20:12 +08:00
wangyidong 0d3a9f459c * Optional load APCu extension when install. 2024-06-04 14:20:12 +08:00
qixinzhi 9a99666f02 * Fix replace with back quote. 2024-05-24 16:18:07 +08:00
liumengyi cc449b7586 * Fix bug #50078, check account. 2024-05-23 14:22:15 +08:00
qixinzhi 4dc0af4465 * Add built-in metric sql for install and upgrade. 2024-05-21 08:39:56 +00:00
qixinzhi 11c844e638 * Add builtin screen for install. 2024-05-14 02:43:49 +00:00
qixinzhi 8509b73f00 * Add import bi data in step 5. 2024-05-11 05:43:59 +00:00
liumengyi db8c3de356 * Modify installModel::grantPriv, and modify its unit test. 2024-01-02 09:43:23 +08:00
xieqiyu 4d140a3810 * Refactor install:step5. 2023-12-21 15:38:43 +08:00
xieqiyu a04965ac94 * Fix the bug of clearDB when install. 2023-12-21 14:40:05 +08:00
wangyuting db363db60f * Finish builddblogfile and execdmsql and grantpriv function unit test script. 2023-12-18 19:22:44 +08:00
wangyuting f11e9e468f * Splitting functions into install zen. 2023-12-18 16:32:01 +08:00
wangyidong 7182560c55 * Fix bug #41610. 2023-12-16 09:44:13 +08:00
caoyanyi 8e17266f28 * Update commit link info. 2023-12-06 13:42:44 +08:00
caoyanyi a33ad4ad71 * Update copyright year. 2023-12-05 13:32:52 +08:00
songchenxuan 53f2bcfed9 * Merge commit 853ccb4e07. 2023-11-09 14:54:18 +08:00
songchenxuan 806ac50787 * Merge commit 4acd253052. 2023-11-09 14:51:28 +08:00
songchenxuan ae3a249784 * Merge commit 8c9d50f02f. 2023-11-09 14:50:35 +08:00
tanghucheng 624d748ba4 * Merge #ffd2b525c8,Change judgment condition. 2023-11-08 22:17:40 -05:00
tanghucheng 61e3406c41 * Merge #5c4de275a4, Add admin vision for install. 2023-11-02 02:15:28 -04:00
caoyanyi 035fe9a60f + Add devops platform install page. 2023-10-25 08:59:13 +08:00
wangyidong 4f4a0e8169 * Adjust for show table progress when install table. 2023-10-19 17:28:11 +08:00
zenggang e066443aae * Finish task#99547 2023-08-07 02:32:33 +00:00
liumengyi 5c5ab19d95 * Refactor ui of install::step5. 2023-08-01 17:21:08 +08:00
hufangzhou 4e05ed02ed * Finish task #91015. 2023-04-11 15:31:58 +08:00