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 grafusion 11 3 #19

Closed
wants to merge 3,184 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3184 commits
Select commit Hold shift + click to select a range
a71dfd3
Canvas: Support template variables in base URL of actions (#91227)
nmarrs Jul 31, 2024
0423c67
Transformations: Promote add field from calc stat function cumulative…
nmarrs Jul 31, 2024
30d4a42
Storage: Disable Resource Server integration tests to unblock pipelin…
diegommm Jul 31, 2024
fc1139e
Transformations: Promote format string as generally available (#91161)
nmarrs Jul 31, 2024
68f1a06
Snapshots: Remove deprecated option snapshot_remove_expired (#91231)
ryantxu Jul 31, 2024
10170cb
Identity: Remove id token from extra info (#91169)
ryantxu Jul 31, 2024
160fe2a
Storage: Remove entity store (#91233)
ryantxu Jul 31, 2024
95f3407
Angular deprecation: Disable dynamic angular inspector if CheckForPlu…
xnyo Jul 31, 2024
a5795ad
Update dependency @grafana/faro-core to v1.8.2 (#91099)
renovate[bot] Jul 31, 2024
ff54333
Combobox: Add clear and reset onBlur (#90943)
tskarhed Jul 31, 2024
44f5db5
RolePicker: Reload org users after role update (#91201)
alexanderzobnin Jul 31, 2024
702fc34
RBAC: Fix folder move check when action sets are disabled (#91200)
IevaVasiljeva Jul 31, 2024
e5cf0bd
Update dependency @grafana/faro-web-sdk to v1.8.2 (#91191)
renovate[bot] Jul 31, 2024
dd9172e
Scenes: Upgrade to v5.7.2 (#91241)
ivanortegaalba Jul 31, 2024
f804b0b
Storage: Return an iterator from backend List (#91185)
ryantxu Jul 31, 2024
ad8e317
Update dependency @grafana/faro-web-sdk to v1.8.2 (#91244)
renovate[bot] Jul 31, 2024
acbf02c
Navigation: Redirect org users to admin users (#91051)
Clarity-89 Jul 31, 2024
7cda6b5
Update dependency @grafana/plugin-e2e to v1.6.1 (#91246)
renovate[bot] Jul 31, 2024
57323e1
Preferences: Keep navbar preferences when saving from Preferences scr…
JoaoSilvaGrafana Jul 31, 2024
b99d635
Bookmarks: Add field for pinNavItems toggle to grafana_navigation_ite…
JoaoSilvaGrafana Jul 31, 2024
9e64f51
alerting: add link to killercoda sandbox in the alerting get started…
tonypowa Jul 31, 2024
b2314df
Update dependency @playwright/test to v1.45.3 (#91248)
renovate[bot] Jul 31, 2024
14db32c
Loki: Add option to issue forward queries (#91181)
svennergr Jul 31, 2024
782b725
Plugins Catalog: Display Request data source and view roadmap links (…
academo Jul 31, 2024
5623800
Alerting: Chore - remove unused alerting upgradeApi (#91250)
tomratcliffe Jul 31, 2024
85d0e17
Bookmarks: Store URLs instead of ids (#91121)
JoaoSilvaGrafana Jul 31, 2024
856d6b9
Update dependency @react-types/shared to v3.24.1 (#91258)
renovate[bot] Jul 31, 2024
f58dd70
Update dependency @react-awesome-query-builder/ui to v6.6.2 (#91257)
renovate[bot] Jul 31, 2024
057c04e
IDToken: Add current user's DisplayName to the ID token (#90992)
colin-stuart Jul 31, 2024
e8c30c8
Frontend: Support tracing with Faro (#91237)
tskarhed Jul 31, 2024
235f223
CloudMigrations: Fix typo in trace name (#91261)
leandro-deveikis Jul 31, 2024
230416c
Update dependency @tanstack/react-virtual to v3.8.4 (#91287)
renovate[bot] Jul 31, 2024
d080a91
Alerting: Refactor createUrl and createAbsoluteUrl (#90667)
soniaAguilarPeiron Jul 31, 2024
6c64d1d
Alerting: Consume k8s Time Intervals API (#90094)
tomratcliffe Jul 31, 2024
1897de6
DashboardGridItem: Add placeholder option when repeat panel options a…
Sergej-Vlasov Jul 31, 2024
24d2fad
Fix long datalinks to fit in panel options editor (#91203)
mdvictor Jul 31, 2024
bffcb9d
E2C: Fix old snapshot showing when reconnecting (#91274)
joshhunt Jul 31, 2024
ff774e2
E2C: Show snapshot error status (#91214)
joshhunt Jul 31, 2024
7570ea8
Update babel monorepo (#91079)
renovate[bot] Jul 31, 2024
eef07ae
Update dependency esbuild-plugin-browserslist to ^0.14.0 (#91342)
renovate[bot] Jul 31, 2024
e81fa0e
Explore: Check for RBAC permissions when hitting query history endpoi…
harisrozajac Jul 31, 2024
a3d3f9a
Revert "Identity: Remove id token from extra info (#91169)" (#91350)
charandas Jul 31, 2024
e890279
Chore: Add go work sync to workspace update (#91360)
toddtreece Jul 31, 2024
19585c9
CloudWatch: Update grafana-aws-sdk for updated metrics (#91364)
iwysiu Jul 31, 2024
e6531d0
Table: Fix negative numbers during rtl styling (#91347)
drew08t Jul 31, 2024
9e3fd44
Update dependency esbuild-loader to v4.2.2 (#91338)
renovate[bot] Aug 1, 2024
14c4bb6
TemplateSrv: Add test case for SafeSerializableSceneObject (#90808)
dprokop Aug 1, 2024
a77ff98
Update traces to metrics doc (#90916)
knylander-grafana Aug 1, 2024
36c2e0c
unifiedStorage: sort by namespace/name ASC (#91314)
chaudyg Aug 1, 2024
0590a42
Update dependency eslint-plugin-jest to v28.6.0 (#91343)
renovate[bot] Aug 1, 2024
6cda2f6
Update dependency eslint-plugin-jsdoc to v48.10.2 (#91370)
renovate[bot] Aug 1, 2024
596c08e
Update dependency eslint-plugin-react to v7.35.0 (#91378)
renovate[bot] Aug 1, 2024
bda56de
Update dependency html-loader to v5.1.0 (#91381)
renovate[bot] Aug 1, 2024
796f299
Update dependency eslint-plugin-jsx-a11y to v6.9.0 (#91374)
renovate[bot] Aug 1, 2024
d11f8c7
Plugins: Ensure grafana cli can install multiple plugin dependencies …
yincongcyincong Aug 1, 2024
a547b38
Docs: Update defaults.ini for new faro option (#91384)
joshhunt Aug 1, 2024
aa6e937
Update dependency i18next to v23.12.2 (#91383)
renovate[bot] Aug 1, 2024
7a9a346
tidy up styles + fix docked menu overlaying popovers (#91380)
ashharrison90 Aug 1, 2024
2cccde9
Update dependency knip to v5.27.0 (#91392)
renovate[bot] Aug 1, 2024
66bfb31
Tooltip: Handle case where `document.body` is the scrolling element (…
ashharrison90 Aug 1, 2024
a328545
Alerting: Support median in reduce expressions (#91119)
alexander-akhmetov Aug 1, 2024
fb9903e
Allow to watch from the dual writer (#91375)
leonorfmartins Aug 1, 2024
024e839
Chore: Fix Crowdin Download action failing consistently (#91394)
joshhunt Aug 1, 2024
d824596
Update dependency rc-cascader to v3.27.0 (#91396)
renovate[bot] Aug 1, 2024
c76d1e0
Authz: Fix on-prem grpc authentication (#91341)
gamab Aug 1, 2024
1706782
Alerting: Conditionally use k8s API for simplified routing contact po…
tomratcliffe Aug 1, 2024
fb4a4d6
I18n: Download translations from Crowdin (#91397)
grafana-pr-automation[bot] Aug 1, 2024
ad7b532
Update dependency @grafana/scenes to v5.7.3
renovate[bot] Aug 1, 2024
e39a131
Prometheus: Add group function to aggregations (#91363)
bohandley Aug 1, 2024
04d8f0f
Runtime: Add provider and access hook for location service (#90759)
aocenas Aug 1, 2024
882cb70
Update dependency @grafana/faro-core to v1.9.0 (#91398)
renovate[bot] Aug 1, 2024
cd4aaab
Update dependency @grafana/faro-web-sdk to v1.9.0 (#91400)
renovate[bot] Aug 1, 2024
85e2ea2
Update dependency @grafana/faro-web-sdk to v1.9.0 (#91403)
renovate[bot] Aug 1, 2024
2e2ddc5
Folders: Allow folder editors and admins to create subfolders without…
IevaVasiljeva Aug 1, 2024
a1ee84f
Alerting: Remove duplicate tracing middleware from prom writer (#91353)
rwwiv Aug 1, 2024
dbb64b3
Icons: Cache Bookmark icons (#91332)
JoaoSilvaGrafana Aug 1, 2024
c0f01c3
Add CockroachDB as an enterprise data source (#90860)
alyssabull Aug 1, 2024
e231211
Alerting: Fix permissions for prometheus rule endpoints (#91409)
yuri-tceretian Aug 1, 2024
3952f62
Alerting: Parse secret fields case-insensitively when creating or upd…
alexander-akhmetov Aug 1, 2024
6efd52e
Docs: Updates to Traces in Explore doc (#90774)
lwandz13 Aug 1, 2024
7c0ee6e
Heatmap: Skip null values instead of treating as 0 (#91424)
leeoniya Aug 1, 2024
21e4090
Docs: time series overall edit (#91220)
imatwawana Aug 1, 2024
b63694d
XYChart: Promote to generally available (#91417)
nmarrs Aug 1, 2024
391284b
Storage: Improve (some) error handling (#91373)
ryantxu Aug 2, 2024
8988e04
RBAC: Add permission registry (#91247)
gamab Aug 2, 2024
d03aad8
Docs: Update subtitle in Loki datasource documentation to fix link is…
minuchi Aug 2, 2024
7d06a17
Update dependency @grafana/faro-web-tracing to v1.9.0 (#91406)
renovate[bot] Aug 2, 2024
25b65d9
Update dependency browserslist to v4.23.3
renovate[bot] Aug 2, 2024
ce8f5b5
Navigation: Fix `<Portal>` when `bodyScrolling` is enabled (#91335)
ashharrison90 Aug 2, 2024
1d96cd8
Alerting: Use cloud notifier types for metadata on Cloud AMs (#91054)
tomratcliffe Aug 2, 2024
a940bb8
Update dependency msw to v2.3.5
renovate[bot] Aug 2, 2024
e2435f9
[authn]: add GetIDClaims() to Requester (#91387)
drclau Aug 2, 2024
a89435a
I18n: Require Trans i18nKey prop (#91399)
joshhunt Aug 2, 2024
e55b438
E2C: Reduce UI poll interval and make configurable (#91386)
joshhunt Aug 2, 2024
670132e
Update dependency @types/node to v20.14.14
renovate[bot] Aug 2, 2024
4fd014e
Chore: Update i18next parser to 9.0.1 (#91478)
joshhunt Aug 2, 2024
4de68e3
Update dependency eslint-plugin-jsdoc to v48.11.0 (#91473)
renovate[bot] Aug 2, 2024
44ed331
I18n: Download translations from Crowdin (#91474)
grafana-pr-automation[bot] Aug 2, 2024
0145b0f
Dashboard: Chore - Remove rudderstack events from panel menu and tool…
axelavargas Aug 2, 2024
5376a2e
Chore: Add semconv package (#91408)
toddtreece Aug 2, 2024
c070b39
E2C: Add a 'supported types' disclosure to the bottom of the resource…
joshhunt Aug 2, 2024
6f6a064
Remove unified_storage_mode reference in the grafana repo (#91481)
leonorfmartins Aug 2, 2024
72ecde5
Alerting: Make orgID a direct arg of writer interface (#91422)
alexweav Aug 2, 2024
1747cd1
[Auth] Enable cloudRBACRoles feature toggle for self-serve (#91036)
vtorosyan Aug 2, 2024
96f7f0f
Alerting: Use Unstructured type for settings of K8s model Integration…
yuri-tceretian Aug 2, 2024
a397bca
Alerting: Fix panic with nil annotations & Nodata=alerting/ok/keep (#…
JacobsonMT Aug 2, 2024
8c43b9e
Semconv: Change keys to private constants (#91508)
toddtreece Aug 2, 2024
e7a9a9c
Alerting docs: fixes alt text errors (#91336)
brendamuir Aug 5, 2024
647f162
[DOC] Add canonical URL to Explore Metrtics (#91501)
knylander-grafana Aug 5, 2024
e771500
Alerting: Enable "no-unused-props" rule (#91492)
tomratcliffe Aug 5, 2024
500ae2f
Alerting: Enable "prefer-const" rule (#91495)
tomratcliffe Aug 5, 2024
734af2e
Alerting: Enable "dot-notation" rule (#91497)
tomratcliffe Aug 5, 2024
f885cc7
Chore: Update swagger ui (4.3.0 to 5.17.14) (#91219)
ryantxu Aug 5, 2024
a223c46
APIServer: Make TableConverter part of ResourceInfo (#91520)
ryantxu Aug 5, 2024
338b318
Alerting: Use alerting API server for contact points list (#91073)
tomratcliffe Aug 5, 2024
93aa5a5
Alerting: Use stable identifier of a group,contact point,mute timing …
KyriosGN0 Aug 5, 2024
9a2c964
Chore: Add storage submodule to lint & test config (#91529)
toddtreece Aug 5, 2024
114d87b
Alerting docs: Update `Alerting provisioning HTTP API` (#91493)
ppcano Aug 5, 2024
dc9dfb4
Typo fix in Templates documentation (#91348)
ihordyrman Aug 5, 2024
4d23382
Caching: Handle memcached reconnects (#91498)
mmandrus Aug 5, 2024
53cfdf0
Alerting: Remove option to return settings from api/v1/receivers and …
JacobsonMT Aug 5, 2024
b6de9e9
search v2: pre-allocate dashboardQueryResult slice capacity for perfo…
mildwonkey Aug 5, 2024
abbfc15
K8s e2e tests: adds e2e package and 10 year certs (#91557)
charandas Aug 6, 2024
d491620
chore(tracing): add tracing for frontend and db session (#91509)
jalevin Aug 6, 2024
da29199
Revert "Calcs: Update diff percent to be a percent" (#91563)
Develer Aug 6, 2024
9300c1b
Plugins: Update CLI check if plugin is already installed (#91213)
wbrowne Aug 6, 2024
2e3f48a
Navigation: Fix browse dashboards/scenes dashboards when `bodyScrolli…
ashharrison90 Aug 6, 2024
0c4e02b
Plugins: Add filters by update available (#91526)
oshirohugo Aug 6, 2024
b4a23e0
Alerting: Add types to react hook form usage register method (#91566)
tomratcliffe Aug 6, 2024
2be2f8a
Alerting: Tidy up k8s utilities/constants (#91571)
tomratcliffe Aug 6, 2024
255a1f6
Update dependency react-hook-form to v7.52.2 (#91482)
renovate[bot] Aug 6, 2024
0dbfeb0
Update dependency @floating-ui/react to v0.26.21 (#91572)
renovate[bot] Aug 6, 2024
e2fe649
Update dependency @msagl/core to v1.1.20
renovate[bot] Aug 6, 2024
b7def88
Update dependency @msagl/parser to v1.1.20
renovate[bot] Aug 6, 2024
2eae30a
Alerting: Add jest-dom eslint recommended rules (#91576)
tomratcliffe Aug 6, 2024
133bb11
Update dependency autoprefixer to v10.4.20
renovate[bot] Aug 6, 2024
2387798
Unified Storage: Propagate traces from the apiserver grpc client (#91…
owensmallwood Aug 6, 2024
9456535
Update dependency lerna to v8.1.8
renovate[bot] Aug 6, 2024
e91f16f
Datalinks: UX improvements (#91352)
adela-almasan Aug 6, 2024
14c2e46
CloudMigrations: Update preview banner text (#91561)
mmandrus Aug 6, 2024
f4073e6
Update dependency postcss to v8.4.41
renovate[bot] Aug 6, 2024
ee78bb6
Alerting: Log rule evaluation error in scheduler (#91585)
yuri-tceretian Aug 6, 2024
6cd0971
CloudMigration: Show warning message for successfully migrated non-co…
mmandrus Aug 6, 2024
61434b2
Update dependency rudder-sdk-js to v2.48.15
renovate[bot] Aug 6, 2024
ce14d79
[DOC] Add Streaming doc for Tempo data source (#91432)
knylander-grafana Aug 6, 2024
d84fd94
Tempo: Add migration to enable TraceQL streaming for Tempo datasource…
adrapereira Aug 6, 2024
d93f5ba
RemoteCache: remove count method (#91581)
kalleep Aug 6, 2024
1b6362a
TimeSeries: Use original frames for creating data links (#91598)
leeoniya Aug 6, 2024
b5e32b3
Grafana: Enables use of encrypted certificates with password for http…
leandro-deveikis Aug 6, 2024
cf5e49d
build: semconv recently got its own go.mod (#91560)
charandas Aug 6, 2024
9c5a910
Alerting: Add useNotificationTemplates hook to abstract away template…
konrad147 Aug 7, 2024
3ec2084
Alerting: Remove all but one usage of `TestProvider` within test code…
tomratcliffe Aug 7, 2024
e8d5d5f
Storybook: Fix `Input` story (#91564)
ashharrison90 Aug 7, 2024
9e116d1
K8s/Dashboards: Fix dashboard list and add tests (#91523)
ryantxu Aug 7, 2024
a33d122
Update Yarn to v4.4.0 (#91595)
renovate[bot] Aug 7, 2024
f384759
Update dependency @types/yargs to v17.0.33
renovate[bot] Aug 7, 2024
9b65261
Update dependency knip to v5.27.1
renovate[bot] Aug 7, 2024
a117b09
chore: preallocate slices where we have a good idea of requirements (…
mildwonkey Aug 7, 2024
7ccf79a
Update dependency marked-mangle to v1.1.9
renovate[bot] Aug 7, 2024
f0d0fa9
Update dependency @floating-ui/react to v0.26.22 (#91622)
renovate[bot] Aug 7, 2024
886985b
docs: added missing panel options to node graph docs (#91511)
srperf Aug 7, 2024
cb540a2
Plugins: add IRM plugin to "Alerts & IRM" left-hand navigation group …
joeyorlando Aug 7, 2024
f19a0ce
Cloudwatch: Clear cached PDC transport when PDC is disabled (#91357)
njvrzm Aug 7, 2024
4d24b12
Update dependency @playwright/test to v1.46.0 (#91625)
renovate[bot] Aug 7, 2024
d584838
Update dependency core-js to v3.38.0 (#91633)
renovate[bot] Aug 7, 2024
9cfcc16
Update dependency eslint-plugin-jest to v28.7.0 (#91637)
renovate[bot] Aug 7, 2024
d312e2a
Alerting: Swap useAsync return signature params (#91634)
gillesdemey Aug 7, 2024
b788565
Update dependency react-zoom-pan-pinch to v3.6.1 (#91639)
renovate[bot] Aug 7, 2024
5917e1c
Update dependency stylelint to v16.8.1 (#91641)
renovate[bot] Aug 7, 2024
a8b2a75
GOps: Setup FullStory in the IRM configuration tracker (#90442)
obetomuniz Aug 7, 2024
a083ec9
Transformations: Add variable support to select groupingToMatrix (#88…
kazeborja Aug 8, 2024
8ddc034
Docs: Add warning on UUIDs not being available before 10.2.0 (#91372)
Jguer Aug 8, 2024
1bca86c
E2C: use `TextLink` component for consistency (#91642)
ashharrison90 Aug 8, 2024
1150ab5
Update dependency ts-jest to v29.2.4 (#91644)
renovate[bot] Aug 8, 2024
875fdb1
Update dependency knip to v5.27.2
renovate[bot] Aug 8, 2024
bf24454
Plugins: Fix levitate detailed report and improve error treatment (#9…
oshirohugo Aug 8, 2024
ebc7355
Update dependency eslint-plugin-jest to v28.8.0 (#91668)
renovate[bot] Aug 8, 2024
2a67367
Update dependency type-fest to v4.23.0 (#91675)
renovate[bot] Aug 8, 2024
83d8fde
E2C: Post success toast when migration finishes (#91640)
joshhunt Aug 8, 2024
e2a3f78
I18n: Download translations from Crowdin (#91677)
grafana-pr-automation[bot] Aug 8, 2024
89ee970
Chore: Correct viz title casing to sentence casing (#91638)
staton-hyse11 Aug 8, 2024
0e5d763
Access Control: Make it possible to exclude role grants (#91647)
alexanderzobnin Aug 8, 2024
37f198d
LDAP: Add guide on how to configure LDAP with TLS (#91686)
dmihai Aug 8, 2024
f3769d1
add netlify to plugin list (#91684)
Multimo Aug 8, 2024
08d9cb0
feat: add drone datasource to the plugins list (#91671)
cletter7 Aug 8, 2024
925fd26
LDAP: Update ldap config comments with TLS info (#91636)
dmihai Aug 8, 2024
9001b2e
Datalinks: UX update (#91657)
adela-almasan Aug 8, 2024
d1deef2
Move Explore Metrics to a directory for mounting (#91696)
jdbaldry Aug 8, 2024
b4126d3
Chore: Update k8s.io dependencies (#91692)
toddtreece Aug 8, 2024
94c7ec0
Set version to 11.2.0 (#143)
aangelisc Aug 21, 2024
806c524
Bump whats new url
aangelisc Aug 21, 2024
32c95a1
Canvas: Fix selection box glitch when adding certain elements (#91654)
nmarrs Aug 8, 2024
f4b646d
QuotaService: refactor to use ReplDB for Get queries (#91333)
mildwonkey Aug 8, 2024
41a910c
Chore: Remove depguard rule skip in apiserver (#91705)
toddtreece Aug 8, 2024
67f00aa
experiment: use read replica for Get and Find Dashboards (#91706)
mildwonkey Aug 8, 2024
23d3a06
Chore: Add go workspace scripts (#91707)
toddtreece Aug 8, 2024
814b4bd
Fix links to the What's new page in the PR template (#91672)
alexander-akhmetov Aug 8, 2024
526bbc0
Chore: Fix go workspace update script (#91720)
toddtreece Aug 8, 2024
bcf8827
StateTimeline: Add pagination support (#89586)
kevinputera Aug 9, 2024
323783d
Semconv: Add k8s.dataplaneservice.name (#91714)
toddtreece Aug 9, 2024
e8e1cd0
Chore: Add dataplaneAggregator feature toggle (#91715)
toddtreece Aug 9, 2024
424c4e4
I18n: Download translations from Crowdin (#91737)
grafana-pr-automation[bot] Aug 9, 2024
0347a0e
Scenes: Upgrade to v5.7.4 (#91741)
ivanortegaalba Aug 9, 2024
a214236
Zanzana: Evaluate dashboard and folder permissions (#91539)
alexanderzobnin Aug 9, 2024
bf6e787
CloudMigration: Removes snapshot and resources when deleting a sessio…
leandro-deveikis Aug 9, 2024
e08a2c9
Chore: Use golanglint-ci-includes script in Makefile (#91742)
toddtreece Aug 9, 2024
086bda7
Chore: Update tests to use go-workspace script (#91746)
toddtreece Aug 9, 2024
72df1cf
CloudMigrations: Misc cleanup before codefreeze (#91725)
mmandrus Aug 9, 2024
3ee78bd
Chore: Fix requires_buildifier typo (#91747)
toddtreece Aug 9, 2024
ffb75d0
Identity: remove GetTypedID (#91745)
kalleep Aug 9, 2024
8ad9b65
Auth: Skip email extraction when api url is not present (#91699)
PyAgni Aug 9, 2024
abe92df
Docs: added pagination information for state timeline (#91749)
imatwawana Aug 9, 2024
b552409
Alerting: Support for optimistic concurrency in priovisioning Tempate…
yuri-tceretian Aug 9, 2024
a8f3f70
OpenTSDB: Fix data frame construction (#90991)
aangelisc Aug 9, 2024
e5496c6
AzureMonitor: Add authproxy as supported user auth method (#91754)
aangelisc Aug 9, 2024
bd9d187
Auth: Use claims.AuthInfo in requester (#91739)
ryantxu Aug 9, 2024
dfa13c0
OpenTSDB: Fix test (#91761)
aangelisc Aug 9, 2024
7589578
Bump grafana-azure-sdk-go and related dependencies (#91124)
aangelisc Aug 9, 2024
8a6751f
Chore: Revert drone go workspace change to tests (#91762)
toddtreece Aug 9, 2024
e95dbe2
Docs: add Zoom to Reporting docs (#90219)
mjseaman Aug 9, 2024
3b02f5a
Chore: Update names of DisabledPostStartHooks (#91767)
toddtreece Aug 9, 2024
c57667e
feat: Add atlassian statuspage (#91769)
ktw4071 Aug 9, 2024
afab17b
Merge remote-tracking branch 'origin/update_v11_2' into update_grafus…
Umaaz Sep 9, 2024
43c22d7
fix (orgsync): remove previous changes in relation to orgsync
dhodgsonintergral Sep 9, 2024
cb993fa
fix(): remove searchbar and remove breadcrumbs
dhodgsonintergral Sep 10, 2024
ff4b6e9
fix(): kiosk mode to new config
dhodgsonintergral Sep 10, 2024
75ea28a
fix(workflows): remove grafana worklows
dhodgsonintergral Sep 11, 2024
9607197
chore(build): remove script to trigger builds
Umaaz Sep 11, 2024
fe45427
chore(build): change buidls to run on branch no pr
Umaaz Sep 11, 2024
ef62630
chore(build): change buidls to run on branch no pr
Umaaz Sep 11, 2024
3f1be3a
chore(build): change buidls to run on branch no pr
Umaaz Sep 11, 2024
e66a514
fix: remove unnecessary actions from search bar
dhodgsonintergral Sep 11, 2024
65131df
fix(build): remove go update script (causing build error)
dhodgsonintergral Sep 11, 2024
2f470b2
fix: appchrome removal
dhodgsonintergral Sep 17, 2024
a6a192b
fix: start megamenu hidden
dhodgsonintergral Sep 17, 2024
c61de96
fix: remove alert panel tab
dhodgsonintergral Sep 17, 2024
09f78d8
fix: remove unused import
dhodgsonintergral Sep 17, 2024
60b0240
fix: remove orgId from search bar var
dhodgsonintergral Sep 18, 2024
b4702d4
fix: remove alert rule button
dhodgsonintergral Sep 23, 2024
00175ac
fix: remove alert rule button
dhodgsonintergral Sep 23, 2024
f4315be
fix(test): remove megamenu render tests
dhodgsonintergral Sep 23, 2024
e1b3cd5
fix(build): update go to 1.22
dhodgsonintergral Sep 23, 2024
38c6e23
fix(test): remove alerting panel test
dhodgsonintergral Sep 23, 2024
accb4c5
fix(test): remove megamenu test
dhodgsonintergral Sep 23, 2024
a020924
fix(test): remove unused import
dhodgsonintergral Sep 23, 2024
71fa3cb
fix(test): fix expected result
dhodgsonintergral Sep 23, 2024
1ce99c0
fix(test): remove the unexplicit timezone
dhodgsonintergral Sep 23, 2024
3bca5db
Merge remote-tracking branch 'origin/main' into new_grafusion_11_2
Umaaz Sep 24, 2024
047a54f
chore(build): resolve conflicts
Umaaz Sep 24, 2024
24d2c81
chore(build): resolve conflicts
Umaaz Sep 24, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5,369 changes: 3,294 additions & 2,075 deletions .betterer.results

Large diffs are not rendered by default.

15,585 changes: 7,421 additions & 8,164 deletions .betterer.results.json

Large diffs are not rendered by default.

116 changes: 67 additions & 49 deletions .betterer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { glob } from 'glob';
// Why are we ignoring these?
// They're all deprecated/being removed so doesn't make sense to fix types
const eslintPathsToIgnore = [
'packages/grafana-e2e', // deprecated.
'public/app/angular', // will be removed in Grafana 11
'public/app/plugins/panel/graph', // will be removed alongside angular
'public/app/plugins/panel/table-old', // will be removed alongside angular
Expand Down Expand Up @@ -76,68 +75,87 @@ function regexp(pattern: RegExp, issueMessage: string) {

function countEslintErrors() {
return new BettererFileTest(async (filePaths, fileTestResult, resolver) => {
// Just bail early if there's no files to test. Prevents trying to get the base config from failing
if (filePaths.length === 0) {
return;
}

const { baseDirectory } = resolver;
const cli = new ESLint({ cwd: baseDirectory });

const eslintConfigFiles = await glob('**/.eslintrc');
const eslintConfigMainPaths = eslintConfigFiles.map((file) => path.resolve(path.dirname(file)));
// Get the base config to set up parsing etc correctly
// this is by far the slowest part of this code. It takes eslint about 2 seconds just to find the config
const baseConfig = await cli.calculateConfigForFile(filePaths[0]);

const baseRules: Partial<Linter.RulesRecord> = {
'@emotion/syntax-preference': [2, 'object'],
'@typescript-eslint/no-explicit-any': 'error',
'@grafana/no-aria-label-selectors': 'error',
'no-restricted-imports': [
'error',
{
patterns: [
{
group: ['@grafana/ui*', '*/Layout/*'],
importNames: ['Layout', 'HorizontalGroup', 'VerticalGroup'],
message: 'Use Stack component instead.',
},
],
},
],
};

const nonTestFilesRules: Partial<Linter.RulesRecord> = {
...baseRules,
'@typescript-eslint/consistent-type-assertions': ['error', { assertionStyle: 'never' }],
};
const config: Linter.Config = {
...baseConfig,
rules: baseRules,

// group files by eslint config file
// this will create two file groups for each eslint config file
// one for test files and one for non-test files
const fileGroups: Record<string, string[]> = {};
// Be careful when specifying overrides for the same rules as in baseRules - it will... override
// the same rule, not merge them with different configurations
overrides: [
{
files: ['**/*.{ts,tsx}'],
excludedFiles: ['*.{test,spec}.{ts,tsx}', '**/__mocks__/**', '**/public/test/**'],
rules: {
'@typescript-eslint/consistent-type-assertions': ['error', { assertionStyle: 'never' }],
},
},

for (const filePath of filePaths) {
let configPath = eslintConfigMainPaths.find((configPath) => filePath.startsWith(configPath)) ?? '';
const isTestFile =
filePath.endsWith('.test.tsx') ||
filePath.endsWith('.test.ts') ||
filePath.includes('__mocks__') ||
filePath.includes('public/test/');
{
files: ['public/app/**/*.{ts,tsx}'],
rules: {
'no-barrel-files/no-barrel-files': 'error',
},
},
{
files: ['public/**/*.tsx', 'packages/grafana-ui/**/*.tsx'],
excludedFiles: [
'public/app/plugins/**',
'*.story.tsx',
'*.{test,spec}.{ts,tsx}',
'**/__mocks__/**',
'public/test/**',
],
rules: {
'@grafana/no-untranslated-strings': 'error',
},
},
],
};

if (isTestFile) {
configPath += '-test';
}
if (!fileGroups[configPath]) {
fileGroups[configPath] = [];
}
fileGroups[configPath].push(filePath);
}
const runner = new ESLint({
baseConfig: config,
useEslintrc: false,
cwd: baseDirectory,
});

for (const configPath of Object.keys(fileGroups)) {
const rules = configPath.endsWith('-test') ? baseRules : nonTestFilesRules;
// this is by far the slowest part of this code. It takes eslint about 2 seconds just to find the config
const linterOptions = (await cli.calculateConfigForFile(fileGroups[configPath][0])) as Linter.Config;
const runner = new ESLint({
baseConfig: {
...linterOptions,
rules: rules,
},
useEslintrc: false,
cwd: baseDirectory,
});
const lintResults = await runner.lintFiles(fileGroups[configPath]);
lintResults
.filter((lintResult) => lintResult.source)
.forEach((lintResult) => {
const { messages } = lintResult;
const filePath = lintResult.filePath;
const file = fileTestResult.addFile(filePath, '');
messages.forEach((message, index) => {
file.addIssue(0, 0, message.message, `${index}`);
});
const lintResults = await runner.lintFiles(Array.from(filePaths));
lintResults
.filter((lintResult) => lintResult.source)
.forEach(({ messages, filePath }) => {
const file = fileTestResult.addFile(filePath, '');
messages.forEach((message, index) => {
file.addIssue(0, 0, message.message, `${index}`);
});
}
});
});
}
14 changes: 7 additions & 7 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.8. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
Expand Down Expand Up @@ -35,11 +35,11 @@ $(DRONE): $(BINGO_DIR)/drone.mod
@echo "(re)installing $(GOBIN)/drone-v1.5.0"
@cd $(BINGO_DIR) && GOWORK=off CGO_ENABLED=0 $(GO) build -mod=mod -modfile=drone.mod -o=$(GOBIN)/drone-v1.5.0 "github.com/drone/drone-cli/drone"

GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.57.1
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.59.1
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/golangci-lint-v1.57.1"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.57.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
@echo "(re)installing $(GOBIN)/golangci-lint-v1.59.1"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.59.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"

JB := $(GOBIN)/jb-v0.5.1
$(JB): $(BINGO_DIR)/jb.mod
Expand All @@ -53,9 +53,9 @@ $(LEFTHOOK): $(BINGO_DIR)/lefthook.mod
@echo "(re)installing $(GOBIN)/lefthook-v1.4.8"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=lefthook.mod -o=$(GOBIN)/lefthook-v1.4.8 "github.com/evilmartians/lefthook"

SWAGGER := $(GOBIN)/swagger-v0.30.2
SWAGGER := $(GOBIN)/swagger-v0.30.6-0.20240310114303-db51e79a0e37
$(SWAGGER): $(BINGO_DIR)/swagger.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/swagger-v0.30.2"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=swagger.mod -o=$(GOBIN)/swagger-v0.30.2 "github.com/go-swagger/go-swagger/cmd/swagger"
@echo "(re)installing $(GOBIN)/swagger-v0.30.6-0.20240310114303-db51e79a0e37"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=swagger.mod -o=$(GOBIN)/swagger-v0.30.6-0.20240310114303-db51e79a0e37 "github.com/go-swagger/go-swagger/cmd/swagger"

6 changes: 3 additions & 3 deletions .bingo/golangci-lint.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.21
go 1.22

toolchain go1.21.6
toolchain go1.22.4

require github.com/golangci/golangci-lint v1.57.1 // cmd/golangci-lint
require github.com/golangci/golangci-lint v1.59.1 // cmd/golangci-lint
Loading
Loading