summaryrefslogtreecommitdiff
path: root/app/models/abuse_report.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use a more sensible message for the AbuseReport uniqueness validationrs-abuse-report-validationRobert Speicher2016-01-161-1/+1
| | | | | Previously it was "user has already been taken", when really we were saying the user has already been reported.
* Block the reported user before destroying the recordrs-block-user-before-removalRobert Speicher2016-01-121-0/+5
| | | | | | | | This is intended to prevent the user from creating new objects while the transaction that removes them is being run, resulting in objects with nil authors which can then not be edited. See https://gitlab.com/gitlab-org/gitlab-ce/issues/7117
* Add `AbuseReport#notify`rs-abuse-reports-refactorRobert Speicher2016-01-041-0/+6
| | | | Tell, Don't Ask.
* Streamline the "Report button"rymai/gitlab-ce-disable-report-button-if-already-reportedRémy Coutable2015-09-291-2/+2
| | | | | | This simplifies the "Report button" to not use open a dropdown and adds a tooltip on this button. This also removes an extra spec and adds missing specs.
* Re-annotate modelsStan Hu2015-09-061-0/+12
|
* Allow users to send abuse reportsDmitriy Zaporozhets2015-08-061-0/+9
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>