Peter Bhat Harkins
a59cf79956
remove redundant route formatting
2018-05-17 07:53:26 -05:00
Peter Bhat Harkins
d215131397
rubocop warning
2018-05-17 07:47:27 -05:00
Peter Bhat Harkins
d24e1233dd
remove redundant html scope
2018-05-17 07:42:45 -05:00
Peter Bhat Harkins
0e55e37d5a
highlight deletion button
2018-05-15 09:29:32 -05:00
Peter Bhat Harkins
7c1acf494b
add inviter to user json
2018-05-13 23:04:57 -05:00
Peter Bhat Harkins
f07b9cb302
ignore Twitter's transient timeouts
2018-05-12 09:11:33 -05:00
Peter Bhat Harkins
c371ca2cf3
Merge branch 'cosmicbuffalo-used_invitations'
2018-05-10 08:50:14 -05:00
Peter Bhat Harkins
84afc544fa
invitations: track new_user
2018-05-10 08:48:55 -05:00
Peter Bhat Harkins
28d2f5fdab
Merge branch 'used_invitations' of https://github.com/cosmicbuffalo/lobsters into cosmicbuffalo-used_invitations
2018-05-10 08:24:16 -05:00
Peter Bhat Harkins
1be9930768
add hats to private messages
2018-05-10 07:56:42 -05:00
Peter Bhat Harkins
0c71c80c37
don't ask to ask
2018-05-04 18:16:55 -05:00
Peter Bhat Harkins
e99c0783aa
cache arranged story comments
...
Site's throwing a lot of 500s because a popular comment was linked by Y
Combinator News and the worker pool of Rails processes is too small to service
all the traffic. This is the big hotspot.
2018-05-04 07:50:37 -05:00
Peter Bhat Harkins
b8f26eb959
rm tmp file
2018-05-04 07:29:15 -05:00
Nick deLannoy
9d302fe461
removed local db name from schema.rb:253
2018-05-03 15:17:34 -05:00
Nick deLannoy
a88b8f1cb4
adds used/unused scopes to invitation
2018-05-03 15:17:34 -05:00
Nick deLannoy
44ffa818f1
adds used_at datetime field to invitations
2018-05-03 15:17:34 -05:00
Peter Bhat Harkins
759aaf12aa
fix bugs in fake_data task, improve safety warnings
...
I don't see a reason for this to delete everything first, so I touched up the
workflow to provide a warning instead of an error.
Merge #484
2018-05-03 10:21:28 -05:00
Peter Bhat Harkins
fd84f02f8e
update from insecure version
2018-05-02 10:32:03 -05:00
Peter Bhat Harkins
c79fc4f582
include tag name in feed
2018-05-02 07:45:18 -05:00
Peter Bhat Harkins
7451db7485
modlog filtering to tags
2018-05-02 07:35:55 -05:00
Peter Bhat Harkins
8200831c3f
Remove post_to_twitter's dependence on StoryRepository
...
Pushes work into MySQL. Uses created_at (generous in case we have trouble
posting to Twitter for a bit) to avoid digging deep into old stories.
2018-04-26 11:21:43 -05:00
David Wolgemuth
2194e14f97
add link to '/tags' on search page
2018-04-26 11:19:21 -05:00
Peter Bhat Harkins
b01c20baef
use score_sql for low_scoring
2018-04-26 10:46:58 -05:00
Peter Bhat Harkins
ac00549746
fix test for Ruby bug 11991
2018-04-26 10:34:22 -05:00
Peter Bhat Harkins
0ebe0663d2
move StoryRepository#recent to a Story scope and redefine
...
Redefines /recent to show only low-scoring stories, respect per-user hidden
stories, filtered tags, and to paginate rather than fall back to /newest for
pages after the first.
Close #388
2018-04-26 10:24:03 -05:00
Peter Bhat Harkins
6907682692
Story#filter_tags_for scope to express we're doing per-user filtering
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
06044acb37
move StoryRepository#saved into a Story scope
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
0809bfea23
move StoryRepository tag filtering into a Story scope
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
0ea3cedd9f
fix for composing queries
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
294c58b415
move StoryRepository hidden concept into a Story scope
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
6e81516756
move StoryRepository#base_scope into Story scope
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
20c5d757a0
move StoryRepository#positive_ranked into a Story scope
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
45558f7d08
use routing for avatars, fixes local dev
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
bdc85f6b48
fix json view of upvoted page
2018-04-24 19:38:59 -05:00
Peter Bhat Harkins
c3fa28c494
Story description is not a summary
2018-04-24 19:38:59 -05:00
Peter Bhat Harkins
cbb7212671
*sigh* rails
2018-04-19 12:52:03 -05:00
Peter Bhat Harkins
6c7f6677ba
housekeeping
...
If you don't want color in rspec output, you can add it to your ~/.rspec.
2018-04-19 05:37:18 -05:00
Peter Bhat Harkins
60c7a9cc3a
more tests for Story#domain
2018-04-18 18:48:42 -05:00
Peter Bhat Harkins
828758bb17
memoize Story#domain
2018-04-18 17:38:18 -05:00
Jack Klika
22ed4f4663
Added link to tags list on story submission page
2018-04-18 15:22:47 -05:00
Peter Bhat Harkins
49e678ea39
Story: allow nonstandard ports in urls
...
Refectors url setter and adds a bunch of tests.
2018-04-18 15:13:44 -05:00
Peter Bhat Harkins
ff1dc75523
high-value end-to-end happy path specs
...
Viewing homepage, ubmitting a story, viewing a story as a logged-in or
logged-out user, and submitting a comment. Also allows posting comments
without JavaScript.
I wanted smoke tests for the highest-traffic endpoints that tend to throw me a
few hundred emails if they hit exceptions in production.
2018-04-18 10:13:34 -05:00
Peter Bhat Harkins
bf6bc8c2c5
bugfix a0aca1e
2018-04-16 15:11:55 -05:00
Peter Bhat Harkins
a0aca1ea15
fix join for recent votes, helps for voting rings
2018-04-16 10:08:36 -05:00
Peter Bhat Harkins
5e8d57b618
Revert skylight
...
Closes #454
2018-04-12 16:00:47 -05:00
Peter Bhat Harkins
9cff9aa3ba
Merge branch 'talklittle-settings-account-deletion-sure-checkbox'
2018-04-11 10:04:21 -05:00
Peter Bhat Harkins
f02b571a82
Merge branch 'settings-account-deletion-sure-checkbox' of git://github.com/talklittle/lobsters into talklittle-settings-account-deletion-sure-checkbox
2018-04-11 10:00:37 -05:00
Philip K
e11fd19cd4
Fixed padding issue for some dialogs on mobile
2018-04-11 09:59:13 -05:00
Peter Bhat Harkins
494d8f9940
save tag_id in after_save
2018-04-11 09:50:08 -05:00
Peter Bhat Harkins
e9deaabae7
ignore prod skylight config
...
For #454
2018-04-11 09:25:12 -05:00