Commit Graph

2613 Commits

Author SHA1 Message Date
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
Peter Bhat Harkins 726ae9d1cb several 1 + n queries on mod view of user profile 2023-08-30 16:16:13 -05:00
Peter Bhat Harkins 5bfe500696 use url generators 2023-08-30 11:50:35 -05:00
Peter Bhat Harkins 7298381360 don't log changes to normalized_url 2023-08-30 11:10:59 -05:00
Peter Bhat Harkins 4dd0fe865c fix #1196 mailing list comments 2023-08-30 08:51:33 -05:00
Peter Bhat Harkins fe09e5aa31 replace indent_level with depth in json, discussion in #1195 2023-08-30 08:03:25 -05:00
Peter Bhat Harkins 510fd3cc47 fill in id part of confidence_order immediately on create
Fix #1195
2023-08-29 22:39:25 -05:00
Peter Bhat Harkins 361823e00d less brittle parent tree lines 2023-08-29 22:39:25 -05:00
Peter Bhat Harkins 07bfde6634 fix 500 if user has no threads because they've never commented 2023-08-29 08:09:14 -05:00
Peter Bhat Harkins 73f4c0cab6 alignment fix 2023-08-29 08:03:02 -05:00
Peter Bhat Harkins 9fff6ae927 enable mod_userdir
diff of `rails routes`:

12,13d11
<                              GET      /newest/:user(.:format)                        home#newest_by_user
<                              GET      /newest/:user/page/:page(.:format)             home#newest_by_user
32d29
<                 user_threads GET      /threads/:user(.:format)                       comments#user_threads
120,122c117,132
<                            u GET      /u(.:format)                                   users#tree
<                         user GET      /u/:username(.:format)                         users#show
<                user_standing GET      /u/:username/standing(.:format)                users#standing
---
>                   users_tree GET      /users(.:format)                               users#tree
>                         user GET      /~:username(.:format)                          users#show
>                user_standing GET      /~:username/standing(.:format)                 users#standing
>                              GET      /~:user/stories(/page/:page)(.:format)         home#newest_by_user
>                 user_threads GET      /~:user/threads(.:format)                      comments#user_threads
>                     user_ban POST     /~:username/ban(.:format)                      users#ban
>                   user_unban POST     /~:username/unban(.:format)                    users#unban
>          user_disable_invite POST     /~:username/disable_invitation(.:format)       users#disable_invitation
>           user_enable_invite POST     /~:username/enable_invitation(.:format)        users#enable_invitation
>                            u GET      /u(.:format)                                   redirect(302, /users)
>                              GET      /u/:username(.:format)                         redirect(302, /~%{username})
>                              GET      /@:username(.:format)                          redirect(302, /~%{username})
>                              GET      /u/:username/standing(.:format)                redirect(302, ~%{username}/standing)
>                              GET      /newest/:user(.:format)                        redirect(302, ~%{user}/stories)
>                              GET      /newest/:user(/page/:page)(.:format)           redirect(302, ~%{user}/stories/page/%{page})
>                              GET      /threads/:user(.:format)                       redirect(302, ~%{user}/threads)
125,128d134
<                     user_ban POST     /users/:username/ban(.:format)                 users#ban
<                   user_unban POST     /users/:username/unban(.:format)               users#unban
<          user_disable_invite POST     /users/:username/disable_invitation(.:format)  users#disable_invitation
<           user_enable_invite POST     /users/:username/enable_invitation(.:format)   users#enable_invitation
2023-08-29 07:49:02 -05:00
Peter Bhat Harkins f66f01c9fd
Merge pull request #1193 from lobsters/dependabot/bundler/puma-6.3.1
Bump puma from 6.2.2 to 6.3.1
2023-08-29 07:41:46 -05:00
dependabot[bot] 6c96457654
Bump puma from 6.2.2 to 6.3.1
Bumps [puma](https://github.com/puma/puma) from 6.2.2 to 6.3.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.2.2...v6.3.1)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 12:37:17 +00:00
Peter Bhat Harkins b3d4d48299
~90% perf improvement for rendering comment threads (PR #1190) 2023-08-29 07:35:49 -05:00
Peter Bhat Harkins ce6d39fe69 and one more thing 2023-08-29 07:31:54 -05:00
Peter Bhat Harkins acd4b8fd31 explain the clever bit 2023-08-29 07:27:10 -05:00