how to remove comments ?

28 views
Skip to first unread message

Martin Hamant

unread,
Apr 18, 2014, 5:12:00 AM4/18/14
to gito...@googlegroups.com
Hi !

We have this spam user http://gitorious.ow2.org/~jodie , which account is now disabled but I'm not able to delete its comments ?

How comments are handled in Gitorious ?

Thanks !

Paweł Pierzchała

unread,
Apr 24, 2014, 8:47:06 AM4/24/14
to gito...@googlegroups.com
Hi Martin,
there is no UI for removing comments, but you could use gitorious console to remove it. If you want to, first open rails console:

cd /var/www/gitorious/app
bundle exec rails console

then find a user and destroy the comments:

> User.find_by_login('jodie').comments.destroy_all

Cheers,
Pawel



--
--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin Hamant

unread,
May 24, 2014, 5:15:38 AM5/24/14
to gito...@googlegroups.com
Hi !

Thank you very much for your help.


You received this message because you are subscribed to a topic in the Google Groups "Gitorious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gitorious/hcCbviRK2Dw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gitorious+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages