This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Aug 19, 2019
-
-
hansen authored
-
Walter Leibbrandt authored
Fixes #10439
-
- Aug 15, 2019
-
-
Simon Belak authored
-
- Aug 14, 2019
-
-
Walter Leibbrandt authored
* Add versions of `trs` and `tru` that wrap results in `str` The pre-existing `trs` and `tru` were renamed to `lazy-trs` and `lazy-tru` respectively, and new `trs` and `tru` funcs were added, wrapping the result of its lazy counterpart in `str`. This way the normal use case of `trs` and `tru` is improved by no longer requiring that it be wrapped in `str`. Cases where the translated result is passed to `str` anyway, the lazy version can be used. * `(str (trs ...))` → `(trs ...)` And the same for `tru`. * Allow `defsetting` descriptions to use lazy versions of `trs`/`tru` * Use `lazy-trs`/`lazy-tru` where `str` is applied separately * Remove unnecessary `vec` from `tru`/`trs` macros * puppetlabs.i18n does not have a `lazy-tru` * Missed some settings that now need to use `lazy-tru` * Only use `lazy-tru` in top-level `def`s If the localized strings are looked up on module import, before locales are loaded, the lookup will fail and the original input string will be used. * Fix bad usages of `tru` that should be `lazy-tru` * s/lazy-tr/deferred-tr/g * Avoid `tr*` macros being used in top-level (compile time) statements Because localizations are not yet loaded at compile time. * Add type hint for `str*` wrapping of `trs`/`tru` * Fix assigned function's return type hint * Expand docstrings for `i18n/tr[su]` * Use `trs` and `tru` from metabase.util.i18n instead of puppetlabs.i18n.core * Defer compile time translation lookups These changes were pointed out by exceptions generated by `i18n/str*`. * Remove unused `require`d function * New compile time `trs` usages caught by `lein uberjar` * Ensure that error message from db driver is a string It is necessary to ensure that the error message is a string, because some db driver errors come from statically declared error messages, using `deferred-tru`. Like those in `metabase.driver.common/connection-error-messages`. Fixes #10347 and #10473. * Remove string type hint from `humanize-connect-error-message`
-
- Aug 13, 2019
-
-
Simon Belak authored
Add transforms and domain models
-
- Aug 12, 2019
-
-
Sergi Almacellas Abellana authored
-
Walter Leibbrandt authored
* Return log events as JSON objects from API; render on front-end Site UUID added to log events. * Remove superfluous memoization of site UUID retrieval Settings are already cached. * Transfer timestamps in ISO-8601 format * Move `metabase.metabot.instance/local-process-uuid` to `metabase.public-settings` * Use `local-process-uuid` in stead of `site-uuid` `site-uuid` is not unique across processes, which is what we want to associate with log events. * Remove unused import * Allow log events to be filtered by process UUID on front-end * Move process selector out of loading wrapper Otherwise, if there are process UUIDs with no log events, the selector is removed with the log event list. * Figured out how to add docs to `defonce` * Fix ns declaration * Linter appeasement * Merge log events received from back-end with previously received ones This allows responses from multiple back-end instances to be spliced together. * Use MB components in stead of plain, styled HTML tags The select is only displayed if more than one process UUID was found. * Linter appeasement * Move `metabase.public-settings/local-process-uuid` to `metabase.config` * Fix sorting on multiple log event fields * Flatten `Select` children to allow nested arrays of children * Generate options directly under parent Select * Limit the number of log events that we render * Docstring and style updates * Update editor config with Clojure files max line length * Ensure that `NumericWrapper` is imported before use * Cleanup layout
-
- Aug 10, 2019
-
-
Simon Belak authored
Filter out models with infinities
-
- Aug 08, 2019
-
-
Walter Leibbrandt authored
* Join on collection table's ID, not the joining table's `collection_id` This caused each record that joins on collection, to be duplicated for each existing collection: `LEFT JOIN collection collection ON card.collection_id = collection_id` should be `LEFT JOIN collection collection ON card.collection_id = collection.id` * Test fixes from @cam on EE
-
- Aug 06, 2019
-
-
Walter Leibbrandt authored
* Split out inline JS from index/init templates to separate files * Read inline JS from resources at run time * Calculate inline JS hashes for CSP header from content * Move inline JS to resource sub-directory * Update and memoize inline JS loading * Revert debug code * Deduplicate `resp/response` calls * Fix paths to moved inline JS resources * Force creation of test data DB so things don't get left in the cache This fix was provided by @camsaul. * Combine and `defonce` inline JS hashes * s/inlinejs/inline-js/
-
- Jul 31, 2019
-
-
Tom Robinson authored
* Improved aggregation names for column names * Fix tests
-
- Jul 29, 2019
- Jul 23, 2019
-
-
Cam Saul authored
[ci drivers]
-
- Jul 22, 2019
- Jul 18, 2019
-
-
Cam Saul authored
-
- Jul 16, 2019
-
-
Cam Saul authored
-
- Jul 12, 2019
- Jul 11, 2019
-
-
Simon Belak authored
Don't count FKs & PKs as numbers + robustly handle `:default` token
-
- Jul 10, 2019
-
-
Simon Belak authored
Add datetime interval arithmetics
-
- Jul 08, 2019
- Jul 02, 2019
- Jul 01, 2019
-
-
Cam Saul authored
-
- Jun 26, 2019
- Jun 25, 2019
- Jun 20, 2019
-
-
Octavian Geagla authored
* [segments] fix edit segments; don't use diff for definition changes * [segments] don't use diff at all on segment updates * [metrics] don't use diff at all on metric updates either * [segments] use original body fields + norm'd def * [test] wip update metric/segment tests
-
- Jun 19, 2019
-
-
Octavian Geagla authored
* [test] add simple sql humanization tests wip * [dict][test] humanization tests to keep sql reserved words whole wip * [humanization] wip inverse+clean dict * [humanization] test cases * [humanization] more user test cases * [humanization] remove certains words from dict
-
- Jun 17, 2019