grafana/public/app/types
Kristian Bremberg 35407142d0
Feature: Trusted Types support (#64975)
* Draft: Feature: Trusted Types support

* remove trusted-types package

* Create policy before jQuery and Angular is loaded and add feature flag

* Add trustedTypePolicies

* Sanitize scriptURL

* Add TT meta tag for test env

* Move trusted types into core

* Add DOMParser support for TrustedHTML

* Seperate RSS sanitization and add better TrustedHTML support

* Get test CSP header from config

* Remove dompurify dep from core

* Add documentation for trusted types

* Apply suggestions from code review

Co-authored-by: Kristian Bremberg <114284895+KristianGrafana@users.noreply.github.com>

* Add comment about Github discussion thread and things breaking

* Remove changes from News panel

* Remove TT feature toggle

* Expose TT and CSPReportOnly to frontend

* Log errors in console when CSP report only is enabled

* Log error for reporting and remove test mode

* Only insert CSP header in HTML for dev env

* Update docs

---------

Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2023-04-27 18:20:37 +02:00
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Authentication UI: Fix permissions for saving settings (#67086) 2023-04-24 09:57:05 +02:00
acl.ts RBAC: Make access control metadata for folders work with nested folders (#66464) 2023-04-21 15:05:11 +01:00
alerting.ts Alerting: Add Notification error feedback on contact points view (#56225) 2022-10-06 15:23:38 +02:00
apiKeys.ts Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411) 2023-03-01 15:34:53 +00:00
appEvent.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
appNotifications.ts Frontend: Add notification persistence behind feature flag (#47871) 2022-04-20 10:42:32 +01:00
config.ts Chore: Add type info for grafana boot data (#45322) 2022-03-30 10:48:58 +01:00
configAuth.ts SAML: Configuration UI (#64054) 2023-04-13 16:07:43 +02:00
dashboard.ts New Dashboard: Fix "build a dashboard" when empty dash page feature is enabled (#66816) 2023-04-27 11:11:19 +01:00
datasources.ts Datasource Onboarding: Prevent flickering of onboarding page after first load (#63360) 2023-02-24 11:48:30 +00:00
events.ts AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc (#62281) 2023-02-02 09:53:06 +01:00
explore.ts Explore: Clear live logs (#64237) 2023-04-20 10:21:28 +02:00
folders.ts Folder: Replace folderId with folderUid (#58393) 2022-11-17 09:22:57 +01:00
index.ts SAML: Configuration UI (#64054) 2023-04-13 16:07:43 +02:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
lru-cache.d.ts Update dependency lru-cache to v7 (#45074) 2022-02-18 10:23:06 +01:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: improve some types (#62363) 2023-02-01 10:50:34 +00:00
query.ts QueryGroup: Cleanup leftovers from hackathons (#67048) 2023-04-21 15:32:47 +02:00
serviceaccount.ts Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411) 2023-03-01 15:34:53 +00:00
settings.ts SAML: Configuration UI (#64054) 2023-04-13 16:07:43 +02:00
store.ts Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00
suggestions.ts VisualizationSuggestions: Support image & text instead of real previews. Adds suggestions for all non data panels when there are no data (#42074) 2021-11-25 10:52:01 +01:00
supportBundles.ts Support Bundles: Improve creating bundle UX (#61611) 2023-01-17 17:50:14 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts Teams: Use generated TS types (#60618) 2023-01-04 14:08:03 +02:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.test.ts Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
unified-alerting-dto.ts Alerting: Add limits and move state and label matching filters to the BE (#66267) 2023-04-25 11:19:20 +02:00
unified-alerting.ts Alerting: Add limits and move state and label matching filters to the BE (#66267) 2023-04-25 11:19:20 +02:00
user.ts Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
window.d.ts Feature: Trusted Types support (#64975) 2023-04-27 18:20:37 +02:00