Commit Graph

238 Commits

Author SHA1 Message Date
Thomas Dziedzic 7a5fe3d7a9
Update to Rails 7.0 (#1100) 2022-07-06 14:01:46 +00:00
Peter Bhat Harkins 78deac1312
Merge branch 'master' into feature-917-category-editing 2022-05-19 05:39:33 +00:00
Peter Bhat Harkins b49b5c54d8 fix routing for domain rss feeds 2022-04-22 08:39:29 -05:00
Peter Bhat Harkins 7aabc57289 rubocop 2022-04-19 17:54:22 -05:00
Peter Bhat Harkins 413e9c0f0b convenience for prod console 2022-04-19 17:47:58 -05:00
Peter Bhat Harkins 57cf2989ba Fix #1070 - tag rss feeds 2022-03-21 20:58:25 -05:00
Peter Bhat Harkins 03480e4789 tag pages: show metadata and related tags 2022-03-17 21:37:54 -05:00
Peter Bhat Harkins 341735a329 Merge branch 'master' into nav-580 2022-02-26 21:16:06 -06:00
Peter Bhat Harkins 1057e80994 don't notify on bad Accept headers 2022-02-26 13:08:07 -06:00
Peter Bhat Harkins 9531e00622 flexbox #nav and #subnav 2022-02-21 17:07:56 -06:00
Peter Bhat Harkins 6a84f47205 /active 2022-02-19 20:37:13 -06:00
Peter Bhat Harkins bb0cb2b0d2 extract about pgaes to own controller 2022-02-19 18:45:30 -06:00
Peter Bhat Harkins 24d0e13b8c rename for deprecation 2022-02-19 18:45:26 -06:00
Peter Bhat Harkins 3780512a55 user nav 2022-02-08 22:21:03 -06:00
lvancraen 04982be4bb chore: update buttons to PUT data when deleting/undeleting story 2022-01-22 15:37:02 -06:00
Peter Bhat Harkins ef61c52afe bump uglifier for es6 2022-01-22 12:07:51 -06:00
Peter Bhat Harkins de54cc70ce https://lobste.rs/s/ngrid5 2021-12-17 16:07:18 -06:00
Peter Bhat Harkins 8a4ecb93d6 move settings for email domain bug #1018
A recent Rails bump caused prod emails to generate links with a domain of
'example.com'. The other settings in config/initializers/production.rb were
fine, implying config/application.rb was running a second time after
initializers (very unlikely) or something subtle in the class changed to
prevent overriding (also feels unlikely). I'd rather simplify our prod config
than debug further.
2021-12-01 07:55:08 -06:00
Peter Bhat Harkins a5416d35e2 fix zeitwerk 2021-10-26 21:21:43 -05:00
Peter Bhat Harkins 4e2f0e4236 fix loading 2021-10-26 21:00:08 -05:00
Peter Bhat Harkins 431e67aec3 bump to Rails 6.1.4 2021-10-26 20:54:45 -05:00
Peter Bhat Harkins fba26edbfc Revert "temporary strict rate limit"
This reverts commit f75d208eae.
2021-08-20 17:43:08 -05:00
Peter Bhat Harkins f75d208eae temporary strict rate limit 2021-08-20 10:51:53 -05:00
Peter Bhat Harkins 9c60ac98b2 fix mail domain in test 2021-07-23 16:32:03 -05:00
Peter Bhat Harkins eaaa25b1af more help; rate-limit password resets 2021-07-05 08:28:29 -05:00
Peter Bhat Harkins 0289eaa10c typo 2021-05-23 23:38:21 -05:00
Hunter Madison b8d91ca3c3 Configure Rack::Attack to block misbehaving clients 2021-05-23 23:32:18 -05:00
Three Planets Software 67c67dd7de
Merge branch 'master' into feature-917-category-editing 2020-08-28 21:27:06 -04:00
Peter Bhat Harkins 3ee84d4a47 replace bullet with mini_profiler 2020-08-27 18:48:45 -05:00
Alan Post f00b75e08d
production.rb.sample: s/StoryCacher/DiffBot/ (#920) 2020-08-25 14:12:56 +00:00
Three Planets Software e02cf698aa Add basic create and edit forms for categories. Create link is
next to the create link for tags on the tags page, edit links
are also on the tags page at the top of the tags belonging to
the category. moved routes so that /categories/new doesn't try to
redirect to 'new' as a category.
2020-08-20 14:01:24 -04:00
Three Planets Software 8c8fba5b87
Tag editing: use name instead of id in URLs (#898) 2020-08-20 02:51:35 +00:00
Thomas Dziedzic 89d6d84f9c
Rails 6 (#723) 2020-08-19 01:24:25 +00:00
Alan Post 5e560938e8
sitemap: upvotes -> score (#902) 2020-08-10 01:41:33 +00:00
Hunter Madison f377fdfffe
wrap story/somment creation in a transcation (#899)
The new reconciliation process between an object's Vote and its
memoized count requires that MariaDB can see the records in the Vote
table. Currently, we are seeing the vote be created, then the
memoization for new comments and stories to zero.

Also resolves rubocop catching pushcx being sloppy.
2020-08-09 16:50:06 +00:00
Peter Bhat Harkins 5341d7a067 add tag categories 2020-08-09 08:41:20 -05:00
Peter Bhat Harkins 20c1590753 memoize story/comment score/flags more efficiently 2020-08-08 16:40:28 -05:00
Peter Bhat Harkins 0a5b1b1023 add stats page 2020-07-03 18:29:24 -05:00
Peter Bhat Harkins 8283b66343 rubocop 2020-06-01 20:28:12 -05:00
Peter Bhat Harkins 2faf43091e show flagged users their standing against other users 2020-06-01 20:27:55 -05:00
Peter Bhat Harkins 67627c0cc2 puma config for dev 2020-06-01 19:14:04 -05:00
Peter Bhat Harkins 66b4776cf8 prod tweaks 2020-05-31 22:21:35 -05:00
Peter Bhat Harkins 2848ef0c17 config puma 2020-05-19 19:04:29 -05:00
Peter Bhat Harkins b5f3ed8de5 pin old sprockets
As is traditional for every Rails point release, the asset pipeline broke in a
new and obtuse way. In this case, by hanging puma indefinitely after serving
any page, requiring a kill -9. Pinning an old version; I'll burn 20 hours
unfucking whatever new wrong thing it's doing later.

The asset pipeline is nine years old.
2020-05-19 18:22:52 -05:00
Peter Bhat Harkins 9d09ca98b7 prohibit stories from new domains by new users 2020-02-10 13:34:41 -06:00
Peter Bhat Harkins 630ace42f8 domain banning 2020-02-10 07:29:02 -06:00
Hunter Madison 9aa5828634 fix domain page routing (#811) 2020-01-27 20:10:03 -08:00
Hunter Madison f718da1820 break out Domain model from story, index story text (#797) 2020-01-22 09:33:21 -06:00
Michele Bologna 6e9c98462d Add RSS feed to /top (#805) 2020-01-22 06:17:55 -08:00
Peter Bhat Harkins d777ef0c10 unused route 2019-11-11 21:54:36 -06:00