grafana-delivery-bot[bot]
30054b3f7b
[v11.0.x] Public dashboards: fix public dashboard permissions so that annotations are displayed ( #85112 )
...
Public dashboards: fix public dashboard permissions so that annotations are displayed (#85091 )
* fix public dashboard anonymous user permissions so they include the new annotation permissions
* test fix
(cherry picked from commit df40e13333 )
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-03-26 09:03:04 +00:00
Gilles De Mey
8765c48389
Alerting: Remove legacy alerting ( #83671 )
...
Removes legacy alerting, so long and thanks for all the fish! 🐟
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Sonia Aguilar <soniaAguilarPeiron@users.noreply.github.com >
Co-authored-by: Armand Grillet <armandgrillet@users.noreply.github.com >
Co-authored-by: William Wernert <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-03-14 15:36:35 +01:00
Agnès Toulet
8d68159b52
Public Dashboards: Disable email-sharing when there is no license ( #80887 )
...
* PublicDashboards: Disable email-shared dashboards when feature is disabled
* fix pubdash creation when it was email-shared
* add feature name const in OSS
* update doc
* Update service.go
* fix test & linter
* fix test
* Update query_test.go
* update tests
* fix imports
* fix doc linter issues
* Update docs/sources/administration/enterprise-licensing/_index.md
* fix after merge
2024-02-22 09:34:14 +01:00
idafurjes
cb419e799b
Remove folderid service test ( #80433 )
...
* Remove FolderID from service tests
* Add models
* Add folderID pack to publicdashboard tests
* Remove folderID from dashboard tests
* Remove folderID from folders
* Remove folderID from ngalert tests
* Remove nolint comment
* Add back some tests after rebase
2024-01-12 16:43:39 +01:00
Agnès Toulet
fdaf6e3f2e
PublicDashboards: Add setting to disable the feature ( #78894 )
...
* Replace feature toggle with configuration setting
* Fix permission alert
* Update documentation
* Add back feature toggle
* revert unwanted commited changes
* fix tests
* run prettier
* Update SharePublicDashboard.test.tsx
* fix linter and frontend tests
* Update api.go
* Apply docs edit from code review
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
* Update index.md
* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
* add isPublicDashboardsEnabled + test
* fix test
* update ff description in registry
* move isPublicDashboardsEnabled
* revert getConfig() update
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-12-19 11:43:54 +01:00
Ezequiel Victorero
66df17869d
Chore: Use dashboard service to retrieve dashboards ( #79020 )
2023-12-05 18:09:21 -03:00
Kat Yang
d090dab138
Chore: Deprecate FolderID from SaveDashboardCommand ( #77813 )
2023-11-15 11:21:02 -05:00
Ryan McKinley
3509a5abb9
FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled ( #78014 )
2023-11-13 07:55:15 -08:00
Sofia Papagiannaki
03a626f1d6
Search: Fix empty folder details for nested folder items ( #76504 )
...
* Introduce dashboard.folder_uid column
* Add data migration
* Search: Fix empty folder details for nested folders
* Set `dashboard.folder_uid` and update tests
* Add unique index
* lint
Ignore cyclomatic complexity of func
`(*DashboardServiceImpl).BuildSaveDashboardCommand
* Fix search by folder UID
2023-10-24 10:04:45 +03:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Ezequiel Victorero
a0e8cf8b66
PublicDashboards: Remove query expressions from dashboard model ( #72468 )
2023-08-25 15:35:22 -05:00
Ieva
ca46a5c1af
Chore: prepare for removing RBACenabled config option ( #73845 )
...
prepare for removing RBACenabled config option
2023-08-25 17:13:46 +02:00
Ieva
ec9c35fae5
Chore: clean up access control for data sources ( #73010 )
...
* move DS guardian interfaces to OSS, move allow guardian to OSS
* update codeowner file
2023-08-21 14:26:49 +01:00
Ieva
a65cb4d808
RBAC: remove simple RBAC disabled checks ( #71137 )
...
* remove simple RBAC disabled checks
* fixing tests
* remove old AC tests
2023-07-10 15:14:21 +03:00
Ezequiel Victorero
75a81e5b9f
PublicDashboards: Remove non updatable fields from DTO ( #70871 )
2023-06-29 14:35:23 -03:00
Juan Cabanas
ee73d41d24
PublicDashboards: Audit table pagination ( #69823 )
2023-06-21 10:48:09 -03:00
Juan Cabanas
9890ff7c92
PublicDashboards: Audit table redesign ( #68137 )
2023-05-29 12:59:29 -03:00
Ezequiel Victorero
3224b4c8f0
PublicDashboards: validate only one public dashboard per dashboard ( #66228 )
2023-04-12 10:57:42 -03:00
juanicabanas
4d0e309d4e
PublicDashboards: New method created to get access through Request access page when its paused ( #64451 )
2023-03-09 14:17:54 -03:00
Ezequiel Victorero
8520a8614c
PublicDashboards: add recipients to the public dashboards retrieval ( #63149 )
2023-02-10 15:01:26 -03: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
idafurjes
7c2522c477
Chore: Move dashboard models to dashboard pkg ( #61458 )
...
* Copy dashboard models to dashboard pkg
* Use some models from current pkg instead of models
* Adjust api pkg
* Adjust pkg services
* Fix lint
2023-01-16 16:33:55 +01:00
Ezequiel Victorero
34a865ebf0
PublicDashboards: remove publicDashboardUID from insights event request ( #60649 )
2023-01-11 18:25:18 -03: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
Ezequiel Victorero
ae30a0688a
PublicDashboards: refactor using new grafana error types ( #58078 )
2022-11-04 14:14:32 -03:00
Dan Cech
9ea6a43089
Build: clean up and document integration test convention ( #58170 )
...
* clean up and document integration test convention
* clarify integration test conventions
* clean up integration tests that don't follow convention
* mark testIntegration* functions as helpers to avoid confusion
2022-11-04 10:14:21 -04:00
Jeff Levin
6fcc5b42c0
publicdashboards: split create/update api paths ( #57940 )
...
This PR splits the create and update paths for public dashboards and includes assorted refactors toward a proper REST API. Additionally, we removed the concept of a "public dashboard config" in favor of "public dashboard"
Co-authored-by: juanicabanas <juan.cabanas@grafana.com >
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com >
2022-11-03 11:30:12 -08:00
Giuseppe Guerra
7996a1c8ad
Chore: Update grafana-plugin-sdk-go to v0.142.0 ( #58115 )
...
* Chore: Update grafana-plugin-sdk-go to v0.142.0
* Update tests and golden files for 207 status code
* Chore: Move update flag definition at the top in response_parser_test.go
* retrigger
Co-authored-by: Will Browne <will.browne@grafana.com >
2022-11-03 18:34:27 +01:00
Jeff Levin
bf672f960a
public dashboards: rename api functions ( #57789 )
...
This PR imposes better naming conventions on public dashboards api
* rename api functions and remove use of _config_ noun
* fix tests
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com >
2022-10-27 17:08:11 -08:00