Commit Graph

12 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
8cd56b5cd2
[Posts] Prevent extra post lookup for seq/prev nav buttons
The tag search already returns a post instance. There's no point in
extracting the id only to look it up again later.
2023-11-08 19:22:01 +01:00
Earlopain
c8d7bebd72
[QueryBuilder] Move parsing code into own class
Introduces the concept of "free" tags to account for automatically added tags.
Introduce `resolve_aliases` which can be used instead of `raw_tag_match`
2023-08-24 13:16:44 +02:00
Earlopain
77fd4e5bb7
[Tags] Rework and rename has_metatag?`
The function returns the metatag value, it shouldn't be named that way.
The new methods are more explicit and also more performant.
2023-08-22 13:57:41 +02:00
Kira
39ef925559 Prefill status and rating based on settings for default search 2019-09-05 08:08:01 -07:00
Kira
59c7be161e Fix #103 Fix #102 Fix shard count 2019-07-17 11:56:16 -07:00
Kira
4c8435982e Fix some references to tag_match and broken index jobs 2019-03-24 08:45:44 -04:00
Albert Yi
9a12fc45d3 fix missed references to tags param when navigating posts sequentially 2018-10-31 16:15:07 -07:00
evazion
39374a70d3 posts/show: rename tags params to q in various places.
Fixup for 011a6f1f7.
2018-10-30 11:32:07 -05:00
evazion
0129891213 Fix #1156: Allow sequential search navigator to work without a search. 2017-07-24 19:30:30 -05:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
c6d03f2d3a add tag seq nav 2013-02-25 12:09:02 -05:00