Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Mar 16, 2023
  2. Mar 01, 2023
    • Nemanja Glumac's avatar
      [E2E] Regroup and move all related files to the root (#28749) · f71f20e1
      Nemanja Glumac authored
      * Register new E2E path alias
      
      * Move E2E support files
      
      * Move E2E runner files
      
      * Move E2E snapshot related files
      
      * Move E2E visual regression tests
      
      * Move E2E `downloads` scenarios
      
      * Move E2E `admin` scenarios
      
      * Move E2E `auditing` scenarios
      
      * Move E2E `bining` scenarios
      
      * Move E2E `ccollections` scenarios
      
      * Move E2E `cross-version` scenarios
      
      * Move E2E `custom-column` scenarios
      
      * Move E2E `dashboard` scenarios
      
      * Move E2E `dashboard-filters` scenarios
      
      * Move E2E `dashboard` reproductions
      
      * Move E2E `embedding` scenarios
      
      * Move E2E `filters` scenarios
      
      * Move E2E `joins` scenarios
      
      * Move E2E `models` scenarios
      
      * Move E2E `native-filters` scenarios
      
      * Move E2E `native` scenarios
      
      * Move E2E `onboarding` scenarios
      
      * Move E2E `organization` scenarios
      
      * Move E2E `permissions` scenarios
      
      * Move E2E `question` scenarios
      
      * Move E2E `visualizations` scenarios
      
      * Move E2E `sharing` scenarios
      
      * Move E2E `docker-compose`
      
      * Fix commands imports
      
      * Fix helpers imports
      
      * Fix downloads reproductions imports
      
      * Fix integration imports
      
      * Move visual regression tests
      
      * Various fixes
      
      * Move `validate-e2e-files` script
      
      * Add eslint rules for E2E folder
      
      * Improve file paths
      
      * Move `cross-version` tests into scenarios
      
      * Path fixes
      
      * Register E2E alias in tsconfig
      
      * Fix failing tests after rebase
      Unverified
      f71f20e1
  3. 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
  4. Jan 31, 2023
  5. Jan 05, 2023
    • Bryan Maass's avatar
      Defendpoint autogen dox polish (#27492) · 90e293ad
      Bryan Maass authored
      * fix automatic dox generation for malli+defendpoint
      
      - there isn't a concept of not having an error message for a schema \o/
      - warn but don't break when the schema is invalid
      - polish the descriptions a little "a nullable a vector" -> "a nullable vector"
      
      * gitignore malli types files
      
      * schema -> defendpoint api/setting GET :key
      
      + docs example
      
      * schema -> defendpoint api/action + dox generation
      
      * quickfix + add smaller trivial tests
      
      * add imported clj kondo rules to git
      
      * add with-api-error-message to fix some tests
      
      * use mu/with-api-error-message
      
      * fix tests
      
      * finish defendpoint migration for api/action ns
      
      * do not stringify errors
      
      * fix devtime annoyance with malli-dox generation
      
      * more polish
      
      - add length to numerics
      - respond to review
      
      * unused var linter fix
      
      * fix off by 1 in umd/description
      
      * aligator eats the big number + update action.md
      Unverified
      90e293ad
  6. May 12, 2022
  7. Mar 22, 2022
    • Benoit Vinay's avatar
      Various fixes for errors seen in the console while browsing (#21060) · ef256e31
      Benoit Vinay authored
      * shouldNotForwardTransientProp method created for emotion
      
      * BadgeIcon html attributes clean up
      
      * Usage of transient property $hasMargin in Badge for BadgeIcon
      
      * HTML attribute cleanup for LinkRoot
      
      * React key added to ButtonBar child if not defined
      
      * Properties for TableInfoPopover properly typed
      
      * Misc
      
      * analyticsContext property set as non required as non of the parents enforce it or pass a value
      
      * Clean up attributes for SVG in Icon
      
      * CSS fix for share icon special case in Icon
      
      * Checkbox controlled component default value fix
      
      * Misc clean up
      
      * index file for collection side bar
      
      * Collections collectionID type fix
      
      * collection type in NewCollectionItemMenu fix
      
      * Misc
      
      * TokenField fix for value
      
      * noPopover passed properly to WidgetStatusIcon
      
      * Updates to controlled input/checkbox
      
      * VS Code workspace file added to gitignore
      
      * shouldNotForwardTransientProp renamed to shouldForwardNonTransientProp
      
      * AddAggregationButton defaultProps updates
      
      * propTypes for TableInfoPopover added back
      Unverified
      ef256e31
  8. Jan 21, 2022
  9. Nov 29, 2021
  10. Nov 02, 2021
  11. Oct 20, 2021
  12. Sep 27, 2021
  13. Jul 30, 2021
  14. Mar 17, 2021
  15. Mar 16, 2021
    • dpsutton's avatar
      Add lsp (#15181) · 3edc7d0b
      dpsutton authored
      * Add lsp and config
      
      ```emacs-lisp
        (use-package lsp-mode
          :ensure t
          :hook ((clojure-mode . lsp)
                 (clojurec-mode . lsp)
                 (clojurescript-mode . lsp))
          :config
          (setq lsp-enable-indentation nil)
          (setq lsp-enable-file-watchers nil) ;; annoying and i can't specify paths
          ;; add paths to your local installation of project mgmt tools, like lein
          (dolist (m '(clojure-mode
                       clojurec-mode
                       clojurescript-mode
                       clojurex-mode))
             (add-to-list 'lsp-language-id-configuration `(,m . "clojure"))))
      ```
      
      * Add socket repl support to project.clj (also include reveal)
      
      * Configure lsp so that enterprise is on the classpath
      Unverified
      3edc7d0b
  16. Mar 05, 2021
    • Cam Saul's avatar
      Shared CLJ/CLJS lib (#14980) · cca03d22
      Cam Saul authored
      * Shared CLJ/CLJS lib (PoC/WIP)
      
      * PoC 2.0
      
      * Fixes :wrench:
      
      * More test fixes :wrench:
      
      * Bump shadow-cljs version
      
      * Fix more stuff
      
      * Need to ^:export the exports
      
      * CI fixes :wrench:
      
      * Add eslintignore
      
      * Ignore cljs files for FE code coverage
      
      * Try prefixing CLJS -> JS import with goog:
      
      * Revert indentation change
      
      * No goog:
      
      * Add .prettierignore
      
      * Use advanced build for now for JS tests unit we can figure out how to make it work
      Unverified
      cca03d22
  17. Dec 11, 2020
    • Nemanja Glumac's avatar
      Merge Cypress metadata extraction method from `release-x.37.x` (#14053) · 6697758c
      Nemanja Glumac authored
      * Extract sample dataset metadata in Cypress (#13994)
      
      * Extract `SAMPLE_DATASET` metadata
      
      * Test that metadata extraction is working properly in CI
      
      Note: `frontend/test/__support__/cypress_sample_dataset.json` file will be overwritten every single time Cypress runs. It is added to `.gitignore` for that reason.
      
      * Update Cypress tests with new metadata retrieval method (#14004)
      
      * Update enterprise tests
      
      * Update admin related tests
      
      * Update dashboard related tests
      
      * Update `public.cy.spec.js`
      
      * Update question related tests
      
      * Update visualization related tests
      
      * Update repro for #13990 with new metadata method [ci skip] (#14011)
      
      * Add metadata sync for external DBs (#14015)
      
      * Fix post-merge errors
      Unverified
      6697758c
  18. Dec 09, 2020
    • Robert Roland's avatar
      Dashboard subscriptions work, squashed (#13390) · dd2ecc51
      Robert Roland authored
      
      * Dashboard subscriptions work, squashed
      
      This test namespace differs in EE and OSS
      
      Without other changes from EE, this won't work
      
      so, for now, I've restored the pure OSS version of this test
      
      redo wording on existing subscription cards
      
      hacks? to address some timing issues where the render loop executes
      before properties are available (loaded from the server)
      
      links to configure pulse types
      
      Display a link to configure email or slack when they aren't already
      
      Fix the am/pm picker
      
      set up a new schedule tooltip
      
      The sidebar can appear and disappear from the Sharing popover
      
      run prettier on everything
      
      email recipients now does the "name [and n other]" thing
      
      Dashboard subscriptions work, squashed
      
      redo wording on existing subscription cards
      
      hacks? to address some timing issues where the render loop executes
      before properties are available (loaded from the server)
      
      styling for email not configured state
      
      add styling for slack unconfigured state
      
      disable cursor-pointer if email or slack isn't configured
      
      Implement cancel button for the sidebar (#13741)
      
      Dashboard subscription UX enhancements:
      
      * Implement cancel button for the sidebar
      
      * Don't return duplicate dashboard subscriptions
      
      * Move sidebar cancellation into Redux
      
      * Add close icon
      
      * Fix popover behavior
      
      Dashboard Subscriptions: Fix build (#13859)
      
      * Frontend lint fixes
      
      * Fix failing email tests
      
      * Revert some of the snapshot changes
      
      * regenerate snapshots
      
      * done fixing FE tests?
      
      * Make `dashboard_card_id` optional in CardRef schema
      
      * Fix test setup in pulse model test
      
      * Fix collection API test
      
      * Order pulses by name
      
      * Cypress fixes/skips
      
      Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
      
      Subscribe to dashboards send test email (#13886)
      
      * Frontend lint fixes
      
      * Fix failing email tests
      
      * Revert some of the snapshot changes
      
      * regenerate snapshots
      
      * done fixing FE tests?
      
      * Make `dashboard_card_id` optional in CardRef schema
      
      * Fix test setup in pulse model test
      
      * Fix collection API test
      
      * Order pulses by name
      
      * Cypress fixes/skips
      
      * uggh cypress
      
      * Add button to send test email for dashboard subscriptions
      
      * Disable test email with no recipients
      
      * Refactor SendTestEmail
      
      Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
      
      Fix failing collection tests (#13891)
      
      * Move dashboard embedding button (#13928)
      
      * Revert migration 277 (as in master)
      
      styling and hover tweaks for subscription cards (#14003)
      
      Fix positioning of create and close buttons (#13999)
      
      * fix positioning of create and close buttons
      
      * Update frontend/src/metabase/sharing/components/SharingSidebar.jsx
      
      * Update frontend/src/metabase/sharing/components/SharingSidebar.jsx
      
      * import Flex
      
      Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
      Co-authored-by: default avatarKyle Doherty <kyle.l.doherty@gmail.com>
      
      Add deprecation warning to Pulse create/edit page (#13954)
      
      * add pulse deprecation warning
      
      * remove unused Link component
      
      * kyle comments
      
      * Update frontend/src/metabase/pulse/components/PulseEdit.jsx
      
      Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
      
      * Update frontend/src/metabase/pulse/components/PulseEdit.jsx
      
      Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
      
      * Update frontend/src/metabase/pulse/components/PulseEdit.jsx
      
      Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
      
      Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
      
      More dash subscription styling tweaks (#14006)
      
      * change hovers for email and slack delivery options
      
      * calm down, delete button
      
      * style csv and xlsx options as buttongroup
      
      * settings spacing tweaks
      
      Dashboard subscription attachment question selection (#13950)
      
      * Move email attachment into its own component
      
      Add appropriate checkbox behavior
      
      Set pulseCards appropriately
      
      * Delete PulseCards when dashboard card removed
      
      Co-authored-by: default avatarCam Saul <github@camsaul.com>
      Unverified
      dd2ecc51
  19. Dec 08, 2020
  20. Oct 27, 2020
    • dpsutton's avatar
      Adds dev/src/dev/nocommit to ignore file (#13353) · 1ab05174
      dpsutton authored
      * Adds dev/src/dev/nocommit to ignore file [ci skip]
      
      now you can create a folder nocommit/ under the dev classpath root so
      you can keep some namespaces around as you work on features.
      
      Ex:
      
      ```clojure
      (ns dev.nocommit.oom
        (:require [metabase.models
                   [database :refer [Database]]
                   [field :refer [Field]]
                   [table :refer [Table]]]
                  [metabase.sync.analyze
                   [fingerprint :as analyze.fingerprint]]
                  [metabase.sync :as sync]
                  [metabase.sync
                   [field-values :as sync.field-values]]
                  [metabase.models.field-values :as field-values]
                  [metabase.sync.analyze.fingerprint.fingerprinters :as fingerprinters]
                  [metabase
                   [util :as u]]
                  [metabase.sync.sync-metadata.fields :as metadata.fields]
                  [metabase.sync.sync-metadata.fields.fetch-metadata :as fetch-metadata]
                  [metabase.query-processor :as qp]
                  [toucan.db :as db]
                  [metabase.db
                   [metadata-queries :as metadata-queries]]))
      
      (def pg (Database 4))
      
      (comment
        (fetch-metadata/db-metadata pg emails-table)
        (metadata.fields/sync-fields! pg)
      
        (sync/sync-database! pg))
      
      (clojure.test/run-tests 'whatever-namespace)
      
      ```
      
      I ended up with lots of `(comment ...)` blocks in lots of different
      namespaces and this has helped keep my worktree clean.
      
      * Empty commit to trigger CI [ci skip]
      
      skipping ci thought so hopefully the checks on Github are satisified.
      Unverified
      1ab05174
  21. Oct 09, 2020
    • Cam Saul's avatar
      New driver build scripts (#13383) (#13428) · 2468cac2
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      Unverified
      2468cac2
    • Cam Saul's avatar
      New driver build scripts (#13383) · 4315dbed
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      4315dbed
  22. Oct 08, 2020
    • Cam Saul's avatar
      New driver build scripts (#13383) · 9a82d7d9
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      Unverified
      9a82d7d9
  23. Aug 08, 2020
  24. Jul 07, 2020
  25. Apr 10, 2020
  26. Feb 27, 2020
  27. Feb 25, 2020
  28. Jan 10, 2020
    • Cam Saul's avatar
      Fix SQL Server field filters against boolean Fields (#11691) · b6877747
      Cam Saul authored
      * Fix BigQuery driver from Leiningen [ci bigquery] [ci sparksql] (#11650)
      
      * Fix SQL Server field filters against boolean Fields.
      [ci drivers]
      
      * Test fixes for drivers with no TIME data type
      [ci oracle] [ci presto] [ci redshift] [ci snowflake] [ci sparksql]
      
      * Fix boolean field filters for Oracle [ci oracle] [ci sparksql]
      Unverified
      b6877747
  29. Jan 07, 2020
  30. Dec 13, 2019
  31. Dec 05, 2019
  32. Nov 13, 2019
  33. Aug 28, 2019
  34. Aug 26, 2019
  35. Jun 14, 2019
    • Octavian Geagla's avatar
      Connects to Mongo (#10130) · 72d194f5
      Octavian Geagla authored
      * [mongo][ci mongo] use connection string to connect to mongo
      
      * [ci mongo][style]
      
      * [style][ci mongo]
      
      * [style][ci mongo]
      
      * [test] app and test runners wip
      
      * [test] test runners wip
      
      * [mongo][ci mongo] pass in conn opts from ui
      
      * [mongo][ci mongo] test
      
      * [test]
      
      * [style] rm test file
      
      * [mongo][ci mongo] use authdb if provided
      
      * [ci mongo] add domain to hostname for dns-srv to work with localhost testing
      
      * [ci mongo]
      
      * [ci mongo] line len
      
      * [ci mongo] actually use fqdn
      
      * [ci mongo] lint
      
      * [ci mongo] swap protocol depending on if host is fqdn
      
      * [ci mongo] lint
      
      * [ci mongo] fallback to non-srv
      
      * [ci mongo] util fns are private
      
      * [ci mongo] lint
      
      * [ci mongo] inline
      
      * [ci mongo] docstrings
      
      * [ci mongo][test] basic tests for mongo conn options, wip
      
      * [ci mongo][test] tests for mongo conn options, wip
      
      * [ci mongo][i18n] exception string
      
      * [ci mongo][style] refactor
      
      * [ci mongo][style] refactor
      
      * [ci mongo][style]
      
      * [ci mongo][docs]
      
      * [ci mongo] fqdn? true if >= 2 '.'s in hostname
      
      * [ci mongo][srv?] srv toggle in mongo connection UI
      
      * [ci mongo] doc
      
      * [ci mongo] doc
      
      * [ci mongo][ui] srv toggle works
      Unverified
      72d194f5
  36. Mar 22, 2019
  37. Jan 04, 2019
  38. Dec 12, 2018
Loading