This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 13, 2023
-
-
Anton Kostenko authored
* Build experimental multi-arch docker image (partially #13119)
-
- Mar 30, 2023
-
-
Ngoc Khuat authored
-
Tim Macdonald authored
* Add ^:multipart option to defendpoint (Allows file uploads) * Add license information * Add CDDL v. 1
-
- Mar 28, 2023
-
-
Cam Saul authored
* Improved implementation * Amazing code cleanup * Cleanup * More tests
-
- Mar 21, 2023
-
-
Roman Abdulmanov authored
-
- Mar 20, 2023
-
-
Tim Macdonald authored
It does the wrong thing when passing in a list of :steps. c.f. discussion at https://metaboat.slack.com/archives/C010L1Z4F9S/p1678905945881399
-
- Mar 13, 2023
-
-
john-metabase authored
* Moves to actively-maintained clj-yaml and removes obsolete pinned deps * Adds discouraged namespace rule for clj-yaml (use metabase.util.yaml) Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
- Mar 08, 2023
-
-
dpsutton authored
Occasionally in CI we get ``` “Syntax error compiling at (release/version_info_test.clj:46:26).\nNo such var: json/read-json\n”, ``` from `release.version-info-test`. This namespace requires `[clojure.data.json :as json]` and uses the function `json/read-json` which is deprecated since version 2.x. The way that deprecated function is defined in version 2.0.2 is ```clojure (ns clojure.data.json) ... (load "json_compat_0_1") ``` and in `clojure/data/json_compat_0_1.clj`: ```clojure (in-ns 'clojure.data.json) (defn read-json "DEPRECATED; replaced by read-str. ...) ``` And I guess the way that hawk requires some namespaces we can get into this half loaded, half not finished state and the var is not (yet) defined. So we can just put aside this nonsense and use a non-deprecated var that isn't defined with a `load` statement but in the regular namespace we require.
-
- Mar 07, 2023
-
-
dpsutton authored
Calling our basis function with just :oss or :ee we don't end up with an `:argmap` key. ```clojure uberjar=> (def basis (create-basis :oss)) ,#'build.uberjar/basis uberjar=> (:argmap basis) nil ;; nothing extra in oss uberjar=> (def basis (create-basis :ee)) ,#'build.uberjar/basis uberjar=> (:argmap basis) {:extra-paths ["enterprise/backend/src"]} ;; and if other aliases are used: uberjar=> (def basis' (b/create-basis {:project "deps.edn" :aliases [:dev :test]})) ,#'build.uberjar/basis' uberjar=> (:argmap basis') {:extra-deps {lambdaisland/deep-diff2 {:mvn/version "2.7.169"}, methodical/methodical {:mvn/version "0.15.1"}, io.github.metabase/hawk {:sha "45ed36008014f9ac1ea66beb56fb1c4c39f8342b"}, ....} :extra-paths ["dev/src"...] :jvm-opts ["-Dmb.run.mode=dev" ...] :exec-fn metabase.test-runner/find-and-run-tests-cli} ```
-
- Mar 01, 2023
-
-
Cam Saul authored
* Release script fix * Add test
-
Emmad Usmani authored
-
Cam Saul authored
* Build Script overhaul * Remove stray deps.edn * Include :ci profile for build and release tests * Fix release script * Update markdown dox * Update another dox * Tweakz * Don't pin new version of data.xml to core project, just for build scripts * Ignore unrecognized options * Fix i18n/enumerate
-
- Feb 27, 2023
-
-
Mark Bastian authored
Added post-collection retrieval function `remove-other-users-personal-collections` that will filter out any personal collection that doesn't belong to the current user when the `exclude-other-user-collections=true` path param is used. Also added unit tests for both the `api/collection/` and `api/collection/tree` endpoint.
-
- Feb 23, 2023
-
-
Noah Moss authored
* new clojure migration for v1->v2 permissions * updates * fix rebase issue * fix reflection warning * fix final test and address comment about macro name * fix indentation * revert changes to defmigration macro to try to fix final test
-
- Feb 21, 2023
-
-
dpsutton authored
* Custom migrations Current syntax: specify the migration with ``` - changeSet: id: v46.00-080 author: dpsutton comment: Uppercases all Card names changes: - customChange: class: "metabase.db.custom_migrations.ReversibleUppercaseCards" ``` and in the new namespace metabase.db.custom-migrations: ```clojure (defmigration UppercaseCards (db/execute! {:update :report_card :set {:name :%upper.name}})) (def-reversible-migration ReversibleUppercaseCards (db/execute! {:update :report_card :set {:name :%upper.name}}) (db/execute! {:update :report_card :set {:name :%lower.name}})) ``` * Use db provided by liquibase * edit docstring * set *warn-on-reflection* to fix lint error & rebase --------- Co-authored-by:
Noah Moss <noahbmoss@gmail.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Nemanja Glumac authored
* Expand the glob to include TS(X) files * Use console error * Re-order imports * Print the missing files in red * Fix glob pattern * Add script to pre-commit hooks * Remove the check from CI
-
- Feb 20, 2023
-
-
Nemanja Glumac authored
-
- Feb 17, 2023
-
-
john-metabase authored
* Removes :presto driver and tests * Merges :presto-common into :presto-jdbc * Adds migration to update presto databases to presto-jdbc --------- Co-authored-by:
Cam Saul <github@camsaul.com>
-
Cam Saul authored
* Oracle Honey SQL 2 * Remove debugging function * Fix concat() * Oracle should use numbers for booleans when loading test data
-
- Feb 09, 2023
-
-
Mark Bastian authored
Upgrade to Jetty 11 via https://github.com/sunng87/ring-jetty9-adapter. Required updating from javax servlet packages to jakarta, since jakarta is newer.
-
- Feb 08, 2023
-
-
Cam Saul authored
-
- Jan 27, 2023
-
-
Case Nelson authored
* Script to copy athena jdbc jar to our maven repo Since amazon is still not putting their athena jdbc on to maven, the easiest thing for us to do is setup a maven-y s3 repo and copy their jar into it. This script allows you to run: `./bin/athena.bb <version> [--deploy]` For example: `./bin/athena.bb 2.0.35 --deploy` Will download the 2.0.35 jar from amazon's release bucket, create and update the necessary maven repo files, then upload all those files to our maven repo. It uses the jar build WITHOUT the AWS SDK. You must have `bb` (babashka), `aws` (awscli), and `shasum` commands available. You must have aws credentials available, e.g. through `aws configure` * Add comment explaining script to script * Use iterate instead of loop for find-pred Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update bin/athena.bb Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update bin/athena.bb Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
- Jan 23, 2023
-
-
john-metabase authored
* Fixes MongoDB OrderedMap encoding with nippy * Removes flatland/ordered from build-drivers deps
-
- Dec 29, 2022
-
-
Noah Moss authored
* standardize ns formatting in all src/ namespaces * small fixes * test formatting * enterprise files * fix whitespace linter error * fix kondo error * bin files * reformat shared files * fix errors * fix another error * mostly fix import to use parenthesis and have it at a new line * fix wrong spacing Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
-
- Dec 21, 2022
-
-
john-metabase authored
* Start-of-cycle 46 basic dependency version bump Some dependencies with available major version bumps are only updated to the latest minor version of the current major version. Some additional dependencies will be updated in future PRs. * Removes commons-lang from sparksql deps exceptions * Fixes MongoDB SRV test for monger 3.6.0 * fixes SQLite datetime tests for new driver version 3.40
-
- Dec 15, 2022
-
-
john-metabase authored
-
- Dec 11, 2022
-
-
Ariya Hidayat authored
This step is taken care automatically (see `.github/workflow/release.yml`)
-
- Dec 09, 2022
-
-
Cam Saul authored
* Make Dimension unique on `field_id` and deduplicate * Fix rollback for new migrations * Don't require migration comments to contain 'added' anymore since it's part of the version ID now * Don't require 'Added <version>' in migration comments anymore * Fix SerDes test that created duplicate dimensions for one Field * Silly fix to fix MySQL 5.7
-
- Dec 08, 2022
-
-
Cam Saul authored
* ≈ [WIP] [ci skip] * Minor cleanup [ci skip] * Code cleanup. [ci skip] * Kondo in CI should fetch library configs * Bump Methodical version * Change name to `=?` * Add `#exactly` reader tag * Add `#schema` data reader * Fix dev deps indentation and add `algo.generic` * Add `approx=` * Improved version of `#approx` * Just check in third party Kondo config for now instead of fighting CI * Update test/metabase/test_runner/assert_exprs/approximately_equal_test.clj Co-authored-by:
Tim Macdonald <tim@metabase.com> * Address PR feedback and fix sequence comparison Co-authored-by:
Tim Macdonald <tim@metabase.com>
-
- Nov 30, 2022
-
-
Alexander Polyankin authored
-
- Nov 29, 2022
-
-
Cam Saul authored
* Include Amazon Athena support for dacort/metabase-athena-driver * Use Metabase Maven repo to fetch Athena driver * Copy test extensions from Damon's Athena driver repo * Some code cleanup. * Move namespaces => metabase.driver.athena * Clean up the test extensions namespace * 42 failures, 16 errors * Fix regex support; disable a few tests * Minor tweaks * Fix data-source-name * Fix :week and :day-of-week impls (mostly): 2 failures, 3 errors * Fix OFFSET, :week-of-year; skip test that has TIME column * Add Athena to CircleCI config. Don't wait for Java 11 tests to finish before driver tests. * ALL TESTS ARE PASSING! <3 * Copy fixes for https://github.com/dacort/metabase-athena-driver/issues/115; add test * We don't need to prep source files or fetch dependencies before running backend tests. * Fix Eastwood error. * Tweak CircleCI config. * Fix TIMESTAMP WITH TIME ZONE * Include the Athena/Redshift repos in the build-drivers deps.edn * Build and release scripts need to have the :mvn/repos as well * Revert change that enabled test for Presto * Un-enable failing test for Snowflake as well. * moves all is clauses into the test - previously only the first few tests were being run * Sort ns in `metabase.driver.athena-test` * Prevent athena's log4j2.properties file from becoming log config athena includes log4j2.properties top-level with the properties: ``` status = debug rootLogger.level=debug ``` And this kills our beautifully crafted logging. Set "log4j2.configurationFile" in bootstrap to our own log4j2.xml. Log4j2 looks in a few places for its logging config, the first of which is the properties file. So when the jar is loaded, log4j2 considers this a logging config change and we lose our logging. Co-authored-by:
Damon P. Cortesi <d.lifehacker@gmail.com> Co-authored-by:
Bryan Maass <bryan.maass@gmail.com> Co-authored-by:
dan sutton <dan@dpsutton.com>
-
Luis Paolini authored
-
- Nov 28, 2022
-
-
john-metabase authored
* Adds rollback where necessary to v45 migrations * Adds linter for migrations requiring rollback key * Removes unused writeback table migrations * Removes migrate down-one subcommand
-
- Nov 08, 2022
-
-
Ariya Hidayat authored
-
- Oct 20, 2022
-
-
Noah Moss authored
* fix detection of backend files when generation i18n edn * appease whitespace linter * tweak comment * fix cypress test * appease linter * Use eduction instead of threading * Update bin/i18n/test/i18n/create_artifacts/backend_test.clj Co-authored-by:
Tim Macdonald <tim@metabase.com> Co-authored-by:
Tim Macdonald <tim@metabase.com>
-
- Oct 17, 2022
-
-
Luis Paolini authored
* Replace `isomorphic-fetch` with plain `XMLHttpRequest` * Remove `isomorphic-fetch` Co-authored-by:
Nemanja <31325167+nemanjaglumac@users.noreply.github.com>
-
- Sep 27, 2022
-
-
Ariya Hidayat authored
-
- Sep 22, 2022
-
-
Cam Saul authored
* 347 errors, 34 warnings * 89 errors, 66 warnings * 63 errors, 39 warnings * 52 errors, 33 warnings * 23 errors, 22 warnings * 13 errors, 4 warnings * Fix the last few errors. * Sort Kondo config
-
- Aug 22, 2022
-
-
Cam Saul authored
* [Toucan 2 prep] Don't invoke Toucan models as functions * Some fixes * Test fixes
-
- Aug 03, 2022
-
-
Diogo Mendes authored
-