This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Sep 17, 2018
-
-
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
-
- Sep 06, 2018
-
-
Tom Robinson authored
-
- Aug 30, 2018
-
-
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
-
- Aug 14, 2018
-
-
Simon Belak authored
-
- Aug 08, 2018
-
-
Simon Belak authored
-
- Jul 30, 2018
-
-
Cam Saul authored
-
- Jul 25, 2018
-
-
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
-
- Jul 23, 2018
-
-
Tom Robinson authored
-
Tom Robinson authored
-
Maz Ameli authored
-
- Jul 20, 2018
-
-
Kyle Doherty authored
* clean up schema picker + add empty state for 'our analytics' * smaller illustration * more empty state space * more reasonable card content size * lint * copy tweak [ci skip] * admin based messaging * lighten image * lint * boo
-
- Jul 17, 2018
-
-
Tom Robinson authored
-
Simon Belak authored
-
- Jul 16, 2018
-
-
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.
-
- Jul 13, 2018
-
-
Ryan Senior authored
We have several spots in our migrations that we have slightly different behavior for MySQL than we do for H2 or PostgreSQL. This just extends those same changes to MariaDB.
-
Ryan Senior authored
MySQL 8+ includes many new reserved words including words that collide with some of our column names. This commit adds quoting to migrations that include column names that are reserved words.
-
- Jul 12, 2018
-
-
Tom Robinson authored
-
Ryan Senior authored
-
Maz Ameli authored
-
- Jul 11, 2018
-
-
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.
-
Simon Belak authored
-
- Jul 10, 2018
-
-
Maz Ameli authored
-
- Jul 09, 2018
- Jun 29, 2018
-
-
Simon Belak authored
-
- Jun 28, 2018
-
-
Maz Ameli authored
-
- Jun 26, 2018
-
-
Simon Belak authored
-
Simon Belak authored
-
- Jun 25, 2018
-
-
Maz Ameli authored
-
- Jun 22, 2018
-
-
Simon Belak authored
-
- Jun 21, 2018
-
-
Simon Belak authored
-
- Jun 14, 2018
-
-
Simon Belak authored
-
- Jun 12, 2018
-
-
Cam Saul authored
-
- Jun 07, 2018
-
-
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.
-
- Jun 06, 2018
-
-
Cam Saul authored
-
Cam Saul authored
-
Ryan Senior authored
-
- Jun 05, 2018