Artur Wierzbicki
712b239d5a
Storage: remove pointer on write path ( #47580 )
...
* remove pointer to contents in UpsertFileCommand
* add command to UpsertFileCommand
* fix client after API refactor
2022-04-12 16:58:09 +02:00
Artur Wierzbicki
b8fba41d74
Storage: unify List
queries ( #46572 )
...
* silence errors
* s3 fix - don't retrieve files with path equal to the root
* Storage: unify list queries
* Storage: add `IsFolder` method to file obj
* Storage: API consistency - always refer `File` as a pointer rather than a value
2022-03-15 21:21:22 +04:00
Artur Wierzbicki
ed924b3d0c
Storage: list filtering and root folder support ( #46453 )
...
* git the things: FS api internal changes
* remove filestorage/service.go
* remove filestore flag
* remove dummy fs
* readd fileblob import
2022-03-11 22:08:19 +04:00
Artur Wierzbicki
a8b90d9a25
FileStore: add basic file storage API ( #46051 )
...
* #45498 : fs API alpha
* #45498 : remove grafanaDS changes for filestorage.go
* #45498 : fix lint
* #45498 : fix lint
* #45498 : remove db file storage migration
* #45498 : linting
* #45498 : linting
* #45498 : linting
* #45498 : fix imports
* #45498 : add comment
* remove StorageName abstractions
* FileStore: add dummy implementation (#46071 )
* #45498 : bring back grafanaDs changes, add dummy filestorage
* #45498 : rename grafanaDs to public
* #45498 : modify join
* #45498 : review fix
* #45498 : unnecessary leading newline (whitespace) IMPORTANT FIX
* #45498 : fix belongsToStorage
* #45498 : fix removeStoragePrefix so that it works with abs paths
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 10:53:26 +04:00