Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 17, 2018
    • Ryan Senior's avatar
      Add a unique index to databasechangelog · d6ad914c
      Ryan Senior authored
      Previously there was nothing to uniquely identify a row in the
      databasechangelog table as the uniqueness constraint was removed by
      Liquibase (see https://liquibase.jira.com/browse/CORE-1909). Not
      having something to uniquely identify a row can cause issues for
      database replication software. Since we only support PostgreSQL, MySQL
      and H2, the composite key referenced in the above issue (ID, AUTHOR,
      FILENAME) will work for us. This commit puts that uniqueness
      constraint back in for users wanting to replicate the Metabase
      application database.
      
      Fixes #8266
      d6ad914c
  2. Sep 06, 2018
  3. Aug 30, 2018
    • Ryan Senior's avatar
      Add TaskHistory for storage sync and background task metadata · 921d3751
      Ryan Senior authored
      This adds a new table for storing sync metrics and a quartz task for
      cleaning up old entries in the table.
      
      For now this only stores sync metrics and metadata for the task
      history cleanup task. Going forward our other background tasks would
      store information as well to help with debugging/troubleshooting those
      tasks.
      
      Fixes #7611
      921d3751
  4. Aug 14, 2018
  5. Aug 08, 2018
  6. Jul 30, 2018
  7. Jul 25, 2018
    • Simon Belak's avatar
      Xray comparisons raised from the dead (#7792) · 99eea124
      Simon Belak authored
      * Reenable comparisons
      
      * Color by segment, add segment names to legends
      
      * Add provisional API endpoint and UI hook via related
      
      * Reorder defns
      
      * Remove unneeded requires
      
      * Ensure all segment components are present in the comparison
      
      * Don't inherit `query-filter`
      
      * Change api endpoint argument name to avoid broken magic
      
      * Manually cast ids to int
      
      * Don't try to recast ints to int
      
      * Don't split Y axis for overlay cards
      
      * Add segment descriptions where possible. Move segment summary up top
      
      * Add backend tests, factor out common utilites for testing xrays
      
      * Add frontend tests
      
      * Add "compare with entire dataset" related for segments.
      
      * Account for description row height
      
      * Add related
      
      * Don't use u/get-id where we might be dealing with adhoc queries
      
      * Improve copy. Make cell titles more sensible
      
      * Split cases where we have query-filter and cell-query
      
      * Introduce [[this.foo]] syntax and make GenericTable and segments nice
      
      * Alow acces to both root and what's binded to this via dot notation
      
      * Don't stuff filter clauses into `cell-query`.
      
      * small tweaks and fixes
      
      * fix typo short-title -> short-name
      
      * Change cell xray to be based off card xray
      
      * downsize titles when merging dashboards
      
      * Fix enumeration of field names in titles
      
      * Correctly handle cell xrays of questions with multiple breakout dims
      
      * Fix regression in candidates
      
      * Fix broken url generation
      
      * Test for more working correctly
      
      * Don't show cards and filters where breakdown dim is a cell dim
      
      * don't explode if cell-query is nil
      
      * Correct title for questions with no breakout dimension
      
      * tests: set up collection for cards so that permissions work
      
      * entry action
      
      * remove use of 'these'
      
      * explicitly test for show=1
      
      * fix indentation
      
      * Appease the defendpoint gods
      
      * update url
      
      * drill entry points
      
      * Don't throw away :query-filter for adhocs; expand segment macros
      
      * Add docstring
      
      * Don't skip small categories in GenericTable
      
      * correctly flow query-filter to aggregate card constituents
      
      * more robust save dashboard test
      
      * Fix nested cards and improve filter merging
      
      * Fix a bunch of bugs
      
      * remove unneeded require
      
      * Flatten filters where possible
      
      * Discard cell-query for comparison side
      
      * upgrade all calls to the new api
      
      * Fix drill through links
      
      * Fix cell comparisons. This time for real :(
      
      * Flatten filter clause
      
      * Don't show superfluous datetime components
      
      * update tests
      
      * fix tiny typo
      
      * reorder minute and hour titles, remove comma from year titles
      
      * Humanize periodical datetime components nicer
      
      * Fix related
      
      * fix regression
      
      * Properly handle timezone
      
      * Add type hint
      
      * fix wrong arg order. ADD TESTS for datetime humanization
      
      * Fix type hint
      
      * fix dangling  in day-of-week xrays
      
      * Add day-of-year and test for all the available units
      
      * Retain structure (provisional)
      
      * Update test
      
      * address sameer's feedback
      
      * Fix bad merge
      
      * Add comparison_title
      
      * better distribution comparison title
      
      * Top align titles
      
      * Better cell titles; skip redundant titles
      
      * Add comparison_title to heursitics
      
      * Make flow happy
      
      * Generate correct title for cells of row questions
      
      * Shorter names for segments, don't split Y axis in overlays
      99eea124
  8. Jul 23, 2018
  9. Jul 20, 2018
  10. Jul 17, 2018
  11. Jul 16, 2018
    • Ryan Senior's avatar
      Parameterize quoting strategy · 2654e922
      Ryan Senior authored
      Quoting all objects works for MySQL/MariaDB but that same setting
      causes H2 and PostgreSQL to fail. H2 appears to be quoting table names
      in a create table statement but not quoting that same table name when
      referenced via a foreign key which fails.
      
      This commit sets up the quote all objects strategy for MySQL/Maria but
      leaves the `LEGACY` quoting strategy for H2/PostgreSQL.
      2654e922
  12. Jul 13, 2018
  13. Jul 12, 2018
  14. Jul 11, 2018
    • Ryan Senior's avatar
      Driver pulse table cell color from visualiation settings · e1f9f9ca
      Ryan Senior authored
      This creates a new shared javascript file in
      `resources/frontend_shared` that will be used by the frontend and the
      backend to drive the background color of cells using conditional
      formatting features the frontend has.
      
      This uses the JDK 8 included Nashorn javascript engine to eval and
      invoke the functions in that shared file.
      e1f9f9ca
    • Simon Belak's avatar
      Add comparison_title · a50b6540
      Simon Belak authored
      a50b6540
  15. Jul 10, 2018
  16. Jul 09, 2018
  17. Jun 29, 2018
  18. Jun 28, 2018
  19. Jun 26, 2018
  20. Jun 25, 2018
  21. Jun 22, 2018
  22. Jun 21, 2018
  23. Jun 14, 2018
  24. Jun 12, 2018
  25. Jun 07, 2018
    • Ryan Senior's avatar
      Switch metric/segment `is_active` to `archived` · 06e3f486
      Ryan Senior authored
      This column name and logic matches what is done currently for other
      entities in the model. This commit also adds a `archived` column for
      pulses/alerts to make it more consistent with the other entities. The
      `archived` column for Pulses is just included in responses currently,
      there's no plumbing to populate it, filter by it etc.
      06e3f486
  26. Jun 06, 2018
  27. Jun 05, 2018
Loading