Chore: Removes remaining occurrences of angular_support_enabled (#111305)

This commit is contained in:
Hugo Häggmark
2025-09-19 07:11:11 +02:00
committed by GitHub
parent 6563de7e46
commit 0e7a5ffc86
3 changed files with 0 additions and 20 deletions
-3
View File
@@ -439,9 +439,6 @@ content_security_policy_report_only = false
# $ROOT_PATH is server.root_url without the protocol.
content_security_policy_report_only_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
# Controls if old angular plugins are supported or not.
angular_support_enabled = false
# The CSRF check will be executed even if the request has no login cookie.
csrf_always_check = false
-3
View File
@@ -432,9 +432,6 @@
# $ROOT_PATH is server.root_url without the protocol.
;content_security_policy_report_only_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
# Controls if old angular plugins are supported or not.
;angular_support_enabled = false
# List of additional allowed URLs to pass by the CSRF check, separated by spaces. Suggested when authentication comes from an IdP.
;csrf_trusted_origins = example.com
@@ -792,20 +792,6 @@ The following example limits access to the backend of a single plugin:
`actions_allow_post_url=/api/plugins/grafana-special-app`
<hr />
#### `angular_support_enabled`
This is set to false by default, meaning that the angular framework and support components aren't loaded.
This means that all [plugins](../../developers/angular_deprecation/angular-plugins/) and core features that depend on angular support won't work.
The core features that depend on angular are:
- Old graph panel
- Old table panel
These features each have supported alternatives, and we recommend using them.
#### `csrf_trusted_origins`
List of additional allowed URLs to pass by the CSRF check. Suggested when authentication comes from an IdP.