Commit Graph

91 Commits

Author SHA1 Message Date
t8y2 5dabdb3985 chore(repo): move app tests under packages 2026-05-18 02:23:58 +08:00
t8y2 84018eae89 chore(repo): move deploy files under deploy 2026-05-18 02:20:30 +08:00
t8y2 db7fe76be7 fix(docs): install docs outside workspace 2026-05-18 01:11:36 +08:00
t8y2 70f55c5540 fix(ci): restore docs and package checks 2026-05-18 01:04:11 +08:00
t8y2 1917c0855b feat(cli): add dbx node packages 2026-05-18 00:53:06 +08:00
t8y2 19f7cbd2ba fix(docs): refresh release data from R2 2026-05-17 23:26:28 +08:00
t8y2 7c226ce684 fix(app): support portable data directory 2026-05-17 12:44:34 +08:00
t8y2 307f773387 ci(mcp): restore direct release publishing 2026-05-17 10:53:05 +08:00
t8y2 5476877b57 ci(mcp): create release PRs with PAT 2026-05-17 10:46:34 +08:00
t8y2 a1567d653e ci(mcp): release through pull requests 2026-05-17 10:44:29 +08:00
t8y2 c23c32b2b9 ci(mcp): require release token for protected main 2026-05-17 10:12:28 +08:00
t8y2 2cde398f16 ci(mcp): fix pnpm workspace install 2026-05-17 10:09:07 +08:00
t8y2 7d3f43058d ci(mcp): add automatic patch release 2026-05-17 10:06:32 +08:00
t8y2 181ce5e860 feat(docs): add changelog system, install tabs, and sync workflow
- Add ChangelogList component and changelog data fetcher
- Add platform icons for install tabs
- Add sync-changelog workflow (triggers on release publish)
- Add changelog sync script and releases-cn.json data
- Update InstallTabs and docs meta
2026-05-16 18:41:12 +08:00
t8y2 e9621ef06a Add TDengine support and editable grid handling 2026-05-16 11:33:42 +08:00
t8y2 6b31366b89 fix(ci): add QQ notify job to publish-packages workflow
GITHUB_TOKEN events don't trigger other workflows, so the release
promotion in promote-release never fired qq-notify.yml. Move the
notification inline as a dependent job.
2026-05-15 10:39:24 +08:00
t8y2 8305b9670f feat(ci): integrate Codecov for test coverage reporting 2026-05-14 20:33:26 +08:00
t8y2 6ea6e45bcd feat(ci): add Linux ARM64 build target (#272)
Add aarch64-unknown-linux-gnu to the release build matrix using
GitHub's native ARM runner (ubuntu-22.04-arm).
2026-05-14 18:55:30 +08:00
t8y2 4562646253 refactor(ci): make publish-packages manual with R2 upload before release promotion
- Remove automatic release event trigger, keep workflow_dispatch only
- Run R2 upload and homebrew/scoop publish in parallel
- Add promote-release job to convert prerelease to release after all uploads complete
2026-05-14 18:01:25 +08:00
t8y2 febfbdb5a5 feat: migrate all downloads to R2 CDN with race_download
- Remove update.hwdns.net proxy, add dl.dbxio.com R2 CDN
- Remove deprecated race_github_proxies, replace with race_download
- Update Tauri updater endpoints to prioritize R2
- Migrate update check, JDBC plugin download to race_download
- Add R2 upload job to publish-packages workflow
2026-05-14 16:45:55 +08:00
t8y2 26245514bb refactor: remove ODBC dependency entirely
DaMeng now uses JDBC agent instead of ODBC. Remove odbc-api crate,
ODBC_ENV static, unixodbc system dependency from CI, and ODBC library
bundling from macOS release builds. macOS no longer needs any brew
dependencies for development.
2026-05-13 05:27:56 +08:00
t8y2 01c4b744ef fix(updater): show real app version and release notes 2026-05-12 15:15:46 +08:00
t8y2 70db0aa62c refactor(ci): switch 1Panel appstore to community repo and manual trigger 2026-05-11 11:41:51 +08:00
t8y2 22453f9097 fix(ci): correct 1Panel appstore PR base branch and add release-note block 2026-05-11 10:24:05 +08:00
t8y2 6addbea72d test: 接入前端测试脚本 2026-05-10 22:32:01 +08:00
t8y2 417b74cc51 refactor(ci): trigger Homebrew/Scoop publish on release event
Move packages job from release.yml to publish-packages.yml, triggered
by release published/released events. Keeps workflow_dispatch as a
manual fallback. Now all external publishing (Homebrew, Scoop, 1Panel,
QQ notify) triggers at the same time: when a prerelease is promoted
to a full release.
2026-05-10 22:23:25 +08:00
t8y2 302835bebb refactor(ci): trigger 1Panel submission on release publish
Move 1Panel App Store submission from release.yml to a standalone
workflow triggered by release published/released events, matching
the same pattern as QQ notify.
2026-05-10 22:19:09 +08:00
t8y2 fdb9a5c4d3 feat(ci): add 1Panel App Store auto-submission
Add 1Panel app store configuration files (metadata, docker-compose
template, logo) and a release workflow job that automatically creates
a PR to 1Panel-dev/appstore on each release.
2026-05-10 22:16:07 +08:00
t8y2 10bfede1c7 feat(jdbc): add optional JDBC plugin support 2026-05-10 12:57:38 +08:00
t8y2 1c53e68269 ci(release): stabilize rust cache keys 2026-05-09 23:57:54 +08:00
t8y2 0d8f6c80bb fix(ci): strip markdown syntax from release QQ notification 2026-05-09 19:03:22 +08:00
t8y2 b1de40b1e5 chore(ci): remove auto-review workflow 2026-05-09 18:33:50 +08:00
t8y2 67bc43e997 build(release): 增加 Windows 绿色版压缩包 2026-05-09 17:42:27 +08:00
t8y2 0462e6c362 chore(ci): upgrade auto-review model to deepseek-v4-pro 2026-05-09 15:18:55 +08:00
t8y2 c9b171b863 fix(ci): handle prerelease-to-release transition notification 2026-05-09 13:10:23 +08:00
t8y2 519f18bfd9 feat(ci): add release notification and improve message formatting 2026-05-09 12:37:27 +08:00
t8y2 ae890092dd fix(ci): use pull_request_target for fork PR secret access 2026-05-08 16:07:48 +08:00
t8y2 1777e17353 fix(ci): use Python for robust JSON handling in auto-review 2026-05-08 16:00:31 +08:00
t8y2 6dc6e15ff3 ci: add auto PR review with DeepSeek 2026-05-08 15:40:49 +08:00
t8y2 53702984b1 ci: add QQ group notification for issues and PRs 2026-05-08 13:50:02 +08:00
t8y2 30b6c472ea ci: add manual Docker dev build workflow
Allows building and pushing a `dev`-tagged Docker image via
workflow_dispatch without affecting the official `latest` tag.
2026-05-08 12:20:31 +08:00
t8y2 9a7c12c65a fix: restore macOS frameworks to tauri.conf.json for proper bundling
TAURI_CONFIG env var merge did not apply frameworks to the bundler,
resulting in libodbc/libltdl missing from Contents/Frameworks/.

Restore frameworks in tauri.conf.json and skip them in dev mode via
build.rs when the dylibs are not present locally.
2026-05-07 22:14:01 +08:00
t8y2 aefb6bf0ef fix: prevent SELECT with REPLACE/TRUNCATE functions from triggering danger warning
The DANGER_RE regex matched keywords anywhere in the SQL text, causing
SELECT queries using REPLACE() or TRUNCATE() functions to incorrectly
trigger the destructive-SQL warning dialog. Check only the first keyword
of each semicolon-separated statement instead.

Also fix dialog content overflow by adding min-w-0 to the <pre> element,
and move macOS frameworks config from tauri.conf.json to CI-only
TAURI_CONFIG so local `tauri dev` no longer requires libltdl/libodbc
to be globally installed.

Closes #135
2026-05-07 19:07:41 +08:00
t8y2 484dc85114 fix: also bundle libltdl.7.dylib for macOS app
libodbc.2.dylib depends on libltdl.7.dylib (libtool). Rewrite its
install_name and the reference in libodbc to @rpath so both resolve
from Contents/Frameworks/ at runtime.
2026-05-07 18:46:09 +08:00
t8y2 fbcceb5781 fix: rewrite libodbc install_name so macOS app loads bundled library
The binary was linking against /opt/homebrew/opt/unixodbc/lib/libodbc.2.dylib
(absolute path). At runtime dyld refused to load it due to Team ID mismatch.
Use install_name_tool to set @rpath/libodbc.2.dylib before building, so the
linker records a relative path that resolves via Contents/Frameworks/.
2026-05-07 18:30:20 +08:00
t8y2 4973912666 fix: bundle libodbc into macOS app and improve update UX
- Bundle libodbc.2.dylib into .app/Contents/Frameworks/ via Tauri's
  macOS frameworks config to fix "app can't be opened" on macOS
- Replace relaunch() with exit(0) to avoid Tauri restart bug (#11392)
- Lock update dialog during download and after install
- Render release notes as markdown
2026-05-07 17:36:44 +08:00
t8y2 606019b86c ci: use macos-15-intel runner for x86_64 macOS builds
Replace cross-compilation approach with native Intel runner.
macos-15-intel is GitHub's official replacement for the retired
macos-13 runner, available for free on public repos until Aug 2027.
2026-05-07 14:28:40 +08:00
t8y2 63b7458347 ci: install x86_64 unixodbc for cross-compilation on ARM macOS
The ARM runner's Homebrew installs arm64 libraries, which can't link
when cross-compiling for x86_64. Use arch -x86_64 to install the
Intel version of unixodbc and set LIBRARY_PATH accordingly.
2026-05-07 14:14:43 +08:00
t8y2 89e9dde666 ci: replace deprecated macos-13 runner with macos-latest
macos-13 (Intel) runners have been retired by GitHub, causing the
x86_64-apple-darwin build job to queue indefinitely. Use macos-latest
(ARM) and cross-compile via --target instead.
2026-05-07 14:08:15 +08:00
t8y2 a0ceefd1ef fix(ci): use macos-13 for x86_64 build to resolve ODBC linking 2026-05-07 13:07:46 +08:00