stable

Clone or download

Read-only

story #7709: Site admin can restrict access to a mirror

Change-Id: I97a0ef76cdf1c66e01739bd553572f2156c21402

Modified Files

Name
M plugins/git/include/Git.class.php +1 −0 Go to diff View file
A plugins/git/include/Git/AdminAllowedProjectsPresenter.class.php +128 −0 Go to diff View file
M plugins/git/include/Git/AdminMirrorController.class.php +123 −5 Go to diff View file
M plugins/git/include/Git/AdminMirrorListPresenter.class.php +4 −0 Go to diff View file
M plugins/git/include/Git/AdminRouter.class.php +27 −5 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDao.class.php +13 −0 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDataMapper.class.php +22 −9 Go to diff View file
A plugins/git/include/Git/Mirror/MirrorResourceRestrictor.class.php +101 −0 Go to diff View file
A plugins/git/include/Git/Mirror/RestrictedMirrorDao.class.php +98 −0 Go to diff View file
M plugins/git/include/GitActions.class.php +8 −8 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +5 −1 Go to diff View file
M plugins/git/include/GitViews/ShowRepo.class.php +5 −1 Go to diff View file
M plugins/git/include/Git_GitoliteDriver.class.php +5 −1 Go to diff View file
M plugins/git/include/autoload.php +5 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +23 −12 Go to diff View file
M plugins/git/site-content/en_US/git.tab +23 −1 Go to diff View file
M plugins/git/site-content/fr_FR/git.tab +23 −0 Go to diff View file
A plugins/git/templates/admin-plugin-manage-allowed-projects.mustache +78 −0 Go to diff View file
M plugins/git/templates/admin-plugin-mirrors.mustache +6 −0 Go to diff View file
M plugins/git/tests/GitActionsTest.php +6 −0 Go to diff View file
A plugins/git/www/scripts/admin-manage-allowed-projects.js +100 −0 Go to diff View file
M plugins/git/www/themes/default/css/style.less +70 −1 Go to diff View file
M src/common/project/Group.class.php +4 −0 Go to diff View file