This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Mar 21, 2024
-
-
John Swanson authored
* /api/collection/:id/items gets `here` and `below` During postprocessing of `collection` children retrieved by `/api/collection/:id/items`, annotate each of the children with `below` and `here` keys representing the presence of questions, models, or collections at this level of the hierarchy or below it. Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Alexander Polyankin authored
-
Denis Berezin authored
* Add CORS solution for SDK * Review fixes * Linter fixes
-
Kyle Doherty authored
* tweak styling to better match MB * add Lato as rapidoc font --------- Co-authored-by:
Alexander Solovyov <alexander@solovyov.net>
-
adam-james authored
Fixes: #40306 Our datetime formatter relies on the `java-time.api`, for which there are many different, sometimes confusing, formatter patterns: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatterBuilder.html#appendPattern-java.lang.String- In this case, 'YYYY' is a week-of-year style year, which calculates which week a date falls into before returning the year. Sometimes days near the start/end of a year will fall into a week in the wrong year. For example, apparently 2023-12-31 falls into the 1st week of 2024, which probably not the year you'd expect to see. What we probably do want is 'yyyy' which calculates what day of the year the date is and then returns the year based off of that instead of the week number. For an explanation, you can check out this SO answer: https://stackoverflow.com/a/46395342 provides an explanation.
-
Alexander Polyankin authored
-
Oisin Coveney authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix flaky whitelabel test * Update another test for `landing-page`
-
Oisin Coveney authored
-
Alexander Polyankin authored
-
Jeff Bruemmer authored
-
Raphael Krut-Landau authored
-
Abed Habli authored
Thanks, Jeff and Alex!
-
Ngoc Khuat authored
-
Cal Herries authored
-
Alexander Polyankin authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Add data-display/Image to "metabase/ui" * Add `position` API to accompany `fit` API * Feedback: Make file name consistent with the codebase
-
Alexander Polyankin authored
-
Cam Saul authored
* Wow * Test fix
* Fixes * Actions should use strings for column names (fix :update-row and :create-row normalization) * MLv2 schema should check against keys for the other query type * Ok, have I fixed things? * More fixes * Fix indentation * Another round of test fixes. * Hopefully the last few test fixes * We need to test normalization for queries that have keyword keys as well. * Fix Cljs i18n namespaces * Sort namespaces * Only test against H2 * Rename `metabase.mbql` to `metabase.legacy-mbql` * Fix Kondo warnings * Test fixes * Register MBQL clause schemas and test fixes * Test fixes and PR feedback * Test fix * Remove the normalization tests * Test fixes * Fix kondo * Fix import * Another fix * Merge * FIXES * Add another missing REQUIRE -
Chris Truter authored
-
- Mar 20, 2024
-
-
Cam Saul authored
* E2E support for CRUD + running pMBQL queries; new MLv2 normalization * More work on improved normalization * Update schema references * Test fixes
* Move the MBQL parameters schema * Performance improvements * Improved pivot code etc. * Clean namespaces * Fixes * Wow * Test fix * Fixes * Actions should use strings for column names (fix :update-row and :create-row normalization) * MLv2 schema should check against keys for the other query type * Ok, have I fixed things? * More fixes * Fix indentation * Another round of test fixes. * Split pivot stuff off * Hopefully the last few test fixes * We need to test normalization for queries that have keyword keys as well. * Fix Cljs i18n namespaces * Sort namespaces * Only test against H2 * Test fixes * Register MBQL clause schemas and test fixes * Test fixes and PR feedback * Test fix * Remove the normalization tests * Test fixes * Fix kondo * Test fix * Another fix * Test fix -
bryan authored
* decrypt and read values from airgap token - Adds notion of "AirgapToken" - Adds max-users and company optional fields to `TokenStatus` - Adds branch to `fetch-token-status*` for handling airgapped tokens * Add support for handling airgap tokens - validate airgap token valid-thru date * enforce user creation limits using airgap token * fix airgap token reads + fill in the token data * in oss mode don't try to read the airgap_ token * use airgap-token? helper * tighten the user-creation logic - make the check correct - account for archived users Co-authored-by:
John Swanson <john.swanson@metabase.com> * check airgap user count setting premium-embedding-token app startup * move decryption code into ee namespace * add some tests for token decryption * fix tests and add tests * move ee features into ee tests * add typehint + warn on reflection * add a check for missing public key resource * respond to review - add docstring to AirgapToken - remove outdated comment - fix off-by-1 error * valid-now? takes a TokenStatus instead of a :map * revert usage of mt/with-temporary-setting-values --------- Co-authored-by:
John Swanson <john.swanson@metabase.com>
-
Ryan Laurie authored
* wip * refreshes list through tag invalidation rather than prop drilling refresh list fn * invalidate count, added invalidation utils, general clean up * custom fetcher that makes use of our api service * reorganizes files and impls util to createEntityApis more easily * documents different approaches * moves main file * wip * stash * clean up * further clean up * type annotations clean up * fixes api key unit test * pull out api keys feature from branch * moves files core rtkquery files into metabase/api * replace trivial loginHistory entity * export hook too * fix rebase --------- Co-authored-by:
Sloan Sparger <sloansparger@gmail.com>
-
Alex Yarosh authored
* surfacing docker compose * Update docs/installation-and-operation/running-metabase-on-docker.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Jeff Bruemmer authored
-
Anton Kulyk authored
* Clean up test * Fix race condition * Wait for GET dashboard + for sidebar to close * Add wait * Add a sad comment
-
bryan authored
-
Raphael Krut-Landau authored
-
Cal Herries authored
-
Denis Berezin authored
* Global styles refactor * Add missing test change * Fix e2e * Migrate buttons * Migrate buttons * Migrate query builder * Migrate dashcards * Review fixes * Review fixes * Review fixes
-
Alexander Solovyov authored
-
adam-james authored
In a working meeting, some prompt adjustments were tried. This change felt like the best incremental improvement, considering feedback from users on stats. We attempted to guide the LLM to return descriptions that: - don't state the chart type as if its *very* important (we can see what it is already, so its not that important) - do call out caveats and important specifics as implied by the question's filters, aggregations, and breakouts - are descriptive but not verbose - try not to state caveats too strongly
-
Luis Paolini authored
-
Alexander Solovyov authored
-
Chris Truter authored
-
metamben authored
* Rename :model/Metric to :model/LegacyMetric * Rename ::lib.schema.metadata/metric tp ::lib.schema.metadata/legacy-metric * Rename models.metric/Metric to models.metric/LegacyMetric * Move /api/metric endpoints to /api/legacy-metric
-
Nick Fitzpatrick authored
* SettingsSetting FC, change to named export * adding unit test
-
Nemanja Glumac authored
-
Nemanja Glumac authored
* Rename api to just `dataset` We're going to use this api for both structured and native endpoints. * Fix the input type
-
Alexander Solovyov authored
-