Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New v0.41 version #54

Draft
wants to merge 655 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
655 commits
Select commit Hold shift + click to select a range
6a6e1c6
Fixing a missing link in Markdown (#17735)
gvwilson Sep 7, 2021
5ae6e2d
Fix sorting admin sections by order (#17759)
ranquild Sep 7, 2021
3f083b8
#16785 Repro: Search shows hidden tables (#17786)
nemanjaglumac Sep 7, 2021
6df2894
XLSX export formatting for pulse attachments (#17755)
noahmoss Sep 7, 2021
3781068
rmv .info.js files from coverage (#17766)
daltojohnso Sep 7, 2021
6561cda
remove Parameters component defaultProps to get rid of warning messag…
daltojohnso Sep 7, 2021
15b2a6d
#17777 Repro: Hiding all tables in data model removes them from the p…
nemanjaglumac Sep 7, 2021
3ffed24
#17763 Repro: Trying to set "Granular" permissions after "Block" is b…
nemanjaglumac Sep 7, 2021
32c5b2a
Fix unable to click "Learn more" on custom expression (#17774)
pawit-metabase Sep 8, 2021
e10adcd
Fix SAML login with OpenAM (#17785)
pawit-metabase Sep 8, 2021
2ffb8cb
dimension list: hide sub-dimensions for fields that are FK (#17783)
pawit-metabase Sep 8, 2021
faf5450
bugfix: browse data sorted using display name (#17542)
rubiagatra Sep 8, 2021
0f2aa5a
Move `notifications` spec to the `onboarding` folder (#17794)
nemanjaglumac Sep 8, 2021
037ee68
let users disable attachments with questions checked (#17793)
daltojohnso Sep 8, 2021
a697c29
don't set pulse on SharingSidebar mount to prevent race condition whe…
daltojohnso Sep 8, 2021
8bdcb06
Attempt to fix #17751: filter widget input value overflowing (#17761)
nemanjaglumac Sep 8, 2021
6aba6f1
Static viz send viz settings (#17736)
dpsutton Sep 8, 2021
755d8a1
Adds paid plan-specific links (#17748)
ranquild Sep 8, 2021
76ccd32
remove a random console.log call (#17806)
daltojohnso Sep 8, 2021
9a0c989
translate options in SchedulePicker (#17792)
daltojohnso Sep 8, 2021
5c30146
Allow creating & editing dashboard subscriptions if you have view-onl…
noahmoss Sep 8, 2021
1872363
Remove unused arguments from functions (#17805)
gusaiani Sep 8, 2021
3e86afd
Unify .dir-locals.el files (#17815)
camsaul Sep 9, 2021
bae75e2
Fix settings saving behavior (#17810)
ranquild Sep 9, 2021
faad557
don't show exact seconds for a formatted relative time (#17828)
daltojohnso Sep 9, 2021
73c7a9d
DB and Dashboard-contingent caching backend (#17679)
howonlee Sep 10, 2021
af83e55
Do not bin relation fields even if they have fingerprints (#17782)
pawit-metabase Sep 10, 2021
520a8a1
add keys to arrays of routes (#17839)
daltojohnso Sep 10, 2021
b26fadd
fix PropTypes console warning (#17838)
daltojohnso Sep 10, 2021
9863bd7
Ignore the coverage of semi-constructors only for type hints (#17841)
ariya Sep 10, 2021
9774e08
BQ expression fixes (#17347)
howonlee Sep 10, 2021
f3a1709
Basic skeleton of front-end dependencies analyzer (#17743)
ariya Sep 11, 2021
6e046fb
docs - dev guide links (#17842)
jeff-bruemmer Sep 11, 2021
874750e
Filling in missing text (#17835)
gvwilson Sep 13, 2021
75f2207
Fix support for NUMERIC and BIGNUMERIC types (#17837)
jeff303 Sep 13, 2021
e865ed5
Fix dashboard subscriptions sidebar for sandboxed users (#17823)
ranquild Sep 13, 2021
fdcb310
Update link to e2e doc page (#17857)
gusaiani Sep 13, 2021
48658c6
Don't pass a component with propTypes to forwardRef (#17836)
daltojohnso Sep 13, 2021
1129627
move fullscreen toggle onClick to button from icon el (#17844)
daltojohnso Sep 13, 2021
e229c5d
Visual test for UserAvatar component (via _internal) (#17847)
ariya Sep 13, 2021
90289d4
Update 05-visualizing-results.md (#17684)
alai04 Sep 13, 2021
1a29ab8
Delete user pulse/alert/dashboard sub subscriptions when User becomes…
camsaul Sep 13, 2021
fd8865a
Cache ttls nillable now (#17852)
howonlee Sep 13, 2021
86e196b
permissions fixes (#17757)
alxnddr Sep 13, 2021
7905f34
Update logic to hide db add/edit fields (#17845)
gusaiani Sep 13, 2021
0025354
split dashboard.js into actions + reducers + utils (#17816)
daltojohnso Sep 13, 2021
90930dc
Fix test title (#17864)
ariya Sep 13, 2021
b0e5822
Fix race conditions when loading drivers (part 2) (#17368)
camsaul Sep 13, 2021
075124c
Refactor audit queries to use defmethod instead of ^:internal-query-f…
camsaul Sep 13, 2021
552ab7d
New email design for dashboard subscriptions, alerts and pulses (#17781)
noahmoss Sep 13, 2021
d4e71d0
Unskip: Cannot add filter for an integer field in a question based on…
pawit-metabase Sep 14, 2021
277e83f
Fix removing a notebook section can remove other sections (#17727)
kulyk Sep 14, 2021
6aae282
Add E2E test for joins on multiple fields (#17878)
kulyk Sep 14, 2021
c1de8e1
Ignore hidden tables in search (#17804)
dpsutton Sep 14, 2021
89b1cbe
Handle expressions viz settings (#17866)
dpsutton Sep 14, 2021
4158b78
Remove outdated resolutions in package.json (#17863)
ariya Sep 14, 2021
b7d52e5
Add extra space and text trimming for static viz axes labels (#17859)
ranquild Sep 14, 2021
a9dd888
unskip 17738 repro (#17877)
alxnddr Sep 14, 2021
99e9e33
Do not reset filters when saving, cancelling, refreshing dashboards p…
ranquild Sep 14, 2021
bd53aed
docs - update API docs format (#17716)
jeff-bruemmer Sep 14, 2021
86be4ce
Test fix :wrench: (#17888)
camsaul Sep 14, 2021
3c83fb6
Removed extra border-bottom on EntityItemWrapper (#17867)
akiselev Sep 14, 2021
e14854c
Better with-temp error messages (#17889)
camsaul Sep 15, 2021
698109e
combine sidebar state for various dashboard sidebars (#17843)
daltojohnso Sep 15, 2021
8efd537
Add new Settings (placeholders) for the new 0.41.0+ premium features …
camsaul Sep 15, 2021
b178e30
i18n: do not remove missing plural from translation (#17799)
pawit-metabase Sep 15, 2021
77c202e
Fix "Include today" for relative "Next" (#17854)
pawit-metabase Sep 15, 2021
eaf06d2
Fix showing saved value in language picker (#17853)
pawit-metabase Sep 15, 2021
5017651
Update URL when converting to native query (#17873)
pawit-metabase Sep 15, 2021
66ac8c9
Presto JDBC driver: hide Kerberos related properties when Kerberos is…
jeff303 Sep 15, 2021
227a1e9
Tweak Avatar: don't use attrs() with styled (#17890)
ariya Sep 15, 2021
55f5b9e
Fix whitelabling for chart colors (#17903)
ranquild Sep 15, 2021
0d90f0a
do not unlock question display if it was locked in unsensible visuali…
alxnddr Sep 15, 2021
6939d4a
Remove some left-over references to Leiningen (#17909)
ariya Sep 15, 2021
aab00d7
fix a few prop errors causing console warnings (#17840)
daltojohnso Sep 16, 2021
72727a2
dashboard filter: do not display "No matching..." if not filtered (#1…
pawit-metabase Sep 16, 2021
80172ee
Test the JAR with Java 17, the new LTS (#17911)
ariya Sep 16, 2021
b4b5200
Tools to fix broken questions (ee) (#16842)
howonlee Sep 16, 2021
624e5c1
Fix data points formatting for multi-series (#17925)
ranquild Sep 16, 2021
81a1a95
Add subscription-allowed-domains allow list Setting (#17897)
camsaul Sep 16, 2021
b1d63f4
Do not display dashboard sticky filter container if no filters set (#…
gusaiani Sep 16, 2021
f0b4f2f
Handle REPEATED mode fields in BigQuery sync (#17907)
jeff303 Sep 16, 2021
550152d
invalidate revision entities cache when questions/dashboards updated/…
daltojohnso Sep 16, 2021
7d6e031
Feature | More Granular Caching Controls (Frontend) (#17802)
kulyk Sep 17, 2021
5e96141
Show error messages when rendering card fails (#17929)
ranquild Sep 17, 2021
4e8716c
Add approved domains for notifications setting (#17685)
alxnddr Sep 17, 2021
0d9ffe2
fix clearing of sidebar state when removing a parameter (#17934)
daltojohnso Sep 17, 2021
43cf431
Fix the bulk actions bar on the archive page to reveal the last item …
ranquild Sep 17, 2021
4dc1ab8
Fix issues reverting dashboard (#17899)
pawit-metabase Sep 20, 2021
da6f78d
Fix SaveQuestionModal's submit button state (#17951)
kulyk Sep 20, 2021
a18eb40
Make docs a bit more clear what values to use for MB_LDAP_SECURITY. (…
kistleh Sep 20, 2021
c039d43
Fix grid map tooltips without metric column (#17969)
ranquild Sep 20, 2021
25179f7
Move block permission under advanced permissions flag (#17927)
alxnddr Sep 20, 2021
9b2064e
Fix data points for scatter charts (#17973)
ranquild Sep 20, 2021
3a38c1b
Fix questions with joins or filters cause re-run overlay after first …
kulyk Sep 20, 2021
08d0e20
Update order-by field when the breakout changes (#17960)
ariya Sep 20, 2021
3ecc004
Select temporal units for join date-time dimensions (#17883)
kulyk Sep 20, 2021
361d881
added padding override to .RunButton class (#17953)
Sep 20, 2021
91d12f3
Fix missing formatting on the x axis of the row chart (#17974)
alxnddr Sep 20, 2021
6035c77
Fix missing translation of Others on the row chart (#17972)
alxnddr Sep 20, 2021
da97222
EE API endpoint code reorganization (#17913)
camsaul Sep 20, 2021
d92338b
Fix combined tooltip for charts (#17946)
ranquild Sep 20, 2021
9b7c713
Handle retryable exceptions in new BigQuery driver (#17908)
jeff303 Sep 20, 2021
5581b7b
Add repro for #17975 (#17980)
ariya Sep 20, 2021
3ea94d1
Fix incorrect table names on join dimensions (#17976)
kulyk Sep 21, 2021
3c417b0
Fix whitelabel overriding CSS value priority (#17924)
ranquild Sep 21, 2021
6d44066
For sparklines, check that viz type is line (#17950)
dpsutton Sep 21, 2021
c4ab832
Allow using Grid map in native questies questions (#17930)
alxnddr Sep 21, 2021
7ec9b02
Disable parameter widget input when not mapped to a card on dashboard…
daltojohnso Sep 21, 2021
595d75f
treat empty string parameter in url like it is unset (#17912)
daltojohnso Sep 21, 2021
1f3b45a
handle unaggregated data warning for waterfall chart (#17988)
alxnddr Sep 21, 2021
094211e
GeoJSON URL validation fix (#17990)
noahmoss Sep 21, 2021
0305c34
Fully deprecate alert deletion, and rename some alert/subscription en…
noahmoss Sep 21, 2021
d7c1e45
When fetching field also fetch field associated with its human_readab…
daltojohnso Sep 21, 2021
d925eeb
Add DashboardSubscription and Alert audit queries (#17818)
camsaul Sep 22, 2021
faf007a
DELETE /api/ee/audit-app/user/:id/subscriptions archive Pulses create…
camsaul Sep 22, 2021
da1c518
Improve `defsetting` validation and other misc small tweaks (#17896)
camsaul Sep 22, 2021
ae25011
fix dashboard subscription default value for non-field filters (#17967)
pawit-metabase Sep 22, 2021
fa86e49
fix wrong data used for click actions in old pivot table (#17937)
pawit-metabase Sep 22, 2021
adc985e
Audit cache controls (#18001)
howonlee Sep 22, 2021
1982ba3
Allow searching a table in a specific database in DataPicker (#17987)
kulyk Sep 22, 2021
713ff5a
Add unsubscribe user modal in admin (#17803)
ranquild Sep 22, 2021
0bb97c2
Wrap long question titles to prevent overflows (#17996)
gusaiani Sep 22, 2021
1fe1c7a
Fix #16810: Dashboard "isDirty" property is set to true after the Das…
Sep 22, 2021
428bbe3
Fix #17397 - "Showing first 2000 rows" is always displayed when resul…
Sep 22, 2021
de39de8
Static Viz Formatting (#17957)
dpsutton Sep 23, 2021
2bd3d70
Fix #17975 by supporting getting MBQL field literal (#17982)
ariya Sep 23, 2021
14e742b
fix tables are not clickable in recents (#17995)
alxnddr Sep 23, 2021
7401832
Fix default formatting options for numeric types (#17978)
ranquild Sep 23, 2021
467eca8
show meaningful error for waterfall chart of multiple series question…
alxnddr Sep 23, 2021
419a826
docs - restore original file name (#18026)
jeff-bruemmer Sep 23, 2021
a5b85e2
Fix ENV case for `QA_DB_ENABLED` (#18027)
nemanjaglumac Sep 23, 2021
9393a03
Subscriptions and alerts audit (#17765)
alxnddr Sep 23, 2021
d5377a5
Fix #15893 by disallowing literal left-hand side in comparison (#18017)
ariya Sep 23, 2021
4188b2b
#6239 Repro: Not possible to sort by Custom Expression fields (#18029)
nemanjaglumac Sep 23, 2021
c74164e
Fetch fields before parsing parameter values so we correctly parse va…
daltojohnso Sep 23, 2021
7014115
docs - update api doc gen code (#17994)
jeff-bruemmer Sep 23, 2021
14a775f
Revert changes to ModalRoute (#18034)
ranquild Sep 23, 2021
4bb0042
#18028 Repro: X-ray dashboards crash on first opening immediately aft…
nemanjaglumac Sep 23, 2021
a4e8541
add PK icon (#18015)
alxnddr Sep 23, 2021
82742cc
Tools to fix broken questions timeout fix (#17985)
howonlee Sep 23, 2021
10f4020
Handle composite pk filters (#18016)
alxnddr Sep 23, 2021
92f7549
#18009 Repro: Nodata user can create dashboard subscription, but rece…
nemanjaglumac Sep 23, 2021
b557b69
Skip subscriptions audit tests (#18038)
ranquild Sep 23, 2021
3f7420d
Fix drag-n-drop in dashboard visualisation settings modal (#18031)
kulyk Sep 24, 2021
c225ace
Fix text selection while rearranging table columns (#18032)
kulyk Sep 24, 2021
c51553d
Fix Audit logging not showing ad-hoc native queries (#18044)
kulyk Sep 24, 2021
571488b
Fix x-ray dashboards crash on first open (#18045)
kulyk Sep 24, 2021
f9143d3
Grammar and microcopy tweaks to Unsubscribe modal (#18040)
mazameli Sep 24, 2021
42e2bda
Update subscriptions and alerts tables when data changes (#18052)
alxnddr Sep 24, 2021
9790648
Escape HTML in markdown cards when rendered for emails (#18000)
noahmoss Sep 24, 2021
1280096
Fix approved domains validation for alerts and dashboard subscription…
ranquild Sep 24, 2021
e521360
update link in troubleshooting article (#18037)
jeff-bruemmer Sep 24, 2021
67470a0
Fix #18003 regression by adding a check for borderless buttons (#18020)
Sep 24, 2021
ba95b27
Fix dashboard filters get invisible while dragging & text selection w…
kulyk Sep 27, 2021
24988bb
Do not stack up channels when creating a new dashboard subscription (…
ranquild Sep 27, 2021
c276ea3
Fix drillPK for composite keys (#18039)
alxnddr Sep 27, 2021
0c81e4f
Fix personal sub-collections are hidden in item picker (#18068)
kulyk Sep 27, 2021
3c0bb00
Add labels to settings fields (#18072)
ranquild Sep 27, 2021
53c85aa
#18061 Repro(s): Pin map only containing null location results crashe…
nemanjaglumac Sep 27, 2021
46c76c9
Separate positive / negative stacked charts (#18007)
ranquild Sep 27, 2021
8fd9318
Git ignore `clj-kondo` cache (#18071)
nemanjaglumac Sep 27, 2021
450bbfd
#18063 Repro: Pin map with null locations shows tooltip of the wrong …
nemanjaglumac Sep 27, 2021
6fbb131
Start Cypress browser with prefers-reduced-motion set to true (#18041)
gusaiani Sep 27, 2021
4e70f20
Add initial E2E coverage for "Tools to fix question errors" (#18057)
nemanjaglumac Sep 27, 2021
e157821
#9027 Repro: New questions do not appear in 'Saved Questions' until y…
nemanjaglumac Sep 27, 2021
3aeac64
Support query cancellation in new BigQuery driver (#17959)
jeff303 Sep 27, 2021
db7e7a0
Troubleshooting the app database (#17669)
gvwilson Sep 27, 2021
25aac41
Add test for ordering when nils are present (#17914)
jeff303 Sep 27, 2021
deeebec
Adjust driver deprecation language ("a future" instead of "the next")…
jeff303 Sep 27, 2021
3826966
Fix slow query when using nested native question with many rows (#18023)
pawit-metabase Sep 28, 2021
594c4b0
Fix saving chart with custom expressions only retains first 2 data se…
pawit-metabase Sep 28, 2021
3565136
Fix {0} being shown when locale is "pt" (#17875)
pawit-metabase Sep 28, 2021
9784b89
Revert "Separate positive / negative stacked charts (#18007)" (#18088)
ranquild Sep 28, 2021
f1fcb75
#18021 Repro: "Recents" list in search should display the Verified ba…
nemanjaglumac Sep 28, 2021
3a2c4d3
Add total value to static donut chart (#18091)
ranquild Sep 28, 2021
a46baf7
Simplify LoadingSpinner animation in reduced motion (#18082)
gusaiani Sep 28, 2021
0bcf871
Simplify function in LoadingAndErrorWrapper (#18081)
gusaiani Sep 28, 2021
bca22d9
Fix BigQuery Percentile and Median expressions not using correct back…
jeff303 Sep 28, 2021
e70c2e7
Fix stacked charts breaking waterfall charts (#18093)
ranquild Sep 28, 2021
6e487b3
revise activation guide (#17861)
jeff-bruemmer Sep 28, 2021
f94510a
Tool to fix broken questions, details page (#18022)
howonlee Sep 28, 2021
64bbf8e
do not show time for date columns (#18056)
alxnddr Sep 28, 2021
20ec186
Do not change display on drill to questions (#18008)
alxnddr Sep 28, 2021
72a5584
Revert "Tool to fix broken questions, details page (#18022)" (#18103)
howonlee Sep 28, 2021
d7898af
Audit cache controls 2 (#18046)
howonlee Sep 28, 2021
a750e4a
Unverify cards when they are edited (#17997)
dpsutton Sep 28, 2021
a31a7d0
Fix loading sample dataset in Redshift (#18089)
pawit-metabase Sep 29, 2021
b27c8f4
Do not truncate X labels in timeseries charts (#18100)
ranquild Sep 29, 2021
4dc3974
unskip repro for markdown in dashboard subscriptions (#18110)
noahmoss Sep 29, 2021
4853b79
Revert reversion of error cards details page (#18107)
howonlee Sep 29, 2021
44ccf23
Minor async require cleanup (#18059)
camsaul Sep 29, 2021
cac3bea
Refactor query builder sidebar (#18098)
gusaiani Sep 29, 2021
ee134cf
Enforce allowed domains when sending test Pulses (#18122)
camsaul Sep 29, 2021
2b0a6c7
Remove special cases in tests for Snowflake (#18127)
camsaul Sep 29, 2021
27e32d7
Remove placeholder code for the new 41 premium features (#18126)
camsaul Sep 29, 2021
c897ff8
Programmatically wait for the QA DB metadata to load (#18116)
nemanjaglumac Sep 29, 2021
ba1f8dc
Include dashboard filters in email & slack subscriptions (#17824)
noahmoss Sep 29, 2021
f044c7d
Remove animation from ViewSidebar under reduce motion (#18102)
gusaiani Sep 29, 2021
d4bc553
Alert schedule in email template (#18084)
noahmoss Sep 29, 2021
6ff4eda
Check feature flag on backend /graph PUT API for block permission (#1…
jeff303 Sep 30, 2021
2b61d50
Add cypress tests (#18140) (#18143)
github-actions[bot] Sep 30, 2021
30f9902
Fix cutting of data points in line/area/bar charts (#18119) (#18142)
github-actions[bot] Sep 30, 2021
9de61d8
docs - question details sidebar (#17926) (#18146)
github-actions[bot] Sep 30, 2021
a17c61b
docs - multi-column joins (#17948) (#18145)
github-actions[bot] Sep 30, 2021
5f961aa
docs - updated permissions (#17882) (#18147)
github-actions[bot] Sep 30, 2021
d8664ac
fix filters alignment (#18139) (#18166)
github-actions[bot] Sep 30, 2021
e768e09
Do not emit view logs when there's no card id for query viewlogs (fix…
github-actions[bot] Sep 30, 2021
caf14d5
Fix errors from disallowed characters in BigQuery custom expression n…
github-actions[bot] Sep 30, 2021
26a8b90
Translate Whitelabel color options (#18170)
nemanjaglumac Sep 30, 2021
7f780c2
Add scrolling to SQL error messages (#18144) (#18178)
github-actions[bot] Oct 1, 2021
7cdf6ce
Run all QA DB docker images at once in CI (#18129) (#18185)
nemanjaglumac Oct 1, 2021
cfe4319
Cypress E2E postgres snapshot (#18106) (#18183)
nemanjaglumac Oct 1, 2021
9446404
Separate qa db snapshots (#18179) (#18187)
github-actions[bot] Oct 1, 2021
221fb8c
Cypress E2E Mongo snapshot (#18184) (#18192)
github-actions[bot] Oct 1, 2021
2908ae5
🤖 backported "Convert deprecated k:mm time style to HH:mm on viz sett…
github-actions[bot] Oct 1, 2021
8833826
Show permissions for hidden tables (#18171) (#18204)
github-actions[bot] Oct 1, 2021
445cc7d
Cypress E2E MySQL snapshot (#18193) (#18201)
github-actions[bot] Oct 1, 2021
efa54da
Fix /account authentication and session deletion behavior (#18151) (#…
github-actions[bot] Oct 4, 2021
b86b863
Fix exports for queries with aggregations (#18205) (#18218)
github-actions[bot] Oct 4, 2021
6314df3
fix missing prop types import after renaming (#18213) (#18215)
github-actions[bot] Oct 4, 2021
e96b765
GET /api/database/:id/schemas should not return 'empty' schemas (#18123)
camsaul Oct 4, 2021
3cb1255
Fix DataSelector infinite loop (#18228)
daltojohnso Oct 4, 2021
515c4cb
Make webpack output closer to webpack 4 and fix whitelabelling (#1823…
github-actions[bot] Oct 5, 2021
9877b00
Fix composite chart layout (#18195) (#18242)
github-actions[bot] Oct 5, 2021
e227274
Revert "Fix combined tooltip for charts (#17946)" (#18227) (#18244)
github-actions[bot] Oct 5, 2021
9ef353f
Fix empty state in the Erroring questions page (#18188)
ranquild Oct 5, 2021
cecb8ec
Add missing categorical charts (#18186)
ranquild Oct 5, 2021
e017a3d
decrease data picker search results to 50 (#18250) (#18253)
github-actions[bot] Oct 5, 2021
7a25b5f
Fix cache native queries not working (underlying problem is unit conv…
howonlee Oct 5, 2021
10a4749
Static viz whitelabel colors (#18248) (#18255)
github-actions[bot] Oct 5, 2021
8bd0677
Fetch and use fields associated with a parameter to parse parameter v…
daltojohnso Oct 1, 2021
5543a4a
Use UTC as default timezone in alert template when report timezone is…
github-actions[bot] Oct 5, 2021
4ec56c8
Restyle the Verify button (#18134) (#18258)
github-actions[bot] Oct 5, 2021
496464a
🤖 backported "Fix virtual fields are not passed to ParameterValueWidg…
github-actions[bot] Oct 5, 2021
5fea269
pull in translations for 0.41 (#18268) (#18269)
github-actions[bot] Oct 5, 2021
198e144
Fix Dashboard Subscription email validation (second pass) (#18237)
camsaul Oct 5, 2021
28825ba
Snowflake: fix error in aggregation expression having different casin…
jeff303 Oct 5, 2021
0509266
Allow JDBC additional-options in Redshift plugin (#18111) (#18274)
github-actions[bot] Oct 6, 2021
20fd429
Fix subscriptions being sent for the wrong dashboard (#18281) (#18283)
github-actions[bot] Oct 6, 2021
5eb2103
Cypress email setup (#18247) (#18285)
github-actions[bot] Oct 6, 2021
e05622e
docs - updates to auditing, landing page, and more (#18266) (#18288)
github-actions[bot] Oct 6, 2021
d4439b0
Fix datetime formatting for pulse/dashboard subscription attachments …
github-actions[bot] Oct 6, 2021
42fb71e
Change implementation of docsUrl to handle RC suffixes for EE version…
github-actions[bot] Oct 6, 2021
7847b07
Static viz: respect whitelabel colors (#18277) (#18292)
github-actions[bot] Oct 6, 2021
0ad04e2
Static viz: respect custom X and Y axis labels (#18276)
camsaul Oct 6, 2021
a728bc3
Erroring question page nits (#18190)
howonlee Oct 6, 2021
b7a4d19
Static viz: allow rendering non-timeseries line charts (#18279)
camsaul Oct 6, 2021
c529fe2
🤖 backported "Fix CSP issue for Google Analytics" (#18303)
github-actions[bot] Oct 6, 2021
ebf0f45
New metabase version
r351574nc3 Dec 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 14 additions & 15 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"plugins": [
"babel-plugin-styled-components",
"transform-flow-strip-types",
"add-react-displayname",
"transform-decorators-legacy",
["transform-builtin-extend", {
"globals": ["Error", "Array"]
}],
"syntax-trailing-function-commas"
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-proposal-export-default-from",
["@babel/plugin-proposal-decorators", { "legacy": true }]
],
"presets": ["es2015", "stage-0", "react"],
"presets": ["@babel/preset-env", "@babel/preset-react"],
"env": {
"development": {
"presets": []
},
"extract": {
"plugins": [
["ttag", {
"extract": {
"output": "locales/metabase-frontend.pot"
},
"discover": ["t", "jt"],
"numberedExpressions": true
}]
[
"ttag",
{
"extract": {
"output": "locales/metabase-frontend.pot"
},
"discover": ["t", "jt"],
"numberedExpressions": true
}
]
]
}
}
Expand Down
1,114 changes: 625 additions & 489 deletions .circleci/config.yml

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@ FROM mcr.microsoft.com/vscode/devcontainers/java:11

RUN apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com\
&& apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends leiningen
&& apt-get -y install --no-install-recommends yarn

RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash
RUN apt-get update && apt-get -y install --no-install-recommends nodejs

RUN curl -O https://download.clojure.org/install/linux-install-1.10.3.933.sh \
&& bash ./linux-install-1.10.3.933.sh
125 changes: 77 additions & 48 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,49 +1,78 @@
((nil . ((indent-tabs-mode . nil) ; always use spaces for tabs
(require-final-newline . t))) ; add final newline on save
(js2-mode . ((js2-mode-show-parse-errors . nil) ; these settings will let flycheck do everything through eslint,
(js2-mode-show-strict-warnings . nil))) ; because js2-mode can't handle flowtype
(clojure-mode . ((eval . (progn
;; Specify which arg is the docstring for certain macros
;; (Add more as needed)
(put 'defendpoint 'clojure-doc-string-elt 3)
(put 'defendpoint-async 'clojure-doc-string-elt 3)
(put 'api/defendpoint 'clojure-doc-string-elt 3)
(put 'api/defendpoint-async 'clojure-doc-string-elt 3)
(put 'defsetting 'clojure-doc-string-elt 2)
(put 'setting/defsetting 'clojure-doc-string-elt 2)
(put 's/defn 'clojure-doc-string-elt 2)
(put 'p.types/defprotocol+ 'clojure-doc-string-elt 2)
((nil
;; always use spaces for tabs
(indent-tabs-mode . nil)
;; add final newline on save
(require-final-newline . t)
;; prefer keeping source width about ~118, GitHub seems to cut off stuff at either 119 or 120 and it's nicer
;; to look at code in GH when you don't have to scroll back and forth
(fill-column . 118)
;; tell find-things-fast to always use this directory as project root regardless of presence of other
;; deps.edn files
(ftf-project-finders . (ftf-get-top-git-dir)))

;; Define custom indentation for functions inside metabase.
;; This list isn't complete; add more forms as we come across them.
(define-clojure-indent
(db/insert-many! 1)
(let-404)
(macros/case 0)
(match 1)
(mbql.match/match 1)
(mt/test-drivers 1)
(mt/query 1)
(mbql.match/match-one 1)
(mbql.match/replace 1)
(mbql.match/replace-in 2)
(impl/test-migrations 2)
(l/matche '(1 (:defn)))
(l/matcha '(1 (:defn)))
(p/defprotocol+ '(1 (:defn)))
(p.types/defprotocol+ '(1 (:defn)))
(p.types/def-abstract-type '(1 (:defn)))
(p.types/deftype+ '(2 nil nil (:defn)))
(p/def-map-type '(2 nil nil (:defn)))
(p.types/defrecord+ '(2 nil nil (:defn)))
(qp.streaming/streaming-response 1)
(prop/for-all 1)
(tools.macro/macrolet '(1 (:defn))))))
(clojure-indent-style . always-align)
;; if you're using clj-refactor (highly recommended!)
(cljr-favor-prefix-notation . nil)
;; prefer keeping source width about ~118, GitHub seems to cut off stuff at either 119 or 120 and
;; it's nicer to look at code in GH when you don't have to scroll back and forth
(fill-column . 118)
(clojure-docstring-fill-column . 118)
(cider-preferred-build-tool . lein))))
(js2-mode
;; these settings will let flycheck do everything through eslint,
(js2-mode-show-parse-errors . nil)
;; because js2-mode can't handle flowtype
(js2-mode-show-strict-warnings . nil))

(clojure-mode
;; Specify which arg is the docstring for certain macros
;; (Add more as needed)
(eval . (put 'defendpoint 'clojure-doc-string-elt 3))
(eval . (put 'defendpoint-async 'clojure-doc-string-elt 3))
(eval . (put 'define-premium-feature 'clojure-doc-string-elt 2))
(eval . (put 'api/defendpoint 'clojure-doc-string-elt 3))
(eval . (put 'api/defendpoint-async 'clojure-doc-string-elt 3))
(eval . (put 'defsetting 'clojure-doc-string-elt 2))
(eval . (put 'setting/defsetting 'clojure-doc-string-elt 2))
(eval . (put 's/defn 'clojure-doc-string-elt 2))
(eval . (put 'p.types/defprotocol+ 'clojure-doc-string-elt 2))
;; Define custom indentation for functions inside metabase.
;; This list isn't complete; add more forms as we come across them.
;;
;; `put-clojure-indent' is a safe-local-eval-function, so use a bunch of calls to that
;; instead of one call to `define-clojure-indent'
(eval . (put-clojure-indent 'c/step 1))
(eval . (put-clojure-indent 'db/insert-many! 1))
(eval . (put-clojure-indent 'impl/test-migrations 2))
(eval . (put-clojure-indent 'let-404 0))
(eval . (put-clojure-indent 'macros/case 0))
(eval . (put-clojure-indent 'match 1))
(eval . (put-clojure-indent 'mbql.match/match 1))
(eval . (put-clojure-indent 'mbql.match/match-one 1))
(eval . (put-clojure-indent 'mbql.match/replace 1))
(eval . (put-clojure-indent 'mbql.match/replace-in 2))
(eval . (put-clojure-indent 'mt/dataset 1))
(eval . (put-clojure-indent 'mt/query 1))
(eval . (put-clojure-indent 'mt/test-drivers 1))
(eval . (put-clojure-indent 'prop/for-all 1))
(eval . (put-clojure-indent 'qp.streaming/streaming-response 1))
;; these ones have to be done with `define-clojure-indent' for now because of upstream bug
;; https://github.com/clojure-emacs/clojure-mode/issues/600 once that's resolved we should use `put-clojure-indent'
;; instead. Please don't add new entries unless they don't work with `put-clojure-indent'
(eval . (define-clojure-indent
(l/matcha '(1 (:defn)))
(l/matche '(1 (:defn)))
(p.types/def-abstract-type '(1 (:defn)))
(p.types/defprotocol+ '(1 (:defn)))
(p.types/defrecord+ '(2 nil nil (:defn)))
(p.types/deftype+ '(2 nil nil (:defn)))
(p/def-map-type '(2 nil nil (:defn)))
(p/defprotocol+ '(1 (:defn)))
(tools.macro/macrolet '(1 ((:defn)) :form))))
(cider-clojure-cli-aliases . "dev:drivers:drivers-dev:ee:ee-dev:user")
(clojure-indent-style . always-align)
(cljr-favor-prefix-notation . nil)
(clojure-docstring-fill-column . 118)
(cider-preferred-build-tool . clojure-cli))

("shared"
(clojure-mode
(cider-default-cljs-repl . shadow-select)
(cider-shadow-default-options . "node-repl")
(cider-preferred-build-tool . shadow-cljs)))

("bin"
(clojure-mode
(cider-clojure-cli-aliases . "dev"))))
21 changes: 17 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
.babel_cache/*
.babel_cache
docs/*
OSX/*
target/*

**node_modules
.circleci
.cpcache
.devcontainer
.github
.husky
.lsp
.shadow-cljs
.github
.vscode
hooks/*
test/*
test_config/*
test_modules/*
test_resources/*
node_modules
**metabase.jar

*.db

.dockerignore
Dockerfile
.dockerignore
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"react/no-unescaped-entities": 2,
"react/jsx-no-target-blank": 2,
"react/jsx-key": 2,
"react/forbid-component-props": [2, { "forbid": ["w", "h"] }],
"prefer-const": [1, { "destructuring": "all" }],
"no-useless-escape": 0,
"no-only-tests/no-only-tests": "error",
"complexity": ["error", { "max": 54 }]
},
"globals": {
"pending": false,
"before": true,
"cy": true,
"Cypress": true
Expand Down
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
### Tests

- [ ] Run the frontend and Cypress end-to-end tests with `yarn lint && yarn test`)
- [ ] If there are changes to the backend codebase, run the backend tests with `lein test && lein lint && ./bin/reflection-linter`

- [ ] If there are changes to the backend codebase, run the backend tests with `clojure -X:dev:test`
- [ ] Sign the [Contributor License Agreement](https://docs.google.com/a/metabase.com/forms/d/1oV38o7b9ONFSwuzwmERRMi9SYrhYeOrkbmNaq9pOJ_E/viewform)
(unless it's a tiny documentation change).
3 changes: 3 additions & 0 deletions .github/scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GitHub Action Test Scripts

Scripts related to running integration tests (ex: through GitHub actions)
68 changes: 68 additions & 0 deletions .github/scripts/run-presto-kerberos-integration-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#! /usr/bin/env bash
# runs one or more Metabase test(s) against a Kerberized Presto instance
set -eo pipefail

# Need Java commands on $PATH, which apparently is not yet the case
export PATH="$PATH:$JAVA_HOME/bin"

# ensure java commmand is available
which java

# install clojure version needed for Metabase
curl -O https://download.clojure.org/install/linux-install-1.10.3.933.sh
chmod +x linux-install-1.10.3.933.sh
./linux-install-1.10.3.933.sh

RESOURCES_DIR=/app/source/resources

# ensure the expected files are in place, in the resources dir
if [ ! -f "$RESOURCES_DIR/ssl_keystore.jks" ]; then
echo "$RESOURCES_DIR/ssl_keystore.jks does not exist; cannot run test" >&2
exit 11
fi

if [ ! -f "$RESOURCES_DIR/krb5.conf" ]; then
echo "$RESOURCES_DIR/krb5.conf does not exist; cannot run test" >&2
exit 12
fi

if [ ! -f "$RESOURCES_DIR/client.keytab" ]; then
echo "$RESOURCES_DIR/client.keytab does not exist; cannot run test" >&2
exit 13
fi

# Copy the JDK cacerts file to our resources
cp $JAVA_HOME/lib/security/cacerts $RESOURCES_DIR/cacerts-with-presto-ca.jks

# Capture the Presto server self signed CA in PEM format
openssl s_client -showcerts -connect presto-kerberos:7778 </dev/null \
| openssl x509 -outform PEM >$RESOURCES_DIR/presto-ssl-root-ca.pem

# Convert the Presto server self signed CA to DER format
openssl x509 -outform der -in $RESOURCES_DIR/presto-ssl-root-ca.pem -out $RESOURCES_DIR/presto-ssl-root-ca.der

# Add Presto's self signed CA to the truststore
keytool -noprompt -import -alias presto-kerberos -keystore $RESOURCES_DIR/cacerts-with-presto-ca.jks \
-storepass changeit -file $RESOURCES_DIR/presto-ssl-root-ca.der -trustcacerts

ADDITIONAL_OPTS="SSLKeyStorePath=$RESOURCES_DIR/ssl_keystore.jks&SSLKeyStorePassword=presto\
&SSLTrustStorePath=$RESOURCES_DIR/cacerts-with-presto-ca.jks&SSLTrustStorePassword=changeit"

# Prepare dependencies
source "./bin/prep.sh"
prep_deps

# Set up the environment variables pointing to all of this, and run some tests
DRIVERS=presto-jdbc \
MB_ENABLE_PRESTO_JDBC_DRIVER=true \
MB_PRESTO_JDBC_TEST_HOST=presto-kerberos \
MB_PRESTO_JDBC_TEST_PORT=7778 \
MB_PRESTO_JDBC_TEST_SSL=true \
MB_PRESTO_JDBC_TEST_KERBEROS=true \
[email protected] \
[email protected] \
MB_PRESTO_JDBC_TEST_KERBEROS_REMOTE_SERVICE_NAME=HTTP \
MB_PRESTO_JDBC_TEST_KERBEROS_KEYTAB_PATH=$RESOURCES_DIR/client.keytab \
MB_PRESTO_JDBC_TEST_KERBEROS_CONFIG_PATH=$RESOURCES_DIR/krb5.conf \
MB_PRESTO_JDBC_TEST_ADDITIONAL_OPTIONS=$ADDITIONAL_OPTS \
clojure -X:dev:test:drivers:drivers-dev :only metabase.driver.presto-jdbc-test
Loading
Loading