Jo
36a19bfa83
AuthProxy: Allow disabling Auth Proxy cache ( #83755 )
...
* extract auth proxy settings
* simplify auth proxy methods
* add doc mentions
2024-03-01 11:31:06 +01:00
Marcus Efraimsson
6768c6c059
Chore: Remove public vars in setting package ( #81018 )
...
Removes the public variable setting.SecretKey plus some other ones.
Introduces some new functions for creating setting.Cfg.
2024-01-23 12:36:22 +01:00
Ieva
def1b05a93
RBAC: Clean up data source permissions after data source deletion ( #80654 )
...
* clean up data source permissions after data source deletion
* remove a comment
2024-01-17 09:49:33 +00:00
Bruno
58678f5879
Plugins: Add option to disable TLS in the socks proxy ( #79246 )
...
* Plugins: add option to disable TLS in the socks proxy
* fix allow_insecure docs
* upgrade github.com/grafana/grafana-plugin-sdk-go from v0.196.0 to v0.197.0
* fix conflicts
2023-12-14 12:16:32 -03:00
Ieva
9a3b2937aa
Data sources: Refactor logic for naming new data sources ( #78479 )
...
* move the name finding logic for new data sources from frontend to backend
* cleanup and fix test
* linting
* change the way the number after the ds type is incremented - keep incrementing it without adding more hyphens
* enterprise spec updates (unrelated to the PR)
2023-11-22 09:57:26 +00:00
Ryan McKinley
f69fd3726b
FeatureToggles: Add context and and an explicit global check ( #78081 )
2023-11-14 12:50:27 -08:00
Ieva
94fec65192
RBAC: introduce a data source admin role ( #75915 )
...
* introduce data source admin role and fix frontend check
* introduce fixed roles for data source creator and team reader
* add documentation
* undo an unintended change
2023-10-19 14:36:41 +01:00
Andres Martinez Gotor
1dd97301e5
Chore: Adapt GetDataSourcesByType to plugins with aliases ( #76637 )
2023-10-17 11:09:56 +02:00
Will Browne
9d92818cae
Plugins: Update PDC pattern from latest plugin SDK changes ( #76576 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
* bump dep
* go mod tidy
* bump SDK
2023-10-16 16:40:04 +02:00
Dan Cech
91cf4f0c1c
Revert "Plugins: Update PDC pattern from latest plugin SDK changes" ( #76565 )
...
Revert "Plugins: Update PDC pattern from latest plugin SDK changes (#76036 )"
This reverts commit 151f6d6216 .
2023-10-13 12:35:16 -04:00
Will Browne
151f6d6216
Plugins: Update PDC pattern from latest plugin SDK changes ( #76036 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
2023-10-13 14:42:15 +02:00
Serge Zaitsev
93cdc94a94
Chore: capitalise logs in other backend packages ( #74344 )
...
* capitalise logs in observability logs
* capitalise oss-bit-tent packages
* capitalise logs in aws-datasources
* capitalise logs for traces and profiling
* capitalise logs for partner datasources
* capitalise logs in plugins platform
* capitalise logs for observability metrics
2023-09-04 22:25:43 +02:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Ieva
6885b3d577
Chore: remove checks for whether RBAC is disabled ( #73812 )
...
* remove checks for whether access control is disabled, as it is always enabled now
* linting
2023-08-25 14:19:58 +01:00
Stephanie Hingtgen
2c949a6a33
Proxy: Set the proxy information in Grafana for Graphite ( #72777 )
2023-08-03 15:11:02 +03:00
Hugo Kiyodi Oshiro
a912c970e3
Provisioning: Fix overwrite SecureJSONData on provisioning ( #72395 )
...
* Overwrite SecureJSONData on provisioning
2023-07-27 11:11:43 +02:00
Kousik Mitra
60496fbae3
Chore: Return correct error for name taken and validation error on add/update datasource ( #70465 )
2023-07-17 16:27:19 +02:00
Jean-Philippe Quéméner
42cdec369d
Datasources: provide generic function to extract custom headers ( #66738 )
2023-04-19 17:04:30 +02:00
Serge Zaitsev
126c4a106e
Chore: Remove result field from remaining datasources queries ( #65054 )
...
remove result field from datasources
2023-03-20 19:18:21 +01:00
Stephanie Hingtgen
39a4634ae9
Plugins: Fix bug with copying grafanaData ( #64446 )
2023-03-08 11:21:01 -07:00
suntala
49b3027049
Chore: Remove Result field from datasources ( #63048 )
...
* Remove Result field from AddDataSourceCommand
* Remove DatasourcesPermissionFilterQuery Result
* Remove GetDataSourceQuery Result
* Remove GetDataSourcesByTypeQuery Result
* Remove GetDataSourcesQuery Result
* Remove GetDefaultDataSourceQuery Result
* Remove UpdateDataSourceCommand Result
2023-02-09 15:49:44 +01:00
idafurjes
23c27cffb3
Chore: Rename Id to ID in alerting models ( #62777 )
...
* Chore: Rename Id to ID in alerting models
* Add xorm tags for datasource
* Add xorm tag for uid
2023-02-02 17:22:43 +01:00
Yasir Ekinci
c41f97029e
Plugins: Fix circular reference in customOptions leading to MarshalJSON errors ( #62328 )
...
* Plugins: test ds.JsonData.MarshalJSON()
* CustomOptions: copy to avoid cyclic marshal
2023-01-31 12:35:36 +01: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
Sven Grossmann
386faf5958
OpenSearch: Use aoss servicename if OpenSearch is configured as serverless ( #60344 )
...
* Use `aoss` if opensearch is configured as `serverless`
2022-12-14 20:22:26 +01:00
Sofia Papagiannaki
9855e74b92
Chore: Refactor quota service ( #58643 )
...
Chore: Refactor quota service (#57586 )
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-14 21:08:10 +02:00
Sofia Papagiannaki
96cdf77995
Revert "Chore: Refactor quota service ( #57586 )" ( #58394 )
...
This reverts commit 326ea86a57 .
2022-11-08 11:52:07 +02:00
Sofia Papagiannaki
326ea86a57
Chore: Refactor quota service ( #57586 )
...
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-08 10:25:34 +02:00
Kristin Laemmert
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
Ieva
6d5bdf12e8
resolve merge conflicts ( #55503 )
2022-09-20 13:31:08 -04:00
ying-jeanne
6227528ea0
Chore: SQL Store Split of datasource ( #54262 )
...
* refectory datasource
* fix linter
2022-08-26 11:03:38 -04:00