This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Feb 01, 2023
-
-
Cam Saul authored
* Switch to the new Hawk test runner * Fix some stuff * Fix everything * Commentz * Bump init timeout? * Fix Kondo config * Remove unused * Bump test runner version to get `:exclude-tags` support
-
- Jan 31, 2023
-
-
Mark Bastian authored
Removed pulses from search API and corresponding tests. There _may_ be cruft tied to pulse search elsewhere because we can't blindly remove pulses yet (need to provide legacy support at the model level), but I think I got it all.
-
Mark Bastian authored
Fixing check such that a create-table check failure shows correctly instead of showing as a can-read failure.
-
Alexander Polyankin authored
-
Cal Herries authored
* Add migration to remove defaults * Add rollback * Fix migration * Fix migration * Fix migrations * whitespace * Add test defaults for DashboardCard * Remove defaults from create-dashboard-card! * Fix test * Fix tests * Tighten API endpoints * Fix endpoints * Formatting * Fix tests * Fix tests * Fix tests * Fix tests * Fix test * Fix e2e tests * Update e2e tests * Fix e2e tests
-
- Jan 30, 2023
-
-
Ngoc Khuat authored
-
Cal Herries authored
-
Cal Herries authored
-
- Jan 27, 2023
-
-
Noah Moss authored
* subscription permissions refactor (https://github.com/metabase/metabase/security/advisories/GHSA-ch8f-hhq9-7gv5) * move recipient filtering to API-level (https://github.com/metabase/metabase/security/advisories/GHSA-492f-qxr3-9rrv)
-
- Jan 26, 2023
-
-
metamben authored
-
Mark Bastian authored
Replaced, as needed, instances of str/lower|upper-case with the -en version. Also updated rules in our kondo config.
-
Tim Macdonald authored
* Add actions.creator_id * Add creator_id and hydrated creator to actions * Punt on locking down time types * Workaround for DB migration issue * Move hydration down the pipe * HydratedUser -> DefaultUser
-
- Jan 24, 2023
-
-
Tim Macdonald authored
* Remove experimental-enable-actions setting * Ensure actions are enabled before executing custom actions
-
- Jan 23, 2023
-
-
john-metabase authored
* Fixes MongoDB OrderedMap encoding with nippy * Removes flatland/ordered from build-drivers deps
-
dpsutton authored
We can now filter out any ns tag for tests.
-
- Jan 20, 2023
-
-
Mark Bastian authored
Added new endpoint "/db/:id/new-table".
-
Bryan Maass authored
This work removes a spec and a p.schema for data graph permissions. There are still some specs but they are for execution, and collection graph permissions. Those should be targeted next. * decoded + verified FIXME * still good * some cleanup * a little more cleaning up * bit more cleaning * converted update-group-permissions! -> mu/defn * use the correct shape for new-group-perms * remove bunch of pschemas * linter appeasement * update test for setting dissallowed schema * respond to review comments * fix some tests + improve mu/defn error messages * a lint fix * lint fix * read and query are optional * update expected error message to the improved one * stop calling trs at the top level * fix function signature * improve test
-
Noah Moss authored
-
Cal Herries authored
* Add import vars to metabase.test * Adjust clj-kondo config * Import more vars to metabase.test * Remove unused vars from clj-kondo * Import another var * Replace actions.test-util with mt * Fix merge * Import another var * Resolve cyclic deps * Sort ns * Fix quoted namespace
-
- Jan 19, 2023
-
-
Ngoc Khuat authored
-
Cam Saul authored
* Switch to Toucan 2 part 1 * Fix Kondo errors * Switch to Toucan 2, part 2 * Fix Kondo errors
-
- Jan 18, 2023
-
-
Tim Macdonald authored
* Bump clj-kondo to 2022.12.10 [Fixes #27512] * Use Kondo's :config-in-call instead of grosser hacks
-
metamben authored
Ordering in nested queries doesn't have to affect how rows are returned from the embedding queries.
-
Cam Saul authored
* Switch to Toucan 2 part 1 * Fix Kondo errors
-
- Jan 17, 2023
-
-
metamben authored
Use the vertica/vertica-ce:12.0.2-0 image.
-
- Jan 16, 2023
-
-
Ngoc Khuat authored
* fix throwing exceptions in handle-paging mw
-
Ngoc Khuat authored
* FE gets `value_field` for `/api/table/card__id/query_metadata` by search the fields from calling `/api/table/card__id/query_metadata`. if a field has id is a number, then use `field_ref`, else use `id`. This commit add tests for that behavior Co-authored-by:
Tim Macdonald <tim@metabase.com>
-
Ngoc Khuat authored
* API for getting database usage * use defmulti * handle cases when database has no tables and add docstring * sacrifice powerness in the light of beauty
-
- Jan 13, 2023
-
-
Case Nelson authored
* FieldValues skipping but not updating last used at Related to #26863 When fieldvalues synching was being skipped, the `get-or-create-full-field-values!` call was erroneously forgetting to update the `last_used_at` time; the time was only being updated if new field values came in since the last sync. * Add test for inactive field values * Only update last_used_at when there's an existing fieldvalues
-
metamben authored
-
Mark Bastian authored
* Fixed regex for latitude name type matching * Grouping regexes by lon/lat
-
- Jan 12, 2023
-
-
Bryan Maass authored
* updates + updates tests - use titles for everything - repeat "sounds" right - biding time to remerge upstream * Update src/metabase/util/malli/describe.clj * pluralize times ouhgt to be private * keep error messages in tests in sync
😐 * linter newline -
dpsutton authored
* restore aliases before annotating * cleanup * fix tests * Don't add escaped->original if aliases have not changed No need to walk and replace the aliases if they are identical. And in that case, no need to keep a mapping of identical to identical. Not super important but saves some time and complexity, and keeps other tests passing since the presence of [:info :alias/escaped->original] in the query caused them to trivially fail. * oracle has a smaller limit and _expected_ mangled previous testing behavior was "what happened" and not what should happen. we fixed the bug but the "expect garbage" behavior was still present * Relax :alias/escaped->original schema oracle tests use keywords for the alias ```clojure {:alias/escaped->original {:test-data-venues--via-a763718f "test_data_venues__via__venue_id", :test-data-users--via--user-id "test_data_users__via__user_id"}}} ``` No idea why that is keyworded * relax `:alias/escaped->original` schema see previous commit
-
- Jan 11, 2023
-
-
Bryan Maass authored
* - ensure errors are strings + provide strucrual hints Instead of just overwriting the (string) erorr messages, swap in the malli string description at [:errors :<field-name>] key. Adds humanized error (which highlights which parts of req were not sufficient) under the :specific-errors key. * fix tests + note about auto-cohersion
-
Cam Saul authored
* Switch to Honey SQL 2 for some application DB things * Fix Chain Filter query * More fixes * Test fixes :wrench * Fix Kondo lint errors * Test fixes
🔧 * Test and formatting fixes for MySQL * Fix new code using `db/query` * Fix circular references * Switch to Honey SQL 2, Part 1 * Test fix * Revert deletion of ratios-test * Fix Kondo error * Fix stack overflow * Update code to use new names for schemas -
Ngoc Khuat authored
* move malli schema from metabase.util.schema to a new ns metabase.util.malli.schema * revert name changes for plumatic schema. e.g: NonBlankStringPlumatic -> NonBlankString * add clj-kondo rule to enforce consistent alias for metabase.util.malli.schema
-
Tim Macdonald authored
* Warn when cards used for filtering are archived * filter-values -> dropdown-widget-values * Better string concatenation * dropdown_widget_values_usage_count -> parameter_usage_count * Add end-to-end test
-
Ngoc Khuat authored
* add default values keys for dashboard.parmaeters * fix tests and add tests
-
Cam Saul authored
* Switch to Honey SQL 2, Part 1 * Test fix * Fix Kondo error
-
- Jan 10, 2023
-
-
Tim Macdonald authored
* Do not let API users archive the last superuser [Fixes #26759] * DRY up admin-archiving check * Fix is_superuser bug in with-single-admin-user * Get count of values correctly on H2
-