Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Mar 31, 2022
  2. Mar 29, 2022
    • Pawit Pornkitprasan's avatar
      [e2e] use maildev version 1.1.0 (#21333) · 10dec245
      Pawit Pornkitprasan authored
      New releases of maildev were recently made which has UI changes
      as well as changing the default port from 25 to 1025, causing tests
      to fail.
      
      While we may want to upgrade maildev in the future, let's stick to
      the old version first to unbreak all the tests.
      Unverified
      10dec245
  3. Mar 26, 2022
    • Diogo Mendes's avatar
      Moving Currents.dev from CCI to GHA (#21258) · 64508900
      Diogo Mendes authored
      * Removing from CCI
      
      * Adding Currents to GHA
      
      * Let there be run
      
      * Returning to master
      
      * Adding new key to new project on Currents
      
      * Adding --ci-build-id to support GHA Re-Runs
      
      * Returning to branch to test it more
      
      * Removing not needed info (repo)
      
      * Returning to master
      Unverified
      64508900
  4. Mar 23, 2022
  5. Mar 18, 2022
  6. Mar 17, 2022
  7. Mar 16, 2022
  8. Mar 08, 2022
  9. Mar 01, 2022
  10. Feb 24, 2022
    • Nemanja Glumac's avatar
      Embedding e2e group (#20721) · 57c738fc
      Nemanja Glumac authored
      * Copy over admin premium embedding settings to a new file
      
      * Move embedding reproductions to a related folder
      
      * Move over dashboard embedded parameters
      
      * Move over embedding dashboard spec
      
      * Move over repro for 20634
      
      * Enable embedding in CI
      Unverified
      57c738fc
  11. Feb 15, 2022
    • Cam Saul's avatar
      Upgrade Hive JDBC driver version from 1.2.2 -> 3.1.2; Bump Spark SQL from 2.1.1 to 3.2.1 (#20353) · 4dc16403
      Cam Saul authored
      * Replace AOT Spark SQL deps with a `proxy` and a `DataSource`
      
      * Support `connection-details->spec` returning a `DataSource`
      
      * Remove target/classes
      
      * Don't need to deps prep drivers anymore
      
      * Fix duplicate `this` params in `proxy` methods; add `:test` alias for Eastwood to make it be a little quieter
      
      * Make sure to call `pool/map->properties`
      
      * Upgrade Hive JDBC driver version from 1.2.2 -> 3.1.2; Bump Spark SQL from 2.1.1 to 3.2.1
      
      * Clean the namespaces
      
      * Don't need to register the a proxy JDBC driver since we're not even using it anymore
      
      * Fix Spark SQL :schema sync for newer versions
      
      * Remove unneeded override
      
      * Fix day-of-week extract for new :sparksql
      
      * Hive/Spark SQL needs to escape question marks inside QUOTED identifiers now :unamused:
      
      * Some minor SQL generation improvements to avoid duplicate casts
      
      * Revert change to debug test
      Unverified
      4dc16403
  12. Feb 08, 2022
    • Jeff Evans's avatar
      Remove :bigquery driver (#20142) · 22ebe102
      Jeff Evans authored
      
      * Remove :bigquery driver
      
      Add "migration" to convert existing Database instances from :bigquery to :bigquery-cloud-sdk (with error log if using outdated OAuth mechanisms), by way of `normalize-db-details`
      
      Removing references to :bigquery from various places in the code
      
      * Remove from modules/drivers/deps.edn
      
      * Remove stuff from CircleCI that is running the old driver
      
      Remove `driver-switch-test` since there is no practical way to run this anymore (since we can't initialize the old driver)
      
      Remove buggy redef of `isa?` from `semantic-type-migration-tests`
      
      Co-authored-by: default avatarCam Saul <github@camsaul.com>
      Unverified
      22ebe102
  13. Feb 06, 2022
  14. Feb 05, 2022
  15. Feb 04, 2022
  16. Feb 02, 2022
  17. Jan 25, 2022
  18. Jan 24, 2022
  19. Jan 18, 2022
  20. Jan 14, 2022
  21. Jan 13, 2022
  22. Dec 20, 2021
    • Jeff Evans's avatar
      Fix file upload of secret values (#19398) · b8b1b28a
      Jeff Evans authored
      * Fix file upload of secret values
      
      Fix logic in `db-details-client->server` to properly consider the `-options` suffixed connection property from the client version, to determine the treatment to be applied (i.e. base64 decode)
      
      Change logic in `db-details-client->server` to `assoc` nil rather than `dissoc` unused keywords (so they override the saved db details on merge)
      
      Update `driver.u/database->driver*` so that the engine loaded from the database instance is *always* a keyword
      
      Update `metabase.test.data.oracle/connection-details` to pass the property vals through the client->server translation layer
      
      Change `creator_id` in `secret` model to be nullable (since, when creating test DBs, the API current user is deliberately set to nil)
      
      Switch the logic in Oracle SSL test to iterate on the file-path and uploaded variants to the test itself to get around weird CircleCI/environment issues
      
      Use `rds_root_ca_truststore.jks` for the test instead since we don't need the full cacerts for this
      Unverified
      b8b1b28a
  23. Dec 16, 2021
  24. Dec 10, 2021
  25. Dec 06, 2021
  26. Dec 03, 2021
    • Jeff Evans's avatar
      Secrets :closed_lock_with_key: PR 7 - Enable Postgres driver to use secrets for configuring SSL parameters (#18968) · f8d712d6
      Jeff Evans authored
      * Enable Postgres driver to use secrets for configuring SSL parameters
      
      Adding secret related properties for SSL options to Postgres driver
      
      Move `conn-props->secret-props-by-name` to secret.clj since it's needed directly there, too
      
      Add `us-east-2-bundle.pem` to `test-resources/certificates` for testing Postgres with SSL connectivity to our RDS instance (and a README.md explaining how it differs from the existing `ssl` directory)
      
      Updating `value->file!` to have better logic for building the error message when the existing file is not found (for better UX from the Database admin page)
      
      Updating frontend to support the `visible-if` value being an array, in which case any value may match the current details value, in order for that field to be visible
      
      Adding secret related properties for SSL options to Postgres driver
      
      Updating CircleCI config.yml to refer to the RDS instance when running Postgr...
      Unverified
      f8d712d6
  27. Dec 02, 2021
    • Jeff Evans's avatar
      Fix google-api-client version from google driver (#19176) · 17c3f739
      Jeff Evans authored
      * Fix google-api-client version from google driver
      
      Update google-api-client version `1.30.7` -> `1.32.1`, so that `google-http-client` ends up as `1.39.2` to match the other drivers
      
      Add explicit `google-http-client-jackson2` dependency for google driver since it's no longer included transitively for some strange reason, but the `:google` driver itself directly uses it
      
      Add new CircleCI test run for multiple Google related drivers (to ensure there aren't cross-driver classpath issues)
      Unverified
      17c3f739
  28. Nov 23, 2021
  29. Nov 17, 2021
    • Jeff Evans's avatar
      Secrets :closed_lock_with_key: PR 6 - Update Oracle properties (#18320) · 0480c2cc
      Jeff Evans authored
      
      * Add SSL keystore and truststore secret properties to Oracle driver YAML files
      
      
      Update Oracle driver to set keystore and truststore connection options from secret values
      
      Adding new `select-keys-sequentially` helper function for dealing with assertions on transformed conn props
      
      Add new function to the secret namespace to return a lighter weight "secret map", and remove that functionality from the `handle-db-details-secret-prop!`, so that it can be reused from connection testing
      
      Modifying CircleCI to set the corresponding truststore secret conn prop vars instead of JVM-level truststore settings, as the test had been doing previously
      
      Expand Oracle test connection details to incorporate all SSL related properties, and also make it a function instead of delayed def (so changes can be picked up later)
      
      Misc. fixes in Oracle driver YAML files
      
      Update `exception-classes-not-to-retry` to include SSLHandshakeException
      
      Fix misc issues in secret and database model code
      
      Update CircleCI config to use correct secret based env var keys and values
      
      Add *database-name-override* dynamic var in `metabase.test.data.interface` to allow for DB name overriding
      
      Fix up ssl connectivity test so all parts pass successfully
      
      Get rid of crazy with-redefs to swap in the existing test-data's schema, and instead, just dropping the DB if it was created under a different schema (similar to what H2 does)
      
      Co-authored-by: default avatarGustavo Saiani <gustavo@poe.ma>
      Unverified
      0480c2cc
  30. Oct 27, 2021
  31. Oct 19, 2021
  32. Oct 18, 2021
  33. Oct 13, 2021
  34. Oct 08, 2021
    • Nemanja Glumac's avatar
      Extract "custom column" into a separate e2e and CI group (#18336) · d657ebb6
      Nemanja Glumac authored
      * Extract cc reproductions from `question` group
      
      * Extract custom-column spec
      
      * Extract custom column help-text spec
      
      * Extract custom column typing-suggestion spec
      
      * Extract custom column error-feedback spec
      
      * Expand typing-suggestions spec
      
      * Consolidate repros
      
      * Extract custom column data-type spec
      
      * Remove references to `cy.server` from custom-column spec
      
      * Extract custom column expression-editor spec
      
      * Remove duplicate tests
      
      * Extract and unskip repro for #13289
      
      * Register custom column helpers
      
      * Use CC helper in tests
      
      * Move related tests to help-text spec
      
      * Enable "custom-column" e2e group in CI
      
      * Delete a duplicate repro for #13289
      
      * Remove obsolete test
      
      * Expand error-feedback spec
      
      * Extract and expand repro for #14843
      
      * Fix linter errors
      Unverified
      d657ebb6
  35. Oct 07, 2021
  36. Oct 01, 2021
    • Nemanja Glumac's avatar
      Cypress E2E MySQL snapshot (#18193) · de22490d
      Nemanja Glumac authored
      * Create `mysql-8` snapshot
      
      * Use `mysql-8` snapshot in tests
      
      * Extract repro for #15342
      
      * Relocate mysql `add` spec
      
      * Extract mysql GUI query tests
      
      * Relocate mysql `query` spec
      
      * Extract repro for #12445
      
      * Remove `metabase-db` from Cypress
      
      * Update Cypress README
      Unverified
      de22490d
    • Nemanja Glumac's avatar
      Cypress E2E Mongo snapshot (#18184) · 2cf6dc55
      Nemanja Glumac authored
      * 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 #13097
      
      * Relocate mongo `query` spec
      
      * Remove mongo from `metabase-db`
      Unverified
      2cf6dc55
Loading