grafana/pkg/services/store
An 900d9bf9a1
FileStorage: Add upload form (#46749)
* move upload to http

* use storage from grafanads

* rever gomod changes

* fix test

* wip

* add upload func

* update upload func

* writing to uploads

* edit response from service

* use dropzone for UI

* modify response struct in service

* better read file

* set content type for svg

* restrict file types upload

* add test and clean up errors

* pass test

* fix backend lint errors

* limit type of files on FE

* add TODO for after merge

* rebase with storage changes

* comment out unused function

* update UI to not have 2 uploads

* only call upload on select

* use utils function to find * in path

* show preview on drag over

* not allowing upload of svg

* add preview to upload tab

* no console.log

* resolve conflicts

* refactor log line

* fix failing BE test

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2022-04-27 15:12:48 -04:00
..
testdata Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
config.go Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
entity_events_mock.go Search: in-memory index (#47709) 2022-04-27 12:29:39 +04:00
entity_events_test.go Search: in-memory index (#47709) 2022-04-27 12:29:39 +04:00
entity_events.go Search: in-memory index (#47709) 2022-04-27 12:29:39 +04:00
http.go FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
service_test.go FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
service.go FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
storage_disk.go Storage: refactor filtering, improve performance (#47403) 2022-04-21 23:27:43 +04:00
tree.go Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
types.go Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
utils_test.go Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
utils.go Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00