This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 11, 2022
-
-
Ariya Hidayat authored
-
Case Nelson authored
* Make persisted models use "create table as" There are outstanding issues with database type erasure. If we try to recreate table columns based on the saved definition we'll get types such as `type/Structured` that could be `json`, `xml`, etc. Perhaps worse, consider 'citext' that we see as `type/Text`. If they have queries on the model such as `where email = 'JOE@example.com'` that would start to return different results if we created the table with `email text` rather than `email citext`. By using `create table ... as select ....`, we avoid this issue as the db types selected will match the db types queried. * Remove unused require * Missed validatiy check needs a query to create table as
-
Dalton authored
* separate some pure functions that live on FieldValuesWidget * Fix some variable name weirdness
-
Dalton authored
-
Gustavo Saiani authored
-
Gustavo Saiani authored
-
Alexander Kiselev authored
* remove memoize decorator * remove babel plugins * Fix AccordionList * remove memoize from accordionlist * fix value vs type issue with wrapped classes * fix typechecking in memoize class * rewrote query to export the memoized class directly
-
Case Nelson authored
These loops could be long running, so before removing or adding a cache we should double check that the state of the persisted info is still valid for the job.
-
Case Nelson authored
* Only apply persistence substitution when there's no sandboxing * Added test for sandboxed persistence * Recursively apply persisted-info/native queries * Move test into permissions test that has ee code
-
Gustavo Saiani authored
-
Alexander Lesnenko authored
-
Ariya Hidayat authored
* migrate to TypeScript, add type annotations * include props definition * support Storybook * add a basic unit test
-
Alexander Polyankin authored
-
dpsutton authored
* Verify active database for `GET api/health` Previously unconditionally responded with 200, status "ok" if we were done initializing, even when we had 1500 stale db connections somehow (
). Now attempt to connect to the database: ```shell ❯ http get localhost:3000/api/health -pb { "status": "ok" } ❯ http get localhost:3000/api/health HTTP/1.1 503 Service Unavailable ... { "status": "Error getting db connection" } ``` and logging to the server ``` 2022-05-10 22:05:16,911 WARN server.routes :: Error in api/health database check java.lang.ArithmeticException: Divide by zero at clojure.lang.Numbers.divide(Numbers.java:190) at clojure.lang.Numbers.divide(Numbers.java:3911) at metabase.server.routes$fn__122320.invokeStatic(routes.clj:51) ``` * Reuse `sql-jdbc.conn/can-connect-with-spec?` for api/health -
Diogo Mendes authored
-
dpsutton authored
-
Gustavo Saiani authored
-
Gustavo Saiani authored
-
Anton Kulyk authored
* Add flag to setting names type * Add writeback on/off selector
-
Anton Kulyk authored
-
Alexander Lesnenko authored
-
- May 10, 2022
-
-
Alexander Kiselev authored
-
Alexander Kiselev authored
* add react-refresh to webpack dev config
-
Cam Saul authored
-
metamben authored
See https://github.com/metabase/metabase/issues/22561 for context.
-
Gustavo Saiani authored
-
Ariya Hidayat authored
-
Alexander Polyankin authored
-
Alexander Lesnenko authored
-
Alexander Lesnenko authored
-
Ariya Hidayat authored
-
Alexander Lesnenko authored
-
Anton Kulyk authored
* Add `Dataset` mock function * Add query builder redux state type * Add query builder redux state mock helper
-
Diogo Mendes authored
-
Alexander Lesnenko authored
* show cloud migration help tooltip when setup is finished * update link
-
Gustavo Saiani authored
-
Howon Lee authored
Previously identifier isn't fully specified (with schema and table) in nested field column description in syncing. Now it is! Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
- May 09, 2022
-
-
Cam Saul authored
* Fix automagic dashboards for queries with source queries * Replace ->entity with a multimethod * Remove unused namespace * Fix Cypress test
-
Cam Saul authored
* Add `experimental-enable-actions` feature flag * Simplify Ring middleware * Sort namespaces * Make sure api.actions is loaded
-
Gustavo Saiani authored
Do not render "Add your own data" button if user does not have permissions to create database (#22339)
-