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,39 +0,0 @@
/*
REDMINE PLUGIN LIST VIEW OVERRIDE
*/
function openAuthorModalBox(element) {
$('#ajax-modal').dialog({
resizable: false,
autoOpen: false,
height: 'auto',
width: 'auto',
modal: true,
hide: {
effect: "fade",
duration: 500
},
buttons: { Ok: function(){ $(this).dialog('close'); } }
});
var title = $(element).html();
$.get($(element).attr('href'), function(data){
$('#ajax-modal').html(data);
$('#ajax-modal').dialog('option', 'title', title);
$('#ajax-modal').dialog('open');
});
}
function enhanceAuthorsUrlForPlugin(plugin_name) {
var link = $('#plugin-' + plugin_name + ' > td.author > a');
if (link.length) {
link.addClass('modal-box');
$(document).on('click', 'a.modal-box', function(e){
e.preventDefault();
openAuthorModalBox(this);
});
}
}
$(document).ready(function() {
enhanceAuthorsUrlForPlugin('redmine_git_hosting');
});