grafana/pkg/services
Artur Wierzbicki 9779f684d1
Storage: refactor - decouple the Upload method from HTTP concepts (#50378)
* add `IsPathValidationError` util to fs api

* refactor storage.Upload method

* remove unused struct

* extract `RootUpload` constant

* move file validation outside of the service

* Make UploadErrorToStatusCode exported

* refactor pathValidationError check

* if -> switch

Co-authored-by: Tania B <yalyna.ts@gmail.com>
2022-06-13 21:21:50 +04:00
..
accesscontrol Alerting: Add RBAC actions and role for provisioning API routes (#50459) 2022-06-09 09:18:57 +02:00
alerting Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
annotations Chore : Replace dashboardid with dashboardUID in annotation API (#48481) 2022-05-02 11:35:36 +02:00
auth Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cleanup Split Delete expired dashboard version store (#49610) 2022-05-31 11:56:05 +02:00
comments backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
contexthandler pkg/web: remove dependency injection (#49123) 2022-05-24 15:35:08 -04:00
dashboardimport schema: Migrate from scuemata to thema (#49805) 2022-06-06 17:52:44 -07:00
dashboards Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
dashboardsnapshots Chore: Remove x from dashboard snapshots (#48001) 2022-04-21 08:20:47 -04:00
dashboardversion Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
datasourceproxy add missing return (#50667) 2022-06-13 13:56:24 +02:00
datasources Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
encryption Encryption: Add support for decrypting ciphertexts with algorithm metadata (#49312) 2022-05-20 17:11:51 +02:00
export Export: introduce export plumbing (behind dev feature flag) (#48091) 2022-04-25 16:59:18 -07:00
featuremgmt loki: add feature-toggle check to live-mode (#49012) 2022-06-13 08:33:46 +02:00
guardian change to debug logs to match non access control guardian (#50477) 2022-06-09 13:51:56 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Enable envelope encryption by default (#49301) 2022-05-24 10:34:47 +02:00
ldap Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
libraryelements LibraryPanels: Require only viewer permissions to use a Library Panel (#50241) 2022-06-13 14:26:17 +01:00
librarypanels Never set gridPos to null (#50400) 2022-06-13 16:43:42 +01:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
login Login: Fix AuthInfo update process (#49556) 2022-05-25 10:00:21 +02:00
multildap pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
ngalert Alerting: Support for optimistic locking for alert rules (#50274) 2022-06-13 12:15:28 -04:00
notifications Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
oauthtoken Chore: Remove bus from oauthtoken (#46811) 2022-03-21 21:13:57 +01:00
plugindashboards Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
preference Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
provisioning Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
query Data Sources: Add QueryData OAuth & cookie forwarding middleware (#50466) 2022-06-10 08:41:29 -04:00
queryhistory Query history: Add swagger definitions (#50498) 2022-06-13 09:47:40 +02:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Alerting: Add a general screenshot service and alerting-specific image service. (#49293) 2022-05-22 22:33:49 +08:00
screenshot Fix metric names for screenshots (#50426) 2022-06-09 10:32:30 +01:00
search Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
searchusers Access control: Using RBAC to filter users in list view that you have read access to (#47963) 2022-05-13 09:26:34 +02:00
searchV2 SearchV2: explicit dashboard loading order and cleanups (#50210) 2022-06-05 23:46:35 +02:00
secrets Metrics: Expose functions to initialize counters at zero (#50122) 2022-06-13 17:35:10 +02:00
serviceaccounts clean up duplicated user creation code (#50178) 2022-06-07 09:49:18 -04:00
shorturls Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
sqlstore Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
star Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
store Storage: refactor - decouple the Upload method from HTTP concepts (#50378) 2022-06-13 21:21:50 +04:00
teamguardian ValidatedQueries: start of validated queries API (#44731) 2022-03-07 09:33:01 -09:00
thumbs backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
updatechecker Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00