github에서 내 프로젝트에 수십 가지 퀴즈 문제가 입력되었습니다. 일부 아인슈타인은 스크립트를 실행하고 api를 통해 이러한 모든 무의미한 문제를 만들었습니다. 이 문제와 관련된 것은 없습니다.Github - 오류로 입력 한 문제 제거
분명히 나는 그것을 삭제할 수 있지만 문서에서 찾을 수없는 것 같습니다.
github에서 내 프로젝트에 수십 가지 퀴즈 문제가 입력되었습니다. 일부 아인슈타인은 스크립트를 실행하고 api를 통해 이러한 모든 무의미한 문제를 만들었습니다. 이 문제와 관련된 것은 없습니다.Github - 오류로 입력 한 문제 제거
분명히 나는 그것을 삭제할 수 있지만 문서에서 찾을 수없는 것 같습니다.
실제로 문제를 삭제할 방법이 없습니다. 이것이 스팸 공격임을 나타 내기 위해 할 수있는 일은 새로운 레이블을 만드는 것입니다. 그런 다음 API를 edit 각 호를 닫고 SPAM
라벨로 라벨을 지정할 수 있습니다. 라벨을 보는 사람들은 문제 옆에 레이블이 표시되는 것을 볼 수 있으며, 실제로 당신이 희망 할 수있는 최상의 것입니다.
특정 언어를 더 편하게 사용하려면 library에 기재되어있는 내용을 확인하여 편리하게 사용하십시오.
이것은 내가 생각하거나 두려워했던 것입니다. 감사합니다 여러분. –
또한 [사용자 차단] (https://help.github.com/articles/blocking-a-user)을 통해 리포지토리의 다른 문제를 열지 못하게 할 수 있습니다. – jasonrudolph
법적 문제로 인해 프로젝트의 여러 의견을 가지고 몇 가지 문제점을 삭제해야했습니다.
복사 붙여 넣기를 차단 문제의 텍스트 ("이 문제는 삭제되고 차단 된")
javascript:(function(){ $('.delete-button.octicon.octicon-x.js-comment-delete').each(function(){ href=$(this).attr("href"); if(href!==undefined) { console.log("DELETING: "+href); $.ajax({type:"DELETE",url:href}); } }); firstCommentToedit=$('form.js-comment-update')[0]; $.ajax({ type:"POST", url:firstCommentToedit.action, data:{ _method:$(firstCommentToedit).find('input[name=_method]').val(), "issue[body]":"THIS ISSUE WAS DELETED AND BLOCKED", authenticity_token:$(firstCommentToedit).find('input[name=authenticity_token]').val() } }); lockLink=$('a[href$="/lock"]')[0]; if (lockLink!==undefined) { $.ajax({ type:"POST", url:lockLink.href, data:{_method:$(lockLink).attr("data-method")} }); } setTimeout(function(){window.location=window.location;},3000) })()
확장 : 당신은 단지 그들을 종료하지 않으
javascript: (function() {
$('.delete-button.octicon.octicon-x.js-comment-delete').each(function() {
href = $(this).attr("href");
if (href !== undefined) {
console.log("DELETING: " + href);
$.ajax({
type: "DELETE",
url: href
});
}
});
firstCommentToedit = $('form.js-comment-update')[0];
$.ajax({
type: "POST",
url: firstCommentToedit.action,
data: {
_method: $(firstCommentToedit).find('input[name=_method]').val(),
"issue[body]": "THIS ISSUE WAS DELETED AND BLOCKED",
authenticity_token: $(firstCommentToedit).find('input[name=authenticity_token]').val()
}
});
lockLink = $('a[href$="/lock"]')[0];
if (lockLink !== undefined) {
$.ajax({
type: "POST",
url: lockLink.href,
data: {
_method: $(lockLink).attr("data-method")
}
});
}
setTimeout(function() {
window.location = window.location;
}, 3000)
})()
이유라도? – Cairnarvon
나는 그 (것)들을 제거하고 싶을다는 것을 짐작하고있다 그래서 그가 다시 연결할 수있다 그래서 연결된다. 그리고 제가 말할 수있는 한, 당신이 할 수있는 일은 이슈들을 닫는 것입니다. 나는 실제로 그들을 제거하는 방법을 찾을 수 없습니다. –
그럴 수는 있지만 실제로는 100 개 밖에 안되는 상황에서 200 개의 폐쇄 된 문제가 있다고 말하고 모든 무의미한 제목의 재앙처럼 보입니다 ... –