Commit Graph
12617 Commits
Author SHA1 Message Date
Diego Imbert 63013f4e58 fix default value 2026-03-27 18:12:22 +01:00
Diego ImbertandClaude Opus 4.5 ad0db6c1c0 fix: validate dbname with strict regex to prevent SQL injection
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 17:35:07 +01:00
Diego Imbert 3abb400ba8 Revert "refactor: reuse columnDefToTableEditorValuesColumn for default value handling"
This reverts commit bd8f071d9f.
2026-03-27 17:27:33 +01:00
Diego Imbert 2a67b96719 Revert "fix: store raw API schema in forked_from to avoid double transformation"
This reverts commit e326197a20.
2026-03-27 17:27:13 +01:00
Diego ImbertandClaude Opus 4.5 e326197a20 fix: store raw API schema in forked_from to avoid double transformation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 17:05:45 +01:00
Diego ImbertandClaude Opus 4.5 bd8f071d9f refactor: reuse columnDefToTableEditorValuesColumn for default value handling
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 16:17:53 +01:00
Diego Imbert e4b7e2bf97 Revert "fix: wrap PG default value expressions in braces to prevent CAST quoting"
This reverts commit 77f5a2c4e8.
2026-03-27 16:08:08 +01:00
Diego ImbertandClaude Opus 4.5 77f5a2c4e8 fix: wrap PG default value expressions in braces to prevent CAST quoting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 16:06:24 +01:00
Diego ImbertandClaude Opus 4.5 af56dece5b fix: check datatable resource_type from config instead of URL prefix
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 15:34:01 +01:00
Diego ImbertandClaude Opus 4.5 fbc07603a7 fix: always clean up global_settings even if database doesn't exist
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 15:26:58 +01:00
Diego Imbert 68df399838 nits 2026-03-27 15:24:53 +01:00
Diego ImbertandClaude Opus 4.5 3a17149750 fix: resolve forked dbname from fork workspace when dropping resource databases
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 15:14:26 +01:00
Diego Imbert 7c0af24b4a nit 2026-03-27 15:10:25 +01:00
Diego ImbertandClaude Opus 4.5 f6978bbca5 refactor: remove original_dbname/original_resource from forked_from, resolve from parent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 15:01:50 +01:00
Diego Imbert e0654e3b9a nit 2026-03-27 14:48:46 +01:00
Diego ImbertandClaude Opus 4.5 b090f87bdb refactor: rename fork_pg_database to import_pg_database with source/target/override params
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 14:14:07 +01:00
Diego ImbertandClaude Opus 4.5 6374ce84f4 feat: enforce schema_and_data admin-only and extract create_custom_instance_database
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 12:05:27 +01:00
Diego Imbert a3db90feea dead code 2026-03-27 11:56:20 +01:00
Diego ImbertandClaude Opus 4.5 85d388bc7b refactor: simplify fork_pg_database to take source + target_dbname
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 11:21:33 +01:00
Diego ImbertandClaude Opus 4.5 8321cccf19 refactor: type DataTable.forked_from as DataTableForkedFrom struct
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 10:53:06 +01:00
Diego ImbertandClaude Opus 4.5 bef700b5cf fix: add validation to drop_custom_instance_database and use source db for CREATE/DROP
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 10:46:55 +01:00
Diego Imbert fd60dd11f4 Don't replace postgres dbname 2026-03-27 10:42:21 +01:00
Diego ImbertandClaude Opus 4.5 28795acfb4 refactor: use temp file on disk for pg_dump instead of in-memory string
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-27 10:30:36 +01:00
Diego Imbert 0ae726e358 nits 2026-03-26 21:11:30 +01:00
Diego ImbertandClaude Opus 4.5 3f40599c4f fix: handle missing columns/foreignKeys in schema conversion
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 20:57:10 +01:00
Diego ImbertandClaude Opus 4.5 9afbc1f976 feat: add confirmation modal before deploying migration to parent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 20:47:42 +01:00
Diego Imbert 8c4adae457 nit auto next 2026-03-26 20:44:22 +01:00
Diego Imbert f4fe530db2 revert 2026-03-26 20:42:31 +01:00
Diego ImbertandClaude Opus 4.5 048aad6b18 fix: re-fetch target live schema after migration for correct baseline
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 20:41:36 +01:00
Diego ImbertandClaude Opus 4.5 1c476e6898 fix: show diff between forked_from schema and changed side
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 20:16:52 +01:00
Diego Imbert 4a0b19ffa3 ui nits 2026-03-26 20:15:20 +01:00
Diego ImbertandClaude Opus 4.5 e4a5e86c85 feat: add review drawer with DiffEditor and SQL migration runner
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 19:59:05 +01:00
Diego Imbert 6781f633bd Revert "feat: add review drawer with YAML diff and SQL migration runner"
This reverts commit 0a0deb5ddb.
2026-03-26 19:54:19 +01:00
Diego Imbert 4a0f1e815a Revert "refactor: use Monaco DiffEditor for YAML diff in review drawer"
This reverts commit a86008ba4c.
2026-03-26 19:54:13 +01:00
Diego Imbert 11934e840f nit 2026-03-26 19:52:50 +01:00
Diego ImbertandClaude Opus 4.5 a86008ba4c refactor: use Monaco DiffEditor for YAML diff in review drawer
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 19:31:10 +01:00
Diego ImbertandClaude Opus 4.5 0a0deb5ddb feat: add review drawer with YAML diff and SQL migration runner
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 19:12:50 +01:00
Diego Imbert 849da088ad UI 2026-03-26 18:23:09 +01:00
Diego ImbertandClaude Opus 4.5 48cffa17ec feat: add datatable schema diff section to merge UI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 18:01:26 +01:00
Diego ImbertandClaude Opus 4.5 d7a79d960b refactor: extract drop_custom_instance_database into windmill-common
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 17:38:28 +01:00
Diego Imbert 815e47c2db ui nit 2026-03-25 17:36:22 +01:00
Diego ImbertandClaude Opus 4.5 61cb23f5ad fix: show dbname instead of resource type in fork deletion modal
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 17:29:23 +01:00
Diego ImbertandClaude Opus 4.5 fec09b6e3d fix: cast pg char columns to text in FK schema query
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 17:24:48 +01:00
Diego ImbertandClaude Opus 4.5 5027642b83 refactor: extract drop_forked_datatable_databases from delete_workspace
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 17:04:15 +01:00
Diego ImbertandClaude Opus 4.5 0433b0d3fa feat: drop forked databases on workspace deletion with confirmation UI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 16:51:57 +01:00
Diego Imbert 70cbb64ce4 nits 2026-03-25 16:34:39 +01:00
Diego ImbertandClaude Opus 4.5 e252fc32a4 fix: set forked_from on datatable config for both instance and resource types
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 16:06:16 +01:00
Diego Imbert 38d7d2898c fix duplicate migration key 2026-03-25 15:56:01 +01:00
Diego ImbertandClaude Opus 4.5 4a91e30187 feat: add get_datatable_full_schema endpoint and snapshot schema on fork
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 13:11:58 +01:00
Diego Imbert 5bb67954bd Revert "feat: track datatable table DDL changes in workspace_diff"
This reverts commit 7526dd68b9.
2026-03-25 11:03:37 +01:00