Zoltán Bedi
d103c58539
MSSQL/Postgres: List views in table dropdown as well ( #62867 )
...
* MSSQL: Query views for table dropdown
* Postgres: Query views for table dropdown
2023-02-06 15:16:32 +01:00
Levente Balogh
fc6a4eee61
Datasources: Add optional tracking for datasources list viewed ( #62949 )
...
chore: add optional tracking for datasources list viewed
2023-02-06 14:57:55 +01:00
Carl Bergquist
64c2032c2b
Auth: removes temporary cache of user session token ( #62730 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-02-06 13:51:12 +01:00
Karl Persson
9311085e5a
AuthN: support sync cache for proxy client ( #62874 )
...
* AuthN: Add cache support for auth proxy to skip sync
* AuthN: Change proxy auth hook to be a client hook
* AuthN: fix cache key
* fix test
* lint
2023-02-06 13:30:05 +01:00
Carl Bergquist
791b1001af
remote cache: new function to get/set cache items as byte arrays ( #62916 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-02-06 13:08:03 +01:00
Levente Balogh
e3512ddd7e
Datasources: Fix tracking event name ( #62940 )
...
fix: fix typo in event name
2023-02-06 12:15:44 +01:00
Sofia Papagiannaki
ee2878f189
Chore: Fix logging message in folder service ( #62939 )
2023-02-06 13:11:32 +02:00
Levente Balogh
f815c690d7
Connections: Fix redirection when creating new DS ( #62938 )
...
fix: redirect to connections when creating a new DS from the catalog
2023-02-06 11:24:04 +01:00
Matias Chomicki
57369915f5
Loki Query Editor: Make Monaco the default editor ( #62247 )
...
* feat(loki-editor): remove slate and make Monaco the default editor
* feat(loki-editor): remove unsupported usages of onBlur
* feat(loki-editor): remove monaco feature flag
* Chore: remove unused import
2023-02-06 11:18:01 +01:00
Josh Hunt
4d268cbcdb
NestedFolders: use guardian.NewByUID to check folder permissions ( #62864 )
2023-02-06 10:14:22 +00:00
Andres Martinez Gotor
9893408af9
Refactor: Use data source UID rather than ID ( #62781 )
2023-02-06 11:12:44 +01:00
renovate[bot]
8f96fe5ae9
Update dependency eslint to v8.33.0 ( #62913 )
...
* Update dependency eslint to v8.33.0
* update eslint sdk as well
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-02-06 05:02:19 -05:00
Andres Martinez Gotor
32e6af966f
Prometheus: Refactor. Use data source UID rather than the deprecated ID ( #62795 )
2023-02-06 11:02:02 +01:00
Alexander Zobnin
5205cfb11c
SAML: Update library (fix single logout) ( #62880 )
...
* SAML: update library (fix single logout)
* Run go mod tidy
2023-02-06 09:14:36 +01:00
Ryan McKinley
39116b9c11
Chore: Remove previews crawler UI (and feature flag) ( #62906 )
2023-02-03 16:45:10 -05:00
Alexander Weaver
0efb84617e
Alerting: Create benchmarking test for state.ProcessEvalResults ( #62041 )
...
* Create benchmark for ProcessEvalResults
* Simplify the test
2023-02-03 15:38:08 -06:00
Ryan McKinley
72790b0614
Live: Remove dev code that would save config and messages in SQL ( #62912 )
2023-02-03 16:21:48 -05:00
Alex Khomenko
84a6671911
Cloudwatch: generate types ( #61770 )
...
* 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
* Setup Cloudwatch data query schema
* Add go file
* Re-generate types
* Re-generate types
* Add missing files
* Re-generate docs
* Add MetricStat
* Add CloudWatchAnnotationQuery
* Remove DataQuery extension
* Fixes
* Sync with main
* Update report
---------
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-02-03 15:27:48 -05:00
Christopher Moyer
ebe54629e7
Docs: removes Grafana Cloud CTA ( #62827 )
...
removes Grafana Cloud CTA
2023-02-03 12:36:46 -06:00
Brendan O'Handley
061e6d556f
Dataplane: Add typeVersion to data frame metadata ( #61824 )
2023-02-03 09:54:26 -08:00
Ivana Huckova
20ec54f1f9
Elasticsearch: Use generated types in data source ( #62753 )
...
* Use generated types in frontend
* Export missing MetricAggregationWithMeta
* Remove not needed changes
* Update
* Fix lint
* Update comments
2023-02-03 12:04:12 -05:00
Drew Slobodnjak
bbb572e73f
Canvas: Improve anchor UX ( #62409 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-02-03 12:02:37 -05:00
Drew Slobodnjak
43ce077133
Canvas: Update server element design ( #62832 )
2023-02-03 08:59:29 -08:00
Drew Slobodnjak
db953c9a9c
Canvas: Support color themes for arrows ( #62829 )
2023-02-03 08:50:36 -08:00
Yuri Tseretyan
f066e8cdcd
Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) ( #62823 )
...
* add alerting prefix to some packages from alerting that have similar names in prometheus alertmanager
2023-02-03 11:36:49 -05:00
Sonia Aguilar
46cbcc813b
Alerting: Fix default_template.go link in docs ( #62885 )
...
Fix default_template.go link in docs
2023-02-03 17:27:13 +01:00
idafurjes
982939111b
Rename Id to ID for annotation models ( #62886 )
...
* Rename Id to ID for annotation models
* Add xorm tags
* Rename Id to ID for API key models
* Add xorm tags
2023-02-03 17:23:09 +01:00
Michael Mandrus
a0602a2a78
Chore: Update docs readme on adding images ( #62892 )
...
* Update images guidelines section of readme
* Update README.md
2023-02-03 11:10:41 -05:00
Andreas Christou
d7f7cd1e61
Schema: Initial Azure Monitor query schema ( #62018 )
...
* Initial schema
- Add types based off of current frontend
* Rename and field-level comments
* Update report and regenerate files
* Rename frontend Azure folder
- Doing this for consistency and to ensure code-generation works
- Update betterer results due to file renames
* Remove default and add back enum vals that I deleted
* Set workspace prop as optional
* Replace template variable types
* Connect frontend query types
- Keep properties optional for now to avoid major changes
- Rename AzureMetricResource
- Correctly use ResultFormat
* Add TSVeneer decorator
* Update schema
* Update type
* Update CODEOWNERS
* Fix gen-cue issue
* Fix backend test
* Fix e2e test
* Update code coverage
* Remove references to old Azure Monitor path
* Review
* Regen files
2023-02-03 16:06:54 +00:00
Michael Mandrus
57ac59c7f6
Docs: Add documentation for new enterprise caching enhancement (per-panel TTL) ( #62838 )
...
* add documentation for new per-panel caching TTL feature
* update image url, use figure
2023-02-03 10:29:49 -05:00
Victor Marin
9fc3b360a4
MSSQL: Add support for macro function calls ( #62742 )
...
* MSSQL: Add support for macro function calls
* Add tests
2023-02-03 17:23:46 +02:00
Torkel Ödegaard
0ae118d3ed
Page: Fixes plugins chromeless bug ( #62879 )
2023-02-03 16:14:42 +01:00
idafurjes
00d954320f
Chore: rename Id to ID in alert notification models ( #62868 )
2023-02-03 15:46:55 +01:00
Jev Forsberg
2e98f5063b
Table: Add row number column option ( #62256 )
...
* baldm0mma/addRowNumbers/ add showRowNums to panel cue
* baldm0mma/addRowNumbers/ add panel option for sowing row numbers
* baldm0mma/addRowNumbers/ update typing for showRowNums
* baldm0mma/addRowNumbers/ add buildFieldsForOptionalRowNums
* baldm0mma/addRowNumbers/ update addOptionalNumbersRowToTable
* baldm0mma/addRowNumbers/ adjust display method to return numeric and text values
* baldm0mma/ chaneg prop name to match
* baldm0mma/addRowNumbers/ update boolean swicth path
* baldm0mma/addRowNumbers/ move function
* baldm0mma/addRowNumbers/ add getToggleHiddenProps
* baldm0mma/addRowNumbers/ remove addNumbersRowToTable second arg
* baldm0mma/addRowNumbers/ add updateInitialState
* baldm0mma/addRowNumbers/ update getInitialState reducer with initialShowRowNumbers arg
* baldm0mma/addRowNumbers/ add useEffect for RowNumberColumn toggling
* baldm0mma/addRowNums/ bootleg fix
* baldm0mma/addRowNumbers/ export OPTIONAL_ROW_NUMBER_COLUMN_WIDTH
* baldm0mma/addRowNumbers/ add annos for readability
* baldm0mma/addRowNumbers/ remove superfluous annos
* baldm0mma/addRowNumbers/ add a few logs
* baldm0mma/addRowNumbers/ update annos
* baldm0mma/addRowNumbers/ update which footer row displays reducer type
* baldm0mma/addRowNumbers/ abstract away defaultRowNumberColumnFieldData
* baldm0mma/addRowNumbers/ update annos in utils.tsx
* baldm0mma/addRowNumbers/ update annos for defaultRowNumberColumnFieldData
* baldm0mma/addRowNumbers/ mark unused args with underscore
* baldm0mma/addRowNumbers/ add annos to addRowNumbersFieldToData
* baldm0mma/addRowNumbers/ update utils file type
* baldm0mma/addRowNumbers/ remove console.logs
* baldm0mma/addRowNumbers/ update file type
* baldm0mma/addRowNumbers/ update annos in utils
* baldm0mma/addRowNumbers/ remove superfluous footerGroups object
* baldm0mma/addRowNumbers/ add annos for tests
* baldm0mma/addRowNumbers/ add annos for self
* baldm0mma/addRowNumbers/ add tests to table.test.tsx
* baldm0mma/addRowNumbers/ update tests in utils.test
* baldm0mma/addRowNumbers/ update annos and tests
* baldm0mma/addRowNumbers/ remove console.logs
* baldm0mma/addRowNumbers/ update utils file ext
* baldm0mma/addRowNumbers/ update anno in table.tsx
* baldm0mma/addRowNumbers/ update annos in table.tsx
* baldm0mma/addRowNumbers/ rem error annos
* baldm0mma/addRowNumbers/ revert footerCell
* baldm0mma/addRowNumbers/ revert tests
* baldm0mma/addRowNumbers/ skip tests
* baldm0mma/addRowNumbers/ revert table isCountRowSet
* baldm0mma/addRowNumbers/ remove cloneDeep
* baldm0mma/addRowNumbers/ update filterFields
* baldm0mma/addRowNumbers/ skip tests
* Refactor count rows
* baldm0mma/addRowNumbers/ rem test skips
* baldm0mma/addRowNumbers/ update with annos
* baldm0mma/addRowNumbers/ skip timeing out test
* baldm0mma/addRowNumbers/ static row numbering and test updates
* baldm0mma/addRowNumbers/ remove dupe
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-02-03 07:00:29 -07:00
Joe Blubaugh
41dc88bd25
Adds a description field to plugin.json's pages:role field ( #62439 )
...
* Adds a description field to plugin.json's pages:role field
There's no description of what a page object's "role" setting does. It
controls whether a page will appear in the navigation menu for a user
with a given role.
* Update plugindef.cue with comments to match documentation.
* make gen-cue
2023-02-03 14:50:24 +01:00
Ashley Harrison
c819e95687
Navigation: move Connections plugin to be just after apps ( #62801 )
...
move connections plugin to be just after apps
2023-02-03 13:48:06 +00:00
Josh Hunt
f8809eef59
Search: Fix not being able to clear sort value ( #62557 )
...
* user essentials mob! 🔱
lastFile:public/app/features/search/state/SearchStateManager.ts
* user essentials mob! 🔱
lastFile:public/app/features/search/page/components/ActionRow.tsx
* user essentials mob! 🔱
* remove searchSort state from localStorage when cleared
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
2023-02-03 13:44:57 +00:00
Jo
12d192d80e
AccessControl: Clear user permission cache for update org user role ( #62745 )
...
* clear user permission cache for update org user role
* check enabled state of ac
2023-02-03 08:37:41 -05:00
Karl Persson
6840cc11ff
AuthN: add support for client specific hooks ( #62863 )
...
* AuthN: Add HookClient interface
* AuthN: Check if client implement authn.HookClient and call the hook if
it does
* AuthN: Convert refresh token hook into a client hook
2023-02-03 14:35:17 +01:00
Karl Persson
180a587f70
AuthN: fetch final state of signed in user ( #62854 )
...
* AuthN: add a hook we can use to fetch final state of user
2023-02-03 14:14:38 +01:00
Jack Westbrook
29212c9a3f
Chore: Update generated schema files ( #62862 )
...
* chore(schema): update generated files
* empty commit
2023-02-03 07:41:46 -05:00
Kyle Brandt
09b6b8d435
Backend: Use sdk version 0.148.0 ( #62822 )
...
https://github.com/grafana/grafana-plugin-sdk-go/releases/tag/v0.148.0
2023-02-03 13:29:17 +01:00
Steve Simpson
36f3071d66
Alerting: Remove dskit replace directive. ( #62851 )
...
The replace directive can be removed now that grafana/dskit#258 is merged.
2023-02-03 12:34:54 +01:00
Jack Westbrook
5815a37f47
Debug Panel: Introduce schema types ( #62094 )
...
* feat(debugpanel): schematizing debug panel plugin
* delete old types and update imports to new generated schema
* update to experimental
* derived counters, fix options key name
* num to int
* chore(debugpanel): update ts imports post type rename
* chore(kindsys): refresh report.json
* migrate UpdateCounters back to runtime
* merge with main
---------
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-02-03 11:57:04 +01:00
Eric Leijonmarck
ed18a249b8
Refactor: move displayname logic from backend to frontend ( #62845 )
...
* remove fallback from backend
* add: displayname logic to frontend
* Update public/app/core/components/RolePicker/utils.ts
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
* add: fetchTeamRoles and return earlier
* refactor: change to const
---------
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2023-02-03 10:39:44 +00:00
Gabriel Goller
8b017f5aa4
Added pageZoomLevel option to image renderer setup documentation ( #59472 )
...
* Added pageZoomLevel option to image renderer setup
* Update _index.md
* Update docs/sources/setup-grafana/image-rendering/_index.md
* chore: prettier run in docs
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-02-03 10:19:29 +01:00
Levente Balogh
b32c1022c5
Datasources: Add more optional UI tracking ( #62785 )
...
* chore: add more optional UI tracking for datasources
* tests: fix the tests by wrapping them in a router
2023-02-03 09:47:42 +01:00
Karl Persson
ad068ed533
AuthN: Use BasicAuth from http request ( #62792 )
...
AuthN: use BasicAuth from http request
2023-02-03 09:11:53 +01:00
Levente Balogh
48e0ab2142
Plugins: Case-sensitive routes for standalone pages ( #62779 )
...
* feat: extend the RouteDescription witha `sensitive` property
* feat: use case-sensitive routes for custom plugin standalone pages
* fix: hcheck for `/a/` instead of `/a`
2023-02-03 09:01:34 +01:00
Levente Balogh
cf650c9349
Connections: Fix route-guards ( #62771 )
...
* fix: use case-sensitive routes for Connections
The reason to do this is to have the backend route-guards work properly.
(The backend route guards are case-sensitive, thus if the FE would serve
the case-insensitive version, then the backend route guards could be bypassed.)
* tests: update the tests
2023-02-03 09:00:30 +01:00