Commit Graph

2080 Commits

Author SHA1 Message Date
Peter Bhat Harkins cda0e31c80 redorder to read better 2021-01-16 12:19:55 -06:00
Frank Groeneveld 0254e77c52
Fix outdated Rails version in readme (#957) 2021-01-04 14:17:33 +00:00
Peter Bhat Harkins d8f9a655ef note diy option 2020-12-21 18:19:07 -06:00
Peter Bhat Harkins 17d536973c fix ref to story 2020-12-19 08:40:13 -06:00
Peter Bhat Harkins 2c216baa04 note hapax 2020-12-16 21:52:39 -06:00
Peter Bhat Harkins d538ce5812 comment redundant w commit message 2020-12-14 12:15:29 -06:00
Peter Bhat Harkins 5f5fa8ef03 subtract comment/story karma if mod removes
Matches impact of the comment/story by using the vote count as a penalty.
Flags effectively count extra because they -1 when applied and -2 when the mod
removes.
2020-12-14 12:07:40 -06:00
joshua stein 394b633477
Comment: prevent "nice" comments 2020-12-14 16:04:28 +00:00
Peter Bhat Harkins 13072e05ae ask polite bots to slow down 2020-11-29 10:24:57 -06:00
Eric Banisadr c4440695e2
Have browser break long headlines
Fix #849
2020-11-17 14:46:09 +00:00
Peter Bhat Harkins 013b5c5529 don't count removed stories towards lifting anti-spam protection 2020-11-06 10:49:10 -06:00
Peter Bhat Harkins 4d119cec05 rm hosting mention; no serious interest 2020-11-05 15:23:15 -06:00
GarbageHamburger 6440269051
Add X-Is-Author to mailing list headers (#940) 2020-10-24 23:37:21 +00:00
Peter Bhat Harkins bd15ccba9e typo 2020-10-14 09:09:29 -05:00
Peter Bhat Harkins 21524de9ed better flash + error messages
We had a confused meta thread today when a screenshot of a user deleting their
account was thought to be a ban.
2020-10-13 21:02:17 -05:00
Alan Post df5b1e0487
Remove extra above comment byline for those not logged in (#913) 2020-09-22 13:23:37 +00:00
Peter Bhat Harkins b727b79909 add a sister site with similar-but-broader topicality 2020-09-15 11:11:47 -05:00
Peter Bhat Harkins 2cf313e6e2 coalesce nulls to zero 2020-09-14 08:31:09 -05:00
Peter Bhat Harkins ecc8b5873b nil possible on pdfs 2020-09-10 22:33:14 -05:00
Peter Bhat Harkins b1048fa7c9 update for cve 2020-09-10 07:42:53 -05:00
Three Planets Software e662791cf4
message reply: only show wearable hats 2020-09-08 23:44:01 +00:00
Alan Post d7cee21a2e
when there are no votes for a comment, score is 0 not NULL (#925) 2020-09-08 14:11:59 +00:00
Peter Bhat Harkins d3dca8680a match nudge in 30801f39 2020-09-03 12:44:00 -05:00
Peter Bhat Harkins 6891ca8d17 duh 2020-09-02 17:05:24 -05:00
Peter Bhat Harkins a158370d2e for previous; no need to notify somone who deletes to duck a ban 2020-09-02 14:37:34 -05:00
Peter Bhat Harkins 8b97d68759 oversight, didn't account for user/disown deletion
Prompted by rbn, who trolled a rust thread, got way nicer pushback than he
deserved, and disowned his comments on his way out the door, so he didn't trip
this.
2020-09-02 14:13:27 -05:00
Peter Bhat Harkins a5804051c3 we've gotten this a few times 2020-09-02 14:13:27 -05:00
Peter Bhat Harkins 823a147ad0 perf: Story.has_suggestions? 2020-09-02 14:13:27 -05:00
Peter Bhat Harkins dd2e74f63a use preloaded tags to save 1 + n queries 2020-09-02 14:13:27 -05:00
Alan Post 59bb7b5b42 s/dail/daily/ for daily_maintenance task. 2020-08-28 18:41:13 -06:00
Peter Bhat Harkins 54bfa4991f ReadRibbon perf polishing
Production has 2.4M records; the first run of this will drop 1.3M.

.touch uses a transaction to touch ReadRibbon timestamp; switch to a method
that doesn't do that (or callbacks or validations).
2020-08-28 07:27:36 -05:00
Peter Bhat Harkins 5d89d5f8d3 fix comment flags default 2020-08-27 21:01:06 -05:00
Peter Bhat Harkins 3ee84d4a47 replace bullet with mini_profiler 2020-08-27 18:48:45 -05:00
Three Planets Software 59b15fbfa5
fake_data: create test Categories; lorem updates (#916) 2020-08-27 23:47:27 +00:00
Thomas Dziedzic b84a835c7f
rubocop nit + bug (#915) 2020-08-27 23:45:19 +00:00
Alan Post 13c315b6ec
search.rb: association is :story_text, not :story_texts (#922) 2020-08-26 14:19:31 +00:00
Ron Wolf 4361a7ace5
clean up Story#can_be_seen_by_user? (#921) 2020-08-26 01:35:03 +00:00
Peter Bhat Harkins c39561f2f3 story_text may not be present 2020-08-25 09:39:21 -05:00
Peter Bhat Harkins 973ec9f8a5 prod binstubs 2020-08-25 09:39:21 -05:00
Alan Post f00b75e08d
production.rb.sample: s/StoryCacher/DiffBot/ (#920) 2020-08-25 14:12:56 +00:00
Peter Bhat Harkins 7e85eb081d extract story text cache for fast migrations 2020-08-25 07:51:09 -05:00
Peter Bhat Harkins b394d3f40a
self-help is off-topic 2020-08-24 12:22:01 +00:00
Three Planets Software 8c8fba5b87
Tag editing: use name instead of id in URLs (#898) 2020-08-20 02:51:35 +00:00
Peter Bhat Harkins ca95ef2556 escaping 2020-08-19 19:49:45 -05:00
Alan Post e3f64230bc
grammar/punctuation (#904) 2020-08-19 23:49:16 +00:00
Peter Bhat Harkins 5bd669dab8 label unread messages for easy ctrl-f 2020-08-19 18:45:36 -05:00
Gabriel Baldão 36677b1d06
add simplecov (#862)
100% test coverage is not a goal in and of itself.
2020-08-19 23:24:04 +00:00
Alan Post 96dd6407b5
remove dangling pipe (|) w/o vote summary (#906) 2020-08-19 23:20:09 +00:00
Alessandro Minali 142edb664e
Remove 'dynamic_form' (#888)
Old, unmaintained dep for trivial code.
2020-08-19 13:58:43 +00:00
Chris Jones 2ac334dba5
/hats: only show email to users (#868)
Users with hats have reported spambots.
2020-08-19 03:45:29 +00:00