grafana/pkg/models
Artur Wierzbicki 18daa6754c
Previews: datasource permissions (#52747)
* Previews: datasource permissions

* lint

* simplify - force non-null `ds_uids`

* add `canBeDisabled` to search service

* add `IncludeThumbnailsWithEmptyDsUids`

* remove force refresh migration

* refactor main preview service

* add safeguard

* revert ticker interval

* update testdata

* fix test

* add mock search service

* add datasources lookup test

* update migration

* extract ds lookup to its own package to avoid cyclic imports

* lint

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* remove stale log

* consistent casing

* pass context to `createServiceAccount`

* filter out the special grafana ds
2022-07-28 16:40:26 +04:00
..
address.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
alert_notifications.go API: Extract OpenAPI specification from source code using go-swagger (#40528) 2022-02-08 13:38:43 +01:00
alert_test.go Chore: Rewrite models alert test to standard library (#30021) 2021-01-01 13:18:47 +01:00
alert.go Chore: Update to the latest grafana-plugin-sdk-go and more swagger fixes (#52445) 2022-07-20 16:09:42 +03:00
apikey.go ServiceAccounts: Add Service Account Token last used at date (#51446) 2022-06-28 16:42:40 +02:00
context_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
context.go PublicDashboards: Frontend routing for public dashboards (#48834) 2022-06-02 14:57:55 -06:00
dashboard_acl_test.go Chore: Rewrite models dashboard acl test to standard library (#30022) 2021-01-01 13:22:48 +01:00
dashboard_acl.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
dashboard_queries_test.go Owensmallwood/pubdash panel blank when target has no datasource (#52115) 2022-07-12 17:01:08 -06:00
dashboard_queries.go Owensmallwood/pubdash panel blank when target has no datasource (#52115) 2022-07-12 17:01:08 -06:00
dashboard_thumbs.go Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
dashboards_test.go Chore: Rewrite models dashboards test to standard library (#30023) 2021-01-01 13:29:40 +01:00
dashboards.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
folders.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
health.go feat: added api health endpoint that does not require auth and never creates sessions, returns db status as well. #3302 2017-04-25 17:17:45 +02:00
helpflags.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
jwt.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
libraryelements.go LibraryElements: Creates usage stats for panels and variables (#34476) 2021-05-24 06:11:01 +02:00
licensing.go FeatureFlags: Revert managing feature flags outside of settings.Cfg (#44382) 2022-01-24 16:08:05 +01:00
live.go Live: proxy subscribe data for subscribe and runstream plugin calls (#42824) 2021-12-14 20:12:00 +03:00
login_attempt.go login: uses epochs for login throtting. 2018-02-16 17:25:46 +01:00
models.go Okta OAuth provider (team sync support) (#22972) 2020-04-02 17:35:48 +03:00
notifications.go Alerting: Fix Teams notifier not failing on 200 response with error (#52254) 2022-07-14 13:15:18 -04:00
org_user.go ServiceAccounts: Don't create new orgs for service accounts (#51819) 2022-07-07 08:50:38 -04:00
org.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
playlist.go backend: add PlaylistUIDs to Playlist; remove playlist IDs from API (#49609) 2022-06-14 15:32:52 -04:00
plugin_settings.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
quotas.go Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
search_user_filter.go Create search filters by interface (#39843) 2021-10-07 16:06:16 +02:00
search.go Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
shorturl.go ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
star.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
stats.go PublicDashboards: collect stats for public dashboards (#50553) 2022-06-23 12:02:57 -03:00
tags_test.go Chore: Rewrite models tags test to standard library (#30041) 2021-01-05 17:20:41 +01:00
tags.go Create annotations (#8197) 2017-10-07 10:31:39 +02:00
team_member.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
team.go RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
temp_user.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
theme.go Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
user_auth.go Fix: Choose Lookup params per auth module (#395) (#52312) 2022-07-15 10:21:09 +01:00
user_token.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
user.go Chore: Move user errors to user service (#52460) 2022-07-20 14:50:06 +02:00
validations.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00