This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 07, 2023
-
-
Cam Saul authored
-
john-metabase authored
Updates Snowflake driver to decode uploaded private key file data if necessary
-
Jerry Huang authored
* initial commit * add require * update gen hash * fix test * add email logic to alerts * fix one test * test fix * re-add retry * fix test * add test * address comments * fix typo * fix test * fix test * update req
-
Ngoc Khuat authored
-
- Jun 06, 2023
-
-
Ngoc Khuat authored
* hydrate orders-tabs for public/embed dashboard * adds test * return dashboard_tab_id when hydrate ordered_cards for public dashboard * show tabs in `PublicDashboard` on FE * remove unused export * update e2e test * remove duplicated implementation for macro in test * makes the macro public for testing * run prettier on DashboardTabs.tsx --------- Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu>
-
bryan authored
* wip * fix caching behavior for audit db in database-id->connection-pool * test that caching behavior works as advertised - db->pooled-connection-spec always returns the same pool for audit-db - audit-db-id is not in the database-id->connection-pool cache * DISABLE audit db exposure through GET api/database * Lots of things - automagically loads instance analytics on app startup - TODO: logging in after that is bokred * Revert "Lots of things" This reverts commit 7eb5d57b221e4a91298e9d90fc9ed3e13922aeef. * Ignore audit-db for the "We're taking a look at your database!" modal
-
Cal Herries authored
-
Tim Macdonald authored
* Sync but don't scan tables from uploaded CSVs Delete the CSV file afterwards * Delete the CSV file more intelligently * Scan asynchronously never mind about the file deletion * Turn file deletion back on * Humanize model name for uploaded CSVs * Update Cypress test with humanized name * Only scan new tables, not the whole DB * Only sync tables * Get schema name properly * Fix error-handling; don't create errant table * Check for syncable schemas * Fix E2E test * Tidy up include-schema? usage
-
Ngoc Khuat authored
-
Ngoc Khuat authored
* Activity to toucan2 * LoginHistory to toucan2 * ViewLog to toucan2 * TaskHistory to toucan2 * PersistedInfo to toucan2
-
- Jun 05, 2023
-
-
Jerry Huang authored
* initial changes * fix whitespace * update ns * update test * update test * update test * update test
-
Braden Shepherdson authored
Fixes #30951. Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com>
-
metamben authored
-
Ngoc Khuat authored
-
Cal Herries authored
-
Tim Macdonald authored
-
- Jun 02, 2023
-
-
Case Nelson authored
* [MLv2] Add expressionable-columns * Fix test
-
Cam Saul authored
Use MLv2 for metadata calculation in QP (part 1); make column name calculation consistent with QP (#29583) * Simplified impl * Add #31266 test * Yay * Very nice * Test fixes * Fix Kondo warnings
-
Cam Saul authored
* Ban `tt/with-temp` and convert usages to Toucan 2 * Ban `tt/with-temp*` and convert usages to Toucan 2 * Revert changes not meant for this PR * Ban `mt/with-temp` and replace usages with `t2.with-temp/with-temp` * Fixes
* Fix indentation * fix syntax in models.secret_test --------- Co-authored-by:Ngoc Khuat <qn.khuat@gmail.com>
-
john-metabase authored
-
Braden Shepherdson authored
That's `:datetime-add`, `:datetime-subtract`, and `:convert-timezone`. Fixes #29910
-
Cal Herries authored
* Add reverse migration for AddJoinAliasToVisualizationSettingsFieldRefs * Limit selections to query_type="query" * Make like strings more specific * Fix where clause * Further optimize where clause * Rename and refactor * Update test name * Fix indentation and naming consistency
-
Cam Saul authored
-
Cam Saul authored
* Ban `tt/with-temp` and convert usages to Toucan 2 * Ban `tt/with-temp*` and convert usages to Toucan 2 * Revert changes not meant for this PR
-
- Jun 01, 2023
-
-
Case Nelson authored
* [MLv2] Change expressions map into a vector of expressions * Fix tests
-
Cam Saul authored
* Ban `tt/with-temp` and convert usages to Toucan 2 * Revert changes not meant for this PR
-
Cam Saul authored
-
Cam Saul authored
-
Cam Saul authored
* `visible-columns` should return all columns from joins regardless of `:fields` * Backport stuff from #31266 * fieldableColumns [WIP] * MLv2 `fieldable-columns` * Remove redundant comp
-
Case Nelson authored
* [MLv2] Keep order-by in sync when replacing breakouts * Handle removing order-by when changing breakouts
-
Ngoc Khuat authored
-
Ngoc Khuat authored
-
- May 31, 2023
-
-
john-metabase authored
-
Ngoc Khuat authored
-
Cal Herries authored
* Apply inclusion and exclusion patterns to `driver/syncable-schemas` for sql-jdbc drivers * Fix kondo * Fix postgres test * Remove unnecessary test DB names
-
- May 30, 2023
-
-
Braden Shepherdson authored
Fixes #29935. Part of the issue here was incorrect hand-rolling of the second argument to `:case`, the default value. In the failing test case given in #29935, it was written as `{:default 0}`. But that's accidentally transferring for legacy MBQL works, where the default is an option and the options come last rather than first in a clause. This also fixes `lib.common/->op-arg` to make sure it recurses properly. It wasn't recursing into lists or MBQL clauses, which left unresolved `(fn [query stage] ...)` functions in eg. `:case` alternatives, since those are nested inside lists.
-
bryan authored
* add migration for typed collections * add hydration of collections to card+dashboard api - adds it for: - GET /api/question/:id - GET /api/dashboard/:id * fix test that checks for collection shape * get tests working with hydrated collection * typo fixes * fix more tests - PUT requests don't hydrate :collection * update tests to fix param_values {} vs nil inconsistencies
-
Tim Macdonald authored
* Use faster inserts in MySQL * Add local_infile check * PR feedback * Fix boolean handling for MySQL * Fix tests; fix MySQL fallback if local_infile is turned off * Turn local_infile on for MySQL tests * Another way of doing MySQL local_infile :/ * sanitize-file-name was a misstep. Not needed for security and could cause problems * Mistaken docstring
-
Braden Shepherdson authored
This was causing ambiguous references, since `order-by` clauses reference columns from previous stages by name. Fixes #30401.
-
Cal Herries authored
-