This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Feb 14, 2023
-
-
Natalie authored
-
Cal Herries authored
* Add public_uuid and made_public_by_id to actions table & endpoints to enable/disable the public sharing on individual actions (#27721) * Add migration for public_uuid (indexed) and made_public_by_id * Add UUIDString schema * Add endpoints for enabling/disabling sharing of actions * Test that the new fields are returned with `GET /api/action/:id` * Remove validCheckSum on migration * Remove trailing whitespace * Fix DELETE test * Fix tests * Please migration linter * Update the default public_uuid every test run * Please migration linter * Add FK onDelete cascade * Replace ü * Add GET endpoint and post-select for action * Revert "Add GET endpoint and post-select for action" This reverts commit 8cc8b57d6034146dd726b54bc4199830ec1fda21. * Fix merge * Reorder migrations * Update test for GET `api/action?model-id=<id>` endpoint to include public sharing keys (#27802) * Add GET: /api/public/action/:uuid endpoint (#27781) * Add test * Remove non-public columns and check for 404 * Fix docstring * Rename for clarity * Fix missing ns * Remove unneccessary keys from action * Update test * Remove unused refer * Reorder migrations * Use mt * Add require and refactor * Use mt * Add endpoint for executing a public action (#27793) * Add endpoint and test * Add more tests and TODOs * Use mt * Reorder migrations * Remove unused require * Rate limit actions at 1 per second * Fix the tests for the throttle * Refactor tests * Fix test * Fix docstring * Add test for failed execution if actions are disabled * Use crowberto in tests * Fix using crowberto in tests * Fix cyclic load dependency * Add GET api/action/public endpoint * Use defendpoint * Add action-api-test * Add model_id to GET action/public response * Update GET api/action/public test for model_id * Add actions to public sharing admin settings (#27675) * Add actions to public sharing admin settings * Add public action in public sharing admin settings tests --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Tim Macdonald authored
[Fixes #28298]
-
Braden Shepherdson authored
A `metabase.domain-entities.malli/defn` macro that (in CLJS) uses the schemas for the arguments to drive wrapping of vanilla JS objects for idiomatic use in CLJC code. See the first two functions in `metabase.domain-entities.queries.util` which get passed vanilla JS objects but can use them as CLJS maps.
-
Luiz Arakaki authored
-
Ryan Laurie authored
-
Tim Macdonald authored
* Add action.archived and search Constituent commits: Basic action archiving and search; no perms Only show actions in search with appropriate permissions archive test Make search tests more tolerant of local DB state Show model that actions come from in search results Test action search properly Per Conor/Bruno, actions have higher search precedence than pulses Don't return archived actions from the main GET endpoint Clean things up based on PR review Don't show archived actions in most endpoints Remove actions from search so this can be merged sooner Delete associated DashboardCard when Action is archived Add a few more tests
-
Cal Herries authored
* Check at GET /action/:uuid * Optimize queries * Fix and add tests * Add tests for public_links * Remove tap> * Use t2 * More of ngoc's suggestions * use nil for default connection * Use post-select * Use select-one instead
-
Cal Herries authored
Include database settings in GET "/api/database" and GET "/api/database/:id" response and respect `:visibility` (#28150) * Apply visibility to database settings * Refactor: Apply same pattern to writable visibilities * Remove extra whitespace * Update user-readable-values-map docstring * Fix syntax error * Update JSON encoding to filter settings even if the database is writeable * Update test * Add database endpoint tests * Update to-json docstring * Update comment * Fix kondo errors * Update geojson env var test * Fix tests * Change comment * Rename to writable-settings and other suggestions * Un-private test settings * Typo * Change temp-defaults to have setting be {} not nil * Update settings only when settings is non-nil * Fix * Fix tests * Fix test * Fix test
-
- Feb 13, 2023
-
-
Noah Moss authored
-
Cam Saul authored
* Support Honey SQL 2 for SQL QP * Sort namespace * Make Postgres/Redshift be Honey SQL 2-only * Test fix
* Fix busted * Redshift test fixes * Sort namespaces * Fix Postgres convert_timezone * Fix linter config. * Switch MySQL driver to Honey SQL 2 * Fix one last test failure * Redshift test fix * Test fixes and some extra validation etc. * Update common.clj * Update common.clj * Update common.clj * Add missing reflection warning * Add missing reflection warning * Use new namespace names * Fix a few things. * We should error on double-compilation of Honey SQL forms. * Fix a bunch of nonsense * Move Token features check fixes to a different branch * Test fixes * Fix double-compilation of raw forms * Test fix * Test fix * Eliminate unneeded casts * Fix syncing JSON table in MySQL 5.7 * Don't error on sync for tests that are supposed to test sync error handling -
Bryan Maass authored
* update mu/defn kondo config 2 support lsp renaming * update mu/defn kondo config 2 support lsp renaming * add docstrings * fix linting error * fix "unused binding" error in test fxn * fix some calls to mu/defn
-
Nemanja Glumac authored
-
Nemanja Glumac authored
[ci skip]
-
Nemanja Glumac authored
[ci skip]
-
Kyle Doherty authored
-
Cam Saul authored
* Address feedback on #28017 * Fix evil code order
-
Anton Kulyk authored
* Pass metadata state from redux * Filter non-resolved columns
-
Nemanja Glumac authored
[ci skip]
-
dpsutton authored
Co-authored-by:
Will Bryant <will.bryant@gmail.com>
-
Ngoc Khuat authored
-
Aleksandr Lesnenko authored
-
Ngoc Khuat authored
* avoid n+1 in search api * remove the mapping from model to the old toucan model * use model vars instead of keyword
-
- Feb 11, 2023
-
-
Cam Saul authored
* Fix shared.util.i18n * Simplify stuff
-
- Feb 10, 2023
-
-
Cam Saul authored
* Mind = blown
* Remove printls * Simplify things * Better exampls * Update dev.clj -
Cam Saul authored
* Update Driver Changelog with Honey SQL 2 instructions * Fix typo * Add note about renamed functions
-
Cam Saul authored
* Support Honey SQL 2 for SQL QP * Sort namespace * Make Postgres/Redshift be Honey SQL 2-only * Test fix
* Fix busted * Redshift test fixes * Sort namespaces * Fix Postgres convert_timezone * Fix linter config. * Fix one last test failure * Redshift test fix * Test fixes and some extra validation etc. * Update common.clj * Update common.clj * Update common.clj -
Natalie authored
-
Jeff Bruemmer authored
* update description * update api docs with script
-
Jeff Bruemmer authored
-
Jeff Bruemmer authored
* clickhouse from community to partner driver * format
-
Alexander Polyankin authored
-
Mark Bastian authored
Adding a dev-level docker-compose file. Located in /dev and is self-documented.
-
Anton Kulyk authored
* Add script validating e2e test file names * Move helper files to helper directories * Fix whitespace before the first file name * Add node shebang Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> * Check if staged files include relevant files from `scenarios` folder * Distinguish between staged files and all files * Add precommit hook * Update binning folder structure * Improve glob pattern * Add back forgotten binning constants * Update cross-version folder structure * Update embedding folder structure * Update embedding folder structure * Update dashboard-filters folder structure * Use all caps for global vars * Address feedback: consistency * Simplify functions * Actually exit the process * Adjust script for use with `lint-staged` * Apply another suggestion to optimize script * Improve naming of boolean checks * Fix the init logic --------- Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
Alexander Polyankin authored
-
Aleksandr Lesnenko authored
-
Ngoc Khuat authored
* Better API error message for malli schemas * add tests * fix failed test * fix the backward tests * add api localized error message test * add require and fix test
-
Mark Bastian authored
`/api/collection/root/items` now adds `personal_owner_id` to collection results.
-
Nemanja Glumac authored
-
Anton Kulyk authored
-