stable

Clone or download

Read-only

Stop (re)writing $_GET and $_REQUEST variables to display the GitPHP view

The remaining rewriting for "pre-sanitization" purposes is kept for now. It will be dropped once all the unused templates are removed to reduce the needed work to check if those variables are always properly escaped. The tree view is now the default view instead of the summary view. This is part of story #10411: cleanly integrate gitphp into tuleap. It is also part of story #10415: see tree view by default. Change-Id: If4eb7680311b50d166e437f809b47be0e18c61e0

Modified Files

Name
M plugins/git/include/Git/ReferenceManager.class.php +2 −3 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller.php +24 −16 Go to diff View file
M plugins/git/include/GitPHP/controller/ControllerBase.php +5 −88 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +25 −31 Go to diff View file
D plugins/git/include/GitPHP/controller/Controller_ProjectList.php +0 −171 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Snapshot.php +1 −10 Go to diff View file
M plugins/git/include/GitPHP/git/Project.php +0 −86 Go to diff View file
M plugins/git/include/GitPHP/git/ProjectList.php +27 −33 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListArray.php +0 −82 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListArrayLegacy.php +0 −76 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListBase.php +0 −311 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListDirectory.php +0 −141 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListFile.php +0 −79 Go to diff View file
D plugins/git/include/GitPHP/git/ProjectListScmManager.php +0 −128 Go to diff View file
A plugins/git/include/GitPHP/git/ProjectProvider.php +39 −0 Go to diff View file
M plugins/git/include/GitRepository.class.php +1 −1 Go to diff View file
M plugins/git/include/GitViews/GitPhpViewer.class.php +1 −16 Go to diff View file
M plugins/git/templates/gitphp/atom.tpl +5 −5 Go to diff View file
M plugins/git/templates/gitphp/blame.tpl +3 −3 Go to diff View file
M plugins/git/templates/gitphp/blamedata.tpl +1 −1 Go to diff View file
M plugins/git/templates/gitphp/blob.tpl +4 −4 Go to diff View file
M plugins/git/templates/gitphp/blobdiff.tpl +4 −4 Go to diff View file
D plugins/git/templates/gitphp/blobheaders.tpl +0 −8 Go to diff View file
M plugins/git/templates/gitphp/commit.tpl +22 −22 Go to diff View file
M plugins/git/templates/gitphp/commitdiff.tpl +5 −5 Go to diff View file
M plugins/git/templates/gitphp/commitdiffplain.tpl +1 −1 Go to diff View file
M plugins/git/templates/gitphp/footer.tpl +2 −7 Go to diff View file
M plugins/git/templates/gitphp/header.tpl +1 −2 Go to diff View file
M plugins/git/templates/gitphp/headlist.tpl +3 −3 Go to diff View file
M plugins/git/templates/gitphp/history.tpl +2 −2 Go to diff View file
M plugins/git/templates/gitphp/log.tpl +11 −11 Go to diff View file
M plugins/git/templates/gitphp/nav.tpl +6 −6 Go to diff View file
D plugins/git/templates/gitphp/opml.tpl +0 −22 Go to diff View file
M plugins/git/templates/gitphp/path.tpl +5 −5 Go to diff View file
D plugins/git/templates/gitphp/projectindex.tpl +0 −10 Go to diff View file
D plugins/git/templates/gitphp/projectlist.tpl +0 −98 Go to diff View file
M plugins/git/templates/gitphp/refbadges.tpl +2 −2 Go to diff View file
M plugins/git/templates/gitphp/rss.tpl +3 −3 Go to diff View file
M plugins/git/templates/gitphp/search.tpl +6 −6 Go to diff View file
M plugins/git/templates/gitphp/searchfiles.tpl +9 −9 Go to diff View file
M plugins/git/templates/gitphp/shortlog.tpl +5 −5 Go to diff View file
M plugins/git/templates/gitphp/shortloglist.tpl +7 −7 Go to diff View file
M plugins/git/templates/gitphp/tag.tpl +8 −8 Go to diff View file
M plugins/git/templates/gitphp/taglist.tpl +9 −9 Go to diff View file
M plugins/git/templates/gitphp/title.tpl +7 −7 Go to diff View file
M plugins/git/templates/gitphp/treelist.tpl +7 −7 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev-mail-prefix-quote.txt +1 −1 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev-mail-prefix.txt +1 −1 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/gitolite-mail-config/mailhook-rev.txt +1 −1 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/perms/migrated_to_gerrit.conf +2 −2 Go to diff View file
M plugins/git/tests/Git/Gitolite/_fixtures/perms/project1-full.conf +2 −2 Go to diff View file
M plugins/git/tests/Git/ReferenceManagerTest.php +0 −10 Go to diff View file
M plugins/git/tests/GitBackendTest.php +1 −1 Go to diff View file