This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Aug 14, 2023
-
-
Cam Saul authored
* Simplified impl. * Fix kondo errors * Cljs test fix
-
- Aug 10, 2023
-
-
Noah Moss authored
* fix currency metadata * fix test * change renminbi back to yuan because that's what Intl.NumberFormat uses
-
- Aug 06, 2023
-
-
Cam Saul authored
* QP: use Malli * Fix schema names * Fix missing namespaces * Fix busted stuff * Simplify the new schema * Test fix
* Test fixes * MongoDB fixes * FAST mu/defn * Malli registry * Misc fixes * Some cleanup * Misc cleanup and test fixes * mu/disable-enforcement * Test fix * Fix Cljs version of `disable-enforcement` * Misc improvements * Update tests * Fix Kondo warnings * Fix Kondo warnings * Fix busted Malli schema * PR feedback * Fix busted schema * Kondo fixx * Test fixes * Use Malli version of `describe` now that PR was merged * Work around https://github.com/metosin/malli/issues/924 * Test fixes * Improvements * Test fix
-
- Aug 04, 2023
-
-
Case Nelson authored
* [MLv2] Add function to sync join-condition temporal bucketing options * Return the modified join-condition instead of the whole query * Adding tests * Fix linter
-
- Aug 03, 2023
-
-
Cam Saul authored
* Migrate collection and permissions namespaces to Malli * Fix docstring * Fix Kondo warnings
-
- Aug 02, 2023
-
-
Jesse Devaney authored
* add parameter mapping to heading cards * update unit tests for new props * memoize parameter mapped content * add heading card tests to text parameters spec * update test descriptions * add BE for params/substitute_tags * fix tests * fix test * update FE parameter substitution to use optional flag * heading cards should not escape characters * add test for dashboard sub * remove invalid specs -> desired behavior changed - enabled parameter mapping for heading cards - in parameter editing mode, we should display the option to map a parameter to a heading text variable, so we should not display the original text * fix react hook dependencies * improve parameterValues type * refactor E2E test to a unit test * address nits * fix spacing * update types and add unit tests * fix type errors --------- Co-authored-by:
Jerry Huang <jhuang37050@gmail.com>
-
- Jul 20, 2023
-
-
Ngoc Khuat authored
-
- Jul 10, 2023
-
-
Orkhan Alikhanov authored
-
- Jul 07, 2023
-
-
Jerry Huang authored
* initial changes * possible fix * escape markdown * remove string * use existing function * fix tests * fix test * fix test * only change headings * remove log * update tests * update test * update test * update tests * update test * address comments
-
- Jul 04, 2023
-
-
john-metabase authored
This reverts commit 9da0bd76.
-
- Jun 20, 2023
-
-
john-metabase authored
-
- Jun 12, 2023
-
-
Cam Saul authored
* MLv2: Fix matching of field literals to field integer IDs (#31487) * MLv2: Fix matching of field literals to field integer IDs * Better test * Update src/metabase/lib/equality.cljc Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Fix #31482 not showing join display name for busted breakout from drill thru --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
- Jun 02, 2023
-
-
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
-
- May 24, 2023
-
-
José María González Calabozo authored
This patch allows Metabase to cast timestamp in milliseconds to datetime
-
- May 23, 2023
-
-
Cam Saul authored
Improve `type-of` calculation for arithmetic expressions; fix schema for temporal arithmetic (#30921) * Fix #29946 * Sort namespaces
-
john-metabase authored
-
- May 19, 2023
-
-
metamben authored
* Implement available-aggregation-operators * Support display-info and getting columns from aggregation-operators * Support adding aggregation operators * Add :cum-sum to the type hierarchy
-
- May 15, 2023
-
-
metamben authored
Fixes #30703.
-
- May 11, 2023
-
-
Braden Shepherdson authored
No `metabase.lib.js` wrapping yet.
-
- May 01, 2023
-
-
metamben authored
-
- Apr 19, 2023
-
-
Braden Shepherdson authored
The current state is a collection of hacks to preserve some legacy behavior (eg. normalization sets a blank `widget-type` to `"category"`) and it doesn't work properly right now. An example of a currently-broken case: - `SELECT * FROM Orders WHERE {{tag}}` - Set it to a Field Filter and select People > LONGITUDE - Or some other field for which type we don't have a widget. - It shows "None" as the widget type, and the widget isn't shown at the top. - Save the question and reopen it. - Now the widget is visible (and a bit broken) as a `"category"` type. This is because on reading from the appdb it gets normalized. This PR uses `"none"` properly for cases where there are no widget options for the field type (eg. longitude), and updates all the usage sites to properly handle `"none"` rather than missing/undefined. Existing saved questions with a blank `widget-type` will continue to "work" as they currently do.
-
Cam Saul authored
-
- Apr 18, 2023
-
-
Cam Saul authored
* Fix clj-kondo analysis for `defclause` * Fix Kondo config * Fix typo
-
Mark Bastian authored
Added embeddings to preprocess sql completions so that we downselect to an appropriate prompt size. This also gives us substantial performance improvements for model and table matching inference.
-
- Apr 11, 2023
-
-
Braden Shepherdson authored
Use the canonical `metabase.mbql.js/normalize` instead, with a bit of customization for the query builder's needs. In the long run this should be fully unified; for now at least the logic is inside MLv2 now. All the test cases from the existing code are still exercised between `selectors.unit.spec` and `metabase.mbql.js_test`.
-
- Mar 31, 2023
-
-
Nemanja Glumac authored
This reverts commit a817ed8a.
-
- Mar 30, 2023
-
-
Cam Saul authored
* shared.ns/import-fn(s) emit optimized defn forms * Code simplification
-
- Mar 29, 2023
-
- Mar 28, 2023
-
-
Cam Saul authored
* Improved implementation * Amazing code cleanup * Cleanup * More tests
-
- Mar 20, 2023
-
-
Cam Saul authored
* Query D E S C R I P T I O N S * WIP * MLv2 Query description * Test fixes * More robust error handling * MLv2 more shuffling things around * Remove unneeded impl * lib.expressions -> lib.expression * Address PR feedback
-
- Mar 13, 2023
-
-
Cam Saul authored
-
- Mar 09, 2023
-
-
Cam Saul authored
* MLv2 metadata overhaul, second try * Stricter linting for MLv2 * Address PR feedback * Revert fancy fn schema for now * Remove unused import * Test fixes
* Oops fix bad :require form * MLv2 mega metadata overhaul 2 of infinity * Test fixes * Cljc humanization * Misc MLv2 improvements from #28921 * Fix indentation * expression.non-integer-real * Remove debugging stuff * More cleanup * Add method for `:advanced` * non-integer-real * Test fixes * Test fixes: ::ref/field shouldn't fail if checked against a non-sequential object * MLv2 `define-mbql-clause` and `type-of` calculation * Continued [ci skip] * MLv2 overhaul :flex: * Address PR feedback * Merge type-of overhaul * Address PR feedback -
Cam Saul authored
* MLv2 `define-mbql-clause` and `type-of` calculation * Continued [ci skip] * MLv2 overhaul :flex:
-
- Feb 24, 2023
-
-
Cam Saul authored
* Mark `hx/` and `h1x/` namespaces and their vars as deprecated * Fix snowflake failures * Remove unneeded honey-sql-version bindings
-
- Feb 21, 2023
-
-
john-metabase authored
* Improves consistency of substring in MBQL Standard SQL SUBSTRING() uses a 1-based start index, with various drivers handling a 0 start index in different ways. To make the behavior of substring consistent across drivers, we will always convert a 0 start index in MBQL to a 1 in SQL. The ->honeysql implementation of substring has been generalized and drivers can now override just the name of the substring function, or the entire expression if necessary. SQL Server now calls the parent implementation. Resolves #12445 * Fixes substring from 0 in Mongo * Adds arg to substring parent call * Fix docs and helper text for substring() * Adds schema to require positive integer index for substring * WIP, adds frontend validation for substring index arg * Adds frontend test for substring arg validation * Updates substring test to expect exception on index 0 * Update src/metabase/driver/sql/query_processor.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Use s/if instead of s/conditional * Fix substring call in mysql substring spec * Reverts driver and sql.qp changes for substring index * Reverts changes to dispatch-by-clause-name-or-class * Fixes typeinferencer test substring index * Adds test for canonicalizing substring * Fixes substring canonicalization with extra args * Updates string extracts test to account for substring canonicalization * Rewrites resolver validation application * Adds test case for frontend expression validation errors * Fixes frontend compiler spec for new substring validation --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
- Feb 11, 2023
-
-
Cam Saul authored
* Fix shared.util.i18n * Simplify stuff
-
- Feb 10, 2023
-
-
Cam Saul authored
* Support Honey SQL 2 for SQL QP * Sort namespace * Make Postgres/Redshift be Honey SQL 2-only * Test fix
* Fix busted * Redshift test fixes * Sort namespaces * Fix Postgres convert_timezone * Fix linter config. * Fix one last test failure * Redshift test fix * Test fixes and some extra validation etc. * Update common.clj * Update common.clj * Update common.clj -
Cam Saul authored
* Enable Kondo `:warn-on-reflection` linter * Enable warnings for metabase.api.setting-test * Add warn-on-reflection to metabase.util.jvm
-
Braden Shepherdson authored
Some JVM-specific functions are now in `metabase.util.jvm`, but they are re-exported (in CLJ) by `metabase.util`.
-
- Feb 07, 2023
-
-
Braden Shepherdson authored
This has the same interface as `clojure.tools.logging` but supports CLJS as well. It was formerly known as `metabase.shared.util.log`.
-