Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 13, 2022
  2. Sep 12, 2022
  3. Sep 09, 2022
    • Natalie's avatar
      docs - update timezones (#25339) · f96b5ce6
      Natalie authored
      f96b5ce6
    • Noah Moss's avatar
      Fix issues with postgres PKCS-12 SSL connections (#25299) · 1ead699e
      Noah Moss authored
      * use .p12 file extension for pkcs-12 keys
      
      * test
      
      * fix messed up indentation
      
      * default to empty string ssl password
      
      * address feedback
      
      * fix tests
      1ead699e
    • Cal Herries's avatar
      Add referenced question columns to autocomplete results (#25197) · b0a48491
      Cal Herries authored
      
      * Add an autocomplete completer that gets all the columns for referenced questions
      
      * Tidy up
      
      * Add docstring for WIP
      
      * Add TODOs
      
      * Add endpoint for referenced-cards
      
      * Undo changing comment
      
      * Revert back to returning null
      
      * Update src/metabase/api/card.clj
      
      Co-authored-by: default avatarNgoc Khuat <qn.khuat@gmail.com>
      
      * Add template tag that isn't a card reference to the test
      
      * Make ids follow conventions and tidy
      
      * Remove unused require
      
      * Create e2e test
      
      * Add wait to be sure autocompleter finishes
      
      * Remove referenced-cards endpoint and fetch questions as the user types
      
      * Remove unrelated change
      
      * Filter columns for substring matches only
      
      * Prioritise question columns in autocomplete results
      
      * Fix issue with autocomplete if user doesn't have access to referenced question
      
      * Add useCachedForbiddenError option for withCachedData
      
      * Actually add useCachedForbiddenError
      
      Co-authored-by: default avatarNgoc Khuat <qn.khuat@gmail.com>
      b0a48491
    • Anton Kulyk's avatar
      Implement basic "New App" scaffolding flow (#25295) · 5d894a0d
      Anton Kulyk authored
      * Allow rendering `DataSelector` outside of popover
      
      * Add scaffold endpoint
      
      * Add scaffold action
      
      * Implement scaffolded "New App" flow
      5d894a0d
    • Natalie's avatar
      docs - update docker quick starts (#25332) · 2d620357
      Natalie authored
      2d620357
    • adam-james's avatar
      Respect custom series names in static viz (#25300) · 81f80ee3
      adam-james authored
      * Respect custom series names in static viz
      
      * Remove change that isn't actually necessary
      
      * Revert "Remove change that isn't actually necessary"
      
      This reverts commit 617ff4a9719bd5386bf69651cad696948a1fea7b.
      
      * Remove uneeded change
      
      * Add helper fn
      
      * Add back a change I actually did need... brain fart, oops
      
      * Add a test to make sure the correct :name key is used for series
      
      * Remove unused function
      81f80ee3
    • Gustavo Saiani's avatar
      3ebf8fcf
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Static visualization polish fixes (#25145) · 9cd5a5f8
      Mahatthana (Kelvin) Nomsawadi authored
      * Render ordinal x-axis label 90deg instead of 45deg
      
      * Fix chart grid and x-axis size not equal when having left padding
      
      * Fix X-axis line covered by grid lines
      
      * Update static chart text size to match new designs
      
      * Handle 90deg rotated x-axis tick labels
      
      * Fix timeseries overlapping x-axis tick labels
      
      * Fix typo
      
      * Show data point circle to make reading line charts less confusing
      
      * Render data point circle only on visible data point values + fix types
      
      * Address review
      9cd5a5f8
  4. Sep 08, 2022
    • Bryan Maass's avatar
      users may only send non-ddl native sql to h2 (#25220) · 52beccdb
      Bryan Maass authored
      * users may only send non-ddl native sql to h2
      
      * tests for diasllowing h2 ddl
      
      * improve error message on throw
      
      * fix linter + cleanup the-exploit example.
      
      * refix linter
      
      * handle garbage input by failing to classify it.
      
      If it h2 can't parse it, then that input cannot trigger a vulnerability.
      
      Our parser simply chews through erroneous sql, and classifies statements
      that it is able to parse.
      
      * When h2 is running in client-side mode, do not parse sql
      
      - SessionRemote indicates that we are currently client side
      
      * refactor so that building parser is easier
      
      * remove unused import SessionRemote
      
      * Revert "refactor so that building parser is easier"
      
      This reverts commit a41800131696de00d98e4eb7124d4d4b1b1cb33c.
      
      * check client-side conns => import SessionRemote
      
      * replace truncate function via inlining
      
      * fix drop arg order
      52beccdb
    • adam-james's avatar
      Add goal line settings to the viz-settings map passed to combo chart (#25269) · 83d72daf
      adam-james authored
      * Add goal line settings to the viz-settings map passed to combo chart
      
      * Add a test to check that goal lines are added to line/area/bar/combo
      83d72daf
    • Jeff Bruemmer's avatar
      add frontmatter to API doc page (#25316) · f8a2ada1
      Jeff Bruemmer authored
      f8a2ada1
    • Gustavo Saiani's avatar
      Add white bg (#25268) · 53a295f7
      Gustavo Saiani authored
      53a295f7
    • Case Nelson's avatar
      [Apps] Prototype backend app scaffolding (#25314) · 1740b105
      Case Nelson authored
      * [Apps] Prototype backend app scaffolding
      
      WIP
      
      Given a set of table-ids, we try to build out an app. Ideally the
      produced scaffold is done on the frontend and passed in to
      
      1. avoid code duplication
      2. allow the front end to maintain ownership of visualization_settings
      3. avoid regressions on frontend code changes
      
      However, this currently builds the scaffold on the backend due to FE dev
      bandwidth. In theory, it is done in such a way that it both matches the
      FE as closely as possible as well as becomes easy to change this code to
      accept a scaffold rather than generating one itself.
      
      It uses `scaffold-target` to map cards and dashboards in the scaffold
      with the inserted ids.
      
      Things that are still being worked out elsewhere:
      1. The shape of nav-items
      2. The shape of implicit action buttons
      
      * Sort namespace
      
      * Update and fix scaffold based on demo
      
      * Address review comments
      
      Deduplicate table-ids and make sure they are valid.
      
      i18n page suffixes.
      
      Check that tables have exactly one primary key column.
      
      Check that card scaffold has a `scaffold-target`
      
      Remove redudant check in scaffold-target replacement that the map lookup took care of.
      1740b105
    • Jeff Bruemmer's avatar
      matching titles (#25313) · 8879900d
      Jeff Bruemmer authored
      8879900d
    • Case Nelson's avatar
Loading