Grot (@grafanabot) and Kevin Minehart
d77a09e2d8
upgrade grabpl ( #49534 ) ( #49536 )
...
(cherry picked from commit 61101056b6 )
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2022-05-24 20:36:10 +02:00
Grot (@grafanabot) and Sriram
0704838c95
InfluxDB: Removing influxDB backend migration feature flag ( #49531 ) ( #49532 )
...
Removing the `influxdbBackendMigration` feature toggle default value.
(cherry picked from commit 27c26c30d1 )
Co-authored-by: Sriram <yesoreyeram@gmail.com >
2022-05-24 18:44:11 +01:00
Grot (@grafanabot) and Karl Persson
b8544741aa
AzureAD: Fallback to no groups if user does not have permission to query groups from azure ( #49506 ) ( #49522 )
...
* If GroupMemver.Read.All permissions is not configured return no groups
* fix log
(cherry picked from commit 624f8ef40d )
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2022-05-24 18:16:55 +02:00
Grot (@grafanabot) and Will Browne
4dd08e7da6
Alerting: Validate alert notification UID length ( #45546 ) ( #49513 )
...
* validate alert notification UID length
* simplify-ish
* remove unused field
* whoopsie
* delete newline
* remove check
* apply feedback
(cherry picked from commit 635fa4ab0f )
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2022-05-24 17:21:27 +02:00
Grot (@grafanabot) and Ashley Harrison
ba4c292f67
Fix escape in Modal/DashboardSettings + add some unit tests ( #49500 ) ( #49504 )
...
(cherry picked from commit 8166d7dc4d )
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-05-24 16:47:57 +02:00
Grot (@grafanabot)
992d6aeed4
"Release: Updated versions in package to 9.0.0-beta.1" ( #49488 )
2022-05-24 16:06:14 +02:00
Gilles De Mey
d1b8e51871
Alerting: Make alertmanager datasource stable ( #49485 ) ( #49491 )
...
(cherry picked from commit 86871807d2 )
2022-05-24 15:45:10 +02:00
Andres Martinez Gotor
b0300d56ac
AzureMonitor: Do not quote variables when a custom All variable option is used ( #49428 )
2022-05-24 11:29:24 +02:00
Joao Silva
71ffa5e5db
Chore: Converts SaveDashboardAsForm tests to RTL ( #49436 )
2022-05-24 10:17:40 +01:00
Kat Yang and Ida Furjesova
50c2b4682a
Chore: Rename integration tests ( #49438 )
...
* Chore: Rename integration tests
* Remove one Integration
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com >
2022-05-24 11:04:03 +02:00
Peter Holmberg
7bcc151ae6
Alerting: Add notification policy flow chart ( #49405 )
...
* setup component add images
* add name to theme
* add root route info box
* remove unsused
* styling
2022-05-24 10:57:26 +02:00
Konrad Lalik
3ad1263097
Alerting: Use RadioButtonList component to select alert condition ( #49422 )
2022-05-24 10:51:43 +02:00
Joe Blubaugh
a0193c248f
Alerting: Add entries to ngAlert changelog for screenshots. ( #49457 )
...
Notes the PRs that added the feature.
2022-05-24 16:50:07 +08:00
Alex Khomenko
8ad91e3f9e
SaveDashboardForm: Ensure saveVariables is boolean ( #49466 )
2022-05-24 10:44:20 +02:00
Joan López de la Franca Beltran and Tania
3e4b4dba46
Encryption: Enable envelope encryption by default ( #49301 )
...
* Encryption: Enable envelope encryption by default
* Stop relying on feature toggles from settings (deprecated)
* Database encryption docs (envelope encryption)
* Remove deprecated (and no longer used) FT
* Apply suggestions from code review
Co-authored-by: Tania <yalyna.ts@gmail.com >
2022-05-24 10:34:47 +02:00
Ryan McKinley
521b0202e2
Search: remove special playground page and replace the standard results ( #49442 )
2022-05-24 10:04:21 +02:00
kay delaney
7096bc65b1
VersionHistoryTable: Disable other checkboxes when two are selected ( #49098 )
2022-05-24 10:51:37 +03:00
kay delaney
a1b709626f
DashList: Handle long dashboard titles more gracefully ( #49460 )
2022-05-24 09:29:36 +02:00
Alex Khomenko
8fecf25d54
RolePicker: UI improvements ( #49397 )
...
* RolePicker: Adjust input and display widths
* RolePicker: Use forwardRef
* RolePicker: Apply input styles to roles display
2022-05-24 10:21:31 +03:00
Eric Leijonmarck
cbf71fbd7f
Serviceaccounts: Do not display service accounts assigned to team ( #48995 )
...
* Add IsServiceAccount to query
* test for excluding service accounts in query
* align test
* test update
* added logging
* should fix tests
* moved test to bottom
* add back setup function
* Remove IsServiceAccount from query
Instead use false for is_service_account
and when the time comes to implement service accounts
for team. we deal with it
* missed teamtest
* formatting
2022-05-24 16:52:39 +10:00
Vardan Torosyan
69e2ab3d0f
Codeowners update: Map auth services to the Grafana AuthNZ team ( #49421 )
2022-05-24 08:44:16 +02:00
Alexander Emelin
1e7e149ed6
search: close unused reader and writer on re-indexing ( #49458 )
2022-05-24 09:42:21 +03:00
Nathan Marrs
5eb20739c2
Canvas: Fix inconsistent element resizing UX ( #49450 )
2022-05-23 20:13:58 -07:00
Alexander Weaver
a92f85a87b
Alerting: Factor out shared code for working with configs in provisioning package ( #49419 )
...
* Factor out shared code for working with configs
* Refactor in notification policies and contact points
* Better file ordering
* Address feedback
2022-05-23 18:16:03 -05:00
Alexander Weaver
2ba4f7ed7d
Alerting: Attach image URLs to Google Chat notifications. ( #49445 )
...
* Add a test card to see what styles look like
* Add text and image cards
* Address feedback
2022-05-23 18:15:44 -05:00
Adela Almasan and nmarrs
b1ba0bc7b0
Canvas: Quick positioning ( #48992 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2022-05-23 15:31:39 -07:00
Alexander Weaver
d7c65d3323
Alerting: Attach image URLs or upload files to Discord notifications. ( #49439 )
...
* Images in discord
* Drop duplicated field initialization
* Fix tests
* Use the proper context
2022-05-23 17:28:16 -05:00
Ryan McKinley
33b2897552
Search: scroll to the top after a query changes ( #49447 )
2022-05-23 14:36:32 -07:00
Alexander Emelin
7411c81e7f
Search: use prefix search for queries exceeding ngram filter max length ( #49409 )
2022-05-23 14:33:56 -07:00
Christopher Moyer
7d0986fda5
updated alerts to alerting ( #49446 )
2022-05-23 16:05:40 -05:00
Yuriy Tseretyan
279f068cd5
use forward slashes in cue ctx ( #49440 )
...
because fstest.MapFS only recognizes forward slashes
2022-05-23 22:00:30 +02:00
Joey Tawadrous
d463c3157c
Tempo: NativeSearch code simplification and cleanup ( #49365 )
...
* Cleanup and show loading for service/span name
* Method rename
* Simplify logic for getting options
* Simplify logic for setting/getting value
* Move getTags to own async
* Update tests
* Promise all
* Update const name
2022-05-23 20:32:40 +01:00
Alexander Weaver
ac8951f689
Alerting: Add support for documenting which alerting APIs are stable ( #49018 )
...
* Support for documenting stable vs unstable alerting routes
* empty commit, restart drone
* Touch-up references in root makefile and drop trailing escape newline
* Rebase and regenerate
* Extend README with docs for this change
2022-05-23 14:08:27 -05:00
Andrej Ocenas
7cd034f33a
Loki: Cleanup some code for default editorMode ( #49431 )
2022-05-23 19:21:00 +02:00
Ezequiel Victorero
dfab100dc7
Chore: sanitize values before being logged from request headers ( #49245 )
...
* Chore: sanitize values being logged directly from request headers
2022-05-23 14:18:33 -03:00
Joao Silva
51bc1bad1b
Chore: Converts SaveDashboardForm tests to RTL ( #49434 )
2022-05-23 18:17:25 +01:00
Ryan McKinley
8af587e7ba
Search: support alpha + and enterprise sorting values ( #49362 )
2022-05-23 10:05:15 -07:00
Ryan McKinley
653c82cec4
Search: implement clear-selection and select all buttons ( #49363 )
2022-05-23 10:01:18 -07:00
Sriram
f9d1d8370f
Plugins: Fix Azure Devops plugin link and plugins list order ( #49394 )
...
* Plugins: Fix Azure Devops plugin link and plugins list order
* tests added for plugins sorting
2022-05-23 17:37:19 +01:00
Ryan McKinley and Alexander Emelin
9a59ccd644
Search: remove internal ID from bluge index ( #49205 )
...
Co-authored-by: Alexander Emelin <frvzmb@gmail.com >
2022-05-23 09:22:35 -07:00
Ashley Harrison
fe16680c6d
Notification history: Use Card instead of reusing alert ( #49418 )
...
* Use Card instead of reusing alert
* only need clearSelectedNotifications now
2022-05-23 16:48:17 +01:00
Ashley Harrison
ce86b4ebe7
Navigation: Show starred items in the NavBar ( #49219 )
...
* switch saved items to starred items
* hook up redux properly
* Better query + hook up DashList
* update initial state so it's never undefined
* update GetDashboard call
* use new star service
* add scroll + maxwidth to navbar hover menu, sort starred items alphabetically
* increase height, revert changes to CustomScrollbar
* ellipsis!
* update starred dashboard name in navtree
* sort after renaming
* limit to first 50 starred dashboards found
2022-05-23 16:45:46 +01:00
Kristin Laemmert
8c753999df
chore: replace artisanal FakeDashboardService with generated mock ( #49276 )
...
* chore: replace handmade FakeDashboardService with generated mock
Maintaining a handcrafted FakeDashboardService is not sustainable now that we are in the process of moving the dashboard-related functions out of sqlstore.
* remove dialect global variable
2022-05-23 11:14:27 -04:00
Joe Blubaugh
ccd160a75e
Alerting: Add image url or file attachment to email notifications. ( #49381 )
...
If an image token is present in an alert instance, the email notifier will attempt to find a public URL for the image token. If found, it will add that to the email as the `ImageLink` field. If only local file data is available, the notifier will attach the file to the outgoing email using the `EmbeddedImage` field.
2022-05-23 23:08:28 +08:00
Piotr Jamróz
5a3cd45f79
Query History: Enable new query history by default ( #49407 )
...
* Enable new Query History
* Update docs and sample.ini
2022-05-23 16:53:36 +02:00
3250bf6b2b
AccessControl: Add migration for seeding managed inherited permissions ( #49337 )
...
* AccessControl: Add migration for seeding managed inherited permissions
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* AccessControl: move to single file
* AccessControl: Add tests for managed permission migration
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* AccessControl: Ensure no duplicate insertion
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Remove commented code
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Add code migration constant
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Ensure DB is clean between tests
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Update pkg/services/sqlstore/migrations/accesscontrol/managed_permission_migrator.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2022-05-23 16:50:10 +02:00
Alex Khomenko
18727f0bf5
TeamGroupSync: Refactor tests to use RTL ( #49417 )
2022-05-23 16:45:36 +02:00
Joe Blubaugh
307e33614e
Alerting: Add image_urls to OpsGenie notification details. ( #49379 )
...
Adds an array of image_urls to the OpsGenie details field in a message, if image urls are available.
```json
{
"message": "Alert with Images!",
"details": {
"image_urls": ["http://www.example.com "]
}
}
```
2022-05-23 22:41:29 +08:00
Brian Gann
5fc5899462
Access Control: Add rolepicker when Fine Grained Access Control is enabled ( #48347 )
2022-05-23 16:13:55 +02:00
Sofia Papagiannaki
060af782df
Docs: Add deprecation notices for datasource endpoints ( #49411 )
...
* Update markdown
* Update swagger
2022-05-23 16:11:47 +02:00