3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/pkg/services/searchV2
Artur Wierzbicki 18daa6754c
Previews: datasource permissions ()
* 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
..
dslookup Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
extract Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
testdata Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
allowed_actions_test.go Search: Allowed actions () 2022-07-22 17:42:43 -07:00
allowed_actions.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
auth.go Search: support auth filter based on access control/rbac () 2022-04-28 22:16:23 +04:00
bluge.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
extender.go Search: support alpha + and enterprise sorting values () 2022-05-23 10:05:15 -07:00
filter.go Search: Allowed actions () 2022-07-22 17:42:43 -07:00
index_test.go Search: Downgrade Bluge, refactor code () 2022-07-04 11:33:07 +03:00
index.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
ngram_test.go Search: Filter punctuation and tokenize camel case () 2022-06-30 16:30:44 -07:00
ngram.go Search: Filter punctuation and tokenize camel case () 2022-06-30 16:30:44 -07:00
search_service_mock.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
service.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
stub.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
types.go Previews: datasource permissions () 2022-07-28 16:40:26 +04:00
usage.go Search: fix logging statements () 2022-07-01 15:38:31 -07:00
utils.go Search: limit max size of batches during indexing () 2022-05-19 18:57:26 +03:00