grafana/pkg/services
Kristina f18a02149a
Correlations: Create paginated API (#65241)
* Add pagination params and apply to sql

* Create getCorrelationsResponse that returns metadata

* Set up pagination, change correlations fetch to only get source datasource correlations

* Move correlations from root to pane, only fetch correlations for one datasource when initialized or datasource is changed

* Fix tests

* Fix remaining tests

* Use functional component to handle state

* Remove unneeded mocks, fix tests

* Change perPage to limit

* Fix Go Tests

* Fix linter

* Remove parameter

* Account for mixed datasources

* Delete unused hook

* add source UID filter to API, start backing out front end hook changes

* add source IDs to API, use when loading or changing datasource

* Fix prettier

* Mock correlations response

* Get correlations for all datasources in mixed scenario

* Add documentation for new parameters

* Attempt to fix swagger

* Fix correlations page

* add swagger and openapi docs

* Add mocks to failing test

* Change API for consistency, remove extra hooks and unused function

* Add max to limit and re-gen api docs

* Move the page to the previous page if deleting all the rows on the page

* Only fetch if remove does not have value

* Change page to a reference hook

* Fix documentation, a test and some logic thinking page could be 0
2023-07-05 09:37:17 -05:00
..
accesscontrol RBAC: remove some IsDisabled checks (#69272) 2023-05-31 09:58:57 +01:00
alerting PublicDashboards: Audit table pagination (#69823) 2023-06-21 10:48:09 -03:00
annotations Annotations: Improve get tags query performance (#66182) 2023-04-18 13:27:40 +03:00
anonymous AnonymousService: Test tagging service (#64708) 2023-03-14 10:47:34 +01:00
apikey Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00
auth Auth: Respect cache control for JWKS in auth.jwt (#68872) 2023-05-23 12:29:10 +02:00
authn Auth: Remove Email Lookup from oauth integrations (#894) 2023-06-23 09:08:02 +02:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
contexthandler Auth: Use auth broker by default (#69620) 2023-06-07 08:57:41 +02:00
correlations Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
dashboardimport RBAC: Remove legacy ac from authorization middleware (#68898) 2023-05-24 09:49:42 +01:00
dashboards Fix: Change getExistingDashboardByTitleAndFolder to get dashboard by title, not slug (#70723) 2023-06-29 16:15:38 -04:00
dashboardsnapshots Snapshots: Add snapshot enable config (#61587) 2023-01-26 10:28:11 -03:00
dashboardversion API: Fix "Updated by" Column in dashboard versions table (#65351) 2023-03-30 17:31:53 +03:00
datasourceproxy Caching: Refactor enterprise query caching middleware to a wire service (#65616) 2023-04-12 12:30:33 -04:00
datasources Feat: Match allowed cookies with optional character (#71047) 2023-07-05 16:12:56 +02:00
encryption Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
featuremgmt Plugins: Add monitoring only mode to frontend sandbox (#70688) 2023-07-05 13:48:25 +02:00
folder Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
grpcserver ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
guardian Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
hooks chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap RBAC: Remove legacy ac from authorization middleware (#68898) 2023-05-24 09:49:42 +01:00
libraryelements PublicDashboards: Audit table pagination (#69823) 2023-06-21 10:48:09 -03:00
librarypanels RBAC: Update library element tests to use RBAC (#66782) 2023-04-20 12:24:41 +03:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live Plugins: Account for nil user when constructing plugin context (#69811) 2023-06-08 19:36:41 +03:00
login Auth: Support Gitlab OIDC scopes (#69890) 2023-06-14 15:38:16 +02:00
loginattempt Chore: Remove result field from loginattempt (#65117) 2023-03-22 21:25:29 +01:00
navtree Nav: Grafana Incident's sidebar navigation should be plural (#64553) 2023-06-26 18:53:45 +02:00
ngalert Alerting: Use unsafe.Slice for hashing a string during rule fingerprint calculation (#71000) 2023-06-30 14:58:23 -04:00
notifications Chore: Remove result field from notifications (#65170) 2023-03-28 13:44:15 +02:00
oauthserver SaveExternalService (OAuth) on plugin load (#69764) 2023-06-26 16:38:43 +02:00
oauthtoken Auth: Add request context to UserInfo calls (#70007) 2023-06-14 14:30:40 +02:00
org Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
playlist Kinds: Use apimachinery ObjectMeta for metadata (#68668) 2023-05-24 09:13:44 -07:00
plugindashboards Plugins: Add file store abstraction for handling plugin files (#65432) 2023-03-29 12:55:55 +02:00
pluginsintegration Chore: Update plugin schema with service registration info (#70692) 2023-06-27 08:47:25 +02:00
preference Chore: remove i18n toggle (#69389) 2023-06-02 09:24:40 +01:00
provisioning Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
publicdashboards PublicDashboards: Add validation on update (#70993) 2023-07-04 12:03:39 -03:00
query Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
queryhistory Query History: Remove migration (#67470) 2023-04-28 16:03:51 +01:00
quota Nested folders: Add alert rule counts and deletion to folder registry (#67259) 2023-06-02 16:38:02 +02:00
rendering Rendering: Experimental support to use JWTs as auth method (#60841) 2023-04-03 18:53:38 +02:00
screenshot Alerting: Fix a bug taking screenshots with Dashboard UID (#63220) 2023-02-09 15:23:01 -05:00
search Chore: Remove result field from search (#65583) 2023-03-30 11:28:12 +02:00
searchusers Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
searchV2 Instrumentation: Add support for instrumenting database queries (#66022) 2023-04-28 15:19:06 +02:00
secrets Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
serviceaccounts Service accounts: API key migration refactoring to parse as json object of the results (#69771) 2023-06-08 12:12:26 +02:00
shorturls Chore: Replace short UID generation with more standard UUIDs (#62731) 2023-02-06 20:44:37 -05:00
signingkeys AuthN: Embed an OAuth2 server for external service authentication (#68086) 2023-05-25 15:38:30 +02:00
sqlstore Alerting: Convert 'Both' type Prometheus queries to 'Range' in migration (#70781) 2023-06-28 14:02:57 -04:00
star API: Fix status code when starring already starred dashboard (#63478) 2023-05-11 11:37:36 +03:00
stats UsageStats: Add database age and driver (#66535) 2023-04-17 18:27:04 -07:00
store Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
supportbundles RBAC: remove some IsDisabled checks (#69272) 2023-05-31 09:58:57 +01:00
tag Annotations: Ignore unique constraint violations for tags (#65935) 2023-04-18 14:21:38 +02:00
team Kinds: Use apimachinery ObjectMeta for metadata (#68668) 2023-05-24 09:13:44 -07:00
temp_user Users: Enable case insensitive login by default (#66134) 2023-04-28 16:38:58 +01:00
updatechecker Plugins: Standardize Golang enum naming convention (#69449) 2023-06-08 12:21:19 +02:00
user Separate authn flow from analytics (#68327) 2023-05-15 18:38:54 +02:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00