This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Dec 01, 2022
-
-
Cal Herries authored
* Implement now for sql drivers * Remove unused import * Add tests * Add more tests * Implement bigquery, mysql, postgres * Test now as argument * Fix FE type inferencer * Change feature flag to date-arithmetics * Implement h2 driver * Fix tests for sqlite * Add snowflake implementation * Remove type test * Fix test for sqlite * Update how we handle autocomplete and format for zero-arity functions in ExpressionEditor (#26563) * Update suggestionText function * Suggest with closing parens if zero-arity * Format zero-arity functions with () * Refactor formatFunction * Remove unused imports * Add presto implementation * Add sqlserver implementation * Test in multiple timezones * Remove setting test driver * Add sparksql implementation * Fix count() fe unit test * Add fe MBQL unit test for now() * Fix sparksql implementation * Add vertica implementation * Add oracle implementation * Add vertica implementation * Remove accidental form * Fix vertica implementation for report timezones * Remove unused multimethod * Remove unused feature * Update sparksql * Fix fe unit tests * Fix fe unit tests * Update hive implementation * Revert "Fix fe unit tests" This reverts commit fde4dd0d. * Revert "Fix fe unit tests" This reverts commit 7b7429ea. * Revert "Fix count() fe unit test" This reverts commit c5c6f6f9. * Revert "Refactor formatFunction" This reverts commit ac50e73e. * Revert "Update how we handle autocomplete and format for zero-arity functions in ExpressionEditor (#26563)" This reverts commit cf39634e. * Update hive * snowflake: convert type to timestamptz * sqlserver: rename date-trunc to zeroed-date-part * Wrap with database type info * Change fe unit test back to now without parens * Change MBQL clauses config for now to return type "datetime" * Fix presto * Add some fe unit tests for parsing and resolving * Update helper-text-strings * Change from second to millisecond precision * Remove test for second precision * presto: Change from second to millisecond precision * vertica: Change from second to millisecond precision * vertica: Change from second to millisecond precision * Change feature flag from date-arithmetics to now * Change feature flag from date-arithmetics to now, mbql schema * Allow now to be used in filter clauses * Add test for filter * Implement driver/database-supports? for each driver that implements :now * Tidy tests * Add back default sql implementation * Add sqlite feature flag * Add mongo implementation * Fix mongo * Format rows * Change vertica to return timestamp with time zone * Fix presto tests * Remove unused require * Update h2 function to return timestamp with time zone * mongo: calculate now during query execution, not processing, for versions >=4.2 (#26822) * replace with $$NOW * Remove unused import * Add back previous now implementation for versions <4.2 * Throw an error if version is <4.2 * Add i18n * Ignore patch version * Clean up `SchedulePicker` component (#26839) * Move `SchedulePicker` to its own directory * Sort imports * Do basic clean up * Extract `DEFAULT_DAY` to a constant * Extract styled components * Convert `SchedulePicker` to TypeScript * Add `SchedulePicker` container * Export `SchedulePicker` options * Add basic `SchedulePicker` story * Fix `SchedulePicker` crashes Storybook * Tweak Storybook file * Build datetime filters as datetime before question is saved (#26679) * Revert "Update h2 function to return timestamp with time zone" This reverts commit f7cce3ea7ccbbfc886d0942d66b1f8f60feb6aba. Co-authored-by:
Gustavo Saiani <gus@metabase.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
Aleksandr Lesnenko authored
* fix row chart for remapped columns * static viz remapped values
-
Aleksandr Lesnenko authored
-
Noah Moss authored
* initial implementation * some refactor and improved error handling * another refactor * fix reflection warning * add test and more refactor * another test * misc comment improvements and formatting * fix tests * small refactor * fix function call * address tamas's comments
-
Alexander Polyankin authored
-
Ngoc Khuat authored
* Bigquery * Redshift * Snowflake * no convert-timezone for sparksql because it only has one timestamp data type * redshift -- wrap type when adding interval * don't override results-timezone-id in tests * fix redshift ignore timezone when insert timestamp with time zone test data
-
Braden Shepherdson authored
There are now three top-level trees: - regular `collections/path/to/collection/...` - `:namespace :snippet` collections in `snippets/path/to/collection/...` - `databases/mydb/schemas/PUBLIC/tables/customers/fields/name.yaml` The path for any given entity is determined by the `serdes.base/storage-path` multimethod. On the ingestion side, things are a bit tricky because the paths don't map directly to `:serdes/meta` hierarchies anymore. Instead each model registers a function to turn a file path into either a `:serdes/meta` hierarcy or nil for a bad match. Ingestion will fetch all these functions once and then try them all in arbitrary order until one matches.
-
Alexander Polyankin authored
-
Gustavo Saiani authored
-
Anton Kulyk authored
* Move `SchedulePicker` to its own directory * Sort imports * Do basic clean up * Extract `DEFAULT_DAY` to a constant * Extract styled components * Convert `SchedulePicker` to TypeScript * Add `SchedulePicker` container * Export `SchedulePicker` options * Add basic `SchedulePicker` story * Fix `SchedulePicker` crashes Storybook * Tweak Storybook file
-
Aleksandr Lesnenko authored
-
Ngoc Khuat authored
* datetime-add, datetime-subtract, temporal-extract, convert-timezone now can takes datetime literal as argument * fix vertica
-
- Nov 30, 2022
-
-
Cal Herries authored
* Replace attempted-murders where possible * Replace mt/rows with mt/formatted-rows * Remove integer test and change comment
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
-
Ngoc Khuat authored
* convert-timezone for mysql, mariadb, sqlserver, oracle * sqlserver doesn't understand Asia/Ho_Chi_Minh * vertica * skip report-tz tests for sqlserver * use the util fn to check args for convert-timezone * fix for vertica not formatting in report-tz
-
Anton Kulyk authored
* Add basic `CreateCollectionForm` * Add `CreateCollectionModal` * Use new form in "New" menu * Remove no longer needed `onChangeLocation` * Use new form in collections ellipsis menu * Add unit tests * Don't use legacy form lib in collection plugin * Add `canManageCollectionAuthorityLevel` utility * Update `FormCollectionAuthorityLevel` * Add authority level field to new collection form * Remove old collection form * Tweak how authority level form field is exposed
-
Nick Fitzpatrick authored
-
Anton Kulyk authored
* Convert authority level plugin to TypeScript * Don't use `any` too much
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Extract `ChartSettingsErrorButton` component * Extract `VisualizationActionButtonsContainer` * Extract `NoResultsView` component * Extract `ErrorView` component * Extract `LoadingView` component * Extract styled components * Tweak styled component names * Update props type names
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Convert `SegmentedControl` to TypeScript * Migrate `SegmentedControl` to Storybook * Move `SegmentedControl` to its own directory * Make SegmentedControl types generic
-
Anton Kulyk authored
* Clean up setting selector wrappers * Sort `LicenseAndBillingSettings` imports * Use `getSettings` in `LicenseAndBillingSettings` * Fix selectors usage in metabase enterprise * Fix selectors usage in Slack forms * Fix selectors usage in `GoogleAuthForm` * Fix selectors usage in `AppBanner` * Fix selectors usage in `CloudMigrationHelp` * Unsubscribe query builder from app settings They don't seem to be used at all * Fix selectors usage in auth selectors * Fix selectors usage across the app * Fix something happened to an import
-
- Nov 29, 2022
-
-
Nick Fitzpatrick authored
* Adjusting style of Column Title label in Table Viz * removing all form-field lable types
-
Nick Fitzpatrick authored
* Doing isBreakout check sooner, removing column formatting from 2nd dimension * PR Feedback * separating showColumnSettings and showColumnSettingsForIndicies
-
Cam Saul authored
* Include Amazon Athena support for dacort/metabase-athena-driver * Use Metabase Maven repo to fetch Athena driver * Copy test extensions from Damon's Athena driver repo * Some code cleanup. * Move namespaces => metabase.driver.athena * Clean up the test extensions namespace * 42 failures, 16 errors * Fix regex support; disable a few tests * Minor tweaks * Fix data-source-name * Fix :week and :day-of-week impls (mostly): 2 failures, 3 errors * Fix OFFSET, :week-of-year; skip test that has TIME column * Add Athena to CircleCI config. Don't wait for Java 11 tests to finish before driver tests. * ALL TESTS ARE PASSING! <3 * Copy fixes for https://github.com/dacort/metabase-athena-driver/issues/115; add test * We don't need to prep source files or fetch dependencies before running backend tests. * Fix Eastwood error. * Tweak CircleCI config. * Fix TIMESTAMP WITH TIME ZONE * Include the Athena/Redshift repos in the build-drivers deps.edn * Build and release scripts need to have the :mvn/repos as well * Revert change that enabled test for Presto * Un-enable failing test for Snowflake as well. * moves all is clauses into the test - previously only the first few tests were being run * Sort ns in `metabase.driver.athena-test` * Prevent athena's log4j2.properties file from becoming log config athena includes log4j2.properties top-level with the properties: ``` status = debug rootLogger.level=debug ``` And this kills our beautifully crafted logging. Set "log4j2.configurationFile" in bootstrap to our own log4j2.xml. Log4j2 looks in a few places for its logging config, the first of which is the properties file. So when the jar is loaded, log4j2 considers this a logging config change and we lose our logging. Co-authored-by:
Damon P. Cortesi <d.lifehacker@gmail.com> Co-authored-by:
Bryan Maass <bryan.maass@gmail.com> Co-authored-by:
dan sutton <dan@dpsutton.com>
-
Nemanja Glumac authored
-
Ngoc Khuat authored
-
Alexander Polyankin authored
-
Nemanja Glumac authored
* [CI] Trigger `uberjar` workflow manually * Do not make commit SHA input required * Continue building on push to `master` This will keep `metabase-head` and `metabase-enterprise-head` DockerHub repos working as they did before. * Simplify by removing references to `main` branch * Ignore unrelated paths for push on `master` branch
-
Luis Paolini authored
-
Anton Kulyk authored
* Move visualization errors messages to viz lib * Sort imports * Clean up comments * Clean up state definition and default props
-
Anton Kulyk authored
* Remove not used route * Add space between imports * Remove not used collection URL helper * Remove not used dashboard URL helper
-
Anton Kulyk authored
-
Anton Kulyk authored
* Add `isValidCollectionId` helper * Add `FormCollectionPicker` component * Add `FormFooter` component * Fix `FormProvider` template types * Add `CreateDashboardForm` * Reimplement `CreateDashboardModal` * Fix type error * Use new `CreateDashboardModal` * Delete old `CreateDashboardModal` * Accept root collection's `null` id * Remove console errors/warns overwrite in tests * Remove flaky test * Use `getBy*` element selectors instead of `queryBy*`) * Fix creating new dashboard for a question * Open new dashboards in editing mode * Rely on validation schema to set initial values * Make `description` input `nullable` * Use `userEvent` instead of `fireEvent` in tests * Move `FormCollectionPicker` to collections module
-
Braden Shepherdson authored
-
Alexander Polyankin authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Match static combo chart colors with app viz colors * Match colors when individual series color is set * Remove tests that test colors Since colors is now determined in FE * Fix static viz Series type * Match static progress bar colors with app viz colors * Simplify Clojure code, makes it more idiomatic * Fix certain combo charts don't respect whitelabel colors * Make Clojure code more idiomatic * Fix Series type * Add colors back to static internal page * Simplify type predicate * fix colors matching for multiple series with mulitple metrics or dimensions * Handle legends not formatted in static viz in some cases * Fix failed BE tests after BE API changed * Fix failed BE tests after BE API changed * Add multiple series dashcard test to `getSeriesWithColors` test * Add `getSeriesWithLegends` tests * Fix URL `/_internal/static-viz` not loading due to API change * Correctly render legend when having dashcard title set * Simplify combo-chart API don't really need `settings-seqs` yet * Make static combo chart component type easier to understand * Address review: refactor `render-multiple-lab-chart` * Make variable names easier to understand * Simplify color API * Address review on `body.clj` * Address review, make parameter name more consistent * Fix multiple scalars not rendering * Remove unused imports
-
- Nov 28, 2022
-
-
Ngoc Khuat authored
convert-timezone now requires source-timezone if the input column doesn't have timezone
-