-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site administrators should have UI to delete issues on admin panel #923
Comments
|
IMHO it's not a bug, it's a feature. It makes sure that nobody manipulates the issue visibility. |
I don´t see the problem, if the problem is that anyone can delete it, why just not look it to "owner" or the one that actully made the issue from the start? I mean lets say i made this, and then i think about it and know that it was any need for it or my request was stupid or any other reason that would make me remove it insted of just take place for nothing. Thats make no sense at all in my eyes |
Issues than then prove to be "stupid" and get closed are very helpful! Say someone has the same doubt or problem, the closed issue is "documentation" on something which then proved not to be an issue, and if the issue creator adds it it will contain also instructions on how to solve it. The only case in which I see deleting issues making sense is in case of illegal content. In that case, just delete the comment or edit the issue to not have the illegal stuff. |
I can see what your point is, but i still don´t agree in my case i am the only that run my repositorie thats why i miss that function do delete stuff that don´t has to be there |
If you create an issue my mistake, you can just change the title & body to |
I still don´t like it, but i see the none other agree whit me. In my eyes thats unclean |
Unclean yes, but consistent 🙂 |
When you are for example testing an ISSUE_TEMPLATE or trying to understand the project flow it would be very helpful to be able to delete your own issues ... At least when you are the owner of the repository. |
This feature should be available because it's up to the owner of the repository to decide what workflow is suitable for his/her project. |
The owner could also just delete it from the db :) |
Spammers are leaving issues with ads and I as admin cannot delete them 🤦♂️ Had to clean DB every time... |
Site administrators should have permissions to delete the issues on admin panel for maintaining the site easier |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
One concern that has not been brought up yet, is that some content may require removal for legal reasons. Say, for example that user X posts some really really illegal stuff in an issue. Of course, their account is terminated instantly, but now the site administrator has illegal content on their site and can't delete it. Also please note that not always the administrator knows how to remove an issue from the database; an option to do this from within the UI is a must unless the administrators can trust their users 100% (which is rarely the case). |
I would like to delete a pull request. Before the GUI is available, are the following SQL good enough? delete from pull_request where issue_id = 10;
delete from issue where id = 10; Assuming the number at the end of the pull request URL is 10 |
Just a bit of opinion, but here's a list of things I believe should be deleted instead of closed:
Things that could just be closed, but some maintainers and/or administrators may still want to delete to keep a cleaner backlog:
I hope this underlines the point that it often makes sense, both for administrators and repository maintainers to delete issues completely in certain situations. |
It is really important to be pragmatic when it comes to futures like this. In an ideal world there would be no need to delete an issue, unfortunately that is not where we all live. Since one can not be entirely sure from reading the comments (and related issue that is closed) what the current stance is on the implementation of "delete an issue" feature, perhaps the following arguments could help with formulating a position that this feature is needed for API as well as for GUI:
|
@mjfs: It was a pleasure to read your thoughts. |
Since #15599 merged, PRs are welcome!!! |
v1.15.0 is in freeze and no pulls where made ... moved onto next milestone |
I just want to +1 for this feature request as well as add another real world example of when it would be really useful. We're working on a project and we've created a few dozen issues which include different tasks that we had planned to do. Then after a while we've had a lengthy discussion and reevaluation of our project which made those old issues completely irrelevant. We want to just remove all of them and start from scratch. Recreating the repo is not something we'd like to do, because we make use of Wiki which would be lost as well, and we would still want to keep some of the existing issues, and switching repos feels like unnecessary work. Just Closing all issues would not provide any value to us, it would just leave a lot of clutter in closed issues, completely useless ones. We are not going to waste our time going through all the closed issues trying to find one that might match some new issue, that's just a waste of time. So we would really like to just delete most of the issues we have, that would be much cleaner solution to our problem. It's a management tool, and IMO it should not enforce any kind of specific workflow when it does not have to. Thank you, I hope this feature will make it's way into new versions. |
Let me introduce another issue about this issue (sorry for the words trick): duplicate/troll/spam issues. Wait wait wait - yes I used strong words up there - you maybe are part of the intelligent kind of people, but not everybody's you and the majority of the users dictate the behavior that a platform needs to adopt. |
Well, I would also argue that when people look at Gitea they probably are trying to find a self hosted Git option, no? I would think even more so than GitLab, because of how lightweight gitea is. And for private repos deleting issues is something that should be an option. |
I was looking down at it from the perspective of a public open registrations Gitea installation like the Gitea org themselves are trying to do with gitea.com... but yeah you could argue that private repos too benefit from this feature implementation, that's no doubt. |
I'm seeing commercial spam issues in the wild. I feel like this should be considered high priority. Spam is already pretty bad, not having any tools to remove it is even worse. |
My self-hosted Gitea instance is also victim of spam despite using reCaptcha. |
@KaKi87 You could already delete repos from admin panel |
Yes, but only one at a time, so I was forced to create a script to automatically delete a fake account's repo then the account itself. |
Wait, I haven't had the necessity yet so I haven't tryed it, but doesn't deleting a user also delete all its repositories? You have to manually delete all repos to be able to then delete the user? |
Yes, that's why I had to create a script. |
Gasp, lucky me that I have a privatized no-registrations instance and never had to deal with it... This probably confirms that we don't only need an admin panel to delete issues, but to generally delete stuff more easily (being them issues, spam accounts, random repos from an hacked account or somebody who shared/losed their password, etc etc). |
I want to emphasize that there is a lot of interest in spamming Gitea right now. I just imagine there's some spammer forum somewhere where they're trading tips and links to known open repos. These are clearly humans who are creating these accounts, they're verified by email, completing hCaptcha. They do everything. They make repos that contain spam files, they make issues that contain spam contents, they make profiles that contain spam details, they sometimes just make accounts that are effectively blank except a username but their username is clearly an attempt to generate SEO. I can deal with all of these things right now, except issues. |
Actually, there are at least two known ways to bypass captchas, regardless of the provider or the website using it : headless browsers and slave-based APIs. |
Let me delete!! |
@Peter-Pinkster You are welcome :) Seriously, instead of complaining you might just have had a look to see this is already available in the 1.17 release - and if you really need this, you can of course build this from source already. I'm fine if you look for alternatives and complain there. |
[x]
):Description
Under issues, why can´t it be optional under the settings for the current repositorie to allow delete an issues if you don´t feel to keep it?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: