Kristin Laemmert
6e9eb0d931
chore: move plugins models into pluginsettings svc ( #61944 )
2023-01-23 13:56:20 -05:00
sam boyer
48b620231e
Kindsys: Unique names for composable kind TS types ( #61928 )
...
* Kindsys: Unique names for composable kind TS types
* Update all TS imports
2023-01-23 18:03:44 +00:00
Kristin Laemmert
857649e30b
chore: move models/licensing into licensing service ( #61878 )
2023-01-23 11:53:43 -05:00
Denis Limarev
812c90ec69
Perfomance: Add preallocation for some slices ( #61632 )
2023-01-23 17:44:27 +01:00
Jo
1037ef28a9
SupportBundles: Access control guards ( #61914 )
...
* rename routes and fix access control for support bundles
* AccessControl: Hide menu if not authorized
* AccessControl: Add AC guards for create and delete
* lint
2023-01-23 16:23:20 +00:00
Sven Grossmann
c5610450b2
Elasticsearch: Fix failing requests when using SigV4 ( #61923 )
...
fix setting of `es` servicename
2023-01-23 16:43:55 +01:00
Joan López de la Franca Beltran
afef0c926c
Loki: Push support for multi-tenancy mode ( #60866 )
...
* Loki: Add multitenancy support for the HTTP client
* Loki: Support to push with multitenancy mode
* Apply feedback suggestions
2023-01-23 16:24:22 +01:00
sam boyer
8ddedf475b
Kindsys: Remove reference to DecoderCompactor ( #61922 )
2023-01-23 14:44:24 +00:00
Selene
1e5eae5fca
Chore: Remove DecoderCompactor() ( #61706 )
...
* Remove ApplyFunc and set NoOptionalPointers to true
* Update go mod
2023-01-23 09:00:34 -05:00
sam boyer
f62f3cb0e9
Kindsys: Generate plugin Go types under a kinds/ dir ( #61899 )
...
Kindsys: Generate plugin Go types under kinds/
2023-01-23 08:56:00 -05:00
Kristin Laemmert
40feee0d17
chore: move alert-related models ( #61716 )
...
* chore: move alert notification models into the alerting service (alerting/models)
2023-01-23 08:19:25 -05:00
Joan López de la Franca Beltran
2b0de82aa9
SQLStore: Add test for nested transactions events ( #60500 )
...
* SQLStore: Add test for nested transactions events
* Replace fmt.Print* with t.Log*
* Add different test cases
2023-01-23 14:17:56 +01:00
Sofia Papagiannaki
c7a7ebd3e0
Chore: Drop search service dependency from folder service ( #61789 )
...
* Chore: Drop search service dependency from folder service
2023-01-23 14:09:09 +02:00
Gábor Farkas
bedd0b311a
elastic: improve error-messages, first step, tests only ( #61847 )
2023-01-23 12:46:52 +01:00
Will Browne
59ef144e9e
Plugins: Add file permission error check when attempting to verify plugin signature ( #61860 )
...
add permission err check
2023-01-23 12:01:10 +01:00
Karl Persson
50608db59a
AuthN: Add interface and function to operate on clients that supports redirects ( #61905 )
2023-01-23 11:54:38 +01:00
Horst Gutmann
e32cd6d4ff
CI: Add artifacts npm commands from grabpl ( #61908 )
2023-01-23 11:32:51 +01:00
gotjosh
0be920e61c
Alerting: Remove unused code after importing from grafana/alerting ( #61869 )
...
* Alerting: Remove unused code after importing from grafana/alerting
2023-01-23 10:30:10 +00:00
Torkel Ödegaard
97fc6c4eb4
Apps: Use plugin description as nav node subtitle ( #61549 )
2023-01-23 11:02:05 +01:00
Karl Persson
0942e0a815
RBAC: Rewrite data source api tests ( #61783 )
...
RBAC: Rewrite datasource rbac api tests
2023-01-23 10:54:29 +01:00
Tania
5f93e67419
Codegen: Generate docs for composable kinds ( #61719 )
...
* Generate docs for composable kinds
* Fix getting the kind schema
* Generate composable kinds docs
* Add disclaimer to the generated docs
* Change docs disclaimer
2023-01-22 18:58:49 -05:00
Ryan McKinley
624e5dbed2
EntityAPI: Save nested summary info in the SQL database ( #61732 )
2023-01-21 00:00:17 +00:00
Kristin Laemmert
cd08f2575a
chore: move jwt models into auth/jwt ( #61862 )
...
* chore: move jwt models into auth/jwt
2023-01-20 13:11:06 -05:00
Kyle Brandt
5bb38293d2
SSE/Prom: Undo empty frame change that triggers 500s in SSE ( #61871 )
...
added in https://github.com/grafana/grafana/pull/61643
2023-01-20 17:32:14 +00:00
Jo
7a9793ec0e
SupportBundles: Fix collector typos and change defaults ( #61850 )
...
fix collector typos and change defaults
2023-01-20 16:33:29 +00:00
Selene
c1251311d0
Chore: Fix cue imports when we don't use an alias ( #61795 )
...
Fix cue imports when we don't use an alias
2023-01-20 17:04:44 +01:00
Andres Martinez Gotor
b1efd911c1
AzureMonitor: Fix feature flag ( #61863 )
2023-01-20 15:29:23 +00:00
Yuri Tseretyan
c0913ce718
SSE: Fix math expression to support NoData results ( #61721 )
...
* update perFloat to support NoData
* update union to correctly handle no-data
2023-01-20 09:53:03 -05:00
idafurjes
68445a7c77
Chore: Remove dashboard ACL from models ( #61749 )
...
* Remove dashboard ACL from models
* Remove unused comment
2023-01-20 14:58:47 +01:00
Andres Martinez Gotor
d4e0e75c0c
Azure Monitor: Fix frame display name with multiple resources ( #61750 )
2023-01-20 12:20:01 +01:00
Ruud van der Weijde
b44df6c8d1
ElasticSearch: Improve ES error handling message ( #61471 )
...
Look for 'caused_by.reason' in ES error response
When the ES response does not contain `reason` or `root_cause[0].reason`
is empty, there is no information for the user to know what is going
wrong.
An example of the error message after this change:
```
Failed to evaluate queries and expressions: failed to execute query A: Trying to create too many buckets. Must be less than or equal to: [65536] but this number of buckets was exceeded. This limit can be set by changing the [search.max_buckets] cluster level setting.
```
Related to https://github.com/grafana/grafana/issues/61246
2023-01-20 11:46:31 +01:00
sam boyer
3b3059c9ce
Kindsys: Unify plugins, pfs with kind framework ( #61192 )
...
* New pfs impl
* Reached codegen parity with old system
* Update all models.cue inputs
* Rename all models.cue files
* Remove unused prefixfs
* Changes Queries->DataQuery schema interface
* Recodegen
* All tests passing, nearly good now
* Add SchemaInterface to kindsys props
* Add pascal name deriver
* Relocate plugin cue files again
* Clarify use of injected fields
* Remove unnecessary aliasing
* Move DataQuery into mudball
* Allow forcing ExpandReferences on go type generation
* Move DataQuery def into kindsys, add generator to copy it to common
* Fix copy generator to replace package name correctly
* Fix duplicate type, test failure
* Fix linting issues
2023-01-20 09:41:35 +00:00
Jo and Ieva
caae4fd034
SupportBundles: Add config enablement ( #61776 )
...
* wip
* implement role middleware drop
* remove not implement feature
* change grants based on config
* Update pkg/services/supportbundles/supportbundlesimpl/models.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2023-01-20 08:59:15 +00:00
gotjosh
511dab3b4b
Update grafana/alerting to the latest main ( #61810 )
...
* Update `grafana/alerting` to the latest main
Also updates prometheus-alertmanager since we use that one directly for some structs.
2023-01-19 20:44:49 +00:00
Jo
e2ec219f6a
SecretScan: Remove placeholder image and polish errors ( #61785 )
...
* remove placeholder image
* improve http client options
* add http clients options for webhook notifier
* ensure http is only used in dev mode
* cleanup errors
2023-01-19 18:33:27 +01:00
idafurjes
8cbcdf1c26
Remove live.go from models ( #61742 )
...
* Remove live.go from models
* Change Id to ID
* Add xorm tags
2023-01-19 18:10:40 +01:00
Sofia Papagiannaki
c104cc7020
Chore: Split folder store and dashboard store interfaces ( #61655 )
...
* update folder store mock
* Split folder store and dashboard store interfaces
2023-01-19 18:38:07 +02:00
Stephanie Hingtgen
3b718a3e8f
Plugins: enable the plugin sdk to get the json data for all datasources ( #61729 )
2023-01-19 08:49:45 -07:00
Andrej Ocenas
d8273eeb6b
Parca: Use client dependency from buf.dev instead of generated sources ( #60969 )
2023-01-19 16:26:00 +01:00
linoman
56c2755b3b
Fix JWT claims request ( #61650 )
...
* Fix JWT claims request
* Add test scenarios for missing config options
2023-01-19 16:03:09 +01:00
Alexander Zobnin
60ef88c918
SAML: Support auto login ( #61685 )
...
* SAML: Support auto login
* Add individual auto_login option for each OAuth provider
* Docs: Describe new auto_login option
* Minor refactor
2023-01-19 15:53:02 +01:00
Ieva
06350ed887
RBAC: remove the usage of access control mock from preference tests ( #61709 )
...
remove the usage of access control mock from preference tests
2023-01-19 14:43:00 +00:00
Karl Persson
c5c34ed95e
RBAC: Rewrite provisioning rbac tests ( #61752 )
...
* RBAC: Rewrite rbac provisioning api tests
2023-01-19 13:49:57 +01:00
Karl Persson
f38e2856d8
RBAC: Rewrite admin api test setup to not use mocked access control ( #61741 )
...
* RBAC: Rewrite admin api test setup to not use mocked access control
2023-01-19 11:36:44 +01:00
Karl Persson
f5397a7c31
RBAC: Rewrite ldap rbac tests ( #61743 )
2023-01-19 11:09:26 +01:00
Alexander Weaver
c10713ea76
Alerting: Create query interface for state history along with annotation-based implementation ( #61646 )
2023-01-19 10:45:31 +01:00
idafurjes
cacc55ba06
Chore: Remove live from models ( #61711 )
2023-01-19 10:03:14 +01:00
Eric Leijonmarck and Christopher Moyer
0d42edddbf
Auth: Add skip_org_role_sync setting to OAuth integration Google ( #61572 )
...
* WIP
* Add: skip_org_role_sync for Google OAuth
- add setting for frontend
- add read of config
- add config to sample and default
* add: docs
* spelling
* Update pkg/login/social/social.go
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* removed unnessecary line
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-01-19 09:54:22 +01:00
ismail simsek
29c8ce12a0
Prometheus: Fix handling errors in streaming client ( #61643 )
...
* Return errors from data parsing
* Better error handling
* Fix the tests
* When there is no frame add empty frame to get metadata attached to it
* Fix tests
* Update testdata
2023-01-18 22:30:15 +01:00
Yuri Tseretyan
2c46f46d37
Alerting: Rule evaluator to get cached data source info ( #61305 )
...
do not skip cache when get data source info
2023-01-18 14:25:11 -05:00