grafana/pkg/services
Jeff Levin d076bedb5e
public dashboards: finalize db schema & v1 feature complete (#50467)
This PR completes public dashboards v1 functionality and simplifies public dashboard conventions. It exists as a large PR so that we are not making constant changes to the database schema.

models.PublicDashboardConfig model replaced with models.PublicDashboard directly
dashboard_public_config table renamed to dashboard_public
models.Dashboard.IsPublic removed from the dashboard and replaced with models.PublicDashboard.isEnabled
Routing now uses a uuid v4 as an access token for viewing a public dashboard anonymously, PublicDashboard.Uid only used as database identifier
Frontend utilizes uuid for auth'd operations and access token for anonymous access
Default to time range defined on dashboard when viewing public dashboard
Add audit fields to public dashboard

Co-authored-by: Owen Smallwood <owen.smallwood@grafana.com>, Ezequiel Victorero <ezequiel.victorero@grafana.com>, Jesse Weaver <jesse.weaver@grafana.com>
2022-06-22 13:58:52 -08:00
..
accesscontrol RBAC: Add access control metadata to folder dtos (#51158) 2022-06-22 10:29:26 +02:00
alerting Alerting: notifiers/discord: Fix group mention documentation (#51071) 2022-06-21 05:34:49 +00:00
annotations Chore : Replace dashboardid with dashboardUID in annotation API (#48481) 2022-05-02 11:35:36 +02:00
auth Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cleanup backend/dashboardsnapshot service: move models (#50898) 2022-06-17 09:09:01 -04:00
comments backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
contexthandler Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
dashboardimport schema: Migrate from scuemata to thema (#49805) 2022-06-06 17:52:44 -07:00
dashboards public dashboards: finalize db schema & v1 feature complete (#50467) 2022-06-22 13:58:52 -08:00
dashboardsnapshots backend/dashboardsnapshot service: move models (#50898) 2022-06-17 09:09:01 -04:00
dashboardversion Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
datasourceproxy add missing return (#50667) 2022-06-13 13:56:24 +02:00
datasources Secrets: add better error handling for secret plugin failures when updating datasources (#50542) 2022-06-16 12:26:57 -04:00
encryption Encryption: Add support for decrypting ciphertexts with algorithm metadata (#49312) 2022-05-20 17:11:51 +02:00
export Export: introduce export plumbing (behind dev feature flag) (#48091) 2022-04-25 16:59:18 -07:00
featuremgmt Add a feature toggle for custom branding (#51168) 2022-06-22 17:05:52 +02:00
guardian RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Enable envelope encryption by default (#49301) 2022-05-24 10:34:47 +02:00
ldap Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
libraryelements Alerting: Add first Grafana reserved label grafana_folder (#50262) 2022-06-17 13:10:49 -04:00
librarypanels Alerting: Add first Grafana reserved label grafana_folder (#50262) 2022-06-17 13:10:49 -04:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live public dashboards: finalize db schema & v1 feature complete (#50467) 2022-06-22 13:58:52 -08:00
login Auth: Case insensitive ids duplicate usagestats (#50724) 2022-06-22 14:16:28 +02:00
multildap pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
ngalert make test more stable (#51268) 2022-06-22 12:53:16 -04:00
notifications Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
oauthtoken Chore: Remove bus from oauthtoken (#46811) 2022-03-21 21:13:57 +01:00
plugindashboards Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
preference I18n: Add default locale server config option (#51035) 2022-06-21 11:12:49 +01:00
provisioning Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
query Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
queryhistory Query history: Add swagger definitions (#50498) 2022-06-13 09:47:40 +02:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Alerting: Add a general screenshot service and alerting-specific image service. (#49293) 2022-05-22 22:33:49 +08:00
screenshot Fix metric names for screenshots (#50426) 2022-06-09 10:32:30 +01:00
search Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
searchusers Access control: Using RBAC to filter users in list view that you have read access to (#47963) 2022-05-13 09:26:34 +02:00
searchV2 Search: Update bluge version (#50377) 2022-06-22 15:49:26 +03:00
secrets Secrets: add better error handling for secret plugin failures when updating datasources (#50542) 2022-06-16 12:26:57 -04:00
serviceaccounts Service accounts: refactor errors (#50917) 2022-06-16 16:02:03 +02:00
shorturls ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
sqlstore public dashboards: finalize db schema & v1 feature complete (#50467) 2022-06-22 13:58:52 -08:00
star Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
store Storage: validation and sanitization stubs (#50523) 2022-06-15 12:32:29 +04:00
teamguardian Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
thumbs Previews: use ETag header (#51008) 2022-06-17 18:02:03 +04:00
updatechecker Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00