Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Mar 23, 2021
  2. Mar 22, 2021
  3. Mar 19, 2021
    • Cam Saul's avatar
      Record login history (#15129) · 3a5eface
      Cam Saul authored
      * Record login history [WIP]
      
      * WIP
      
      * Add API endpoint and ugly React component
      
      * Fix fn name
      
      * Lookin good
      
      * Test fixes :wrench:
      
      * Prettier
      
      * Test fix
      
      * Test fixes :wrench:
      
      * Better login history info
      
      * Less ugly login history & tests
      
      * Update migration numbers
      
      * Deduplicate https-request? util function from metabase.server.middleware .session & .util
      
      * Refactor -- new Ring request utils namespace
      
      * Test fixes :wrench:
      
      * Reorganize stuff a bit; API endpoint tests
      
      * Tests for login/logout recording history
      
      * Test fix :wrench:
      
      * Test fixes :wrench:
      
      * Test fix :wrench:
      
      * Copy FE test fixture DB so it stops getting changed every time we run tests
      
      * Test fixes :wrench:
      
      
      
      * layout and code style tweaks
      
      * Fix ns sorting
      
      Co-authored-by: default avatarKyle Doherty <5248953+kdoh@users.noreply.github.com>
      3a5eface
    • Ariya Hidayat's avatar
    • Dalton's avatar
      add minWidth to Sidebar (#15242) · b49e9046
      Dalton authored
      b49e9046
    • dpsutton's avatar
      Fix typo in semantic migration (#15218) · 3099c35a
      dpsutton authored
      * Fix typo in semantic migration
      
      * Update semantic migrations for mysql compatibility
      
      mysql updates as it goes, not in a row level transaction. So
      
      ```sql
      update a = null,
             b = (case a ...)
      where a is not null
      ```
      
      mysql will use the new null value of a rather than the pre-udpate
      value of a whereas pg and h2 will do row level transaction so you are
      considering the pre-updated value of a.
      
      Solution is to update these migrations to leave semantic type alone
      and then one final set semantic_type = null where coercion_strategy is
      not null. This is sensical since these two properties used to both be
      in semantic_type, so if we extracted a coercion it could not have had
      a meaningful semantic_type before.
      3099c35a
    • dpsutton's avatar
      Look at effective-type in the UI (#15213) · e4a16b9a
      dpsutton authored
      * Look at effective-type in the UI
      
      still want to fall back to base_type if effective_type is not
      present. Our inference doesn't set effective_type at the moment as
      this change was super invasive and led to conflicts to other refactors
      at the time. In the future almost nothing except for query processors
      should care about base_type and only look at the (required)
      effective_type.
      
      * Check base and semantic (not base and effective) when no effective_type
      
      * Correct typo in isNumericBaseType
      
      was incorrectly checking effective_type instead of either effective or base
      e4a16b9a
    • Maz Ameli's avatar
      tweak coercion copy (#15239) · 826537b1
      Maz Ameli authored
      826537b1
    • Ariya Hidayat's avatar
      Custom expression editor: avoid squiggly red lines (spellchecking) (#15234) · 55dfc8dc
      Ariya Hidayat authored
      It does not make sense anyway for the web browser to suggest corrections
      for function names etc.
      55dfc8dc
    • Dalton's avatar
      add throttle to ExplicitSize height/width recalc (#15235) · 3771c362
      Dalton authored
      * add throttle to ExplicitSize height/width recalc
      
      * add comment
      3771c362
  4. Mar 18, 2021
  5. Mar 17, 2021
  6. Mar 16, 2021
    • Cam Saul's avatar
    • Tim Macdonald's avatar
      More search relevance tweaking (#15178) · c2d53257
      Tim Macdonald authored
      * Search dashboard descriptions
      
      * Restrict dashboardcard_count score to cards
      
      * Restrict pinned score to appropriate models
      
      * Add fullness-scorer
      
      * Kill a silly function
      
      * D'oh
      
      * Get rid of text-score-max :tada:
      c2d53257
    • Luis Paolini's avatar
      Enable parallel minification (#15166) · 6da57315
      Luis Paolini authored
      
      * Change webpack config
      
      Use the parallel:true flag in the Uglify plugin to use all cores in a CPU for minification which greatly improves front end build time. You will now be able to take advantage of that watercooler you asked Santa for Christmas
      
      * Kick the build
      
      Co-authored-by: default avatarTim Macdonald <tsmacdonald@gmail.com>
      6da57315
    • Cam Saul's avatar
      Merge pull request #15187 from metabase/branch-ce1e7fed · 7285524b
      Cam Saul authored
      Merge 38.1 -> master part 5
      7285524b
    • Nemanja's avatar
      Merge branch 'master' into branch-ce1e7fed · 0d143185
      Nemanja authored
      # Conflicts:
      #	enterprise/frontend/test/metabase-enterprise/audit/auditing.cy.spec.js
      #	enterprise/frontend/test/metabase-enterprise/sandboxes/sandboxes.cy.spec.js
      #	frontend/test/metabase/scenarios/admin/settings/localization.cy.spec.js
      #	frontend/test/metabase/scenarios/dashboard/chained-filters.cy.spec.js
      #	frontend/test/metabase/scenarios/dashboard/dashboard.cy.spec.js
      #	frontend/test/metabase/scenarios/public/public.cy.spec.js
      #	frontend/test/metabase/scenarios/question/filter.cy.spec.js
      #	frontend/test/metabase/scenarios/question/native.cy.spec.js
      #	frontend/test/metabase/scenarios/question/view.cy.spec.js
      0d143185
    • Cam Saul's avatar
      Merge 0.38.1 -> master part 4 · 2ac6d21f
      Cam Saul authored
      2ac6d21f
    • Ariya Hidayat's avatar
    • Nemanja Glumac's avatar
    • Raimon Grau's avatar
      Add helpers to populate a database (#15112) · 9e231be3
      Raimon Grau authored
      Provide means to add entities to the application db using specmonstah library.
      
      There are 4 main parts to it:
      - specs for column types (id, names, emails...). Used to generate random values.
      - specs for entities. Aggregations of types
      - schema. Structure of the dependency graph. Used by specmonstah to create the
        entities in the right order, and to link fks between them.
      - insert. 
          - Generating the entity graph, then removing the `id`s (so
            the underlying db adds them and the id's don't clash with already existing ones).
          - Adjust field values that have constraints besides DB ones.
          - insert to the db using `toucan`.
      9e231be3
    • 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
      3edc7d0b
Loading