Peter Bhat Harkins
b159b661d5
fix spec from c2831121
2023-09-13 23:23:07 -05:00
Peter Bhat Harkins
2ac305da88
always "Lobsters"
2023-09-13 22:00:34 -05:00
Peter Bhat Harkins
125ce20960
log query source, fewer puma workers in dev, clear env var name
2023-09-13 21:53:41 -05:00
Peter Bhat Harkins
c28311215c
improve notice about reposts
2023-09-13 20:31:20 -05:00
Peter Bhat Harkins
15493de906
fix query - tables join on their id PK
2023-09-13 20:20:42 -05:00
Peter Bhat Harkins
a04e70a069
fix display of story scores, broken in ab44dcdb
2023-09-13 18:26:17 -05:00
Peter Bhat Harkins
7472f26eb2
ignore params inserted by rails
2023-09-13 17:04:56 -05:00
Peter Bhat Harkins
82b714d057
explain inputs to _comment and _listdetail partials
2023-09-13 11:28:07 -05:00
Peter Bhat Harkins
ab44dcdbf6
align name of Story and Comment current_vote, convenience methods
2023-09-13 11:10:44 -05:00
Peter Bhat Harkins
d11b222a50
parse search queries
2023-09-13 10:24:05 -05:00
Peter Bhat Harkins
eb1d5ef728
rm transaction_retry and bump ActiveRecord
...
Broken in Ruby 3, has been eating exceptions:
https://github.com/qertoip/transaction_retry/issues/12
Related to https://github.com/lobsters/lobsters-ansible/issues/39
which hopefully won't recur.
2023-09-13 09:22:19 -05:00
Peter Bhat Harkins
226f97bdee
ruby 3 compat
2023-09-11 11:46:50 -05:00
Peter Bhat Harkins
5b4b4b1e7e
rails binstub - silence tedious boilerplate
2023-09-11 11:23:45 -05:00
Peter Bhat Harkins
49d5c45d32
Fix 2FA entry.
2023-09-10 15:06:28 -05:00
Peter Bhat Harkins
69dfe95d64
not idiomatic for controller actions to call each other; fix username field
2023-09-08 18:02:24 -05:00
Peter Bhat Harkins
8f0a2007c6
git config --global blame.ignoreRevsFile .git-blame-ignore-revs
2023-09-08 17:32:57 -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
bc3ef5c22b
Merge branch 'workflow'
2023-09-08 15:36:59 -05:00
Peter Bhat Harkins
57b1293f65
1 + n
2023-09-06 10:06:14 -05:00
Peter Bhat Harkins
1f01248aa2
hint browsers to have better field UI for email and totp
2023-09-06 09:32:56 -05:00
Peter Bhat Harkins
14663e0ee5
speed_limit: increase logging for prod bug #1200
2023-09-05 07:58:22 -05:00
Peter Bhat Harkins
91c4e3ce1a
prompt form-filling tools for TOTP
...
https://gomakethings.com/how-to-autocomplete-two-factor-authentication-codes-with-a-single-html-attribute/
2023-09-05 07:26:44 -05:00
Peter Bhat Harkins
6fd42da9b7
302 on edited story titles in URLs
2023-09-02 14:51:21 -05:00
Peter Bhat Harkins
fd36b9a407
fix autosize on inline reply
2023-09-02 14:42:15 -05:00
Peter Bhat Harkins
436408d563
improve note, fix high-level rate-limit
2023-09-02 14:25:52 -05:00
Peter Bhat Harkins
8d10502488
rate-limit responses by flags
2023-09-02 13:21:56 -05:00
Peter Bhat Harkins
c0ab809fe8
recognize when a submitter saved some hassle
2023-09-02 10:29:42 -05:00
Peter Bhat Harkins
4b4425f974
Fix for seeing two comment boxes
...
This function now has two guards against creating comment boxes. The upper one
prevents clicking a second time with the form open. This new lower one prevents
duplicates when the server is very slow to respond (the second click comes
between the first fetch sent and its promise resolving.
2023-09-02 07:21:43 -05:00
Peter Bhat Harkins
896ed1dd6b
prod db.schema - updated charsets because 4 is bigger than 3
2023-09-01 19:14:23 -05:00
Peter Bhat Harkins
fab6fb8e3c
1 + n, markup fix
2023-09-01 17:09:47 -05:00
Peter Bhat Harkins
22034f92ed
fix 1 + n on story search results
2023-09-01 15:55:29 -05:00
Peter Bhat Harkins
e7e5625a4f
504 for puma/mariadb timeouts
2023-09-01 13:58:11 -05:00
Peter Bhat Harkins
1fe99840f4
fix build running twice on PRs?
2023-08-31 21:44:00 -05:00
Peter Bhat Harkins
0f6b3e1c6a
mark github action as a test suite, match prod db
2023-08-31 21:41:08 -05:00
Peter Bhat Harkins
891aabbffe
remove redundant render
2023-08-31 18:35:26 -05:00
Peter Bhat Harkins
396e16a1d5
add 502 page, even if obsolete now
2023-08-31 17:35:45 -05:00
Peter Bhat Harkins
9c80ba7261
phased restarts of puma for seamless deploys
2023-08-31 17:30:44 -05:00
Peter Bhat Harkins
091b658869
match prod log dir
2023-08-31 15:43:28 -05:00
Peter Bhat Harkins
4ca7d563e7
update for new user profile page
2023-08-31 12:20:06 -05:00
Peter Bhat Harkins
ce332764bc
match new rack_attack API
...
8313e38df3
2023-08-31 12:15:15 -05:00
Peter Bhat Harkins
27e2f29c68
fix Stories.not_deleted when joined to saved_stories for /saved
2023-08-31 11:51:40 -05:00
Peter Bhat Harkins
2a702fb964
show profiler to mods
2023-08-31 10:51:32 -05:00
Peter Bhat Harkins
1c73b2ae12
comments: fix merge icon and story title display
2023-08-31 10:07:48 -05:00
Peter Bhat Harkins
cab2b3c6c3
fix puma for dev
2023-08-31 10:07:30 -05:00
Peter Bhat Harkins
a65b6f9e50
rm debugging text
2023-08-31 09:40:31 -05:00
Peter Bhat Harkins
82996acb6d
puma config
2023-08-31 00:32:42 -05:00
Peter Bhat Harkins
b702c4d4c5
bump binstubs for ruby3.0
2023-08-30 21:40:57 -05:00
Peter Bhat Harkins
8cb31f4d40
bump to Ruby 3
2023-08-30 21:37:08 -05:00
Peter Bhat Harkins
6da803fdc7
update backup info
2023-08-30 18:41:50 -05:00
Peter Bhat Harkins
7f82650795
show merged stories on newest_by_user, deleted to submitter
2023-08-30 17:47:41 -05:00