Peter Bhat Harkins
b45d175083
add brakeman
...
Wrote ignore notes and specs for the security assumptions implied.
Removed TZ from moderations table; everything is Chicago time, best time.
2023-12-17 20:22:47 -06:00
Peter Bhat Harkins
4184d1e053
search: prevent potential sql injection
2023-10-01 17:56:39 -05:00
Peter Bhat Harkins
7d2dd9d347
search by commenter
2023-09-25 10:02:07 -05:00
Peter Bhat Harkins
c46ec5b84c
search by story submitter
2023-09-25 09:10:16 -05:00
Peter Bhat Harkins
81a36c837d
search: operator for title searching
2023-09-23 15:42:09 -05:00
Peter Bhat Harkins
b767d9d6a9
add sidekiq
2023-09-18 16:00:53 -05:00
Peter Bhat Harkins
5647897a76
search urls
2023-09-16 09:25:22 -05:00
Peter Bhat Harkins
1f32209b58
fix short hyphenated terms in prod searches
...
We truncated to have leading or trailing punctuation, confusing mariadb's parser
about operator usage. 'foo-bar' is ok, but 'foo-' and '-bar' are not. After
testing, mariadb splits terms at '-' anywways.
Dropped the explicit allowal of '_' because it's included in \p{Word}.
2023-09-16 08:03:08 -05:00
Peter Bhat Harkins
2e1bed2f58
search: be helpful about ignored short terms, which includes language names
2023-09-15 22:31:22 -05:00
Peter Bhat Harkins
f467d5e943
fix for searches with two apostrophes
2023-09-14 09:38:08 -05:00
Peter Bhat Harkins
237e219116
standardrb: add standard-sorbet
2023-09-14 08:45:21 -05:00
Peter Bhat Harkins
d11b222a50
parse search queries
2023-09-13 10:24:05 -05:00
Peter Bhat Harkins
c3f8625788
standardrb
...
I can't take Rubocop any more. Moving up to Ruby 3 forces us to update RuboCop,
and it comes with dozens of linters that I'd have to evaluate, none of which is
a marginal improvement. I'm done having opinions.
2023-09-08 15:39:50 -05:00
Peter Bhat Harkins
7e85eb081d
extract story text cache for fast migrations
2020-08-25 07:51:09 -05:00
Thomas Dziedzic
d5016368e5
bump rubocop ( #753 )
2019-10-06 17:01:18 -07:00
Peter Bhat Harkins
8936c830f0
fix tag search
2019-05-08 20:44:53 -05:00
SengMing Tan
2234631f85
Add foreign keys
...
What do we want?
Referential integrity!
When do we want it?
1992!
2018-10-10 10:40:52 -05:00
David Wolgemuth
c1681a4063
filter by tag and domain when searching for comments
2018-08-15 08:39:01 -05:00
Peter Bhat Harkins
7dfbbea3b5
fix 1 + n query loading tags
2018-06-22 23:56:01 -05:00
David Wolgemuth
6799938325
replace abandoned Machinist gem with FactoryBot
...
PR #507
2018-06-14 08:34:59 -05:00
Peter Bhat Harkins
c0393457a4
update to current rspec-rails integration style
2018-03-21 15:37:41 -05:00
Peter Bhat Harkins
604713e97c
Merge branch 'rubocop'
2018-03-21 15:19:48 -05:00
Michael Williams
d64700a9c1
add tag scoped search
2018-03-13 11:55:11 -06:00