This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 12, 2022
-
-
Ryan Laurie authored
* Enable detail view for any row * update url handling for row indexes * fix types and tests * add unit tests * test updates * more test fixes * Fix backticks * Fix color usage in ObjectDetail * Use styled component * Fix missing translation * Fix accidental thing Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
Cam Saul authored
-
Noah Moss authored
-
Bryan Maass authored
-
Ariya Hidayat authored
-
Anton Kulyk authored
* Extend types * Refactor FormField * Fix prop values * Fix types * Fix field type check
-
Dalton authored
* add logic to limit which parameters are linkable * Filter linked filters list to all field filter parameters * use some destructuring
-
Ariya Hidayat authored
* Improve DateMonthYearWidget component * migrate to TypeScript, add type annotations * include props definition * support Storybook * add a basic unit test
-
Howon Lee authored
It's too slow, it's O(n), make n go down a fair bit while we do a bigger fix and set up regular profiling just for this
-
Alexander Lesnenko authored
* do not show restore sample database button to non-admins * fix db list update after restoring the sample db
-
Anton Kulyk authored
* Refactor CustomForm * Extract common types to `metabase-types` * Refactor StandardForm * Fix form field rerenders * Fix types
-
Dalton authored
* Clean up null logic * Update fn name * Simplify convertParametersToFilters logic * Rename method
-
Anton Kulyk authored
* Turn `CollectionCreate` into functional component * Convert `CollectionCreate` to TypeScript * Add `onChangeField` to Form container * Remove `redux-form` from `CollectionCreate` * Fix collection form selector * Move `CollectionEdit` to its own directory * Move `CollectionEditForm` to its own file * Turn `CollectionEdit` into functional component * Migrate `CollectionEdit` components to TypeScript * Fix `CollectionCreate` * Fix `CollectionEdit` * Fix optional `Form` `onChange` prop
-
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
-