mirror of
https://github.com/team-ide/teamide.git
synced 2026-04-27 03:25:49 +03:00
[PR #211] 达梦数据库schema不完整问题修复,直接使用sql进行查询而非直接go-tool,另ssh会话超时采用隐藏式心跳交互,使用更优雅 #213
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/teamide-team-ide#213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/team-ide/teamide/pull/211
Author: @ixxxk
Created: 11/11/2025
Status: 🔄 Open
Base:
main← Head:main📝 Commits (9)
f6e0a1d达梦数据库,显示出来的库不完整问题修复1f53d44ssh远程连接空闲自动发送(防止会话超时)采用隐藏式处理,前端不再频繁显示^C,影响使用体验,并不做日志记录,不影响使用上下键进行命令切换e028a39达梦数据库支持ssh隧道ebc1222internal/module/module_elasticsearch/api.go (line 263) 的 getMapping 逻辑改为通过新 helper,避免继续调用旧的 service.GetMapping(该方法始终访问 /{index}/_mapping/_all,在 ES 8 会报 400)。1a69f6epgsql未配置DbName或配置为默认初始化数据库时,先展示所有schema,然后分别使用,而不是每个连接必须配置一个DbName,使用起来很不灵活,很不优雅f74d30a终端连接增加临时ANSI 渲染,方便ls等命令,直观看到文件夹或文件等类型的区分,也更美观0a60720fix8e22842当前 ES 的 like 是用 wildcard query 做的,而 wildcard 不走分词/不做大小写归一,并且默认 大小写敏感。如果 mem_name 是 text 并经过 lowercase 分词(常见),索引里实际 term 可能是 cqtany,所以你用 CQTany 匹配不到;但中文(如 秀)没有大小写差异,所以能匹配上。6e952ad重构like,改为类似mysql的like '%xxxxx%'📊 Changes
11 files changed (+915 additions, -64 deletions)
View changed files
📝
internal/context/create.go(+3 -1)📝
internal/module/module_database/api.go(+356 -32)📝
internal/module/module_elasticsearch/api.go(+75 -2)➕
internal/module/module_elasticsearch/search_like_fix.go(+245 -0)➕
internal/module/module_elasticsearch/search_like_fix_test.go(+53 -0)📝
internal/module/module_id/id.go(+21 -0)📝
internal/module/module_toolbox/api_toolbox.go(+2 -0)📝
internal/module/module_toolbox/toolbox.go(+39 -8)📝
internal/module/module_toolbox/worker.go(+19 -1)📝
pkg/ssh/shell.go(+19 -18)📝
pkg/ssh/terminal_work.go(+83 -2)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.