This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 02, 2023
-
-
Cal Herries authored
* Update the field position on sync if the table's fields should be ordered by "database" * Fix test * Select position in the current field metadata * Fix test
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Add `shadow-cljs.edn` entry * Add TypeScript wrappers for `isa` functions * Extract `findColumn` test helper * Add `getColumnIcon` function * Use `getColumnIcon` in `QueryColumnPicker` * Deprecate `getIconForField` * Exclude semantic and effective types * Remove comment * Fix test * Rename test helper to `columnFinder`
-
Aleksandr Lesnenko authored
-
Uladzimir Havenchyk authored
Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
- May 01, 2023
-
-
Ryan Laurie authored
* don't crash with null collection search result * add test coverage
-
Ryan Laurie authored
* add styled link variants * update usage in the app * move variant logic to styles * fix types
-
Alexander Polyankin authored
-
Jerry Huang authored
* initial changes * fix linter * update test * remove dbg * revert messages * update subject * add test * fix test * remove space * fix spacing * re-add position * fix spacing
-
Ryan Laurie authored
* convert errorpages to typescript * allow object detail to fetch missing data by pk * handle composite keys and update e2e tests * update error details types * more tests
-
Nick Fitzpatrick authored
* Adding beforeUnload hook to Status Listing * Adding callMockEvent function, updating tests * running prettier * linting
-
metamben authored
* Use keyword as datetime-diff units Fixes #29897. * Fix MLv2 round trip test Fields with :base-type :type/Text are not considered temporal expressions therefore :datetime-diff with such arguments is not a valid expression. Such expressions removed by the clean step of the conversion to pMBQL.
-
metamben authored
* Fix #26631, cases 1 and 3 I was unable to reproduce case 2 at the moment. Problem was that `add-join-alias-to-fields-with-source-field` was trying to replace fields in metadata belonging to other (already resolved) sub-query and was missing a key in `fk-field-id->join-alias` map. * Update `add-implicit-joins` logic * Add test for `add-implicit-joins` metadata handling * Remove trailing whitespace * Address proposed changes Co-authored-by:
lbrdnk <lbrdnk@users.noreply.github.com>
-
Aleksandr Lesnenko authored
-
Uladzimir Havenchyk authored
-
metamben authored
-
metamben authored
Fixes #30364. Fixes #30365. Fixes #30368.
-
- Apr 28, 2023
-
-
Case Nelson authored
* [MLv2] Remove replace join conditions and fields * Add tests for join fields * Fix match for other parts * Address PR feedback * Fix linter
-
Jeff Bruemmer authored
-
Jeff Bruemmer authored
-
Jesse Devaney authored
* disable drag for single fields * refactor isDragDisabled expression * prevent sub-dimension draggability for sub-dimensions with only 1 item * refactor drag and drop conditionals
-
Luiz Arakaki authored
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
-
Jeff Bruemmer authored
* update link * link
-
Ryan Laurie authored
* Return the created model ID when uploading a CSV * fix upload complete link * update e2e test * update unit tests --------- Co-authored-by:
Tim Macdonald <tim@tsmacdonald.com>
-
Anton Kostenko authored
* Use regctl to push multi-arch image --------- Co-authored-by:
Luis Paolini <paoliniluis@gmail.com>
-
- Apr 27, 2023
-
-
Tim Macdonald authored
-
Aleksandr Lesnenko authored
-
Jesse Devaney authored
* copy compact logic from scalar * re-organize compactify logic * move duplicated logic into utils file * move scalarUtils * convert scalar_utils to typescript * add smartscalar unit tests for compactify * add unit tests for compactifyValue * refactor optional parameter * default to compact = false for fullScalarValue * refactor scalar_utils unit tests
-
uladzimir authored
-
uladzimir authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Force import redux hooks from metabase lib redux instead This ensures we have correct state type without having to manually type our state every time. * Keep the linting config in a single file
-
Jeff Bruemmer authored
-
- Apr 26, 2023
-
-
Alexander Polyankin authored
-
Tim Macdonald authored
* allow formData uploads * basic CSV uploads from collections * add dropzone support for collections * Add CSV uploads feature and have postgres and H2 support it (#29636) * Add csv uploads feature and have postgres support it * Add h2 support * CSV: schema detection (#29650) * CSV / Admin Upload Settings (#29709) * allow formData uploads * basic CSV uploads from collections * add dropzone support for collections * allow formData uploads * basic CSV uploads from collections * add dropzone support for collections * Add CSV uploads feature and have postgres and H2 support it (#29636) * Add csv uploads feature and have postgres support it * Add h2 support * Add defsettings * Add table prefix setting * add data upload settings * Add newline * update settings mock * Whether or not uploads are enabled --------- Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
Callum Herries <hi@callumherries.com> * Create table and insert rows from CSV uploads for postgres (#29677) * WIP create table and insert rows * Add newline * Use multimethods * WIP * Fix postgres * Fix postgres impl * Use detect-schema and add test * Fix load-from-csv arglists * Undo whitespace change * Use empty db instead * Add table and field tests * Remove prn * Uniquify names * newline * Add test for float * Add a test for the table contents * Tidy load-from-csv * Drop the table if loading the csv fails * Drop the table only if loading the csv fails * whitespace * Address SQL injection vulnerability * Use the slugified file-name as the table-name * Fix kondo * Using absolute path instead of relative * Fix kondo * Detect types for empty CSV files appropriately (#29754) * Create models from CSV uploads (#29966) * Wire up CSV uploads, sync the new table Still need to create a model * Check database support for CSV uploads better * Another test * Create model after sync * Fix request with formData * Fix tests * Fix tests * Revert "Fix request with formData" This reverts commit 66f146a41cf42feb34dbb03ed8566fa4220d0642. * Add whitespace --------- Co-authored-by:
Tim Macdonald <tim@tsmacdonald.com> * Fix postgres support for uploads (#29922) * Check write perms for collection (#29976) * Rename metabase.csv -> metabase.upload (#29975) * Rename metabase.csv -> metabase.upload * Add docstring * Rename alias for release.common.upload --------- Co-authored-by:
Callum Herries <hi@callumherries.com> * WIP - 29598 csv status toast (#29757) * temp * generalize StatusListing types * Putting a pin in this for now * poorly done typing * generalizing upload function names * point to real API * Fixing Storybook * Permissions for Status Listing * use formdata and fix types --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com> * Don't support redshift (#29981) * Handle uploads to the root collection (#29985) * Allow the uploads schema to be nil (for MySQL, etc.) (#29987) * CSV upload: fix stack overflow in detect-schema (#29983) * Fix stack overflow error on detect schema * map + vec -> mapv --------- Co-authored-by:
Tim Macdonald <tim@metabase.com> * reload collection data after upload (#30009) * MySQL support for uploads (#29829) * Add MySQL support for uploads * Rename arg to upload-type * Use new ns name * Allow no table-name prefix to be specified and fix tests --------- Co-authored-by:
Tim Macdonald <tim@tsmacdonald.com> * Fix setting descriptions (#30023) * Batch CSV insertion for better performance (#30028) * CSV upload e2e tests (#30005) * add CSV upload e2e tests * update tests * H2 support for uploads (#29828) * Add uploads support for H2 * Rename arg * whitespace * Use new metabase.upload ns name * Fix tests for H2 * Make table and field matching case insensitive * Fix kondo error --------- Co-authored-by:
Tim Macdonald <tim@tsmacdonald.com> * Clear CSV upload state after a while (#30014) * clear upload status after 5s * make async behavior clearer * CSV Upload Dates and Datetimes Types (#30076) * Simple dates * Simple datetimes * Fix coalesce for date and datetime * Add mysql and h2 types * Fix test * Misc cleanup * Fix test --------- Co-authored-by:
Tim Macdonald <tim@tsmacdonald.com> * Fix Kondo (rebase gone wrong) * MySQL test fix * Fix order of Metabot setting * adding unit tests to upload actions and reducers (#30161) * adding unit tests to upload actions and reducers * use fetch-mock * Adding component unit test * Check CSV Upload permissions on the frontend (#30094) * CSV / Admin Upload Settings (#29709) * allow formData uploads * basic CSV uploads from collections * add dropzone support for collections * allow formData uploads * basic CSV uploads from collections * add dropzone support for collections * Add CSV uploads feature and have postgres and H2 support it (#29636) * Add csv uploads feature and have postgres support it * Add h2 support * Add defsettings * Add table prefix setting * add data upload settings * Add newline * update settings mock * Whether or not uploads are enabled --------- Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
Callum Herries <hi@callumherries.com> * properly check if user can upload to a collection * do some db checking * don't check admin status for upload notification * misc cleanup * fix rebase * add loggedin check to statusListing also combines container + view component into a single file * update unit tests * update tests --------- Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
Callum Herries <hi@callumherries.com> * Csv/misc bugfixes (#30219) * Support empty header names * Handle long CSV names more appropriately Handle duplicate column names in CSVs * Test fix * Partition CSV inserts a little more intelligently * Test fix * Remove 'duplicate' from duplicated column names * More intelligent sampling * Add comment re. Postgres table-name-length-limit * Quote column names, clean up tests When unquoted, we couldn't use reserved words (true, false, group, etc.) as column names * Fix test Now that we quote things, H2 is case-sensitive * Use dialect-appropriate quoting Also clean up some card-filtering tests so they work with a dirty DB * Fix deduplication * Remove use of setting/get * Remove unneeded migration --------- Co-authored-by:
Callum Herries <hi@callumherries.com> * Fix test (#30383) --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com> Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com> Co-authored-by:
Callum Herries <hi@callumherries.com> Co-authored-by:
Nick Fitzpatrick <nick@metabase.com>
-
- Apr 25, 2023