Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 04, 2023
  2. Jun 30, 2023
  3. Jun 20, 2023
  4. Jun 16, 2023
  5. May 31, 2023
  6. May 24, 2023
  7. May 08, 2023
    • john-metabase's avatar
      Adds tools.cli command parsing and improved option behavior for serialization commands (#30435) · 7dbd457e
      john-metabase authored
      Commands can now specify a command-line arg spec to enable automatic argument parsing and improved help text.
      New commands should use this arg spec format and existing commands can be updated if desired.
      
      * Adds tools.cli command parsing and improved option behavior for v2 export and load
      * Fixes --no-collections export, empty settings export
      * Improves command error handling, adds help text on error
      * Lists valid commands when unknown command is given
      * Cleans up collection selection for generic export
      * Supports --user by email in serdes v2 export
      7dbd457e
  8. May 03, 2023
  9. Apr 27, 2023
  10. Apr 21, 2023
  11. Apr 18, 2023
  12. Apr 13, 2023
    • Jerry Huang's avatar
      Add validation if SAML Keystore has no private key (#29847) · 5ec5ff4e
      Jerry Huang authored
      * initial changes
      
      * add saml api
      
      * address changes
      
      * git restore enterprise/backend/test/metabase_enterprise/sso/api/saml_test.clj
      
      * update comment
      
      * update to have /api
      
      * remove dbg
      
      * fix alias
      
      * change deps
      
      * update test
      
      * add test
      
      * update test
      
      * split tests
      
      * add paren
      5ec5ff4e
  13. Apr 12, 2023
    • dpsutton's avatar
      Revert "`clj -M:run` should not think it's running in `:dev` mode (#30004)" (#30043) · fc02e165
      dpsutton authored
      This reverts commit 8a11e382.
      
      The namespace `metabase.server.middleware.security` controls our content
      security policy header. In dev we allow connections to 8080 for webpack
      assets. Not dev we deny these.
      
      `clj -M:run` is dev since it is running the project from source, not a
      jar. This `mb.run.mode` was removed when we were fighting require issues
      for `metabase.query-processor-test.test-mlv2`. That's solved so we can
      restore the dev property to `:run`.
      fc02e165
  14. Apr 11, 2023
  15. Apr 05, 2023
    • Mark Bastian's avatar
      Metabot version 2 -- LLM based metabot (#29646) · 93c96217
      Mark Bastian authored
      Added both FE and BE tooling for integration with LLMs, called "metabot". FE adds prompts for querying models and databases. BE takes these prompts, calls a LLM, parses the response, and returns the result.
      93c96217
  16. Mar 30, 2023
  17. Mar 22, 2023
  18. Mar 17, 2023
  19. Mar 14, 2023
  20. Mar 13, 2023
  21. Mar 10, 2023
  22. Mar 09, 2023
  23. Mar 08, 2023
  24. Mar 07, 2023
    • dpsutton's avatar
      Update tools.build and usage (#28977) · b549b291
      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}
      ```
      b549b291
    • dpsutton's avatar
      Fix flaky test and test for a new case (#28757) · cc4601b1
      dpsutton authored
      
      * Fix flaky test and test for a new case
      
      flaky test was annoying. It would timeout after 45 seconds. And
      annoyingly, it times out on the _client_, not the server. So we don't
      get the proper error message we expect.
      
      And what's happening is that the backend just hooks up the pipe from
      it's request to the response. And if no bytes ever come across, we just
      twiddle our thumbs until the http request in the test gives up.
      
      The only reliable way i could think of to fix this is to spin up a
      webserver that just accepts and then ignores requests (which is what
      github did to us in the flaky test).
      
      Had to bump the ring adapter to get the newly exposed `:async-timeout
      60000` parameter. By default the webserver in the test has a timeout of
      30 seconds, which is shorter than the 45 second timeout for the test's
      request to the geojson endpoint.
      
      * add comment
      
      * clean up test server logic
      
      ---------
      
      Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
      cc4601b1
  25. Mar 01, 2023
    • Cam Saul's avatar
      Metabase® Lib™ v2 (#28517) · abd1958e
      Cam Saul authored
      * Metabase lib PoC RFC [ci skip]
      
      * Cleanup [ci skip]
      
      * `:lib/uuid` overhaul [ci skip]
      
      * More tests [ci skip]
      
      * Basic join support [ci skip]
      
      * Simplify a few things, more tests, etc. [ci skip]
      
      * Pipeline queries FTW [ci skip]
      
      * Metabase® Lib™ v2
      
      * Fix cljs test assertions
      
      * No bees please
      
      * Update docstring
      
      * Mega simplification
      
      * Fix Kondo warnings
      
      * Address PR feedback
      
      * Fix Malli util for Cljc
      
      * Oops, `instrument!` should be public
      
      * Cloverage do not instrument JS util namespace
      
      * Fix Cloverage again
      
      * Don't count MySQL or Postgres namespaces for Coverage
      
      * Address PR feedback
      
      * Move dispatch value keyword function to util
      
      * Revert acccidental require
      
      * Test fix
      
      * Fix Cljs =?
      
      * Fix totally unrelated broken links
      abd1958e
    • Cam Saul's avatar
      Build script overhaul 2023 (#28767) · 3c980639
      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
      3c980639
  26. Feb 27, 2023
    • Braden Shepherdson's avatar
      [metabase-lib] Dev experience and CLJC infra improvements · 4580eab9
      Braden Shepherdson authored
      Dev experience:
      - CLJS now has source maps
      - Devtools extension renders CLJS data in Chrome (et al) Devtools
      - Use a debug build of CLJS in the tests
      - Fixed line numbers and breakpoints being off-by-one in Devtools
      
      CLJC infra:
      - More robust direct approach to JS<->CLJS conversions, powered by
        Malli transformers.
      - Powerful `define-getters-and-setters` macro to generate the accessors.
      4580eab9
  27. Feb 20, 2023
  28. Feb 17, 2023
  29. Feb 15, 2023
  30. Feb 14, 2023
    • Braden Shepherdson's avatar
      [metabase-lib] PoC for wrapping JS objects with cljs-bean in CLJC · 4c15f80c
      Braden Shepherdson authored
      A `metabase.domain-entities.malli/defn` macro that (in CLJS) uses the
      schemas for the arguments to drive wrapping of vanilla JS objects for
      idiomatic use in CLJC code.
      
      See the first two functions in `metabase.domain-entities.queries.util`
      which get passed vanilla JS objects but can use them as CLJS maps.
      4c15f80c
Loading