3x-ui/frontend/src/pages
MHSanaei a07c7b7f4e
feat(migrate-db): SQLite <-> .dump conversion and Download Migration in Overview
Binary: extend the migrate-db subcommand with --dump and --restore so a
SQLite database can be exported to a portable SQL text dump and rebuilt from
one, alongside the existing --dsn PostgreSQL copy. Implemented in Go via the
bundled sqlite driver (new database/dump_sqlite.go); no external sqlite3 client
is required. Add ExportPostgresToSQLite (reverse of MigrateData) to build a
SQLite .db from live PostgreSQL data, reusing the shared copyAllModels helper.

Overview: add a "Download Migration" item to Backup & Restore plus a
getMigration endpoint/service that returns a .dump on SQLite or a .db on
PostgreSQL, so the data can seed a panel on the other backend. Document the
endpoint in api-docs and translate the three new strings across all locales.

Tests: cover the destination-side copy (AutoMigrate + copyTable into SQLite)
and the dump/restore round-trip including quoted values. Ignore *.dump.

The x-ui.sh helper that drives this from the CLI is in PR #4910.
2026-06-04 15:32:22 +02:00
..
api-docs feat(migrate-db): SQLite <-> .dump conversion and Download Migration in Overview 2026-06-04 15:32:22 +02:00
clients fix(clients): use client_inbounds link to resolve inbound, not stale id 2026-06-03 13:42:32 +02:00
groups fix(ui): exit infinite spinner with a retry card on failed initial load 2026-06-01 07:43:32 +02:00
inbounds feat(tls): add ocspStapling to certificate config 2026-06-03 17:49:36 +02:00
index feat(migrate-db): SQLite <-> .dump conversion and Download Migration in Overview 2026-06-04 15:32:22 +02:00
login feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
nodes chore(frontend): bump deps to 0.2.7 and hide node row selection for single node 2026-06-03 12:33:10 +02:00
settings fix(api-token): hash tokens at rest and show plaintext only once 2026-06-03 22:57:50 +02:00
sub feat(settings): move the remark model control to the subscription tab 2026-06-03 02:45:16 +02:00
xray feat(xray): add connIdle and bufferSize policy controls 2026-06-03 21:52:37 +02:00