grafana/pkg
Sofia Papagiannaki d89a8a3a82
Nested Folders: Fix /api/folders pagination (#79447)
* Nested Folders: Fix /api/folders pagination

We used to check access to the root folders after fetching them from the DB with pagination.
This fix splits logic for fetching folders in:
- fetching subfolders
- fetching root folders
and refactors the query for the latter so that is filters by folders with permissions

* Add tests

* Update benchmarks
2023-12-15 19:34:08 +02:00
..
api Nested Folders: Fix /api/folders pagination (#79447) 2023-12-15 19:34:08 +02:00
apis K8s: Add resource type helper to avoid so many hardcoded names (#79344) 2023-12-11 22:03:48 +02:00
build Re-add arm32 builds (#79496) 2023-12-15 16:56:22 +02:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Chore: Bump k8s dependencies to v0.29.0 (#79492) 2023-12-14 10:00:48 -05:00
codegen Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
components K8s: fix standalone command and add hack scripts (#79052) 2023-12-05 14:31:49 -08: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 SSE: Add utility methods for HysteresisCommand (#79157) 2023-12-11 22:40:31 +02:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Storage: Switch from tenant to namespace & remove GRN (#79250) 2023-12-11 12:26:05 -05:00
kinds Storage: raise errors when timestamps cannot be parsed (#79405) 2023-12-12 15:55:10 -05:00
kindsysreport Chore: Add app o11y viz as code owners for sparkline related stuff (#78310) 2023-11-17 14:02:52 +02:00
login/social Auth: Remove types from SSOSettings struct in SSO service (#79459) 2023-12-15 16:00:52 +02:00
middleware Frontend: Foundations for multi tenant frontend (#78815) 2023-12-05 08:34:22 +01: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: Make renderer service load renderer plugin (#77854) 2023-12-14 17:33:29 +01:00
registry K8s: Update OpenAPI post processing structures (#79553) 2023-12-15 07:53:35 -08:00
server Auth: Use SSO settings service to load social connectors + refactor (#79005) 2023-12-08 11:20:42 +01:00
services Nested Folders: Fix /api/folders pagination (#79447) 2023-12-15 19:34:08 +02:00
setting Chore: Configure SkipOrgRoleSync from OAuthInfo for OAuth connectors (#79443) 2023-12-15 10:58:08 +01:00
tests Nested Folders: Fix /api/folders pagination (#79447) 2023-12-15 19:34:08 +02:00
tsdb sql: use logging functionality from plugin-sdk (#79294) 2023-12-14 09:42:06 +01:00
util Chore: remove the entity kind registry (#79178) 2023-12-06 14:00:53 -08:00
web Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07: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.