Commit Graph

19 Commits

Author SHA1 Message Date
clragon
7b70ceefbf
[UserFeedback] Fix filtering nil during restoration (#901) 2025-02-09 20:18:23 -08:00
clragon
094fb3d48b
[UserFeedbacks] Fix errors when restoring feedbacks from ancient mod actions (#894) 2025-02-05 10:59:20 -08:00
clragon
8136799546
[UserFeedbacks] Restore deleted user feedbacks from staff notes (#859) 2025-02-03 09:00:20 -08:00
Donovan Daniels
b44f8a7d6f
[Posts] Add contributor category (#794) 2024-12-18 06:07:30 -08:00
Donovan Daniels
6f296e8e01
[Posts] Add back comment disabling (#749) 2024-10-28 13:56:22 -07:00
Donovan Daniels
f315504660
[Posts] Add verified artist search (#663) 2024-09-07 13:34:25 -07:00
Donovan Daniels
8a3e70e5ca
[AvoidPosting] Integrate the avoid posting list into the site (#582) 2024-08-03 14:15:26 -07:00
Donovan Daniels
4a0a0c2f93
[UserFeedbacks] Add ability to soft delete feedbacks (#670) 2024-07-21 10:58:40 -07:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Donovan Daniels
fd5b491694
[UserWarnable] Fix warning_user_id never being set (#541)
* [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>
2023-12-04 20:19:49 +01:00
Earlopain
6bb4c272cc
[Gems] Bump rubocop 2023-12-03 15:36:37 +01:00
Earlopain
b6dc473a55
[Elasticsearch] Bring back the proxy object 2023-09-16 17:09:33 +02:00
Earlopain
ddcb7c1af1
[Elasticsearch] Implement index_name 2023-09-16 15:39:49 +02:00
Earlopain
855388b092
[Elasticsearch] Remove a few more easy usages of __elasticsearch__ 2023-09-14 20:56:56 +02:00
Donovan Daniels
b339e84612
[Tickets] Profile Links & Pending Count (#518)
* [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>
2023-05-16 20:48:51 +02:00
Donovan Daniels
6d6282ab91
[TIckets] Expand Accused Search (#513)
* [Tickets] Expand Accused Search

* Fix foreign key name, fix fixer script

* Add the accused to the ticket index page

---------

Co-authored-by: Earlopain <earlopain@protonmail.com>
2023-05-10 18:07:35 +02:00
Earlopain
8f66cecb3f
[Gems] Bump rubocop and solargraph 2023-04-15 16:13:19 +02:00
Earlopain
257e717e56
[README] Document windows executable bit issues
This also adds/removes +x on a few files which should/shouldn't have it.
2023-03-04 14:20:39 +01:00
Earlopain
478941aecb
[Cleanup] Remove old migrations/fixer scripts
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.
2023-02-22 20:12:20 +01:00