This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 22, 2021
-
-
Alexander Polyankin authored
-
Noah Moss authored
-
Nemanja Glumac authored
* Refactor and register global Slack configuration e2e helper * Use slack helper in tests
-
Nemanja Glumac authored
Closes #17701
-
Nemanja Glumac authored
-
- Oct 21, 2021
-
-
Jeff Evans authored
Integrate secret handling with db-details Add helper function to database model namespace to "swap out" secret values with inserted IDs Calling this from the pre-update fn Add pre-insert fn for database model to perform the same Adding test to database model test ns Add creator_id to secret model to capture the user who created this secret instance/version Add creator-id and created-at sub properties for each secret in db details
-
Jeff Bruemmer authored
-
Nemanja Glumac authored
-
Ariya Hidayat authored
-
Pawit Pornkitprasan authored
Version 2.6.0 until 2.7.0 of org.apache.sshd has a bug that will fail to connect to SSH servers configured to use `-oKexAlgorithms=diffie-hellman-group-exchange-sha256`. Reverting to the known working version. We can upgrade to 2.7.1 once it is released. Reference: https://issues.apache.org/jira/browse/SSHD-1163 Fixes #18316
-
Jeff Evans authored
Add secret model Add Liquibase migration for secret table Implement bare bones model namespace for secret Add simple test to ensure secret values are stored and retrieved under an encryption key (or not) Add :creator_id to secret model to capture the user who created this secret instance/version Support updating secret values as part of encryption key rotation Add test assertions for secret values in the `rotate-encryption-key!-test`
-
Gustavo Saiani authored
-
Gustavo Saiani authored
-
Nemanja Glumac authored
Fix #18547 - Wrong id applied to the link to the question added to the dashboard [Activity log] (#18578) * Fix wrong id applied when constructing a link to the question added to the dashboard Closes #18547 * Unskip repro * Add unit tests for question ids * Guard against the dashboard questions with no names
-
Gustavo Saiani authored
-
- Oct 20, 2021
-
-
Cam Saul authored
-
dpsutton authored
also move it down with the other lsp bits
-
Jeff Evans authored
Fix calculation in `ttl-hierarchy` The `ttl-hierarchy` function falls back to `query-magic-ttl` if no stored (card, dashboard, database) cache settings are available. But that function returns its TTL value in milliseconds, while the model level, granular TTLs are stored in hours. Convert those to seconds before returning, so that `ttl-hierarchy` is always returning in seconds Add backend test for this scenario (no stored model ttls, but an average query execution time is available, and hence the `query-magic-ttl` should be used) Unskip Cypress repro
-
Nemanja Glumac authored
-
Alexander Polyankin authored
-
Nemanja Glumac authored
* Register new notebook e2e helper `visualize` * Apply new `visualize` helper to a several different specs as a PoC * Apply `visualize` helper to all related specs
-
Gustavo Saiani authored
-
Ariya Hidayat authored
Also, in case reduced motion is preferred, increase the spring stiffness of the motion to finish the transition faster (timing-wide, the actual animation won't appear due to the above snapping).
-
Pawit Pornkitprasan authored
-
- Oct 19, 2021
-
-
Pawit Pornkitprasan authored
* qp: fetch_source_query: store card-id for each query we want to be able to determine further in the pipeline whether a query came from a card (i.e. saved question) or not * qp: annotate: remove join-alias if source is a card If the source is a card, the front-end should be able to treat it similar to a database view so we should not expose the join aliases outside. If the card is on the right side of the join though, the alias should still exists and refers to the current-level join alias.
-
Jeff Evans authored
Update encryption code to be able to operate on byte arrays directly (without dealing in base64 String representation), delegating existing methods to point to these new ones Adding test
-
Jeff Evans authored
Removing duplicate property declaration from presto-jdbc driver YAML Add test that executes against all drivers to confirm that no duplicate names come out of connection-properties Change the way the test runs to avoid needing to initialize test data namespace (to make googleanalytics happy) Unskip repro Cypress test
-
Dennis Schridde authored
* Fix precondition of change set 97 Without the `type` and with the space Liquibase is unable to parse this precondition. During `lein test` it outputs: ``` [clojure-agent-send-off-pool-0] DEBUG liquibase.changelog - Running Changeset:migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Changeset migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Added 0.32.0 [clojure-agent-send-off-pool-0] INFO liquibase.changelog - Marking ChangeSet: migrations/000_migrations.yaml::97::senior ran despite precondition failure due to onFail='MARK_RAN': liquibase.yaml : DBMS Precondition failed: expected null, got h2 [clojure-agent-send-off-pool-0] DEBUG liquibase.changelog - Skipping ChangeSet: migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Executing with the 'jdbc' executor [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - 1 row(s) affected ``` After this change the output changes to: ``` [clojure-agent-send-off-pool-0] DEBUG liquibase.changelog - Running Changeset:migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Changeset migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Added 0.32.0 [clojure-agent-send-off-pool-0] INFO liquibase.changelog - Marking ChangeSet: migrations/000_migrations.yaml::97::senior ran despite precondition failure due to onFail='MARK_RAN': liquibase.yaml : DBMS Precondition failed: expected mysql,mariadb, got h2 [clojure-agent-send-off-pool-0] DEBUG liquibase.changelog - Skipping ChangeSet: migrations/000_migrations.yaml::97::senior [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - Executing with the 'jdbc' executor [clojure-agent-send-off-pool-0] DEBUG liquibase.executor - 1 row(s) affected ``` For documentation of the syntax cf. https://docs.liquibase.com/concepts/advanced/preconditions.html * Extend migration linter to check dbms preconditions * Also validate the `type` field of the `dbms` precondition Co-authored-by:
dpsutton <dan@dpsutton.com>
-
Noah Moss authored
Normalize field refs in viz settings, rework column ordering approach, and expand test coverage (#18490)
-
Howon Lee authored
Null query runs show up at the top previously. This is because they are a null set. This is a thing that there is an affordance to happen, because you can just create cards without running them in the notebook builder. Coalesces the null to 0 to make things sort right.
-
Alexander Lesnenko authored
* Fix no databases on embedded new question page * Add an explanation just in case, replace lifecycle method
-
Eric Dallo authored
-
Ariya Hidayat authored
Make sure that the built Uberjar contains translations etc. Also, build with "large" resource_class on Circle CI.
-
Howon Lee authored
Underlying problem was that the cardinality of dates were getting limited by the default 1000 limit imposed by EE queries. Whack it for this specific instance. I think if we see it ever again we just remove the 1000 limit instead.
-
Dalton authored
* add more parameters unit tests * add a few meta/Dashboard tests * remove some old, unnecessary comments * fix assertions in tests * fix getParameterTargetField tests * delete nonsensical test
-
- Oct 18, 2021
-
-
Pawit Pornkitprasan authored
Field were not normalized before being processed resulting in the result being `null` Fixes #15737
-
Pawit Pornkitprasan authored
Webpack generate multiple resources with the name of "/[md4-hash].ext". We should allow those to be cached.
-
Ariya Hidayat authored
This reverts commit adb2f715 as it broke Uberjar builds on CircleCI.
-
Cam Saul authored
-
Ariya Hidayat authored
Make sure that the built Uberjar contains translations etc.
-