idafurjes
529e6c379f
Chore: Remove Result field from dashboard snapshot mode ( #62089 )
...
Chore: Remove Result field from dashboard snapshot mode;
2023-01-25 15:09:44 +01:00
Kyle Brandt
13de1afcbe
API: Change how Cache-Control and related headers are set ( #62021 )
...
- change Cache-Control from no-cache to no-store
- do not set (and remove if set) older Pragma/Expires
2023-01-25 09:09:27 -05:00
Timur Olzhabayev
0d7e303809
Chore: Keeping the list of plugin executable complete ( #60840 )
...
* Keeping the list of executable complete
* Update pkg/plugins/storage/fs.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2023-01-25 14:07:59 +00:00
Alexa V
85bf098fdb
Dashboard schema: Review and mature fiscalYearStartMonth property ( #62105 )
2023-01-25 13:28:13 +00:00
Ben Sully
bd4e3f0d16
API: Correctly use new grafana_com.api_url setting in /api/gnet proxy ( #60893 )
...
During the review of the initial PR adding this (#59506 ) I removed
a new global variable from the setting package, but forgot to update
the reference to the new setting, so the API URL wasn't actually
being used. This PR updates the proxy endpoint to use the API
URL correctly.
Aside: I'm not a huge fan of how the error is being ignored when parsing
the URL, but I think that should be addressed in a separate PR if anyone
has a suggestion for how we should handle it. (Should we check that the
URL is valid when parsing config?)
2023-01-25 15:23:18 +02:00
Eric Leijonmarck
143ee0c49f
Auth: Add skip_org_role_sync to GitLab OAuth ( #62055 )
...
* Auth: Add skip_org_role_sync to GitLab OAuth
- add: tests
- docs added
* Update pkg/login/social/gitlab_oauth.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
* fix: for import
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-01-25 13:39:54 +01:00
Dominik Prokop
5f6616ff3e
Dashboard schema: Review and mature graphTooltip property ( #62082 )
...
* Review and mature graphTooltip property of Dashboard kind
* Review
2023-01-25 03:40:53 -08:00
Will Browne
eb1fed7929
Plugins: Add plugin resource tests ( #62014 )
...
* remove plugin context from response
* remove integration test indicator
2023-01-25 10:45:52 +00:00
idafurjes
b54b80f473
Chore: Remove Result from dashboard models ( #61997 )
...
* Chore: Remove Result from dashboard models
* Fix lint tests
* Fix dashboard service tests
* Fix API tests
* Remove commented out code
* Chore: Merge main - cleanup
2023-01-25 10:36:26 +01:00
idafurjes
421976e919
Chore: Remove folders from models pkg ( #61853 )
2023-01-25 09:14:32 +01:00
owensmallwood
dd597c3a1e
PublicDashboards: Adds middleware for email sharing ( #61950 )
...
adds Share field to PublicDashboard model
2023-01-24 18:23:39 -06:00
Santiago
e5920c211e
Chore: Fix random indices for slices in test files ( #61884 )
...
* Fix random indices for slices in test files
* Empty commit
2023-01-24 15:07:37 -03:00
Tania
3324be6fda
Docs: Fix schema attributes formatting in schema docs ( #62016 )
...
Docs: Fix schema attributes formatting
2023-01-24 17:53:22 +01:00
Alex Khomenko
8e94eab9ff
Schema: Move known shared types into the common ( #61875 )
...
* Setup shared types
* Expand field types
* Fix array type
* Add QueryResultMeta
* Add QueryResultBase
* Add DataFrameJSON
* Add DataSourcePluginMeta
* Update QueryResultMetaStat
* Add plugin cue and veneers
* Rexport dupliate types to fix errors
* Fix export
* Update types
* Remove data frame/plugin types
* Cleanup types
* Remove redundant type
* Remove data frame related types
2023-01-24 16:45:28 +00:00
Chris Marchbanks
f85d072c17
Datasources: Fix Proxy by UID Failing for UIDs with a Hyphen ( #61723 )
...
Fix Proxy by UID Failing for UIDs with a Hyphen
Hyphens are allowed in short IDs but not picked up by the
proxyPathRegexp. This caused the end of the uid to be proxied as part of
the path to the backing datasource which would usually cause a 404.
2023-01-24 17:15:52 +01:00
George Robinson
239d94205a
Alerting: Return chan <-error for #61811 ( #61858 )
2023-01-24 15:41:38 +00:00
Will Browne
958eea2f78
Plugins: Add backend target to instrumentation ( #61980 )
...
* add target
* fix test
2023-01-24 16:18:34 +01:00
Joan López de la Franca Beltran
6e126596e0
Kindsys: Include CODEOWNERS to Kinds report ( #61978 )
...
* Kindsys: Include CODEOWNERS to Kinds report
* Sort CODEOWNERS for the sake of reproducibility
* Fix linter complains
2023-01-24 15:53:01 +01:00
Josh Hunt
88347caf5f
Navigation: Open command palette from search box ( #61667 )
...
* Reduce size of topnav search 'input' to 1/5th of the width, min width 200px
* Open command palette on topnav search box click
* Rename component
* fix comment
* feature flag the change
* update feature flag description
2023-01-24 12:41:09 +00:00
ying-jeanne
ec171bcad5
[xorm] Clean up xorm dialect & cascade ( #61969 )
...
clean up xorm dialect
2023-01-24 19:57:33 +08:00
Alex Khomenko
18e0a060e6
AlertGroups: Generate models.gen.ts from models.cue ( #61227 )
...
* AlertGroups: Generate models.gen.ts from models.cue
* Update structure
* Update report
* Fix filenames
* Add missing file
2023-01-24 13:46:35 +02:00
Zoltán Bedi
4167214e35
Panel edit: Add feature to drag & drop spreadsheet files to the grafana datasource ( #60586 )
...
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-01-24 10:43:44 +01:00
Joan López de la Franca Beltran
479da46a9e
Kindsys: Include @grafanamaturity counts to Kinds report ( #61911 )
...
* Kindsys: Include @grafanamaturity counts to Kinds report
* Replace reflect.DeepEqual with regular (in)equality op
* Move reference check to its use (inline)
* Fix linter complains
2023-01-24 09:37:32 +01:00
Torkel Ödegaard
7c786c11e3
Home: Fixes breadcrumb for custom home dashboard ( #61499 )
...
* Home: Fixes breadcrumb for custom home dashboard
* restore using home page cfg setting
2023-01-24 09:33:12 +01:00
Torkel Ödegaard
38d3d1c02b
Profile: Rename profile page from preferences to profile ( #61777 )
...
* Rename preferences to Profile
* Fixed tests and ran i18 extract
2023-01-24 09:32:49 +01:00
Sofia Papagiannaki
e5e8bb4dea
Chore: Use same JSON tag casing everywhere for parent UID ( #61935 )
...
Chore: Use same JSON tag casing everywhere for parent UID
2023-01-24 10:20:28 +02:00
Joan López de la Franca Beltran
c621693db0
Kindsys: Include generated-code links to Kinds report ( #61910 )
...
* Kindsys: Include generated-code links to Kinds report
* Apply feedback suggestions
2023-01-24 01:47:42 +00:00
Alexander Weaver
7ccc845187
Alerting: Push state history entries to Loki ( #61724 )
...
* Implement push endpoint
* Drop duplicated struct
* Genericize auth/tenant headers and improve logging in error case
* Flesh out the data model
* Drop dead code
* Drop log line entirely
* Drop unused arg
* Rename a few type manipulation functions
* Extract label keys as constants
* Improve logs when loki responds with error
* Inline lokiRepresentation function
2023-01-23 16:31:03 -06:00
Kristin Laemmert
fe27acc3a9
chore: move validations model into the validations service ( #61953 )
2023-01-23 15:10:14 -05:00
sam boyer
856abe1281
Kindsys: Add Ptr func ( #61948 )
2023-01-23 14:27:33 -05:00
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