Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New v0.41 version #54

Draft
wants to merge 655 commits into
base: master
Choose a base branch
from
Draft

New v0.41 version #54

wants to merge 655 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 7, 2021

  1. Configuration menu
    Copy the full SHA
    6a6e1c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ae6e2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f083b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6df2894 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3781068 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6561cda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15b2a6d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3ffed24 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Fix unable to click "Learn more" on custom expression (metabase#17774)

    * expression editor: allow clearing help text with Escape key
    
    Move the code to clear help text to "clearSuggestions" method
    allowing the Escape key to also be used to close the help popup.
    
    * expression editor: don't show error on window unfocus
    
    * expression editor: allow clicking on "Learn more"
    
    Clicking on the "Lean more" link removes the focus
    from the input box, causing the help dialog to get
    hidden and become unclickable.
    
    Fix by cancelling the mouse down event causing the
    input box to maintain the focus.
    
    Fixes metabase#17548
    
    * add cypress test
    pawit-metabase authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    32c5b2a View commit details
    Browse the repository at this point in the history
  2. Fix SAML login with OpenAM (metabase#17785)

    OpenAM SAMLResponse contains "\r\n" every 76 characters
    leading our SAML code to think it's not base64-encoded.
    
    Fix by relaxing our valid base64 check to ignore all spaces.
    
    Fixes metabase#15567
    pawit-metabase authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    e10adcd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ffb8cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    faf5450 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f2aa5a View commit details
    Browse the repository at this point in the history
  6. let users disable attachments with questions checked (metabase#17793)

    * let users disable attachments with questions checked
    
    * use more declarative assertions in unit tests
    
    * use aria-label over testid
    
    * translate aria label
    daltojohnso authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    037ee68 View commit details
    Browse the repository at this point in the history
  7. don't set pulse on SharingSidebar mount to prevent race condition whe…

    …n moving between sidebar views (metabase#17791)
    
    * don't set pulse on SharingSidebar mount
    
    * remove some old, unused code
    daltojohnso authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    a697c29 View commit details
    Browse the repository at this point in the history
  8. Attempt to fix metabase#17751: filter widget input value overflowing (m…

    …etabase#17761)
    
    Merging on behalf of Nemanja
    
    * Attempt to fix metabase#17751
    
    * Revert limiting max-width on a parent div
    
    * Inherit min-width from a parent div
    
    * Unskip repro
    nemanjaglumac authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    8bdcb06 View commit details
    Browse the repository at this point in the history
  9. Static viz send viz settings (metabase#17736)

    * Pass along date formatting
    
    * extract and rename some things
    
    * Number formatting
    
    * Update tests
    
    * Improve test validation of svg labels
    
    * Clean up tests
    
    * Move static-viz interface file to custom file
    dpsutton authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    6aba6f1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    755d8a1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    76ccd32 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9a0c989 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5c30146 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1872363 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2021

  1. Configuration menu
    Copy the full SHA
    3e86afd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bae75e2 View commit details
    Browse the repository at this point in the history
  3. don't show exact seconds for a formatted relative time (metabase#17828)

    * don't show exact seconds for a formatted relative time
    
    * add a couple of getRelativeTimeAbbreviated tests
    daltojohnso authored Sep 9, 2021
    Configuration menu
    Copy the full SHA
    faad557 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. DB and Dashboard-contingent caching backend (metabase#17679)

    There's more to come WRT the audits, but anton and I agreed to merge something faster and work on that stuff after
    howonlee authored Sep 10, 2021
    Configuration menu
    Copy the full SHA
    73c7a9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af83e55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    520a8a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b26fadd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9863bd7 View commit details
    Browse the repository at this point in the history
  6. BQ expression fixes (metabase#17347)

    This was a miserable grind in the old BQ syntax but a happy fun time in the new BQ syntax, basically just turning it on and squashing a bunch of test bugs.
    
    One test bug to note especially is that the underscore-transformed set of bird scarcity data for the bird scarcity tests is actually necessary, because BQ will hit you with a complaint about underscores even if you successfully and correctly quote the table names.
    howonlee authored Sep 10, 2021
    Configuration menu
    Copy the full SHA
    9774e08 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2021

  1. Basic skeleton of front-end dependencies analyzer (metabase#17743)

    * Basic skeleton of front-end dependencies analyzer
    
    * Parse enterprise/frontend
    
    * Handle good ol' require
    
    * For sanity, bail out immediately when encountering a parse errr
    
    * Split into commands (currently returning JSON)
    
    * Filter dependents from stdin
    
    * Track down all dependents, including the indirect/transitive ones
    
    * Fix filtering not including the enterprise
    
    * Map a directory to its index.js, if it exists
    
    * Refactor common functions
    
    * Matrix and count dependents
    ariya authored Sep 11, 2021
    Configuration menu
    Copy the full SHA
    f3a1709 View commit details
    Browse the repository at this point in the history
  2. docs - dev guide links (metabase#17842)

    * raw tags
    
    * index to start
    
    * update toc link
    
    * reference link
    jeff-bruemmer authored Sep 11, 2021
    Configuration menu
    Copy the full SHA
    6e046fb View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Configuration menu
    Copy the full SHA
    874750e View commit details
    Browse the repository at this point in the history
  2. Fix support for NUMERIC and BIGNUMERIC types (metabase#17837)

    Add parameter handling for BigDecimal that checks whether the value is in range for BIGNUMERIC or BIGDECIMAL and sets accordingly
    
    Updating parameter test to hit both these cases
    
    Modifying test code/macros to support a with-table semantic for testing the decimal types via a temp table
    
    Writing new test to confirm that all numeric types are synced correctly and can be queried for
    jeff303 authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    75f2207 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e865ed5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fdcb310 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48658c6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1129627 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e229c5d View commit details
    Browse the repository at this point in the history
  8. Update 05-visualizing-results.md (metabase#17684)

    Correct typos
    alai04 authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    90289d4 View commit details
    Browse the repository at this point in the history
  9. Delete user pulse/alert/dashboard sub subscriptions when User becomes…

    … inactive (metabase#17809)
    
    * Delete user pulse/alert/dashboard subscription subscriptions when they get archived
    
    * Automatically archive Pulses when last subscription is deleted (metabase#17812)
    
    * Automatically archive Pulse when its last subscription is deleted
    
    * Test fix 🔧
    
    * Fix occasionally-failing rotate-encryption-key!-test
    
    * Update pulse_test.clj
    camsaul authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    1a29ab8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fd8865a View commit details
    Browse the repository at this point in the history
  11. permissions fixes (metabase#17757)

    * permissions fixes
    
    * database block to granular should set no self service
    
    * unskip repro
    alxnddr authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    86e196b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7905f34 View commit details
    Browse the repository at this point in the history
  13. split dashboard.js into actions + reducers + utils (metabase#17816)

    * split dashboard.js into actions + reducers + utils
    
    * move test files
    daltojohnso authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    0025354 View commit details
    Browse the repository at this point in the history
  14. Fix test title (metabase#17864)

    Co-authored-by: Nemanja <[email protected]>
    ariya and nemanjaglumac authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    90930dc View commit details
    Browse the repository at this point in the history
  15. Fix race conditions when loading drivers (part 2) (metabase#17368)

    * Fix race conditions when loading drivers (part 2)
    
    * Test fixes & code cleanup
    camsaul authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    b0e5822 View commit details
    Browse the repository at this point in the history
  16. Refactor audit queries to use defmethod instead of ^:internal-query-f…

    …n metadata (metabase#17817)
    
    * Refactor audit queries to use defmethod instead of weird ^:internal-query-fn metadata
    
    * Sort namespaces
    
    * Test fix 🔧
    
    * invoke-internal-query -> resolve-internal-query
    
    * Fix indentation 🔧
    
    * Minor code cleanup
    
    * Revert change to pulse/schedule-frame?
    
    * More test fixes 🔧
    camsaul authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    075124c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    552ab7d View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Unskip: Cannot add filter for an integer field in a question based on…

    … a saved native question (metabase#17872)
    
    This was already fixed since 0.40.
    pawit-metabase authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    d4e71d0 View commit details
    Browse the repository at this point in the history
  2. Fix removing a notebook section can remove other sections (metabase#1…

    …7727)
    
    * Add test ID for notebook's action buttons
    
    * Add repro for metabase#17712
    
    * Use `Join.clean` in join step's clean callback
    
    * Always show a remove icon
    
    * Fix referencing an empty dimension
    
    * Improve Join's validity check
    
    * Don't cleanup incomplete join sections
    
    * Fix structured query tests
    
    * Don't use MBQL field literals in notebook tests
    
    metabase#14824
    kulyk authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    277e83f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6aae282 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1de8e1 View commit details
    Browse the repository at this point in the history
  5. Handle expressions viz settings (metabase#17866)

    added the viz-settings parsing middleware to static viz. Column settings are
    spec'd for regular columns and by name, but we forgot expressions apparently.
    dpsutton authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    89b1cbe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4158b78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7d52e5 View commit details
    Browse the repository at this point in the history
  8. unskip 17738 repro (metabase#17877)

    * unskip 17738 repro
    
    * move the repro to run in EE
    alxnddr authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    a9dd888 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    99e9e33 View commit details
    Browse the repository at this point in the history
  10. docs - update API docs format (metabase#17716)

    * update API docs format
    
    * account for other terminal punctuation
    
    * clarify api namespace target
    
    * update schema test, add-period test
    
    * update period test
    
    * parens
    
    * test endpoint-section
    
    * cleanup
    
    * Cam edits
    
    Co-authored-by: Cam Saul <[email protected]>
    
    * trim whitespace
    
    * file newlines
    
    * Sort namespaces
    
    Co-authored-by: Cam Saul <[email protected]>
    Co-authored-by: Cam Saul <[email protected]>
    3 people authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    bd53aed View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    86be4ce View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3c83fb6 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. Better with-temp error messages (metabase#17889)

    * Better with-temp error messages
    
    * Undo wacky indentation
    camsaul authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    e14854c View commit details
    Browse the repository at this point in the history
  2. combine sidebar state for various dashboard sidebars (metabase#17843)

    * combine sidebar state for various dashboard sidebars
    
    * replace hideClickBehaviorSidebar action with closeSidebar
    
    * move sidebar name strings to a constants file
    
    * add some tests
    daltojohnso authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    698109e View commit details
    Browse the repository at this point in the history
  3. Add new Settings (placeholders) for the new 0.41.0+ premium features (m…

    …etabase#17891)
    
    * Add new Settings (placeholders) for the new 0.41.0+ premium features
    
    * Code cleanup
    
    * Add new features to the `:premium-features` Setting (for FE consumption)
    
    * Fix busted ns declarations
    camsaul authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    8efd537 View commit details
    Browse the repository at this point in the history
  4. i18n: do not remove missing plural from translation (metabase#17799)

    The ttag library expect the plural array to be exactly the size as
    the number of plural forms defined in the header.
    
    If we remove empty plural, the array will have the wrong size and
    the library will crash when the trying to use the non-existent
    plural.
    
    By leaving the empty string there, the ttag library will correctly
    detect it and use the English version for the missing variant.
    
    This does not affect the backend because the backend does not
    support plurals.
    
    Fixes metabase#16323
    pawit-metabase authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    b178e30 View commit details
    Browse the repository at this point in the history
  5. Fix "Include today" for relative "Next" (metabase#17854)

    "include-current" was implemented for "prev" but not for "next".
    
    Fixes metabase#17551
    pawit-metabase authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    77c202e View commit details
    Browse the repository at this point in the history
  6. Fix showing saved value in language picker (metabase#17853)

    The locale list sent to the UI is formatted "pt-BR" but
    when it is saved to the database, we re-format the locale to
    "pt_BR", thus on next load, the UI cannot match the saved locale
    with the locale list.
    
    Fix the issue by using normalized value (e.g. "pt_BR") in the
    available locale list.
    
    Fixes metabase#15657, fixes metabase#16654
    pawit-metabase authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    eaf06d2 View commit details
    Browse the repository at this point in the history
  7. Update URL when converting to native query (metabase#17873)

    In addition, mode should be switched to "view" to
    remove "/notebook" from URL.
    pawit-metabase authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    5017651 View commit details
    Browse the repository at this point in the history
  8. Presto JDBC driver: hide Kerberos related properties when Kerberos is…

    … not enabled (metabase#17868)
    
    Make use of new visible-if property in plugin definition
    jeff303 authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    66ac8c9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    227a1e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    55f5b9e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0d90f0a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6939d4a View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. fix a few prop errors causing console warnings (metabase#17840)

    * fix a few prop errors causing console warnings
    
    * fix LastEditInfoLabel test
    daltojohnso authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    aab00d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72727a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80172ee View commit details
    Browse the repository at this point in the history
  4. Tools to fix broken questions (ee) (metabase#16842)

    Tools are there. Modal is not, along with some styling, but BE has been languishing for months so I wanted to get this in
    howonlee authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    b4b5200 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    624e5c1 View commit details
    Browse the repository at this point in the history
  6. Add subscription-allowed-domains allow list Setting (metabase#17897)

    * Add subscription-allowed-domains allow list Setting
    
    * Move email->domain and email-in-domain? util functions to metabase.util
    
    * Fix missing require
    
    * Test fix 🔧
    
    * Remove useless namespace
    
    * Make subscription-allowed-domains a :string Setting rather than :csv
    camsaul authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    81a1a95 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b1d63f4 View commit details
    Browse the repository at this point in the history
  8. Handle REPEATED mode fields in BigQuery sync (metabase#17907)

    Recognize mode=REPEATED and return :type/Array for it
    
    Add test for temp table using an array type column to ensure base type is recongized properly
    jeff303 authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    f0b4f2f View commit details
    Browse the repository at this point in the history
  9. invalidate revision entities cache when questions/dashboards updated/…

    …deleted (metabase#17887)
    
    * invalidate revision entities when questions/dashboards updated/deleted
    
    * you can't update a revision
    
    * add a cy test to cover revision cache clearing
    
    * let's be a little looser with revision text
    daltojohnso authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    550152d View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. Feature | More Granular Caching Controls (Frontend) (metabase#17802)

    * Rename dashboard details edit action
    
    * Use render props at dashboard edit form
    
    * Add enterprise caching plugin
    
    * Move dashboard entity forms to own file
    
    * Make FormField's margin configurable
    
    * Pass custom style to FormField
    
    * Use null as a default cacheTTLFormField value
    
    * Add tests for DashboardDetailsModal
    
    * Add cache_ttl field to DashboardDetailsModal
    
    * Add tests for CreateDashboardModal
    
    * Test cache_ttl is invisible when creating a dashboard
    
    * Remove not used mocks
    
    * Add tests for EditQuestionInfoModal
    
    * Move question entity forms to own file
    
    * Add cache_ttl field to EditQuestionInfoModal
    
    * Test cache_ttl is invisible when creating a question
    
    * Extract CacheTTLField component
    
    * Don't show cache field if caching is disabled
    
    * Fix typo
    
    * Update cache_ttl field look
    
    * Revert "Pass custom style to FormField"
    
    This reverts commit 3944ca8ff1dcad478f0f1c3a1973f454447c88c1.
    
    * Revert "Make FormField's margin configurable"
    
    This reverts commit ca7dc434532038da736012147f6889e6cc01ec11.
    
    * Fix CacheTTLField width
    
    * Add descriptionPosition prop to FormField
    
    * Add DatabaseCacheTTLField
    
    * Show cache_ttl field on database form
    
    * Use 24h as a default database cache TTL field value
    
    * Fallback to database cache_ttl in question form
    
    * Remove console.log
    
    * Fix request body assertion for CreateDashboardModal
    
    * Fix request body assertions for EditQuestionModal
    
    * Fix request body assertions for DashboardDetailsModal
    
    * Fix cache_ttl not included in `PUT /api/card/:id`
    
    * Use simple for for EditQuestionInfoModal
    
    * Refactor how unit tests mock caching settings
    
    * Add dashboard caching EE test
    
    * Add question caching EE test
    
    * Add caching e2e test for database add/edit
    
    * Remove debug stuff
    
    * Add error state to CacheTTLField
    
    * Fix DB cache field reverts to default value on 0
    
    * Validate cache_ttl field
    
    * Add getQuestionsImplicitCacheTTL helper
    
    * Remove redundant tests
    
    * Remove not used import
    
    * Nomalize `cache_ttl: 0` to null
    
    * Fix duplicated card update request
    
    * Add QuestionCacheTTLField component
    
    * Add test-id to Radio's option names
    
    * Use a new cache TTL field for questions
    
    * Check setting cache_ttl to null in E2E tests
    
    * Style question cache TTL field
    
    * Add dashboard ID to query request body
    
    * Extend `duration` formatting helper to support hours
    
    * Fix default caching duration display
    
    * Fix tests
    
    * Fix old dashboard edit action title
    
    * Fix missing translations
    
    * Add prop types to EditQuestionInfoModal
    
    * Remove `test.todo`
    
    * Simplify `getQuestionsImplicitCacheTTL`
    
    * Use `space` style helper
    
    * Add `key` prop to `jt`
    
    * Move time coverting utils to lib/time
    
    * Hide caching field label if just showing the input
    
    * Fix unit tests
    
    * Fix flacky E2E test
    
    * Add hover style for "More options" control
    
    * Fix missing translation
    
    * Use placeholder for cache inputs
    
    * Fix E2E tests to use cache field's placeholder
    
    * Feature flag for caching UI
    kulyk authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    7d6e031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e96141 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e8716c View commit details
    Browse the repository at this point in the history
  4. fix clearing of sidebar state when removing a parameter (metabase#17934)

    * fix clearing of sidebar state when removing a parameter
    
    * add a cy test
    daltojohnso authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    0d9ffe2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43cf431 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Fix issues reverting dashboard (metabase#17899)

    * fix reverting dashboard with card deletion
    
    `delete-dashboard-card!` expects the :dashboard_id
    parameter to be defined.
    
    * fix frontend issues related to dashboard reverts
    
    1) fix the dashboard not being reloaded to the
       reverted version after revert
    2) fix the history list being reloaded to include
       the latest change
    pawit-metabase authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    4dc1ab8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da6f78d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a18eb40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c039d43 View commit details
    Browse the repository at this point in the history
  5. Move block permission under advanced permissions flag (metabase#17927)

    * Move block permission under advanced permissions flag
    
    * fix flag name
    alxnddr authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    25179f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b2064e View commit details
    Browse the repository at this point in the history
  7. Fix questions with joins or filters cause re-run overlay after first …

    …save (metabase#17971)
    
    * Fix typo
    
    * Add unit tests for `normalizeQuery`
    
    * Normalize query clause classes for comparison
    
    * Enable the repro test
    
    * Rename variable
    kulyk authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    3a38c1b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    08d0e20 View commit details
    Browse the repository at this point in the history
  9. Select temporal units for join date-time dimensions (metabase#17883)

    * Test join's setDimension methods can remove dimensions
    
    * Specify temporal-unit for Join unit tests data
    
    * Ensure join dimensions' temporal units are the same
    
    * Display dimension's temporal unit on Join UI
    
    * Add E2E test for join fields temporal units
    
    * Select temporal units for join dimensions
    
    * Sync parent and join dimensions temporal units
    
    * Refactor Join dimension setters
    
    * Update subdimension check
    
    * Update overwrite check
    kulyk authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    3ecc004 View commit details
    Browse the repository at this point in the history
  10. added padding override to .RunButton class (metabase#17953)

    Alexander Kiselev authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    361d881 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    91d12f3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6035c77 View commit details
    Browse the repository at this point in the history
  13. EE API endpoint code reorganization (metabase#17913)

    * EE API endpoint code reorganization
    
    * Remove accidental commit
    
    * test fixes 🔧
    
    * Remove unused namespace
    
    * Remove unused var
    
    * Rename metabase-enterprise.audit.* -> metabase-enterprise.audit-app.*
    
    * Move the new delete subscriptions endpoint from :advanced-config -> :audit
    
    * Prettier
    camsaul authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    da97222 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d92338b View commit details
    Browse the repository at this point in the history
  15. Handle retryable exceptions in new BigQuery driver (metabase#17908)

    Add separate catch clause for BigQueryException, to `execute-bigquery`, which conveniently includes a property to indicate whether it's retryable, and add that to the ex-data map
    
    Add test that confirms a retryable exception is, in fact, retried
    jeff303 authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    9b7c713 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5581b7b View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Fix incorrect table names on join dimensions (metabase#17976)

    * Add reproduction for metabase#17968
    
    * Fix showing incorrect join field table names
    
    * Test previous results str
    kulyk authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    3ea94d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c417b0 View commit details
    Browse the repository at this point in the history
  3. For sparklines, check that viz type is line (metabase#17950)

    * For sparklines, check that viz type is line
    
    this actually goes to fix waterfalls. They would match these
    requirements but the viz type of waterfall would give results that would
    dip out of the viewport. Fallback to table rendering
    
    * Prevent waterfall rendering as sparkline
    
    * please run that cancelled test again, GitHub®
    dpsutton authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    6d44066 View commit details
    Browse the repository at this point in the history
  4. Allow using Grid map in native questies questions (metabase#17930)

    * Fix grid map is not rendered for native questions
    
    * add check for map button
    alxnddr authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c4ab832 View commit details
    Browse the repository at this point in the history
  5. Disable parameter widget input when not mapped to a card on dashboard (

    …metabase#17956)
    
    * Add meta/Dashboard utils for checking mapped dash params
    
    * Add tests for meta/Dashboard utils
    
    * Add disabled prop to TextWidget
    
    * Disable widgets using isDashboardParameterWithoutMapping fn
    
    * Update tooltip text
    
    Co-authored-by: Maz Ameli <[email protected]>
    
    Co-authored-by: Maz Ameli <[email protected]>
    daltojohnso and mazameli authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    7ec9b02 View commit details
    Browse the repository at this point in the history
  6. treat empty string parameter in url like it is unset (metabase#17912)

    * treat empty string parameter in url like it is unset
    
    * refactor parameter collection utils
    daltojohnso authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    595d75f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f3b45a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    094211e View commit details
    Browse the repository at this point in the history
  9. Fully deprecate alert deletion, and rename some alert/subscription en…

    …dpoints (metabase#17740)
    
    Co-authored-by: Alexander Polyankin <[email protected]>
    noahmoss and ranquild authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    0305c34 View commit details
    Browse the repository at this point in the history
  10. When fetching field also fetch field associated with its human_readab…

    …le_field_id (metabase#17958)
    
    * When fetching Field also fetch its associated human_readable_field_id
    
    * add unit tests
    daltojohnso authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    d7c1e45 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Add DashboardSubscription and Alert audit queries (metabase#17818)

    * Add DashboardSubscription and Alert table audit queries
    
    * metastore -> premium-features
    camsaul authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    d925eeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    faf007a View commit details
    Browse the repository at this point in the history
  3. Improve defsetting validation and other misc small tweaks (metabase…

    …#17896)
    
    * Move email->domain and email-in-domain? util functions to metabase.util
    
    * Improve the error handling for with-temp a little more.
    
    * Extra error context for with-temporary-setting-values
    
    * Improve Setting docstring forms validation: handle aliased forms like `i18n/deferred-tru`
    
    * Fix missing :require
    camsaul authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    da1c518 View commit details
    Browse the repository at this point in the history
  4. fix dashboard subscription default value for non-field filters (metab…

    …ase#17967)
    
    When loading dashboard filters, the default value is in `:default`
    not in `:value`. In the field filter code path, the default is
    copied to `:value`. Fix the issue by calling the same code for
    non-field filters too.
    
    Fixes metabase#15705
    pawit-metabase authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    ae25011 View commit details
    Browse the repository at this point in the history
  5. fix wrong data used for click actions in old pivot table (metabase#17937

    )
    
    In `getTableClickedObjectRowData`, we try to get the
    original row of the data from the rowIndex but because
    the rowIndex of the pivoted table and the original table
    does not necessarily match, we get the wrong data.
    
    This commit fixes it by storing a mapping between
    pivoted (row, col) and the original row number and using
    that to determine which row to use for the data.
    
    Fixes metabase#17920
    pawit-metabase authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    fa86e49 View commit details
    Browse the repository at this point in the history
  6. Audit cache controls (metabase#18001)

    We added cache control fields for dashboard and database and actually use it for cards: presumably EE folks want to audit that stuff. Here is the addition of those fields to the table views.
    howonlee authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    adc985e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1982ba3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    713ff5a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0bb97c2 View commit details
    Browse the repository at this point in the history
  10. Fix metabase#16810: Dashboard "isDirty" property is set to true after…

    … the Dashboard title is updated. (metabase#17955)
    
    * added isDirty flag to SET_DASHBOARD_ATTRIBUTES action
    
    * added reducer tests for SET_DASHBOARD_ATTRIBUTES with isDirty
    
    * lint
    Alexander Kiselev authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    1fe1c7a View commit details
    Browse the repository at this point in the history
  11. Fix metabase#17397 - "Showing first 2000 rows" is always displayed wh…

    …en results are loading (metabase#17954)
    
    * Check for existing result set when displaying
    "Showing [X] rows" instead of the max limit
    
    * added cypress test
    
    * broke up nested ternary operators in QuestionRowCount
    Alexander Kiselev authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    428bbe3 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Static Viz Formatting (metabase#17957)

    * Formatting
    
    return a format string so it can be used over multiple rows. The rules
    for formatting are quite annoying because there are defaults that are
    assumed rather than present. IE, if you set a column as currency it
    doesn't set the number style sometimes and defaults to USD without that
    being in the settings. In the future would be far preferable to always
    create a fully fleshed map of defaults rather than inferring them in
    random places.
    
    * appease our doc string supervisor
    
    * Include column information for formatting numbers
    
    really important for requiring two decimal places by default on doubles
    and none on integers. Its close to correct ignoring it and using
    "#,###.##" and this leaves non decimal places on integers and allows
    only up to two on doubles, but things like 31.10 will format as 31.1 and
    that is improper
    
    * Remove unneeded metabase.test
    
    * Update tests with nil column
    
    * Get global viz settings in middleware, pass entire to formatting
    
    Passing the entire viz settings to the formatting stuff makes the
    calling code much simpler and the places where we merge global settings,
    possibly get currency settings, etc, just in one place. We already had
    the col information there so just use it.
    
    * Remove public settings now that we get it from the metadata
    dpsutton authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    de39de8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bd3d70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14e742b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7401832 View commit details
    Browse the repository at this point in the history
  5. show meaningful error for waterfall chart of multiple series questions (

    metabase#17992)
    
    * show meaningful error for waterfall chart of multiple series questions
    
    * increase readability
    alxnddr authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    467eca8 View commit details
    Browse the repository at this point in the history
  6. docs - restore original file name (metabase#18026)

    * restore original file name
    
    * links
    jeff-bruemmer authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    419a826 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a5b85e2 View commit details
    Browse the repository at this point in the history
  8. Subscriptions and alerts audit (metabase#17765)

    * subscriptions and alerts audit
    
    * Add tables
    
    * Add tables
    
    * Extract to lib
    
    * Extract to lib
    
    * Add modal
    
    * Add modal
    
    * Add modal
    
    * Fix modals
    
    * Fix modals
    
    * Add children for displaying modals
    
    * Add children for displaying modals
    
    * Add children for displaying modals
    
    * Add children for displaying modals
    
    * Add edit dialogs
    
    * Add edit dialogs
    
    * Add edit dialogs
    
    * Add edit dialogs
    
    * Remove deletion
    
    * Remove deletion
    
    * Add users
    
    * Add users
    
    * Fix selection issues
    
    * Add placeholder
    
    * Add placeholder
    
    * Add delete button
    
    * Fix wrapping issues
    
    * F
    
    * Small fixes
    
    * Add reloading
    
    * fixes
    
    * cypress specs
    
    * fixes
    
    * post rebase fixes
    
    * rebase fixes
    
    * review fixes
    
    Co-authored-by: Alexander Polyankin <[email protected]>
    alxnddr and ranquild authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    9393a03 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d5377a5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4188b2b View commit details
    Browse the repository at this point in the history
  11. Fetch fields before parsing parameter values so we correctly parse va…

    …lues for boolean fields (metabase#17999)
    
    * add template tag fields as dependent metadata for native queries
    
    * check for a field_id property added by getValueAndFieldIdPopulatedParametersFromCard
    
    * Add NativeQuery dependentMetadata unit test
    
    * add test for loadMetadataForQuery
    daltojohnso authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    c74164e View commit details
    Browse the repository at this point in the history
  12. docs - update api doc gen code (metabase#17994)

    * update api doc gen code
    
    * update test
    jeff-bruemmer authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    7014115 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    14a775f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4bb0042 View commit details
    Browse the repository at this point in the history
  15. add PK icon (metabase#18015)

    * add PK icon
    
    * key -> label
    alxnddr authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    a4e8541 View commit details
    Browse the repository at this point in the history
  16. Tools to fix broken questions timeout fix (metabase#17985)

    Previous implementation was dog slow. This one is faster
    howonlee authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    82742cc View commit details
    Browse the repository at this point in the history
  17. Handle composite pk filters (metabase#18016)

    * Handle composite PK filters as well as filtering by non unique PK fields
    
    * unskip repro
    
    * fix
    
    * fix
    
    * fixes
    alxnddr authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    10f4020 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    92f7549 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b557b69 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Fix drag-n-drop in dashboard visualisation settings modal (metabase#1…

    …8031)
    
    * Add a prop to bubble mouse events on SandboxedPortal
    
    * Fix drag-n-drop on dashoboard's viz settings modal
    
    * Enable repro test
    kulyk authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    3f7420d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c225ace View commit details
    Browse the repository at this point in the history
  3. Fix Audit logging not showing ad-hoc native queries (metabase#18044)

    * Fix test's describe block
    
    * Mention metabase#16845 repro
    
    * Assert native query text is displayed in Audit
    
    * Enable the repro test
    
    * Fix ad-hoc native query not displayed in Audit correctly
    
    * Don't display native query sidebar in read-only mode
    kulyk authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    c51553d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    571488b View commit details
    Browse the repository at this point in the history
  5. Grammar and microcopy tweaks to Unsubscribe modal (metabase#18040)

    * grammar and microcopy tweaks
    
    * update cypress test
    
    * fix another test
    
    * update test again
    mazameli authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    f9143d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    42e2bda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9790648 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1280096 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e521360 View commit details
    Browse the repository at this point in the history
  10. Fix metabase#18003 regression by adding a check for borderless buttons (

    metabase#18020)
    
    * added check for borderless buttons when setting compact padding
    
    * fix my own silly regression
    
    * added visual tests for run button regressions
    
    * added minWidth to percy snapshot
    
    * shoudl have read the docs
    
    * Sync VIEWPORT_WIDTH and percy snapshot width
    Alexander Kiselev authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    67470a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    ba95b27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24988bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c276ea3 View commit details
    Browse the repository at this point in the history
  4. Fix personal sub-collections are hidden in item picker (metabase#18068)

    * Enable repro test
    
    * Fix personal subcollection in item picker hidden
    kulyk authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    0c81e4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c0bb00 View commit details
    Browse the repository at this point in the history
  6. metabase#18061 Repro(s): Pin map only containing null location result…

    …s crashes the frontend (metabase#18073)
    
    Covers all three scenarios listed in the original issue.
    nemanjaglumac authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    53c85aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    46c76c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8fd9318 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    450bbfd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6fbb131 View commit details
    Browse the repository at this point in the history
  11. Add initial E2E coverage for "Tools to fix question errors" (metabase…

    …#18057)
    
    * Add initial e2e test for erroring questions
    
    * Add repro for metabase#18050
    
    * Add repro for metabase#18048
    
    * Add test section with that contains broken questions
    
    * Improve test and add another scenario
    nemanjaglumac authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    4e70f20 View commit details
    Browse the repository at this point in the history
  12. metabase#9027 Repro: New questions do not appear in 'Saved Questions'…

    … until you refresh the browser (metabase#18076)
    nemanjaglumac authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    e157821 View commit details
    Browse the repository at this point in the history
  13. Support query cancellation in new BigQuery driver (metabase#17959)

    Support query cancellation in new BigQuery driver
    
    Remove now unused 60 second timeout
    
    Remove a bunch of unneeded code (`with-finished-response`) from the legacy driver
    
    Add support for canceling query, which stops pagination of results
    
    Add test to confirm pagination stops upon cancellation
    
    Add test to confirm that max rows enforcement via middleware prevents unnecessary pages from being fetched
    jeff303 authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    3aeac64 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    db7e7a0 View commit details
    Browse the repository at this point in the history
  15. Add test for ordering when nils are present (metabase#17914)

    Add test for ordering when nils are present
    
    Adding test to ensure that we can handle a column containing nils in an ORDER BY clause
    
    Adding `format-name` override for `bigquery-cloud-sdk` to convert dash to underscore in test table names
    
    Adding comment showing IDs of each row in the daily-bird-counts.edn file
    
    Format last column as int to make Oracle happy
    
    Add impls for `presto` and `presto-jdbc` `sorts-nil-first?` as false
    
    Make the `sorts-nil-first?` multimethod accept a base type in order to return an answer
    
    Vertica, at least, has a different answer for different types; see:
    https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/AnalyzingData/Optimizations/NULLPlacementByAnalyticFunctions.htm#2
    
    Updating Vertica implementation to consider the `base-type` as per its documentation
    
    Updating all invocations of `sorts-nil-first?` in tests to pass the relevant base type
    jeff303 authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    25aac41 View commit details
    Browse the repository at this point in the history
  16. Adjust driver deprecation language ("a future" instead of "the next") (

    …metabase#18083)
    
    Because we can't fully implement all the driver deprecation UX in time for release 41, we will adjust the language to allow flexibility for when to actually start the deprecation clock
    jeff303 authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    deeebec View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Fix slow query when using nested native question with many rows (meta…

    …base#18023)
    
    `query->native` works by having `nativef` throws an exception
    which causes `mbql->native` to set native query to `nil` which
    then cause the rest of the execution to be skipped.
    
    However, because the existing code skips overriding the native
    query for queries already native, the execution is not skipped.
    
    This causes bad performance for nested native question because
    `query->native` is called for the sub-query which causes the
    sub-query to be executed on its own, potentially without any
    limit or filtering.
    pawit-metabase authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    3826966 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    594c4b0 View commit details
    Browse the repository at this point in the history
  3. Fix {0} being shown when locale is "pt" (metabase#17875)

    This is a combination of 2 issues:
     1) pt got renamed to pt_BR in x.39.x but the old
        "pt" value may still be stored in the database
     2) when making a release, an unclean build
        directory may be used containing old "pt"
        resource which gets leaked into the release build
    
    1) is fixed by adding a function to treat "pt" as "pt_BR"
    to support users who were on "pt" since pre-x.39.
    (This is done by finding the closest fallback locale)
    
    2) is fixed by emptying the folder before generating locales
    so any old locales are deleted.
    
    Fixes metabase#16690
    pawit-metabase authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    3565136 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9784b89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1fcb75 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a2c4d3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a46baf7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0bcf871 View commit details
    Browse the repository at this point in the history
  9. Fix BigQuery Percentile and Median expressions not using correct back…

    …tick quoting (metabase#17979)
    
     Fix BigQuery Percentile and Median expressions not using correct backtick quoting
    
    Ensure the identifier components are quoted by reifying `ToSql` for the `APPROX_QUANTILES` expression
    
    Add test to ensure query is created properly
    
    Mark `:percentile-aggregations` as being supported in the new driver
    jeff303 authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    bca22d9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e70c2e7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6e487b3 View commit details
    Browse the repository at this point in the history
  12. Tool to fix broken questions, details page (metabase#18022)

    Details page for tools to fix broken questions. Also the PR ran long enough that nemanja found some bugs in the details page. Does not include any loading overlay or anything to indicate that reloads are happening, which is for 41.1 I guess
    howonlee authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    f94510a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    64bbf8e View commit details
    Browse the repository at this point in the history
  14. Do not change display on drill to questions (metabase#18008)

    * Do not change display on drill down to questions
    
    * unskip repro
    
    * include displayIsLocked explicitly otherwise it breaks almost the entire app
    alxnddr authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    20ec186 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    72a5584 View commit details
    Browse the repository at this point in the history
  16. Audit cache controls 2 (metabase#18046)

    Cache controls all landed but is lacking in the audit capacity wanted for in the notion doc. This PR adds that audit capability and by the by changes the ViewLog model in order to be able to deliver on the question of whether ViewLogs were cache hits or not.
    howonlee authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    d7898af View commit details
    Browse the repository at this point in the history
  17. Unverify cards when they are edited (metabase#17997)

    from maz in slack:
    Should not remove verification:
     - Moving to another collection
     - Pinning/unpinning
     - Adding/removing an alert on the question
     - Turning sharing on the question on/off
    Should remove verification:
     - Editing the query
     - Editing the visualization or viz settings
     - Editing the title or description
    
    This really just identifies when not to remove verification, otherwise
    does remove verification. Alerts are not related to questions through
    the api so no worries there. Everything else is just excluding
    attributes from the diff calculation.
    
    In tests, went perhaps a bit haywire with the macrolet, allowing to
    define macros inline rather than farther away from the call site. Used
    twice:
    - once to optionally add in moderation review into the with-temp. This
    macro is handy to ensure we always have a fresh state of card and don't
    have leftover changes or verifications. Has to be a macro since i want
    to dynamically change whether there are verifications in the with-temp*
    vector binding
    - a way to more easily reduce repetition when asserting something is
    verified, do an action, and assert it is still verified
    dpsutton authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    a750e4a View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Fix loading sample dataset in Redshift (metabase#18089)

    - `TEXT` in Redshift is equivalent to `VARCHAR(256)`, use
      `VARCHAR(1024)` instead
    - Unskip all tests skipped on Redshift due to sample dataset issue
    - Add explicit `:order-by` to `join-source-queries-with-joins-test`
      to make it pass in Redshift as Redshift does not preserve order
      after join (like a lot of other distributed query engines)
    - Add `VACUUM` and `ANALYZE` call after INSERT to improve performance
    pawit-metabase authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    a31a7d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b27c8f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4dc3974 View commit details
    Browse the repository at this point in the history
  4. Revert reversion of error cards details page (metabase#18107)

    Overall purpose of PR is to add row drill-ins to the tools to fix broken questions, so you can take a look-see into what the broken questions are.
    
    A tiny nit thing wasn't caught by CI and broke master. This was because there's a CI cache. I can confirm that this didn't hit the CI cache and the other thing that broke isn't breaking anymore
    howonlee authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    4853b79 View commit details
    Browse the repository at this point in the history
  5. Minor async require cleanup (metabase#18059)

    * Minor async require cleanup
    
    * Sort namespaces
    camsaul authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    44ccf23 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cac3bea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ee134cf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2b0a6c7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27e32d7 View commit details
    Browse the repository at this point in the history
  10. Programmatically wait for the QA DB metadata to load (metabase#18116)

    * Set the timeout to 2s because of Mongo
    nemanjaglumac authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    c897ff8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ba1f8dc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f044c7d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d4bc553 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. Check feature flag on backend /graph PUT API for block permission (me…

    …tabase#18109)
    
    Check feature flag on backend /graph PUT API for block permission
    
    Check for the `:advanced-permissions` flag in `update-db-permissions!`, when a `:schemas` `:block` entry is present in the graph
    
    Set feature flag in tests when using API
    
    Add new test to ensure failure in the case that feature flag is missing
    jeff303 authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    6ff4eda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b61d50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30f9902 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9de61d8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a17c61b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f961aa View commit details
    Browse the repository at this point in the history
  7. fix filters alignment (metabase#18139) (metabase#18166)

    Co-authored-by: Alexander Lesnenko <[email protected]>
    github-actions[bot] and alxnddr authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    d8664ac View commit details
    Browse the repository at this point in the history
  8. Do not emit view logs when there's no card id for query viewlogs (fixes

    metabase#18136) (metabase#18138) (metabase#18164)
    
    There is a problem when there are no card ids for a userland query (so not all userland queries are non-adhoc queries: they can be adhoc), where viewlog needs a card id so it chokes. Just adds a check so it doesn't even try to emit a viewlog, since the auditing is for non-adhoc queries only.
    
    Co-authored-by: Howon Lee <[email protected]>
    github-actions[bot] and howonlee authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    e768e09 View commit details
    Browse the repository at this point in the history
  9. Fix errors from disallowed characters in BigQuery custom expression n…

    …ames (metabase#18055) (metabase#18177)
    
    Add `escape-alias` multimethod to `sql.qp` to handle translating an alias (whether for a field or expression) into something supported by the driver in quesion
    
    Add default impl that is essentially identity
    
    Marking `sql.qp/field->alias` as deprecated, and changing its default implementation to invoke the new `sql.qp/escape-alias` on the field's `:name` (with the intention of removing it in a future release, since individual driver won't need to override this, so much as they'll need to override `escape-alias` itself).
    
    Override `sql.qp/escape-alias` method for both BigQuery drivers to run through the same `->valid-field-identifier` function already defined for this purpose
    
    Add test for a custom expression with weird characters
    
    Co-authored-by: Jeff Evans <[email protected]>
    github-actions[bot] and jeff303 authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    caf14d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. Configuration menu
    Copy the full SHA
    26a8b90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f780c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cdf6ce View commit details
    Browse the repository at this point in the history
  4. Cypress E2E postgres snapshot (metabase#18106) (metabase#18183)

    * Create `postgres-12` snapshot
    
    * Use `postgres-12` snapshot in tests
    
    * Relocate postgres `add` spec
    
    * Relocate postgres `sandboxes` spec
    
    * Relocate postgres `native` spec
    
    This actually didn't have anything to do with the native questions.
    We simply used native editor because it was easier to reproduce the issue.
    
    * Relocate postgres `permissions` spec
    
    * Relocate postgres `query` spec
    
    * Relocate postgres `custom-column` spec
    
    * Remove postgres from `metabase-db`
    nemanjaglumac authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    cfe4319 View commit details
    Browse the repository at this point in the history
  5. Separate qa db snapshots (metabase#18179) (metabase#18187)

    - a56b640 broke Percy workflow on master and introduced a major inconvenience for developers who wish to run Cypress locally. In both cases, it's required to have all supported QA DB docker images running at all times. Otherwise, the Cypress snapshot creation phase breaks.
    
    This PR:
    - uses the existing ENV var to conditionally skip qa db snapshots
    - this doesn't affect CircleCI workflow - it merely makes life easier for developers running Cypress locally and for a Percy workflow that runs on GitHub Actions (where we still don't have QA docker images available)
    
    Co-authored-by: Nemanja Glumac <[email protected]>
    github-actions[bot] and nemanjaglumac authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    9446404 View commit details
    Browse the repository at this point in the history
  6. Cypress E2E Mongo snapshot (metabase#18184) (metabase#18192)

    * Create `mongo-4` snapshot
    
    * Use `mongo-4` snapshot in tests
    
    * Restore and authenticate
    
    * Relocate mongo `line` spec
    
    * Relocate mongo `native` spec
    
    * Relocate mongo `add` spec
    
    * Extract repro for metabase#13097
    
    * Relocate mongo `query` spec
    
    * Remove mongo from `metabase-db`
    
    Co-authored-by: Nemanja Glumac <[email protected]>
    github-actions[bot] and nemanjaglumac authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    221fb8c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2908ae5 View commit details
    Browse the repository at this point in the history
  8. Show permissions for hidden tables (metabase#18171) (metabase#18204)

    * Show hidden tables permissions, load tables only when needed
    
    * fix padding
    
    * remove loader div wrapper
    
    * remove redundant wrappers
    
    Co-authored-by: Alexander Lesnenko <[email protected]>
    github-actions[bot] and alxnddr authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    8833826 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    445cc7d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    efa54da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b86b863 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6314df3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e96b765 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Fix DataSelector infinite loop (metabase#18228)

    When all the necessary data hasn't been fetched you can find yourself in
    stuck in a loop between the invalid state checks in DataSelector's
    componentDidUpdate method and the skipSteps method.
    
    1. there seems to always be a single schema (the "Everything Else"
       schema) available on instantiation
    2. the skipSteps method auto-selects this schema when no other schemas
       exist
    3. there's some pre-existing logic to avoid getting in this loop by
       checking the is_saved_questions property of the database in the
       selectedSchema. However, for whatever reason this property doesn't
       exist until AFTER we've fetched some things.
    
    The fix is checking a property that is guaranteed to exist, the ID for
    the "Everything Else" database
    daltojohnso authored and rlotun committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    3cb1255 View commit details
    Browse the repository at this point in the history
  2. Make webpack output closer to webpack 4 and fix whitelabelling (metab…

    …ase#18238) (metabase#18243)
    
    * Make webpack output closer to webpack 4 and fix whitelabelling
    
    * Fix recently-viewed.cy.spec.js
    
    Not sure why it's started failing with this PR, but adding wait for text.
    github-actions[bot] authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    515c4cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9877b00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e227274 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ef353f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cecb8ec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e017a3d View commit details
    Browse the repository at this point in the history
  8. Fix cache native queries not working (underlying problem is unit conv…

    …ersion actually) (18160) (metabase#18230)
    
    Cache TTL is defined in the nice new column things as per hour. The actual cache wanted it in seconds. There wasn't a conversion hours->secs before, which was the underlying illusion that gave rise to metabase#18160 - with a properly set cache ttl the cache works fine. But the cache ttl's weren't getting set to proper values because of that lack of unit conversion. So here's the conversion, hours->secs.
    howonlee authored and rlotun committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    7a25b5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    10a4749 View commit details
    Browse the repository at this point in the history
  10. Fetch and use fields associated with a parameter to parse parameter v…

    …alues found in URL query (metabase#18104)
    
    * move logic in dashboard selectors to meta/Dashboard
    
    * rmv usage of syncQueryParamsWithURL
    
    * add syncQueryParamsWithURL logic to meta/Parameters.js
    
    * Fix public questions
    
    * fix dashboards
    
    * fix query builder
    
    * don't normalize when value is empty string
    
    * rmv unused setMultipleParameterValues fn
    
    * replace selector logic with meta/Dashboard fn
    
    * filter out nil fields
    
    we need to do more work before we can properly use
    fields from nested questions when parsing parameter values.
    
    * add field to dash parameter so we can correctly type nested native query fields
    
    * fix tests
    
    * code style tweaks per review
    daltojohnso authored and rlotun committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    8bd0677 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5543a4a View commit details
    Browse the repository at this point in the history
  12. Restyle the Verify button (metabase#18134) (metabase#18258)

    * restyle the Verify button
    
    * remove unused components
    
    * make the verify button blue
    
    Co-authored-by: Maz Ameli <[email protected]>
    github-actions[bot] and mazameli authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    4ec56c8 View commit details
    Browse the repository at this point in the history
  13. 🤖 backported "Fix virtual fields are not passed to ParameterValueWidg…

    …et" (metabase#18263)
    
    * Fix virtual fields are missing in ParameterValueWidget
    
    * fix fk filter parameters
    
    Co-authored-by: Alexander Lesnenko <[email protected]>
    github-actions[bot] and alxnddr authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    496464a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5fea269 View commit details
    Browse the repository at this point in the history
  15. Fix Dashboard Subscription email validation (second pass) (metabase#1…

    …8237)
    
    * Fix Dashboard Subscription email validation (second pass)
    
    * Always validate Pulse channels in test endpoint
    camsaul authored and rlotun committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    198e144 View commit details
    Browse the repository at this point in the history
  16. Snowflake: fix error in aggregation expression having different casin…

    …g in order clause (metabase#18221)
    
    Remove the `driver/format-custom-field-name` implementation for :snowflake, which was causing the problem and appears to be no longer needed anyway
    
    Add test for this scenario to `metabase.query-processor-test.expression-aggregations-test`
    jeff303 authored and rlotun committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    28825ba View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Allow JDBC additional-options in Redshift plugin (metabase#18111) (me…

    …tabase#18274)
    
    Co-authored-by: Justin McCarthy <[email protected]>
    Co-authored-by: Pawit Pornkitprasan <[email protected]>
    3 people authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    0509266 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20fd429 View commit details
    Browse the repository at this point in the history
  3. Cypress email setup (metabase#18247) (metabase#18285)

    * Add `setupSMTP` helper function
    
    * Remove deprecated `setupDummySMTP` helper
    
    * Re-use `setupSMTP` helper in tests
    
    * Always clear Webmail's inbox after setting up the SMTP
    
    Co-authored-by: Nemanja Glumac <[email protected]>
    github-actions[bot] and nemanjaglumac authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    5eb2103 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e05622e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d4439b0 View commit details
    Browse the repository at this point in the history
  6. Change implementation of docsUrl to handle RC suffixes for EE versions (

    metabase#18270) (metabase#18296)
    
    Change implementation of docsUrl to handle RC suffixes for EE versions
    
    Change the regex used to test the tag to detect any OSS or EE version, including (possibly) an arbitrary suffix after the major and minor parts, and normalize to the major OSS equivalent version instead.  If the suffix, OTOH, is `-SNAPSHOT` (ignoring case), then the doc tag will be `latest`, on the theory that this is as local development build.
    
    v0.41.0 => v0.41
    v1.41.1 => v0.41
    v1.41.2-RC1 => v0.41
    v1.42.0-SNAPSHOT => latest
    
    Adding unit tests for all cases
    
    Update behavior so that -SNAPSHOT suffix points to "latest"
    
    Co-authored-by: Jeff Evans <[email protected]>
    github-actions[bot] and jeff303 authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    42fb71e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7847b07 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0ad04e2 View commit details
    Browse the repository at this point in the history
  9. Erroring question page nits (metabase#18190)

    Previous PRs for error cards page were laser focused on getting everything to work, as opposed to actually conforming to spec. This one gets it closer to spec, although product wants reloading animations which are not there yet. To wit,
    
    - Indicates to end user what the current running state is. Given the many orders of magnitude in DB query run times I think something robust and non-ephemeral is necessary here (looking at some sort of expanded QE model) but Maz suggested expedient method and I took it
    - No more left nav on the table page
    - Page heading for table page
    - Independent scroll-x behavior on the table
    - Styling for the error section on the table page
    - Select-all component. Note that the interaction behavior with pagination is fiddly. (but less fiddly now that it's all based on card id's instead of row numbers)
    - Coalescing default behavior for Our Analytics collection (default collection) and null number of dashboards
    Rename error name to error content search
    howonlee authored and rlotun committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    a728bc3 View commit details
    Browse the repository at this point in the history
  10. Static viz: allow rendering non-timeseries line charts (metabase#18279)

    * Static viz: respect custom X and Y axis labels
    
    * Static viz: allow rendering non-timeseries line charts
    
    * Test fixes 🔧
    camsaul committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    b7a4d19 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c529fe2 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. New metabase version

    r351574nc3 committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    ebf0f45 View commit details
    Browse the repository at this point in the history