stable

Clone or download

Read-only

Remove IncludeAssets::getHTMLSnippet()

In order to deploy a strict CSP using nonces (see [0] for example) we need to centralize how scripts are added to the pages. Having the possibility to output HTML snippet directly does not help with this goal. Part of request #17967: Deploy a useful content security policy [0] https://csp.withgoogle.com/docs/strict-csp.html Change-Id: Ic983cd97986c781c49e8e1d7a91265781be6161f

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +4 −2 Go to diff View file
M plugins/artifactsfolders/include/artifactsfoldersPlugin.php +3 −1 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +6 −4 Go to diff View file
M plugins/docman/include/docmanPlugin.php +4 −3 Go to diff View file
M plugins/forumml/include/forummlPlugin.php +3 −1 Go to diff View file
M plugins/forumml/include/forumml_utils.php +1 −1 Go to diff View file
M plugins/git/include/Git/Repository/View/GerritStatusPresenter.php +1 −1 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Gerrit.class.php +1 −1 Go to diff View file
M plugins/graphontrackersv5/include/GraphOnTrackersV5_Renderer.class.php +1 −1 Go to diff View file
M plugins/graphontrackersv5/include/graphontrackersv5Plugin.php +4 −2 Go to diff View file
M plugins/hudson/include/hudsonPlugin.php +4 −2 Go to diff View file
M plugins/hudson_svn/include/hudson_svnPlugin.php +3 −1 Go to diff View file
M plugins/svn/include/SVN/Explorer/ExplorerController.php +0 −4 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +4 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +4 −2 Go to diff View file
M plugins/tracker_encryption/include/tracker_encryptionPlugin.php +3 −1 Go to diff View file
M src/common/date/RelativeDatesAssetsRetriever.php +0 −5 Go to diff View file
M src/common/layout/IncludeAssets.php +0 −9 Go to diff View file
M src/common/layout/Layout.class.php +6 −6 Go to diff View file
M src/common/layout/SiteHomepageController.php +3 −3 Go to diff View file
M src/www/admin/show_pending_documents.php +1 −1 Go to diff View file
M src/www/admin/usergroup.php +1 −1 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +2 −2 Go to diff View file
M src/www/tlp-doc/index.php +2 −2 Go to diff View file
M tests/unit/common/Layout/IncludeAssetsTest.php +0 −11 Go to diff View file