This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 12, 2022
-
-
Nemanja Glumac authored
-
Anton Kulyk authored
* Move `DatabaseHelp` to `DatabaseStep` * Remove `redux-form` usage from setup * Fix unit tests * Move engine state to redux * Revert test changes * Code style fix
-
dpsutton authored
* Start task scheduler at end of startup. The sync db task does a lot of db work to be addressed in a later commit. But it also begins firing tasks _during startup_. Lets prevent syncs and other tasks while we are starting up until we have finished. Scheduler can be set to standby mode while we wait on finishing up initializing and then start after. * docstring cleanup and comments
-
Ariya Hidayat authored
We are not running tests which exercise those *.stories files, hence it is not fair to include them in the coverage analysis.
-
Ariya Hidayat authored
-
Howon Lee authored
Pursuant to https://github.com/metabase/metabase/issues/22174. Make the JSON columns work on MySQL in exactly the same way as they do in Postgres. Bit of a refactor about some bits of Postgres implementation. Importantly, MariaDB JSON columns work significantly more like SQL Server JSON columns. That is, they aren't JSON columns at all with respect to type, they're text columns - and we don't detect them very well as JSON columns qua JSON columns. So MariaDB is not supported at this time.
-
Gustavo Saiani authored
-
Mahatthana (Kelvin) Nomsawadi authored
-
Mahatthana (Kelvin) Nomsawadi authored
-
Gustavo Saiani authored
-
- May 11, 2022
-
-
Alexander Kiselev authored
* fix yarn docs issues * fix webpack config issue
-
Ariya Hidayat authored
-
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
-