Commit Graph

58154 Commits

Author SHA1 Message Date
Leon Sorokin 7e3efb3df2
TableNG: Restructure panel implementation swapping (#102956) 2025-03-27 14:15:06 -05:00
Scott Lepper 488581fcc1
fix indent (#103018) 2025-03-27 14:44:57 -04:00
Stephanie Hingtgen a262da532e
Navtree: Switch to search (#103016) 2025-03-27 13:36:56 -05:00
Scott Lepper 671fd6e138
Search e2e - limit paths that will trigger (#103015)
* Search - e2e - set paths and fix push branch
2025-03-27 14:09:29 -04:00
Stephanie Hingtgen da2743dbef
Dashboards: Optimize get shared with me (#103013) 2025-03-27 19:52:31 +02:00
Mustafa Sencer Özcan fe1a72e41b
fix(unified-storage): unlist the deleted resource's versions (#102588) 2025-03-27 18:34:37 +01:00
Yuri Tseretyan d10fdc0f02
Alerting: ListDeletedRules to return rules sorted by date (#102945)
---------

Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2025-03-27 19:31:08 +02:00
Ihor Yeromin a6edd1765d
TableNG: Filter ui/ux improvements (#102985)
* feat(table-ng): filter ui/ux improvements
2025-03-27 18:27:58 +01:00
Torkel Ödegaard 4d61022c8c
Dashbord: Adding elements via buttons in canvas v2 (#102806) 2025-03-27 18:20:42 +01:00
Scott Lepper e921c133c5
Search e2e- round 2 (#103010)
* run async
2025-03-27 13:14:55 -04:00
Syerikjan Kh 15e7c3c439
Fix: Change secure_json_data column data type to medium text only MYSQL (#102557)
fix: change secure_json_data type to medium text only MYSQL
2025-03-27 12:59:07 -04:00
Emre Yazıcı 7aa71aa734
Tracing: chore make insecure option configurable (#99236)
* Tracing: chore: make insecure option configurable

In case of insecure set to false, default system cert pool will be used to create otlpgrpc client.

* test: add tracing/insecure config checks

This is to verify whether insecure configuration is properly parsed.

* chore: update configura Grafana docs with new setting

* chore: also update comment in the ini files

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-03-27 12:37:23 -04:00
Oscar Kilhed 38c96c4c7d
Dynamic dashboards: Refactor serializing and deserializing layout managers to simplify (#103008)
Refactor serializing and deserializing layout managers to simplify
2025-03-27 17:25:53 +01:00
Mariell Hoversholm 69803300f1
Provisioning: Complete rename of jobs (#102979)
Fixes: https://github.com/grafana/git-ui-sync-project/issues/164
2025-03-27 17:06:44 +01:00
Peter Štibraný 57cc4f101d
spanner: Fix insert or update in anon_device when running on Spanner. (#102991)
Fix insert or update in anon_device when running on Spanner.
2025-03-27 16:58:27 +01:00
Andreas Christou 157edf92a0
Azure: Mark Azure Prometheus exemplars as GA and enable by default (#100595)
* Mark Azure Prom exemplars as GA and enable by default

* make gen-feature-toggles
2025-03-27 10:54:39 -05:00
Torkel Ödegaard 5a916db4de
Dashboard: Scroll element into view when selecting from outline (#102966)
* Dashboard: Scroll element into view when selecting from outline

* fix import

* Switch to tab when selected via outline

* Update

---------

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2025-03-27 16:48:05 +01:00
Vardan Torosyan 73e0db452b
Docs: Add a section to clarify how sessions are handled with SSO (#102694)
* Docs: Add a section to clarify how sessions are handled with SSO

* Add a link to SAML SLO setup
2025-03-27 16:40:57 +01:00
Ezequiel Victorero 6c2794bf3a
Docs: Update public dashboards limitations (#102999) 2025-03-27 12:40:18 -03:00
Fayzal Ghantiwala 68d8810ecb
Alerting: API to convert submitted Prometheus rules to GMA (#102231)
* placeholder commit

* Complete function in api_convert_prometheus.go

* MVP before extensive testing

* Cleanup

* Updated tests

* cleanup

* Fix random logs and lint

* Remove comment

* Fix errors after rebase

* Update test

* Update swagger

* swagger

* Refactor to accept groups in body

* Fix auth tests and some cleanup

* Some cleanup before refactoring

* Remove unnecessary fields

* Also refactor RouteConvertPrometheusPostRuleGroup

* Remove unused code

* Rebase + cleanup

* Update authorization_test

* address comments

* Regen swagger files

* Remove namespace and group filters

* Final comments
2025-03-27 15:30:11 +00:00
Torkel Ödegaard d7be68ab3c
Dashboard: Only auto focus new objects (#102931)
* Dashboard: Only auto focus new objects

* fix outline issue

* Also set isNew when adding row below/above and tab before/after

---------

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-03-27 16:16:30 +01:00
Zoltán Bedi d3220fc44f
Chore: Remove version specification from Docker Compose header in devenv (#102803) 2025-03-27 15:57:46 +01:00
Zoltán Bedi b2ab99c10d
SQL: Fix builder crashes when any in selected (#102871) 2025-03-27 15:56:58 +01:00
Mariell Hoversholm d0d7078953
App Platform: Remove mutable globals (#102962)
* App Platform: Remove mutable globals

* chore: clarify why this exists

* fix: support multi-tenant mode

* refactor: call builder providers directly

* CI: Force re-build
2025-03-27 15:46:09 +01:00
Torkel Ödegaard 031a047565
OptionCategory: Use text.secondary for closed categories (#102925)
* OptionCategory: Design update

* Update
2025-03-27 15:41:16 +01:00
Sonia Aguilar f9471ac10b
Alerting: Recover deleted alert rules (#101869)
* add column guid to alert rule table and rule_guid to rule version table

+ populate the new field with UUID

* update storage and domain models

* patch GUID

* ignore GUID in fingerprint tests

* get alert rule versions by GUID

* update rule delete to reset uid in history instead of deleting rows

* add test

* Update delete rule to require UserUID, remove all versions and create "delete" version

that holds information about who and when deleted the rule

* update usages of the delete method

* add list deleted rules to store

* list api to support deleted query parameter

* add list deleted rules to store

^ Conflicts:
^	pkg/services/ngalert/store/alert_rule_test.go

* list api to support deleted query parameter

* Restore deleted rules

* fix recovering manually recording rules

* update role control for the trash route

* add alertingRuleRecoverDeleted feature toggle enabled by default

* fix access control for trash menu item in the navtree

* Add alertingRuleRecoverDeleted feature toggle,
add Delete permanently alert rule menu option

* hide remove permanently functionality in the UI until we have the api available for it

* discard wrong changes after merging

* Reverted changes in pkg/apis/dashboard_manifest.go after fixing conflicts

* Reverted changes in go.work.sum after fixing conflicts

* Reverted changes in pkg/apis/dashboard_manifest.go after fixing conflicts

* Reverted changes in pkg/services/ngalert/models/alert_rule.go after fixing conflicts

* Reverted changes in pkg/apis/dashboard_manifest.go after fixing conflicts

* restore delete permanently and add the queryparam for it

* update snapshots

* fix translations

* protect trash route by the feature toggles

* use the new rulerRuleType for checks

* revert ability to delete permanently and alert rule from the ui

* remove unnecessary update after reverting

* fix ff

* add tracking

* use recently deleted instead of trash

* create isRecoverDeletedRulesEnabled for checking ffs

* address pr feedback 1

* include alert rule uid in getRowId

* use RulerGrafanaRulesConfigDTO for deleted rules response

* use isLoading in the AlertingPageWrapper

* fix wrong check for recording rules type

* add test for restoring manually through the alert rule form

* add test for restoring deleted rule

* use importAlertingComponent

* udpate mock

* address pr feedback

* update translations

* address feedback

* address feedback 2

* address feedback 3

* address feedback 4

* move transformation of the response to the endpoint

* fix typo

* refactor grafanaRuleDtoToFormValues

* update translations

* use guid for identifying rows

* prettier

* use ONLY the guid for identifying rows

* Add provides/invalidates tags for deleted rules

---------

Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-03-27 16:39:26 +02:00
Scott Lepper 2489e423d0
Search e2e (#102827)
* search e2e
* add github action
* run test for every ini file in test folder
2025-03-27 10:38:03 -04:00
Josh Hunt cd53070a00
Update some translation markup on feedback from translators (#102702) 2025-03-27 14:11:26 +00:00
Mariell Hoversholm 4cd1315700
App Platform(Provisioning): Listen to context cancel ASAP (#102957)
We should not write after the context is cancelled. This causes tests to fail as they are trying to clean up. To try to
accommodate this, we'll need to listen to the context in any loop where we don't immediately get other instructions from
e.g. trying to do an HTTP request.
2025-03-27 15:11:07 +01:00
Matej Kubinec 1a87f8e5bf
Navigation: Fix bookmarks when Grafana is running under subpath (#102679)
* Navigation: Append subpath when searching for bookmarks menu item

* Navigation: Find bookmark item by id
2025-03-27 14:00:15 +00:00
Christopher Moyer f43d39f8ad
docs/adds grot guide link (#102635)
* adds grot guide link

* updates title and text

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-03-27 08:54:20 -05:00
Bogdan Matei 83bf06d435
Dynamic Dashboard: Drag and drop between grids, rows and tabs (#102714) 2025-03-27 15:52:26 +02:00
Yulia Shanyrova b06556914c
Plugins: Change Updated at label to Latest release date at plugin details panel (#102965)
* change Updated at label to Latest release date

* fix the tests
2025-03-27 14:51:54 +01:00
Eric Leijonmarck dce180acf3
LBAC for data sources: PublicPreview and self serve enablement (#102276)
* Publicpreview and self serve of lbac for mimir

* update from review
2025-03-27 15:44:29 +02:00
Josh Hunt 3a9370083f
I18n: Add 13 new languages for translations (#102971)
I18n: Remove extraLanguages toggle
2025-03-27 12:58:52 +00:00
Hugo Kiyodi Oshiro 69d8419109
Plugins: Remove userStorageAPI feature toggle (#102915) 2025-03-27 13:40:00 +01:00
Galen Kistler 684b37556f
Logs Panel: Add ISO8601 date to log download files (#102932)
* feat: add ISO8601 date to log download files
2025-03-27 07:11:16 -05:00
Andres Martinez Gotor 3121633eba
Advisor: Mark unprocessed checks as errored (#102888) 2025-03-27 12:50:24 +01:00
Matheus Macabu 8c96c0372a
Chore: Run yarn generate-apis (#102974) 2025-03-27 12:49:59 +01:00
Sam Jewell c9e929e2e6
SQL Expressions: Allow more MySQL AST node-types (#102973)
* SQL Expressions: Add Null-literal node

* Retain some order in the code - put NullVal with BoolVal

* Add support for `IN` keyword

* Add GROUP_CONCAT keyword

* Add COLLATE keyword

From Claude:

The test case demonstrates a simple use of COLLATE with a string
literal, but in real MySQL queries, COLLATE is often used in more
complex scenarios like:

1. String comparisons:
   `SELECT * FROM table WHERE name COLLATE utf8mb4_bin = 'John'`
2. Sorting:
   `SELECT * FROM table ORDER BY name COLLATE utf8mb4_unicode_ci`
3. JOINs:
   `SELECT * FROM table1 JOIN table2 ON table1.name COLLATE utf8mb4_bin = table2.name`

The COLLATE clause is particularly useful when you need case-sensitive
comparisons (utf8mb4_bin) or specific language-aware sorting rules.
2025-03-27 11:32:48 +00:00
Mariell Hoversholm e1e1d3fd9f
Fix: Prints should always include new lines (#102795)
* CI: Allow Bench conversion to fail

We shouldn't mark PRs and commits as X if they fail to convert logs with Bench.

* Fix: Prints should always include new lines

* fix: remove unused import
2025-03-27 12:27:53 +01:00
Oscar Kilhed 9094c73e33
Chore: Rename responsive grid -> AutoGrid (#102959)
* Rename ResponsiveGrid -> AutoGrid in schema

* Rename responsive grid in code

* fix accidental removal of generation

* fix i18n

* fix backend conversion

* run ./hack/update-codegen.sh
2025-03-27 12:16:47 +01:00
Ashley Harrison dc5badd9b2
Internationalisation: More automatic markup (#102792)
* more automatic i18n markup

* better labels

* little bit of tidy up

* fix unit tests
2025-03-27 10:12:25 +00:00
Roberto Jiménez Sánchez b2d9b3abe6
Remote provisioning: use client discovery for sync job (#102885)
* Use client discovery for folders and dashboards synchronization

* Remove unused dashboards client

* Add folders import again
2025-03-27 11:07:06 +01:00
Eric Leijonmarck e216c2f29d
Anonymous: Enforce org role Viewer setting (#102070)
* Anon: Remove org role setting

* remove from ini

* remove setting from documentation
2025-03-27 09:10:30 +00:00
colin-stuart 9ca1d8bca7
Tests: Add delete user mock field to fake auth info service (#102947) 2025-03-27 09:45:31 +01:00
Jack Westbrook 6822805c32
Grafana Runtime: Use package.json exports for internal code (#102100)
* refactor(frontend): update runtime import paths for grafana/runtime/src -> grafana/runtime

* feat(runtime): introduce internal api entrypoint and exports property

* refactor(frontend): update runtime imports to use internal entrypoint

* chore(betterer): update results file

* refactor(bookmarks): update runtime/unstable import

* chore(betterer): update results file

* test(frontend): fix failing tests due to mocking nested runtime imports

* test(datasourcesrv): fix failing tests due to mocks

* chore(alerting): clean up redundant import

* fix(packages): fix default require export pointing to types declaration file

* docs(packages): update readme related to exports

* chore(internationalization): fix import paths

* chore(betterer): update results file
2025-03-27 08:59:57 +01:00
Ihor Yeromin f005613db7
Table: Add inspect cell (#102927)
feat(table-ng): inspect cell
2025-03-27 07:06:32 +01:00
grafana-pr-automation[bot] 87cb440a9a
I18n: Download translations from Crowdin (#102953)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-27 02:30:36 +02:00
Haris Rozajac 960c13c1e5
K8S Dashboards: Prevent duplicate dashboards when updating an existing dashboard (#102835)
* use metadata for k8s v1

* handle version and uid update in the api layer

* add test

* cleanup
2025-03-26 16:54:55 -06:00