Commit Graph

17 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
a98483f61b
[Posts] Use the new tag_string index in the PostQueryBuilder
This is only used as a subselect, which means that there is no need to order.
The source metatag uses a non-existant function, remove it.
No need to check for deleted posts, it's desired to show deleted thumbnails
on the post flag index for example.
2023-02-25 18:40:41 +01:00
Earlopain
eaf125ef25
[Cleanup] Remove FalseClass monkeypatch 2023-02-22 19:37:13 +01:00
Earlopain
7531fc9894
[Cleanup] Remove an assortment of unused code 2022-07-11 20:17:24 +02:00
evazion
c7492343ce String: add truthy? & falsy? core extensions.
* Add `truthy?` and `falsy?` core extensions to String.

* Use `truthy?` and `falsy?` to replace ad-hoc parsing of boolean
  parameters in various places.
2018-05-03 19:57:14 -05:00
evazion
cebf29f83e Allow escaping wildcards (\*) in wildcard searches. 2017-05-31 16:15:18 -05:00
evazion
cf54cd1480 core_extensions.rb: remove unused String#to_escaped_js. 2017-02-06 19:07:04 -06:00
r888888888
701ed9d161 fixes #2162 2014-05-22 14:54:19 -07:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
8f65b567a2 fixes #796 2013-03-08 13:44:34 -05:00
albert
2338f004eb refactored tsquery sql to use rails escaping mechanisms 2013-03-07 16:34:12 -05:00
albert
cca0cc8dbd fix pool metatags, fix artist search 2013-02-26 23:35:17 -08:00
albert
cf2250a17f fixes #638 2013-02-26 22:56:16 -08:00
albert
49b3d43ddd * meta_search now pulls directly from GitHub
* Updated gems
* [inprogress] New pagination helpers used instead of pagination presenters
* [inprogress] Favorites refactored to use ActiveRecord
* [inprogress] PostSets refactored to use a decorator/dependency injection pattern
* [inprogress] Made pool/post interaction more robust
* Pool#posts now returns an ActiveRelation object
* Fixed unit tests
2011-06-07 17:34:09 -04:00
albert
5610731b35 sync 2010-08-18 18:42:33 -04:00
Albert Yi
3bfae1f0db added user test, basic user methods 2010-02-06 16:48:40 -05:00