grafana/pkg
Giuseppe Guerra 966bcd3545
Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202)
* Plugins CDN: Add support for different CDN root path

* Plugins CDN: Make frontendsettings return the correct CDN base path

* Update comments

* Fix version detection

* Undo frontend changes

* Fix system.js asset path construction

* fix(plugins): translate all plugin css asset paths loaded via cdn

* refactor(plugins): rename extractPluginNameVersionFromUrl and add comments

* Fix typo in comment

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* Hardcode CDN URL structure

/{id}/{version}/public/plugins/{id}/{assetPath} is not required anymore in the cdn url template config

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2023-02-24 14:28:13 +01:00
..
api Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202) 2023-02-24 14:28:13 +01:00
build Chore: Upgrade golangci-lint to v1.51.2 (#63630) 2023-02-23 15:10:03 +01:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd grafana-cli: update plugins ls command (#63492) 2023-02-22 09:24:13 +01:00
codegen Chore: Update oapi-codegen library (#62962) 2023-02-21 12:34:24 +01:00
components Loki: Push support for multi-tenancy mode (#60866) 2023-01-23 16:24:22 +01:00
cuectx kindsys: Fix CUE code generation on Windows (#62812) 2023-02-02 15:06:55 -05:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
extensions Update dskit to the latest main (#62616) 2023-01-31 19:05:49 +00:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Authn: Anon session service (#63052) 2023-02-21 16:21:18 +01:00
kinds Chore: Update oapi-codegen library (#62962) 2023-02-21 12:34:24 +01:00
kindsys Chore: Set up codeowner file for dataviz squad (#63200) 2023-02-09 21:02:41 +01:00
login LDAP: Move LDAP globals to Config (#63255) 2023-02-10 19:01:55 +01:00
middleware Authn: Anon session service (#63052) 2023-02-21 16:21:18 +01:00
mocks/mock_gcsifaces Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
models Chore: Move library elements models to library elements service (#62507) 2023-02-01 17:32:05 +01:00
plugins Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202) 2023-02-24 14:28:13 +01:00
registry Schemas: Generate CRDs for core kinds (#62641) 2023-02-01 09:08:26 -08:00
server Authn: Anon session service (#63052) 2023-02-21 16:21:18 +01:00
services CommandPalette: Remove topnav command palette feature flag (#63620) 2023-02-24 07:14:53 -05:00
setting Cookies: Provide a mechanism for per user control over cookies (#61566) 2023-02-21 11:19:07 +01:00
tests Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00
tsdb Chore: Upgrade golangci-lint to v1.51.2 (#63630) 2023-02-23 15:10:03 +01:00
util Chore: Replace short UID generation with more standard UUIDs (#62731) 2023-02-06 20:44:37 -05:00
web Chore: Fix goimports grouping (#62423) 2023-01-30 08:25:58 +00:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.