Commit Graph

2005 Commits

Author SHA1 Message Date
Peter Bhat Harkins 20c1590753 memoize story/comment score/flags more efficiently 2020-08-08 16:40:28 -05:00
Peter Bhat Harkins 30801f395a improve about/chat desc
Trying to nudge people away from treating the chat room transactionally.
2020-08-08 15:13:41 -05:00
Peter Bhat Harkins 372c9f96cc search instructions 2020-08-06 07:57:57 -05:00
Peter Bhat Harkins b75d77002e link mockturtle repo 2020-08-02 14:28:57 -05:00
Peter Bhat Harkins 4755cebd92 don't leak user id
Don't want this them to become a status game like Slashdot. The same data is
effectively available through join date on profile, but a number seems to
prompt people to feel like it is a numeric ranking of how cool they are.
2020-07-22 13:29:07 -05:00
Peter Bhat Harkins 65b0b3422d revert dark mode (#823)
Firefox support is half-baked. There's no user or devtool UI to toggle between
states, inspecting an element always shows the style for ::selection instead of
the element, and it lists the name of a color variable with no way to see the
value of the variable or where it is set. Punting until it's debuggable.
2020-07-13 22:18:05 -05:00
Peter Bhat Harkins 263daedf8c fix timezone on traffic calcuation (#873) 2020-07-13 20:46:04 -05:00
Peter Bhat Harkins 9fd9202411 redundant with addition of dark mode in previous commit 2020-07-13 20:24:00 -05:00
soc badc4a8015
Add Lobsters dark mode (#823)
I'm sure this will not touch off an infinite amount of bikeshed repainting.
2020-07-14 01:21:29 +00:00
Peter Bhat Harkins eae7d5c7d8 highlight target for #queries and #michaelbolton 2020-07-13 20:00:08 -05:00
Peter Bhat Harkins 40b0d82f73 rm dead code
Environment should set the Rails env (and indeed our cron job does). If this
is present, running the spec alone fails because most devs don't configure a
'production' database on their local dev machines.

Caught by @AlessandroMinali
2020-07-13 19:47:26 -05:00
Peter Bhat Harkins 88e4903bac missing nil check 2020-07-13 19:38:34 -05:00
Andrew 4ca6d1603d
Use <details> instead of js for story guidelines (#878) 2020-07-14 00:38:16 +00:00
Andrew 4807cbdd7a
Readme: point to .ruby-version (#877) 2020-07-14 00:25:18 +00:00
Alessandro Minali 8a70b1abc1
Update deprecrated Faker params (#881) 2020-07-14 00:18:03 +00:00
Alessandro Minali 18b9ee4478
Filter out front page posts from 'recent' (#882) 2020-07-14 00:10:31 +00:00
Peter Bhat Harkins 86fb86788e whitespace 2020-07-08 16:18:35 -05:00
Peter Bhat Harkins f68661ef96 better scales; hash style 2020-07-08 16:15:48 -05:00
Peter Bhat Harkins 615fa7f612 stats: add active users by month 2020-07-06 21:33:15 -05:00
Peter Bhat Harkins d139bedcb9 graph style tweaks 2020-07-03 19:03:31 -05:00
Peter Bhat Harkins 0a5b1b1023 add stats page 2020-07-03 18:29:24 -05:00
Alex Pounds 3cdae3fae5 Bugfix: support token-based access for RSS feed of upvoted stories. 2020-06-30 17:17:43 +00:00
Peter Bhat Harkins 3f41dc300b bump rack for cve 2020-06-27 08:38:33 -05:00
Peter Bhat Harkins 24fa1e6a4d fix authored tag on merged story 2020-06-27 08:32:09 -05:00
Peter Bhat Harkins 9d5c93a7e2 chat page: no more off-topic channel 2020-06-24 12:09:58 -05:00
Peter Bhat Harkins cb4dd973a4 fix nesting 2020-06-20 20:18:31 -05:00
Peter Bhat Harkins 1b55c6fc36 attempt to reduce story text misuse
Makes it a less prominent element on the page and instructions darker.
Recently a lot of submitters have been using the box for comments.
2020-06-20 07:46:41 -05:00
Peter Bhat Harkins 4aa92ecffb Comment: refactor hidden story filtering into scope 2020-06-19 19:56:14 -05:00
Thomas Dziedzic b32bac90b4 fix keybase spec 2020-06-13 02:12:49 +00:00
Peter Bhat Harkins ee42f2f308 clean up mysqlism 2020-06-08 18:49:10 -05:00
Peter Bhat Harkins ee9ac76ba9 unused includes 2020-06-07 14:58:45 -05:00
Peter Bhat Harkins b384a07f9f missing include for 1 + n 2020-06-07 14:56:00 -05:00
Peter Bhat Harkins 7a59fd9565 1 + n on story domain for merged stories 2020-06-07 14:47:02 -05:00
Peter Bhat Harkins 6fa449cc91 bump for cve 2020-06-07 14:36:52 -05:00
Peter Bhat Harkins a2f6b60b47 fix indexing for newest comments 2020-06-07 14:35:15 -05:00
Peter Bhat Harkins 77c483fe64 rm scout 2020-06-02 22:05:40 -05:00
Peter Bhat Harkins 426a0d989f standing page: more info 2020-06-02 09:07:02 -05:00
Peter Bhat Harkins 083dbb1e67 match whitespace 2020-06-01 22:02:40 -05:00
Peter Bhat Harkins 5e4c69a691 extra variable 2020-06-01 22:01:53 -05:00
Alejandro Rodríguez Salamanca 3c0872ad18
Fix error refreshing stories count (#774) 2020-06-02 02:22:51 +00: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 dba2d722d6 bump puma 2020-05-31 22:22:43 -05:00
Peter Bhat Harkins 208a4a8945 Merge branch 'ruby27' 2020-05-31 22:21:44 -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 87f2404c08 Ruby 2.7 and bundle update 2020-05-18 23:20:03 -05:00
Peter Bhat Harkins 2d374f01d0 match ruby version for byebug 2020-05-18 19:44:46 -05:00