This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Sep 14, 2018
- Sep 12, 2018
-
-
Cam Saul authored
-
- Sep 11, 2018
-
-
Ryan Senior authored
Also moves the segmented permissions regex to a named var.
-
- Sep 10, 2018
-
-
Ryan Senior authored
Currently i18n'd strings that are defined at compile time only return english text. This occurs with both system and user locale strings. For system locale, the locale can be changed via setting, so we can't rely on the JVM locale on startup to be correct as it may have changed. For the user locale, it could be different for every request. This commit adds two new `tru` and `trs` macros that have the same name as the `puppetlabs.i18n.core` macros (and thus will be extracted similarly) but will return a defrecord with a `toString` method. This delays the conversion of the english text to the translated text until `str` is invoked. All of the code hasn't been flipped to use the new i18n macros yet, but this gets it in place and tested for the rest of the application to be migrated to. Fixes #8245
-
- Sep 06, 2018
-
-
Simon Belak authored
-
Simon Belak authored
-
- Aug 31, 2018
-
-
Ryan Senior authored
This commit adds a flag to allow dates parsed from BigQuery to be parsed in the JVM's timezone rather than UTC. By default all BigQuery dates are in UTC but it's possible to modify the timezone via a function invocation. This flag allows installs that have all of their queries modifying the timezone in that way to match the actual and expected timezones via setting the JVM's timezone.
-
- Aug 30, 2018
-
-
Simon Belak authored
-
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
-
Ryan Senior authored
When using the core async `alts` and `>` functions, they should use the single `!` version (i.e. `alts!` and `>!` instead of the `!!` version. When using HTTP/2 and a reverse proxy, the multiplexed HTTP/2 requests get issues to Metabase not as a single connection, but as multiple requests at the same time. The combination of those simultaneous requests and the incorrect usage of the `core.async` functions leads to the query responses not being delivered. Fixes #8312
-
- Aug 24, 2018
-
-
Ryan Senior authored
The existing code would retry a database migration if it failed. If the failure was such that it didn't release the lock, the retry will always fail. To make this worse, if the user didn't have Metabase set to the WARN log level, they would not see the original exception, but only the lock exception. This commit tries to release the lock if a failure occurs. This will cause the real exception to bubble up on subsequent retries rather than complaining about the lock.
-
- Aug 22, 2018
-
-
Ryan Senior authored
When connecting to a Google service, we identify ourselves with a string that includes version, hash and branch information. If a user downloads a Metabase tarball from Github, it won't have that Git metadata and we will throw a NullPointerException on startup. This commit just ensures we always have a value for that string, even when there is no git metadata available. Fixes #8368
-
Ryan Senior authored
Our existing remappings code didn't work when an MBQL fields clause is present. Typically that fields clause is populated by the `add-implicit` middleware, but that doesn't happens with the user included fields. Fixes #8270
-
- Aug 20, 2018
-
-
Kyle Doherty authored
-
- Aug 17, 2018
-
-
Ryan Senior authored
The redshift connection configuration details got messed up in the refactor. Instead of the password field a second port field got included. The password field was put back in but the second port field needed to get removed.
-
Simon Belak authored
-
Simon Belak authored
-
Ryan Senior authored
When POSTing to the `/dataset` endoint, there was code that if the database was our fake database id (used for nested queries) but that same check wasn't present for the dataset exports. This commit adds that check and a test that validates it. Fixes #8256
-
Simon Belak authored
-
Ryan Senior authored
The issue was around our usage of `du/format-date` with a built-in date format (`:date-hour-minute-second-ms`). Those Joda Time date formatters don't default to the system timezone, which the code assumed. Instead it defaults to UTC. We have code in the MySQL driver that works around a MySQL driver bug by converting the date to a string and then using the MySQL `convert_tz()` function. That code was converting the date from the system timezone to the report timezone, rather than UTC, which is what the Joda Time date formatter was returning. Fixes #8262
-
- Aug 16, 2018
-
-
Ryan Senior authored
Previously an NullPointerException would be thrown if the Pulse was a bar graph and the resultset contained a nil value for the x or y axis. This commit just omits those rows so that it doesn't fail and renders the data it does have. Fixes #8260
-
- Aug 15, 2018
-
-
Simon Belak authored
-
Simon Belak authored
-
Simon Belak authored
-
- Aug 14, 2018
-
-
Ryan Senior authored
-
Ryan Senior authored
Just adds a `:user` keypair with the current user information.
-
Ryan Senior authored
This will allow expressions in a join clause, rather than just a table name.
-
Simon Belak authored
-
Simon Belak authored
-
- Aug 13, 2018
-
-
Cam Saul authored
-
Simon Belak authored
-
Simon Belak authored
-
Simon Belak authored
-
Simon Belak authored
-
- Aug 09, 2018
-
-
Tom Robinson authored
-
Ryan Senior authored
Mostly this change involves resolving the nested query, then using that resolved nested query along with the top level breakout clause to figure out if we need to add more fields to be projected from that inner query. The code previously was resolving that nested query but wasn't resolving the breakouts after and reconciling that fields list. This also adds some tests for these nested FK scenarios.
-
Ryan Senior authored
-
- Aug 08, 2018
-
-
Simon Belak authored
-
Simon Belak authored
-