This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 10, 2022
-
-
Luis Paolini authored
-
Cal Herries authored
* Add failing tests * Fix failing tests * Update shared/src/metabase/mbql/util.cljc Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com> * datetime-add and datetime subtract should annotate type by col type * Fix infer-expression-type for datetime-add/subtract with second, minute, hour * Undo last commit; they actually always return :type/DateTime * Fix test based on last commit * Undo unrelated refactor * Only test drivers that support expressions * Only test drivers that support expressions, again * Update tests from legacy mbql * Change infered-col-type to be a function again, not macro * Fix test Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
-
- Nov 09, 2022
-
-
Noah Moss authored
* log errors caught during sync steps * remove accidental extra parens
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Use shorthand initial state declaration * Move `propTypes` out of class definition * Extract callbacks * Extract search query builder * Use `isRootCollection` helper * Extract header render function * Simplify conditional render * Break down `ItemPicker` styled file * Extract picker header styled components * Swap props order * Extract `Item's` styled components * Convert `IconButtonWrapper` to TypeScript * Use HTML button for collection expand control * Extract `Item` callbacks * Use func declaration for `Item` * Don't use `Set` for picker model list * Extract `mapStateToProps` * Extract `getEntityLoaderType` * Remove `EntityListLoader` usage * Rename `parentId` to `openCollectionId` * Use more styled components * Untangle `hasChildren` check for collections * Remove ternary render * Extract `checkIsItemSelected` method * Extract method rendering collection list items * Extract method rendering collection content list items * Extract collection list builder * Fix expand button lookup in e2e tests
-
Nemanja Glumac authored
* Upgrade `cypress/grep` library * Update Cypress config
-
Natalie authored
-
Ngoc Khuat authored
-
Ngoc Khuat authored
* [:field-id id] => [:field id nil] or $name. Except places where tests are meant to check normalization * [:datetime-field [:field id] unit] -> [:field id {:temporal-unit unit}] or !unit.name * [:fk-> [:field 1] [:field 2]] => [:field 2 {:source-field 1}]
-
Luis Paolini authored
-
- Nov 08, 2022
-
-
Noah Moss authored
-
Jeff Bruemmer authored
-
Ariya Hidayat authored
-
Luis Paolini authored
Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Alexander Polyankin authored
-
Luis Paolini authored
* Updating GH actions versions * Included some linter fails by mistake
-
Nemanja Glumac authored
-
Alexander Polyankin authored
-
Ngoc Khuat authored
* Change the remaning columns that has text type in mysql,mariadb to longtext
-
- Nov 07, 2022
-
-
alexandermkinn authored
Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Bryan Maass authored
* Uses all text scorers in the final result - instead of just the maximum one - add tests * add prefix scorer test + fix text-score-with * linter fixes * pass in number of results to find * refactor test function * fix linter by removing unused namespace: metabase.util * limit arity of serialize to 3 * make oss-score and ee-score different things - They were defined to be exactly the same, but should be different! - Update some tests that broke when a test function was fixed * remove extra let * move rseq back out of sorted-take * improve test feedback * force weight of text based scorers always weigh 10 * handle 0 score/weights when normalizing scores * add nil check * fix more subtle test differences * more test fiddling - still test that :offset and :limit respect limits * reuse bit->boolean from api collection * clean up some tests - filter -> remove - replace some magic numbers - revert to testing entire maps instead of names of sorted items * add test, docstring, and weight * sort ns requires * responding to most of the review comments * start our zero-score sum check with 0 * do not tokenize / normalize nil raw-search-string * force equality in basic search test * modify test to work in dev and test environments * use display_name in results when appropriate - This was looking for the _first_ column that had a non-zero score, but actually we need to consider all relevant columns. - Uses them to figure out if there is a display name, and if there is, to use it. - Coppied over the logic about showing :context from the prior approach
-
Nick Fitzpatrick authored
* Adding Tests for hasColumnSettings * Updating Comment
-
Jeff Bruemmer authored
* add week function * Update docs/questions/query-builder/expressions-list.md Co-authored-by:
Natalie <nat@metabase.com> * update copy * formatting Co-authored-by:
Natalie <nat@metabase.com>
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
dpsutton authored
First seen in trivy report: https://github.com/metabase/metabase/pull/26161/checks?check_run_id=9326286850 CVE: https://avd.aquasec.com/nvd/cve-2022-40151 xstream: Xstream to serialise XML data was vulnerable to Denial of Service attacks High Package: com.fasterxml.woodstox:woodstox-core Installed Version: 6.2.6 Vulnerability CVE-2022-40151 Severity: HIGH Fixed Version: 5.4.0, 6.4.0 Bumping deps and comparing `clj -X:deps tree` shows the change only adds the new dep top level and no new deps are brought in by the change. ``` ❯ diff --unified deps deps-updated --- deps 2022-11-07 08:43:21.000000000 -0600 +++ deps-updated 2022-11-07 08:49:56.000000000 -0600 @@ -9,6 +9,8 @@ X org.slf4j/slf4j-api 1.7.25 :use-top X org.apache.logging.log4j/log4j-api 2.18.0 :use-top X org.apache.logging.log4j/log4j-core 2.18.0 :use-top +com.fasterxml.woodstox/woodstox-core 6.4.0 + . org.codehaus.woodstox/stax2-api 4.2.1 joda-time/joda-time 2.10.13 commons-codec/commons-codec 1.15 weavejester/dependency 0.2.1 @@ -285,8 +287,7 @@ . org.apache.santuario/xmlsec 2.3.0 X org.slf4j/slf4j-api 1.7.32 :use-top X commons-codec/commons-codec 1.15 :use-top - . com.fasterxml.woodstox/woodstox-core 6.2.6 - . org.codehaus.woodstox/stax2-api 4.2.1 + X com.fasterxml.woodstox/woodstox-core 6.2.6 :use-top . jakarta.xml.bind/jakarta.xml.bind-api 2.3.3 . jakarta.activation/jakarta.activation-api 1.2.2 . org.opensaml/opensaml-xmlsec-api 3.4.6 ```
-
Natalie authored
-
Braden Shepherdson authored
This allows smaller selective exports that (for example) don't need to include the data model if you know the other side has it.
-
- Nov 05, 2022
-
-
Luis Paolini authored
-
- Nov 04, 2022
-
-
Alexander Polyankin authored
-
Braden Shepherdson authored
-
- Nov 03, 2022
-
-
Natalie authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-