Kristin Laemmert
06ec8ad185
chore(docs): remove warning about (resolved) bug ( #60539 )
...
chore: remove warning about now-resolved bug
2022-12-20 09:05:15 -05:00
sam boyer
f86abf096d
schema: Use generated dashboard model in frontend ( #55769 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2022-12-20 15:04:14 +01:00
Jo
a553040441
Authn: Refactor user sync and org sync as post auth hooks ( #60504 )
...
* add user sync
* add org user sync
* add client params
* merge remaining conflicts
* remove change to report.go
* update comments
* add basic tests for user ID population
* add tests for auth ID find
* add tests for user sync create and update
* add tests for orgsync
* satisfy lint
* add userID guards
2022-12-20 08:59:05 -05:00
Karl Persson
1b1a14b6f6
ContextHandler: Get token from req context when performing rotation ( #60533 )
...
ContextHandler: get token from req context when performing end of
request rotation
2022-12-20 14:41:26 +01:00
Christian Segundo
707198227c
Auth: Log a more useful msg if no OAuth provider configured ( #56722 )
...
Log a useful msg if no oauth provider configured
When a user doesn't configure an OAuth provider and uses auto login, Grafana logs a misleading message indicating that he has multiple providers configured.
2022-12-20 14:35:43 +01:00
Ashley Harrison
ba6d2f2a82
Chore: improve some more types ( #60476 )
...
* improve some more types
* fixes
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-12-20 13:07:57 +00:00
Sofia Papagiannaki
55b014974d
Nested folders: Refactor folder update ( #60323 )
...
* Nested folders: Refactor folder update
* Apply suggestions from code review
2022-12-20 15:00:33 +02:00
George Robinson
5d4e35c3d5
Docs: Fix links in Using Go's templating language ( #60564 )
2022-12-20 12:30:43 +00:00
Andres Martinez Gotor
4d693863c0
GoogleCloudMonitoring: Adapt frontend to the new API format ( #60173 )
...
* GoogleCloudMonitoring: Migrate queries to the new format
* Refactor Aligment and AligmentFunction components (#60235 )
* Adapt CloudMonitoringDatasource and CloudMonitoringAnnotationSupport (#60177 )
* Fix: avoid migration for new queries (#60375 )
* Move preprocessor handling to the backend (#60383 )
* Other fixes and new function (#60411 )
* Adapt components to the new API (#60451 )
* Split metrics query type in time series list and query (#60475 )
* Clean up metricQuery references (#60478 )
* More bug fixes (#60525 )
2022-12-20 12:47:49 +01:00
Alexander Zobnin
f6f140c412
Role picker: Fix handling groups with the same name ( #60535 )
...
* Role picker: split components into separate files
* Role picker: fix selection groups with the same name
2022-12-20 13:43:48 +03:00
Jo
2c7410c87d
Admin: Add support bundles ( #60536 )
...
* Add support bundles
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
* tweak code owners
* rename and lint frontend
* lint
* fix backend lint
* register feature flag
* add feature toggle. fix small backend issues
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2022-12-20 11:13:37 +01:00
Alexander Zobnin
6e2b148745
Role picker: Split components into separate files ( #60519 )
2022-12-20 13:05:37 +03:00
Yuri Tseretyan
35090c376c
Alerting: Replace VictorOps receiver with the one from alerting repository ( #60543 )
...
* replace victorops with one from alerting
* update other usages
2022-12-20 10:55:41 +01:00
George Robinson
d7b555c405
Docs: Remove old message templates documentation ( #60548 )
2022-12-20 08:23:42 +00:00
juanicabanas
11a2a28ef5
PublicDashboards: Remove unnecessary css style in Audit Table ( #60546 )
...
unncessary global style filter-table removed
2022-12-20 02:31:18 +03:00
Alexander Weaver
ca3f8ba6f4
Alerting: Refactor alertmanager notifier to use encoding/json to parse settings instead of simplejson ( #55507 )
...
* replace basic auth header with method call
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2022-12-19 15:12:49 -05:00
Gareth Dawson
90185bea00
Loki: Change format of query builder hints ( #60228 )
...
* change format of query builder hints
* fix tests
* add hint property on query actions
* revert changes to prometheus hints
* respond to feedback
* fix failing tests
* trigger drone
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2022-12-19 16:28:46 +00:00
Dimitris Sotirakis
158502572e
CI: Add aws-marketplace
pipeline ( #60484 )
...
* Add aws marketplace automation
# Conflicts:
# .drone.yml
* Fix secret paths
# Conflicts:
# .drone.yml
* Add docker socket
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
* s/enterprise2/enterprise
* Add dependency on the enterprise docker publish
# Conflicts:
# .drone.yml
* Replace testing args with prod args
# Conflicts:
# .drone.yml
* Fix path
# Conflicts:
# .drone.yml
2022-12-19 11:25:48 -05:00
Zoltán Bedi
c25fe34ac0
SQL Datasources: Use health check for config test ( #59867 )
...
* SQL Datasources: Use health check for config test
* Remove unnecessary test
* Fix test errors
* Revert mysql go driver update
* Use transform query error
* Use TransformQueryError from sql_engine
2022-12-19 17:17:52 +01:00
Jo
77786f236a
RBAC: Fix DeleteUserPermissions not being called on Upsert org sync ( #60531 )
...
* fix DeleteUserPermissions not being called on RemoveOrgUser
* do not error out of auth flow
* fix test missing service
2022-12-19 11:10:31 -05:00
Matias Chomicki
dbff9b4b97
CI: Enable coverage report for Elasticsearch ( #60513 )
2022-12-19 17:04:05 +01:00
Yuri Tseretyan
f0cabe14d5
Alerting: import Grafana alerting package and update usages ( #60490 )
...
* update remaining notifiers to use alerting package
2022-12-19 10:53:58 -05:00
Ashley Harrison
9b21375d78
Chore: remove @storybook/addon-knobs
package ( #60524 )
...
remove @storybook/addon-knobs package
2022-12-19 15:35:32 +00:00
Dimitris Sotirakis
a1c2093b53
CI: Remove enterprise2
bits from enterprise
pipelines ( #60459 )
...
Remove enterprise2 bits from enterprise pipelines
2022-12-19 17:30:49 +02:00
George Robinson
f6aea16894
Docs: Templating notifications ( #60109 )
...
* Docs: Templating notifications
* Feedback
* More feedback
* Edit template notifications
* More edits
* Fix typo
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
2022-12-19 15:01:18 +00:00
Ludovic Viaud
f67b8fe0dc
Prometheus: Create feature flag to disable exemplar sampling ( #60105 )
...
:Fix rebase
2022-12-19 16:00:15 +01:00
Andriy
bce33eeb85
Add plugin spellcheck docs ( #60512 )
2022-12-19 15:59:34 +01:00
renovate[bot]
4f7920da06
Update dependency @testing-library/dom to v8.19.0 ( #51151 )
...
* Update dependency @testing-library/dom to v8.19.0
* refresh lockfile
* fix unit tests
* Revert "fix unit tests"
This reverts commit eb40f3207a
.
* Revert "refresh lockfile"
This reverts commit c0cd5822da
.
* ensure a consistent version of @testing-library/dom
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-12-19 14:44:46 +00:00
juanicabanas
6f609dbced
PublicDashboards: Time range setting added ( #60487 )
...
Time range added for public dashboard:
- Enable/Disable switch added in public dashboard configuration.
- Time range picker shown in public dashboard for viewer user
2022-12-19 17:38:37 +03:00
Gareth Dawson
65f7b93e6b
Loki: Add format explanation to regex operations ( #60518 )
...
* change explain messages for regex operations
* update explain messages to use the more accurate RE2
2022-12-19 14:32:51 +00:00
KristianGrafana
da6f4067f7
Docs: add Grafana security hardening ( #58973 )
...
* Docs: add Grafana security hardening
* Apply suggestions from code review
Changed grammar and typos based on feedback.
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Move configure-security-hardening.md file to new directory to comply with Hugo.
* Linting with Prettier
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-12-19 08:31:07 -06:00
Sonia Aguilar
a812818457
Alerting: Show unknown badge instead of Error in group rule modal in case of Mimir unknown interval ( #60515 )
...
* Show unknown badge instead of Error in group rule modal in case of Mimir unknown interval
* Use red Badge with xclamation-circle icon in case of Error in ForBadge
* Fix typo
2022-12-19 15:22:08 +01:00
Giordano Ricci
785c857ec7
QueryHistory: prevent query history tests from failing if the suite is rerun ( #60462 )
...
remove all queries from query history after running suite
2022-12-19 14:21:00 +00:00
Ludovic Viaud
645262d4a2
Prometheus: Remove promQueryBuilder feature flag ( #60153 )
2022-12-19 14:52:06 +01:00
Erik Sundell
e6b5c2655a
Cloudwatch: Improve log group selector styling ( #60370 )
...
* add space between search field and result table
* add margin between checkbox and log group
* add space between result table and bottom buttons
* revert modal always open
* use secondary variant for cancel button
* fix spacing between selected log groups
2022-12-19 13:48:36 +01:00
Ludovic Viaud
4346a91dee
Prometheus: Remove timeSeriesQuery query type ( #60466 )
2022-12-19 13:16:30 +01:00
Gilles De Mey
1f41dd5df2
Docs: Remove beta mention for expression queries ( #60251 )
2022-12-19 13:09:08 +01:00
Gilles De Mey
68b044fb7c
RelativeTimeRangePicker: Don't respond to submit event when nested in a form element ( #60495 )
2022-12-19 13:08:33 +01:00
Will Browne
48b33ab521
Plugins: Unsigned chromium file should not invalidate signature for Renderer plugin ( #59104 )
...
* Plugins: Unsigned chromium file should not invalidate signature for Renderer plugin
* fix test
* re-work solution
2022-12-19 12:46:27 +01:00
Dimitris Sotirakis
02fbb1cd8f
Chore: Remove unused config fields ( #60393 )
...
Remove unused config fields
2022-12-19 13:08:43 +02:00
Ashley Harrison
bc3d1fdd2a
Command Palette: Correctly clear button styles when changing theme ( #60511 )
...
add topnav feature toggle to new theme created when using 'c t'
2022-12-19 10:59:28 +00:00
Armand Grillet
9941dfc2b6
Update the Alerting HA docs ( #60292 )
...
* Update the Alerting HA docs
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update HA introduction paragraph
* Apply prettier
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2022-12-19 11:49:42 +01:00
renovate[bot]
1b860a4074
Update dependency rc-cascader to v3.8.0 ( #60489 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 10:09:57 +00:00
renovate[bot]
76ce83be52
Update dependency prettier to v2.8.1 ( #60483 )
...
* Update dependency prettier to v2.8.1
* update prettier sdk
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-12-19 04:57:34 -05:00
Jack Baldry
97f01c0d1a
Apply linting advice from doc-validator tool ( #59606 )
...
* Apply linting advice from doc-validator tool
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prettier
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-19 09:49:44 +00:00
Jack Westbrook
f3f9697914
Storybook: Bump dark-mode addon to 2.0.4 and remove patch ( #60384 )
...
chore(storybook): bump dark-mode addon to 2.0.4 and remove patch
2022-12-19 10:43:21 +01:00
renovate[bot]
271dbbb552
Update dependency msw to v0.49.2 ( #60482 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 09:42:43 +00:00
Ashley Harrison
3c399ed943
Accessibility: Render gauge as a button when onClick is provided ( #60396 )
...
render gauge as a button when onClick is provided
2022-12-19 09:40:45 +00:00
Sofia Papagiannaki
b1ef5ab320
Nested Folders: Support listing nested folder children ( #58566 )
...
* Nested Folders: Support listing nested folder children
* Filter out subfolders with no permissions
* Apply suggestion from code review
2022-12-19 10:52:04 +02:00
Karl Persson
0743c4eb87
ServiceAccount: Rewrite the api test to use fakes ( #60441 )
...
* RBAC: Add fake for permissions service
* ServiceAccount: Rewrite create api tests
* ServiceAccount: Rewrite api delete tests
* ServiceAccount: Rewrite api test for RetriveServiceAccount
* ServiceAccount: Refactor UpdateServiceAccount api test
* ServiceAccount: Refactor CreateToken api test
* ServiceAccount: refactor delete token api tests
* ServiceAccount: rewrite list tokens api test
* Remove test helper that is not used any more
* ServiceAccount: remove unused test helpers
2022-12-19 09:27:52 +01:00