This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Aug 07, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Metabase bot <metabase-bot@metabase.com> Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
- Jul 12, 2024
-
-
github-automation-metabase authored
* parallelize coll perm graph group lookup w/ core.async * respond to code review * add + uses ExecutorCompletionService map function * rename test * more tests * no concurrency for cljs * fix timeout + add more tests * use claypoole * cleanup * add kondo hooks for claypoole * cleanup * Can't use libraries that don't have a license Revert "add kondo hooks for claypoole" This reverts commit 9d93b55b28d69267b65260f2b046420d67604361. * ignore unused value -- TODO: check back in on claypoole to see if the kondo config gets merged * fix linter Co-authored-by:
bryan <bryan.maass@gmail.com>
-
- Jul 10, 2024
-
-
github-automation-metabase authored
A bunch of small improvements, notably a timeout and support for MSSQL square bracket quotes. Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Jul 01, 2024
-
-
github-automation-metabase authored
* Wrap non-latin characters in a span specifying working font Fixes: #38753 CSSBox seems to have a bug where font fallback doesn't work properly. This is noticeable when a font does not contain glyphs that are present in the string being rendered. For example, Lato does not have many international characters, so the rendered version of tables (that show up in Slack messages) will not render properly, making the card unreadable. Since this appears to be a downstream bug, I've opted to work around this limitation by wrapping any non-latin characters in a <span> that specifies the font family to be sans-serif, which should contain the glyphs to properly render. This leaves Lato in place for other characters. For now, I figured it's worth trying this solution over using Noto for 2 reasons: - we can keep Lato, which has been the decided font style for the app for some time (this keeps things consistent where possible) - the Noto font containing all glyphs is quite a large font (>20mb, I think) and it would be nice to avoid bundling that if we can. * stub installed fonts test * typo * Do wrapping, but now per-string, and in Clojure data not html string I've decided that a reasonable solution is to still wrap strings containing non-lato characters. But it's not done with str/replace to the html string but rather in a postwalk over the Hiccup data prior to rendering. Seems like a decent compromise of issues without patching CSSBox or fixing upstream (may be good to do, but will take longer to get a fix in). * add test checking that glyphs render correctly * Add a test that directly checks the wrapping fn * Change the string to keep the linter quiet * Change how we check if string can be rendered to faster method, new Lato Font With Sanya's help, the way I check if a given string is renderable with Lato is now faster. Also use the full Lato font, not just the 'latin' lato so we can cover more chars * change lato so that it loads the fn even in a fresh test run Co-authored-by:
adam-james <21064735+adam-james-v@users.noreply.github.com> Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
- Jun 27, 2024
-
-
github-automation-metabase authored
* fix: dont always optimize between expressions Fixes #42291 The frontend produces expressions like ``` [:between [+ [:field ... {:temporal-bucket :day] [:interval 2 :day]] [:relative-datetime -1 :week] [:relative-datetime 0 :week]] ``` This should not be optimized because of the mixed `:day` and `:week` units. However, it was being optimized since the compatible units weren't being properly picked up by the match. * Disable suspcicios args eastwood lint, kondo does it better * Stop autobucket to day when adding a time interval Co-authored-by:
Case Nelson <case@metabase.com> Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <chris@metabase.com>
-
- Jun 13, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Jun 06, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Jun 05, 2024
-
-
github-automation-metabase authored
* Remove Google Analytics driver * Remove more GA-related tests * Un-remove tests that aren't related to GA Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com> Co-authored-by:
Cam Saul <github@camsaul.com>
-
- Jun 04, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- May 31, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
- May 24, 2024
-
-
metabase-bot[bot] authored
Co-authored-by:
bryan <bryan.maass@gmail.com>
-
- May 10, 2024
-
-
Cam Saul authored
* Remove unused `metabase.api.transform` * Copy the deps graph improvements from my other PR * New combined X-Rays API namespace * Fix kondo error
-
- May 09, 2024
-
-
Tim Macdonald authored
For Reasons™ we had been using my fork, but now that I've taken over the project the officially-deployed version does what we need.
-
- May 08, 2024
-
-
bryan authored
* adds watch alias, which reloads BE on file changes * watch dev, src, test + every path in `:extra-paths`
-
dpsutton authored
now: ```clojure ❯ clj -M:"$ALIASES" Warning: environ value /Users/dan/.sdkman/candidates/java/current for key :java-home has been overwritten with /Users/dan/.sdkman/candidates/java/21.0.2-tem 2024-05-07 19:55:25,167 INFO metabase.util :: Maximum memory available to JVM: 8.0 GB ``` no logs about recur targets unboxing
-
- May 07, 2024
-
-
dpsutton authored
before: ```clojure ❯ clj -M:"$ALIASES" Warning: environ value /Users/dan/.sdkman/candidates/java/current for key :java-home has been overwritten with /Users/dan/.sdkman/candidates/java/21.0.2-tem WARNING: abs already refers to: #'clojure.core/abs in namespace: clojure.algo.generic.math-functions, being replaced by: #'clojure.algo.generic.math-functions/abs 2024-05-07 04:39:37,890 INFO metabase.util :: Maximum memory available to JVM: 8.0 GB ``` after: ```clojure ❯ clj -M:"$ALIASES" Warning: environ value /Users/dan/.sdkman/candidates/java/current for key :java-home has been overwritten with /Users/dan/.sdkman/candidates/java/21.0.2-tem 2024-05-07 04:40:42,561 INFO metabase.util :: Maximum memory available to JVM: 8.0 GB ``` Now no warning about `abs`
-
- May 06, 2024
-
-
bryan authored
-
- May 05, 2024
-
-
lbrdnk authored
-
- Apr 26, 2024
-
-
Alexander Solovyov authored
-
Braden Shepherdson authored
The new expressions `:month-name`, `:quarter-name` and `:day-name` return the (user localized) names for these units, given the corresponding number. For example, 4 yields `"Apr"`, `"Q4"` or `"Wednesday"` respectively. The `column-extract` drill uses these new expressions, rather than generating its own `:case` clauses for them. Note that `:day-of-week` and `:month-of-year` are tricky cases for i18n, but there are tests that exercise them thoroughly. Part of the follow-up for Extract Column epic #38964.
-
- Apr 24, 2024
-
-
Tim Macdonald authored
It has a slightly different API shape. We're not using it right this minute, but we're about to and it seemed nice to separate this out into its own PR
-
- Apr 15, 2024
-
- Apr 10, 2024
-
-
Noah Moss authored
-
- Apr 09, 2024
-
-
Cam Saul authored
-
Tim Macdonald authored
-
- Apr 08, 2024
-
-
Tim Macdonald authored
[Fixes #13922]
-
- Mar 28, 2024
-
-
Tim Macdonald authored
* Parse wildcards in native queries Add query_field.direct_reference * Do away with old Model refs in Card model test * Do not show stale cards with a select *
-
- Mar 25, 2024
-
-
Tim Macdonald authored
-
Tim Macdonald authored
* Remove unused marginalia aliases * Upgrade deps.edn From `neil deps upgrade` * Un-bump jetty-server * Downgrade H2 due to many problems * Dep bumping for Athena * Dep bumps for BigQuery * Dep bumps for Presto * Dep bumps for Redshift * Dep bumps for Snowflake * Dep bumps for SQLite * Upgrade to Mongo 5 * Bump next.jdbc
-
- Mar 21, 2024
-
-
Cam Saul authored
* Wow * Test fix
* Fixes * Actions should use strings for column names (fix :update-row and :create-row normalization) * MLv2 schema should check against keys for the other query type * Ok, have I fixed things? * More fixes * Fix indentation * Another round of test fixes. * Hopefully the last few test fixes * We need to test normalization for queries that have keyword keys as well. * Fix Cljs i18n namespaces * Sort namespaces * Only test against H2 * Rename `metabase.mbql` to `metabase.legacy-mbql` * Fix Kondo warnings * Test fixes * Register MBQL clause schemas and test fixes * Test fixes and PR feedback * Test fix * Remove the normalization tests * Test fixes * Fix kondo * Fix import * Another fix * Merge * FIXES * Add another missing REQUIRE
-
- Mar 20, 2024
-
-
Alexander Solovyov authored
-
- Mar 14, 2024
-
-
Tim Macdonald authored
* SQL Lineage: Create the QueryField model This links Cards (with native queries) to Fields, showing us which queries use which Fields. QueryFields are automatically maintained as part of the Card lifecycle Cards with stale queries (powered by QueryField info) are exposed via the `card?f=stale` API
-
- Mar 08, 2024
-
-
Noah Moss authored
-
Cal Herries authored
-
- Mar 05, 2024
-
-
Alexander Solovyov authored
-
- Mar 04, 2024
-
-
Cam Saul authored
* No more Schema, only Malli * Remove the rest of Schema * Fix Kondo warnings * Port some decoding code * More porting * Almost all done? * Parsing fixes
* More fixes * Fix Kondo errors * Test & lint fixes * Test fix * PR feedback
-
- Feb 29, 2024
-
-
Alexander Solovyov authored
-
bryan authored
* wip * SLO works with auth slo handler route * move slo handling endpoint to /auth/sso/handle_slo * fix slo redirect url * SLO works, and the sso-handle-slo for saml is where it belongs - a ton of cleanup * fix api/session namespace + add docstrings * cleaning up logout action * add slo logout test along with slo response xml * whitespace + linter * add docstring * update exclusions in deps.edn * un-require metabase-enterprise ns from oss ns * add docs for how to setup SLO to metabase docs * docs: clarify that setting up SLO is optional * move slo logout endpoint into ee code - removes sso-info defenterprise since it is no longer needed * use current version of saml20-clj --------- Co-authored-by:
Nick Fitzpatrick <nickfitz.582@gmail.com>
-