Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 29, 2024
  2. Aug 28, 2024
    • metamben's avatar
      Support multiple bucketings of a column in nested queries (#47362) · b6602d56
      metamben authored
      * Support multiple bucketings of a column in nested queries
      
      Fixes #46644
      
      * Fix e2e test
      b6602d56
    • Chris Truter's avatar
      f49407fc
    • Nick Fitzpatrick's avatar
      Adding schema name to recents, search results in CP (#47255) · 0352066f
      Nick Fitzpatrick authored
      
      * Adding schema name to recents, search results in CP
      
      * adding unit test
      
      * fixup tests + clarify recent item schema
      
      ---------
      
      Co-authored-by: default avatarBryan Maass <bryan.maass@gmail.com>
      0352066f
    • Nick Fitzpatrick's avatar
      Support ctrl + click on command palette links again (#47328) · 5626216a
      Nick Fitzpatrick authored
      * remove prevent default on CP links
      
      * unit flakes?
      5626216a
    • Noah Moss's avatar
    • Phoomparin Mano's avatar
      feat(sdk): generate sample Express.js api and user switcher components via cli (#47060) · 41b7f329
      Phoomparin Mano authored
      
      * ask for tenancy isolation columns
      
      * deny all permissions for all users group
      
      * create new collections
      
      * add jwt group mappings
      
      * add the permissions step
      
      * add multi-tenancy message in helper text format
      
      * add permission graph
      
      * wire together permissions
      
      * use schema permissions
      
      * use fields from table metadata from query_metadata
      
      * add tenancy field reference
      
      * remove log messages
      
      * deny access to unsandboxed tables
      
      * make permission graph more explicit
      
      * deny access to sample database for customer groups
      
      * add unit test for permission graph
      
      * split permission groups and sandboxes
      
      * jwt settings and hard-coded user attributes
      
      * handle errors when updating sso mappings
      
      * add express api and user switcher
      
      * only fallback to api keys when license is invalid
      
      * add util to sample tenancy column values
      
      * conditional BASE_SSO_API imports
      
      * improve embedding error message
      
      * setup jwt configuration after license step
      
      * setup permissions at the last step
      
      * add missing import
      
      * update steps that requires license
      
      * fix incorrect imports
      
      * add missing useContext
      
      * handle permission update error
      
      * remove tenancyIsolationEnabled field
      
      * add tenancy column sampling
      
      * differentiate tenancy column query error
      
      * rename tenancyColumnValues to tenantIds
      
      * assign sampled tenant ids to user attributes
      
      * add tenant ids
      
      * define collection permissions
      
      * reference sandboxing group by name
      
      * update snippet to be same as the README
      
      * extract ask for tenancy columns to a separate step
      
      * use the customer_id attribute
      
      * query the table query metadata at origin
      
      * append tables correctly
      
      * improve error handling in table scanning
      
      * add retry logic to metadata fetching
      
      * only query metadata for selected fields
      
      * fix race condition with retry
      
      * update loading state and retries
      
      * update comments on jwt license
      
      Co-authored-by: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      
      * filter the target table by id
      
      * highlight last selected tenant column
      
      * use breakout to get list of ids
      
      * temporary workaround to reload the whole page
      
      * update row value types
      
      * update row value types
      
      * block non-selected tables
      
      * remove the source-field from sandboxing
      
      * use the fk_target_field_id as instead of target.id
      
      * update unit test
      
      * remove source-field as we only reference our own column
      
      * make native permission types more strict
      
      ---------
      
      Co-authored-by: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      41b7f329
    • Phoomparin Mano's avatar
      feat(sdk): setup permissions and sandboxing for embedding cli (#46857) · c574c09d
      Phoomparin Mano authored
      
      * ask for tenancy isolation columns
      
      * deny all permissions for all users group
      
      * create new collections
      
      * add jwt group mappings
      
      * add the permissions step
      
      * add multi-tenancy message in helper text format
      
      * add permission graph
      
      * wire together permissions
      
      * use schema permissions
      
      * use fields from table metadata from query_metadata
      
      * add tenancy field reference
      
      * remove log messages
      
      * deny access to unsandboxed tables
      
      * make permission graph more explicit
      
      * deny access to sample database for customer groups
      
      * add unit test for permission graph
      
      * split permission groups and sandboxes
      
      * jwt settings and hard-coded user attributes
      
      * handle errors when updating sso mappings
      
      * add util to sample tenancy column values
      
      * improve embedding error message
      
      * setup jwt configuration after license step
      
      * setup permissions at the last step
      
      * handle permission update error
      
      * add tenancy column sampling
      
      * differentiate tenancy column query error
      
      * rename tenancyColumnValues to tenantIds
      
      * define collection permissions
      
      * reference sandboxing group by name
      
      * extract ask for tenancy columns to a separate step
      
      * query the table query metadata at origin
      
      * append tables correctly
      
      * improve error handling in table scanning
      
      * add retry logic to metadata fetching
      
      * only query metadata for selected fields
      
      * fix race condition with retry
      
      * update loading state and retries
      
      * filter the target table by id
      
      * highlight last selected tenant column
      
      * use breakout to get list of ids
      
      * update row value types
      
      * block non-selected tables
      
      * remove the source-field from sandboxing
      
      * use the fk_target_field_id as instead of target.id
      
      * update unit test
      
      * remove source-field as we only reference our own column
      
      * make native permission types more strict
      
      ---------
      
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      c574c09d
    • Ryan Laurie's avatar
      Quieter Patch Releases (#47356) · 68f3d1b7
      Ryan Laurie authored
      68f3d1b7
    • Anton Kulyk's avatar
    • Oisin Coveney's avatar
      5ec18217
    • lbrdnk's avatar
      Revert "Add :legacy/merge-indents? to .cljfmt.edn (#47345)" (#47357) · bd2d8479
      lbrdnk authored
      This reverts commit 3759c8d4.
      bd2d8479
    • Raphael Krut-Landau's avatar
      fix(admin/performance): Ensure that the strategy form is not considered dirty... · ca295739
      Raphael Krut-Landau authored
      fix(admin/performance): Ensure that the strategy form is not considered dirty if the user changes an empty field to that field's default value, or vice versa (#46543)
      
      ca295739
    • lbrdnk's avatar
      3759c8d4
    • Braden Shepherdson's avatar
      [QP] Return datetimes in SQL Server, even with date-sized truncation (#47248) · cb222495
      Braden Shepherdson authored
      Previously, truncating a `:type/DateTime` column by `:month` or `:day`
      would return a `:type/Date`, which subtly broke the query.
      
      In particular, if you try to order-by the breakout column `Created At (month)`
      then it would not get de-duplicated, causing a SQL error about conflicting
      ORDER BY clauses.
      
      Fixes #46992.
      cb222495
    • Uladzimir Havenchyk's avatar
  3. Aug 27, 2024
Loading