This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Mar 04, 2020
-
-
Cam Saul authored
* Upgrade Jetty version * Remove async-wait middleware * Move re= test macro * Add mt/user->credentials alias * Convert metabase.server-test to new style * Rework dataset-test to use metabase.test * Use atom instead of agent for tracking in-flight queries * Streaming QP context should correctly pass the canceled-chan created by StreamingResponse * Save query executions synchronously * i18n the query logs * Reworked StreamingResponse * Almost working
* Test fixes * Test impl & some perf improvements * Test/lint fix -
Walter Leibbrandt authored
* Added short description of sub-query functionality Smuggled in a bunch of minor copy changes. * Emphasize sub-query support limitation Co-Authored-By:
flamber <1447303+flamber@users.noreply.github.com> * Escape text that looks like Jekyll variables Co-Authored-By:
flamber <1447303+flamber@users.noreply.github.com> * s/it/them/ Co-Authored-By:
Maz Ameli <maz@metabase.com> * Add note about sub-queries having to be in the same db Co-Authored-By:
Maz Ameli <maz@metabase.com> Co-authored-by:
flamber <1447303+flamber@users.noreply.github.com> Co-authored-by:
Maz Ameli <maz@metabase.com>
-
Cam Saul authored
-
Tom Robinson authored
-
Walter Leibbrandt authored
* Bump ring-core to 1.8.0 * Fix Docker CI build https://github.com/technomancy/leiningen/issues/2658#issuecomment-593716154
-
- Mar 03, 2020
-
-
Paul Rosenzweig authored
-
Maz Ameli authored
* mock up the file * add between comment * add in all the rest of the strings, phew * fix syntax * fix lint errors * no unused vars fix
-
Cam Saul authored
* Fix support for H2/Postgres CLOB types [ci h2] [ci postgres] * Fix circular references
-
Cam Saul authored
Support empty/nil schemas GET /api/database/:id/schemas and GET /api/database/:id/schema/:schema (#12036)
-
- Mar 02, 2020
-
-
Cam Saul authored
-
Cam Saul authored
-
Cam Saul authored
-
Cam Saul authored
-
Cam Saul authored
Co-authored-by:
Marcelo Gimenes de Oliveira <marcelo.gimenes.oliveira@gmail.com>
-
Christopher Elwell authored
-
- Feb 26, 2020
-
-
Kyle Doherty authored
* switch to 3up grid * cleanup
-
Kyle Doherty authored
* tweak date picker visuals * update Calendar snapshot
-
Walter Leibbrandt authored
* Port tests from expectations to clojure.test * Fix docstring * Added :question template tag type with lookup * s/question/card/ * Fix typo: s/substitue/substitute/g * Wrap card query parameter data in a record Just like `FieldFilter`s. * Unrelated: Improve test layout * Add substitution of card query parameters in queries This implementation is incomplete. * Finish substitution of card query in parent query * Basic FE support for question template tags * Update card ID on tag name update Also, don't use `\d` in regexes. * yarn prettier * Add support for MBQL queries in template tag lookup * Return query strings directly as tag value * Fix query type lookup * Initialize QP store for MBQL→native conversion * Fix MBQL to native query conversion * Port tests from expectations to clojure.test * Add middleware to resolve tables/fields from referenced cards This needs to happen before `substitute-parameters` in the QP pipeline, so that `substitute-parameters` can convert any MBQL queries (from referenced cards) into native queries. Maybe it should be consolidated with the other resolution steps. * Use mbql-query util instead of manual query def * Add docstring to now public function * Remove unused import * Fix docstring positioning
* Clean ns declaration * Convert tests to clojure.test * Be more specific about errors we're looking expecting Invalid queries caused unexpected exceptions to be thrown when checking permissions. * Recursively check permissions of referenced queries * Add incomplete test [WIP] * Finish permission check test for referenced MBQL queries * Add tests for referenced native queries perms check * Clean ns * Use existing mbql-to-native middleware Rather than calling driver-specific `mbql->native` directly. * Fix formatting * Use more comprehensive qp func for converting query to native * front end updates * Check that all referenced queries are from the same db * Add test for checking db id of referenced MBQL query * Clean ns * add metadata and better error states to UI * move error message beneath the question picker * Combine `vals`+`filter`+`map` into a single `keep` * Rename `CardQuery`→`ReferencedCardQuery` * Cosmetic: fix typo and formatting * Test substitution of multiple sub-queries * Test CTE syntax substitution of multiple sub-queries * Clean ns * Clean ns * Simplify referenced card substitution tests * Test recursive sub-query substitution * Cosmetic: typos * Fix parameter names in comments * Check that queries don't include circular sub-queries * Clean ns * Give users a more user-friendly error for circular referencing sub-queries * Test referencing queries with parameters * Update src/metabase/query_processor/middleware/resolve_referenced.clj Co-Authored-By:Maz Ameli <maz@metabase.com> * Fix error message and combine card name queries * Wrap sub-query error in a more user friendly explanation * Cosmetic: function argument alignment * Test error handling of referenced sub-queries * Remove unused 1-arity version of `card-subquery-graph` * Cosmetic: indentation * Normalize l10n of error messages * Reuse functions for looking up referenced cards from query * implement FE PR feedback * card -> card_id backend changes * fix tests * fix another test * disallow space between # and number * Align new middleware with newer QP architecture * Align sub-query error handling with the new QP It seems like exceptions are handled more consistently in the new QP, so we can be less hacky. * (Re)wrap sub-query errors in user-friendly expalanation * Rename `xformf`→`rff` to align with QP changes * force cypress click on select placeholder * move popover attachement and cap its height * icon spacing * customize highlighting for template tags Co-authored-by:
Paul Rosenzweig <paulrosenzweig@users.noreply.github.com> Co-authored-by:
Maz Ameli <maz@metabase.com>
-
- Feb 25, 2020
- Feb 24, 2020
-
-
Kyle Doherty authored
DateSingleWidget wasn't explicitly setting itself to not be a range picker nor were we checking that prop in the css class we applied which resulted in an inconsistent selected state in the single date widget.
-
- Feb 21, 2020
-
-
Paul Rosenzweig authored
-
Maz Ameli authored
* add more field types and reorganize them * update snapshots
-
Cam Saul authored
-
- Feb 20, 2020
-
-
Cam Saul authored
* Fix streaming downloads -- send correct headers * Don't include file download headers for normal QP API responses * GZIP compress streaming responses * Startup perf improvement
-
Maz Ameli authored
* tweak sql vars sidebar style * purple tokens * make help text more readable * change variables visual style * update input label in test Co-authored-by:
Paul Rosenzweig <paulrosenzweig@users.noreply.github.com>
-
Cam Saul authored
-
- Feb 19, 2020
- Feb 18, 2020
-
-
Ivan Peevski authored
Related to issue https://github.com/metabase/metabase/issues/2808
-
- Feb 14, 2020
-
-
Cam Saul authored
-
Cam Saul authored
Weekly merge of release-0.34.x into master
-
Walter Leibbrandt authored
-
Walter Leibbrandt authored
-
Paul Rosenzweig authored
* add setting for chart value formatting (cherry picked from commit 19b35a9960c8c3b4054d120b45ead57005e45290) * compact formatting updates * small tweaks * fix tests * implement tom's idea to prevent auto compact from depending on currency settings * more `_numberFormatter: undefined` to where compact setting is tested
-
Damon P. Cortesi authored
* Add DB limitation to data sandboxes
-