Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 10, 2020
  2. Mar 06, 2020
    • Tom Robinson's avatar
      Expressions: filter expressions, case statements, string extracts, and share aggregations (#11868) · 09001d6c
      Tom Robinson authored
      
      * Upgrade Chevrotain to v6.5.0
      
      * Switch from embedded actions to visitor
      
      * rename tokens to lexer, remove no-longer needed Chevrotain hack from webpack.config.js
      
      * get tests passing again
      
      * progress converting syntax parser
      
      * got intermediate Sum(A) test passing
      
      * more progress on parsing expressions
      
      * get complex expression passing
      
      * prettier
      
      * linting
      
      * Add TokenizedExpression snapshot test
      
      * Add support to parser for recovering whitespace tokens
      
      * Add case clause [ci all]
      
      * fix test [ci all]
      
      * Harden test [ci all]
      
      * More tests [ci all]
      
      * Correctly infer case return type [ci all]
      
      * Fix test [ci all]
      
      * Fix tests [ci all]
      
      * Improved syntax parser
      
      * More parser cleanup + start adding filters and functions
      
      * Add CASE and partial filter support, cleanup tests
      
      * Add string extracts [ci all]
      
      * Typo [ci all]
      
      * Make linter happy [ci all]
      
      * Add regex-match-first [ci all]
      
      * Fix arglist [ci all]
      
      * Fix test [ci all]
      
      * Add sum-where count-where and share support. Refactor aggregation tokens
      
      * Fix tests [ci all]
      
      * Add ns prefixes [ci all]
      
      * Add ns qualifiers [ci all]
      
      * Fix trim [ci all]
      
      * Tests: ensure stable ordering of results [ci all]
      
      * Fix trim [ci all]
      
      * Support only 1-arg trim [ci all]
      
      * Fix ns prefixes [ci all]
      
      * Fix psql [ci all]
      
      * Fix redshift [ci redshift]
      
      * Refactor/simplify grammer to consolidate aggregation, expression, and filter functions
      
      * Add isCase to isExpression
      
      * Directly splice regex pattern for psql & redshift [ci all]
      
      * Fix schema [ci all]
      
      * Redshift: splice replace args [ci redshift]
      
      * Add ns prefix [ci redshift]
      
      * Typo [ci redshift]
      
      * Filter expressions
      
      * Add metrics and segments back in to expressions
      
      * Disable tokenized editing
      
      * Update tests to clojure.test [ci all]
      
      * Add concat to sqlite [ci all]
      
      * Add length [ci all]
      
      * Add missing ns [ci all]
      
      * Fix test [ci all]
      
      * Fix messed up multimethods [ci all]
      
      * Fix mssql [ci all]
      
      * Fix sqlite concat [ci all]
      
      * sqlite: correctly qoute literal strings [ci all]
      
      * Misc improvements to syntax highlighting etc
      
      * Cleanup tests [ci all]
      
      * Reoder defs [ci all]
      
      * Make linter happy [ci all]
      
      * Mongo: add case [ci mongo]
      
      * mongo: fix switch [ci mongo]
      
      * typo [ci mongo]
      
      * Improve syntax highlighter and suggestions
      
      * Mongo: always have default fallback in case [ci mongo]
      
      * Rearrange test to split out ones using expressions [ci mongo]
      
      * Remove uneeded merge [ci all]
      
      * misc
      
      * Much improved syntax highlighting using recovery mode and partial CST
      
      * Improved suggestions
      
      * try monospace font for expressions
      
      * Better typing in parser, various other fixes
      
      * Avoid parsing multiple times
      
      * Fix tests
      
      * Fix tests
      
      * More test fixes
      
      * Special case for UnderlyingRecords drill with sum-where/count-where/share
      
      * switch back to square brackets for identifiers
      
      * change extract to regexextract
      
      * Lift expressions to subselect [ci all]
      
      * Commit on enter
      
      * rename extract to substitute, fix tests
      
      * Refactor [ci all]
      
      * Fix normalization [ci all]
      
      * Correctly handle joins [ci all]
      
      Co-authored-by: default avatarDaniel Higginbotham <daniel@flyingmachinestudios.com>
      Co-authored-by: default avatarSimon Belak <simon@metabase.com>
      Co-authored-by: default avatarMaz Ameli <maz@metabase.com>
      Unverified
      09001d6c
  3. Jan 28, 2020
  4. Jan 21, 2020
  5. Jan 17, 2020
  6. Jan 09, 2020
  7. Jan 08, 2020
  8. Dec 18, 2019
  9. Dec 12, 2019
  10. Dec 11, 2019
  11. Dec 09, 2019
  12. Dec 05, 2019
  13. Dec 02, 2019
  14. Nov 25, 2019
  15. Nov 07, 2019
  16. Oct 30, 2019
  17. Oct 28, 2019
    • Paul Rosenzweig's avatar
      Timezone aware scale (#11111) · 3b6f8871
      Paul Rosenzweig authored
      * copy over code from pr
      
      * remove chronological
      
      * remove tick formatting
      
      * remove chronological
      
      * use reporting_timezone
      
      * remove unneeded tests
      
      * remove import
      
      * add timeseriesScale tests/fixes
      
      * eslint
      
      * more timeseriesScale tests
      
      * remove now unneeded rangeFn
      
      * more timeseriesScale tests
      
      * report_timezone to actual_timezone
      
      * display warning if timezones are mismatched
      
      * extract getTimezone
      
      * don't error if series doesn't have a card (in tests)
      
      * move expected/actual timezones into data, add warning when series have different timezones
      
      * fixes
      
      * make sure getTimezone works on transformed series
      
      * update actual/expected to results/requested
      
      * call getTimezone from LAB renderer rather than apply axis
      
      * include timezone as part of a timeseries interval
      
      * missed variable
      
      * include timezone when updating timeseries interval
      
      * remove "report_timezone"
      
      * add timezone fields to DatasetData flow type
      
      * make the fields optional
      
      * Fill data using timezone scale (#11143)
      Unverified
      3b6f8871
  18. Oct 07, 2019
  19. Sep 05, 2019
  20. Sep 02, 2019
  21. Aug 06, 2019
  22. Jul 30, 2019
  23. Jun 19, 2019
  24. Jun 14, 2019
  25. Jun 10, 2019
  26. Jun 03, 2019
  27. May 07, 2019
  28. Apr 09, 2019
  29. Feb 05, 2019
  30. Feb 01, 2019
  31. Jan 31, 2019
  32. Jan 08, 2019
  33. Oct 03, 2018
  34. Sep 18, 2018
    • Ryan Senior's avatar
      Upgrade node version in packages.json and the Dockerfile [ci all] · 84c692a7
      Ryan Senior authored
      Using version 220 of `jest-localstorage-mock` required that we upgrade
      our version of NodeJS from our previous minimum of 6.11.3. To support
      that, this commit switches from the deprecated
      `java:openjdk-8-jdk-alpine` docker image to the newer
      `openjdk:8-jdk-alpine` image. This image is running Alpine version 3.8 which
      has NodeJS 8.11.4 in it's repository. This also bumps the minimum
      version of node in the packages.json file.
      84c692a7
  35. Sep 13, 2018
  36. Aug 20, 2018
  37. Jul 25, 2018
Loading