Elimina el plugin Redmine Git Hosting

Finalmente se descarta por los problemas de configuración y potencial
brecha de seguridad al requerir acceso global al puerto ssh.
This commit is contained in:
Manuel Cillero 2020-12-06 11:46:44 +01:00
parent bdd66d941f
commit 0edadcfed8
494 changed files with 0 additions and 36768 deletions

View file

@ -1,16 +0,0 @@
- if project.module_enabled?(:repository)
- if project.repository && project.repository.is_a?(Repository::Xitolite)
- if RedmineGitHosting::Config.show_repositories_url? && User.current.allowed_to?(:view_changesets, project)
.git_hosting.box
h3
= project.repositories.count > 1 ? l(:label_repository_plural) : l(:label_repository)
= render partial: 'common/git_urls', locals: { repositories: project.gitolite_repos }
- if project.repositories.count > 1
.clear-both
p
= link_to l(:label_see_other_repositories), { controller: '/repositories',
action: 'show',
id: project,
repository_id: project.repository.identifier_param,
rev: nil,
path: nil }

View file

@ -1,61 +0,0 @@
- if @project.repositories.any?
table.table.table-hover
thead
tr
th = l(:field_identifier)
th = l(:field_repository_is_default)
th = l(:label_scm)
th = l(:label_repository)
th = l(:label_repository_default_branch)
th = l(:label_repository_enabled_capabilities)
th
tbody
- @project.repositories.sort.each do |repository|
tr
td = repository.identifier.present? ? repository.identifier : ''
td = checked_image repository.is_default?
td = repository.scm_name
td = link_to h(repository.url),
{ controller: 'repositories',
action: 'show',
id: @project,
repository_id: repository.identifier_param }
td
- if repository.is_a?(Repository::Xitolite)
span.label.label-info = repository.git_default_branch
td align='center'
- if repository.is_a?(Repository::Xitolite)
- if repository.git_annex_enabled?
= render_feature(repository, :git_annex)
- else
= render_feature(repository, :deployment_credentials)
= render_feature(repository, :post_receive_urls)
= render_feature(repository, :mirrors)
= render_feature(repository, :git_daemon)
= render_feature(repository, :git_http)
= render_feature(repository, :git_notify)
= render_feature(repository, :protected_branch)
= render_feature(repository, :public_repo)
td.buttons
- if User.current.allowed_to?(:manage_repository, @project)
= link_to l(:label_user_plural), committers_repository_path(repository),
class: 'icon icon-user'
= link_to l(:button_edit), edit_repository_path(repository),
class: 'icon icon-edit'
= link_to l(:button_move), move_repository_git_extras_path(repository),
class: 'icon icon-move' if repository.is_a?(Repository::Xitolite) && repository.movable?
= delete_link repository_path(repository)
- else
p.nodata = l(:label_no_data)
- if User.current.allowed_to?(:manage_repository, @project)
p = link_to l(:label_repository_new), new_project_repository_path(@project), class: 'icon icon-add'
- content_for :header_tags do
= bootstrap_load_module(:label)
= bootstrap_load_module(:tables)