* [UserWarnable] fix `warning_user_id` never being set
I know `update` & `update_columns` function differently, but I feel the difference isn't needed
* [UserWarnable] Add inline user and timestamp
* lint
* Move warning info into partial
Also removes the user/timestamp as that is redundant for now
* Fix unmarking
* Tweak fixer script
---------
Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
* [Tickets] Profile Links & Pending Count
* stuff a sock in it, rubocop
* Remove counts fixer for ticketss
* Update app/views/tickets/show.html.erb
Co-authored-by: Earlopain <earlopain+github@protonmail.com>
* Update app/views/tickets/show.html.erb
Co-authored-by: Earlopain <earlopain+github@protonmail.com>
* use standardized timestamps
* this got yeeted at some point
* Fix search links, only show pending count when >= 2
I'm imagining some confusion if it shows one pending when it is just
the one you're looking at right now
* Fix fixer? `update_column` throws a readonly error
* `for_user` is only used in fixer script
* Fix fixer script, for real
---------
Co-authored-by: Earlopain <earlopain+github@protonmail.com>
Co-authored-by: Earlopain <earlopain@protonmail.com>
These files are useless and account for more than 1000 rubocop offences.
Move the remaining fixer scripts to the db folder, the scripts folder
is empty otherwise.