Project

General

Profile

Actions

Task #96002

closed

Epic #87417: Integrate proper Content Security Policy (CSP) handling

Task #87418: Refactor and remove usage of inline scripts in backend

Avoid inline JavaScript in backend update signals

Added by Oliver Hader about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
-
Start date:
2021-11-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

$this->pageRenderer->addJsFooterInlineCode('updateSignals', BackendUtility::getUpdateSignalCode());
top.document.dispatchEvent(new CustomEvent("typo3:pagetree:refresh"));

Currently failing CSP tests:

  • ext:impexp, import anything, will reload page tree
  • modify title of any page using FormEngine

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #96003: Avoid inline JavaScript in DispatchNotificationHookClosedOliver Hader2021-11-16

Actions
Related to TYPO3 Core - Task #96012: Avoid inline JavaScript in OpendocsToolbarItem::updateNumberOfOpenDocsHookClosed2021-11-17

Actions
Related to TYPO3 Core - Task #96136: Deprecate inline JavaScript in backend update signalsClosed2021-11-29

Actions
Actions #1

Updated by Oliver Hader about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Oliver Hader about 3 years ago

  • Description updated (diff)
Actions #3

Updated by Georg Ringer about 3 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Oliver Hader about 3 years ago

  • Related to Task #96003: Avoid inline JavaScript in DispatchNotificationHook added
Actions #5

Updated by Gerrit Code Review about 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

Actions #6

Updated by Oliver Hader about 3 years ago

  • Related to Task #96012: Avoid inline JavaScript in OpendocsToolbarItem::updateNumberOfOpenDocsHook added
Actions #7

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

Actions #8

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

Actions #9

Updated by Oliver Hader about 3 years ago

  • Assignee set to Oliver Hader
Actions #10

Updated by Gerrit Code Review about 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

Actions #11

Updated by Gerrit Code Review about 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

Actions #12

Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72261

Actions #13

Updated by Oliver Hader almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Oliver Hader almost 3 years ago

  • Related to Task #96136: Deprecate inline JavaScript in backend update signals added
Actions #15

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF