grafana/pkg
idafurjes 2532047e7a
Add FolderUID for library elements (#79572)
* Add FolderUID in missing places for libraryelements

* Add migration for FolderUID in library elements table

* Add Folder UIDs tolibrary panels

* Adjust dashboard import with folder uid

* Fix lint

* Rename back FolderUID to UID

* Remove default

* Check if folderUID is nil

* Add unique indes on org_id,folder_uid,name and kind

* Update pkg/services/libraryelements/database.go

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* Fix folder integration test, with unique index on library elements

* Make folder uids nullable and rewrite migration query

* Use dashboard uid instead of folder_uid

* Adjust test

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2024-03-01 10:16:33 +01:00
..
api Add FolderUID for library elements (#79572) 2024-03-01 10:16:33 +01:00
apimachinery K8s: Add apimachinery and apiserver packages (#83190) 2024-02-23 15:15:43 -05:00
apis K8s: Update codegen to support new packages (#83347) 2024-02-23 16:36:23 -08:00
apiserver K8s: Add apimachinery and apiserver packages (#83190) 2024-02-23 15:15:43 -05:00
build Grafana Build: fix release process not publishing latest storybook (#81412) 2024-01-26 15:22:05 -07:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Teams: Fix missing context in team service (#83327) 2024-02-27 11:10:54 +01:00
codegen Schemas: Restore spec core go generation (#83594) 2024-02-29 10:20:28 +01:00
components Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
cuectx Perf: Disable core kind registry (#78568) 2023-11-28 09:09:54 +01:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Expressions: Sql expressions with Duckdb (#81666) 2024-02-27 16:16:00 -05:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
generated K8s: update hack codegen script (#81216) 2024-01-25 12:01:09 -08:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
kinds Kinds: Generate k8 resources without use kindys/thema (#83310) 2024-02-26 10:18:19 +01:00
login/social Chore: Query oauth info from a new instance (#83229) 2024-02-29 16:48:32 +01:00
middleware Grafana: Replace magic number with a constant variable in response status (#80132) 2024-02-27 18:39:51 +02:00
mocks/mock_gcsifaces Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
modules Storage: Unified Storage based on Entity API (#71977) 2023-12-06 15:21:21 -05:00
plugins Plugins: Refactor plugin config into separate env var and request scoped services (#83261) 2024-02-27 12:38:02 +01:00
registry K8s: add a remote services file config option to specify aggregation config (#83646) 2024-02-29 17:29:05 -08:00
server Restructure cloudmigration service (#83211) 2024-02-26 14:52:16 +01:00
services Add FolderUID for library elements (#79572) 2024-03-01 10:16:33 +01:00
setting Alerting: Deprecate max_annotations_to_keep and max_annotation_age in [alerting] configuration section (#83266) 2024-02-26 17:04:27 -05:00
tests Chore: fix apiserver integration tests (#83724) 2024-02-29 14:58:49 -08:00
tsdb CloudWatch: Remove unnecessary sortDimensions function (#83450) 2024-02-29 08:54:37 -08:00
util Chore: Add go workspace (#83191) 2024-02-23 08:54:24 -05:00
web Image Rendering: Add settings for default width, height and scale (#82040) 2024-02-26 13:27:34 +01:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.