grafana/pkg/util
Andrej Ocenas 2d7fc55df7
Provisioning: Do not allow deletion of provisioned dashboards (#16211)
* Unprovision dashboard in case of DisableDeletion = true

* Rename command struct

* Handle removed provision files

* Allow html in confirm-modal

* Do not show confirm button without onConfirm

* Show dialog on deleting provisioned dashboard

* Changed DeleteDashboard to DeleteProvisionedDashboard

* Remove unreachable return

* Add provisioned checks to API

* Remove filter func

* Fix and add tests for deleting dashboards

* Change delete confirm text

* Added and used pkg/errors for error wrapping
2019-04-10 13:29:10 +02:00
..
encoding_test.go test: adds tests for password encodiing 2017-11-09 17:55:12 +01:00
encoding.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
encryption_test.go Config Array Syntax (#8204) 2017-04-25 09:14:29 +02:00
encryption.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
filepath.go pkg/util/{filepath.go,shortid_generator.go}: Fix golint issues 2019-01-28 22:37:44 +01:00
ip_address_test.go fix util for splitting host and port 2019-02-04 13:10:32 +01:00
ip_address.go fix util for splitting host and port 2019-02-04 13:10:32 +01:00
json.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
math.go Provisioning: Do not allow deletion of provisioned dashboards (#16211) 2019-04-10 13:29:10 +02:00
md5_test.go Fix changed want md5 hash 2018-09-21 13:41:03 +02:00
md5.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
shortid_generator_test.go pkg/util/{filepath.go,shortid_generator.go}: Fix golint issues 2019-01-28 22:37:44 +01:00
shortid_generator.go pkg/util/{filepath.go,shortid_generator.go}: Fix golint issues 2019-01-28 22:37:44 +01:00
strings_test.go feat: store last seen date for users and present in stats and user lists, closes #9007 2017-08-09 10:36:41 +02:00
strings.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
url_test.go pkg/util/{ip.go,url.go}: Fix some golint issues 2019-01-28 22:29:20 +01:00
url.go pkg/util/{ip.go,url.go}: Fix some golint issues 2019-01-28 22:29:20 +01:00
validation_test.go Fixing bug in url query reader and added test cases 2018-08-07 18:43:59 -07:00
validation.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00