Tom Hughes
03cad948e3
Fix new rubocop warnings
2022-03-15 19:24:09 +00:00
Andy Allan
0100cfe304
Use factory_bot to build new model objects
2022-01-06 10:46:38 +00:00
Tom Hughes
e5604ce98e
Assign vandalism reports for users to moderators
2018-06-17 11:14:19 +01:00
Tom Hughes
518cf69b34
Improve model tests for issues
2018-06-10 17:59:15 +01:00
Tom Hughes
d3700e6201
Merge branch 'master' into next
2018-06-10 17:02:12 +01:00
Andy Allan
46c183ffeb
Add more tests
2018-03-28 11:05:47 +08:00
Andy Allan
3006ce9713
Remove reporting of changesets
2018-02-28 14:39:40 +08:00
Andy Allan
0df788d742
Rename 'issue_type' to 'assigned_role', set defaults in the model and test.
2017-12-06 17:15:11 +00:00
Andy Allan
506c0b5f0d
Set the reported_user in a callback
...
This avoids passing around the reported_user via forms. There was no
validation anywhere that the reported_user corresponded to the object
being reported. This approach removes those worries too.
2017-07-12 13:36:48 +01:00
Matt Amos
757a1aaa85
Made rubocop happy by formatting and minor syntax tweaks.
2016-08-22 17:24:10 +01:00
Shrey
5add3cf671
Basic models set up
2016-08-22 16:12:31 +01:00