Commit Graph

7 Commits

Author SHA1 Message Date
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
Earlopain
79bada3392
[Search] Unify user lookup
There was lots of duplication between id/name searching, with a plethora
of different approaches. Now it's all in one place.
A few places that didn't have name/id search previously now do.
2023-08-04 20:46:59 +02:00
clragon
3a2987c84f
[Search] Allow ascending order for IDs 2023-07-07 14:55:30 +02:00
Earlopain
84ab5e82dc
[Votes] Allow searching post/comment comma-separated 2023-06-04 22:14:41 +02:00
Donovan Daniels
8d3c8f40c3
[Search]: Change explicit value checks to truthiness/falseness checks 2023-04-05 04:59:08 -05:00
Earlopain
c2d224cba9
[Votes] Unify index view code 2022-10-08 23:59:33 +02:00
Earlopain
696ae62ef6
[Votes] Deduplicate Comment/Post vote code 2022-10-08 12:04:17 +02:00