Commit graph

660 commits

Author SHA1 Message Date
joshua stein
0ec9c3a2ac turn on avatars by default 2016-01-21 11:59:06 -06:00
joshua stein
f53aced518 add a comment explaining why this code is so verbose 2016-01-21 11:58:54 -06:00
joshua stein
d10f567a26 Search: just use Riddle.escape, sorry boolean 2016-01-21 11:58:54 -06:00
joshua stein
200e4f7dd2 css: remove white background colors that were driving me nuts 2016-01-12 16:39:23 -06:00
joshua stein
ffa1b879da use span tag for time_ago_in_words_label 2015-12-31 09:15:02 -06:00
joshua stein
13df4537f3 make merged story points count towards the winning story
but not take them into its score, just its hotness value.  this way
when a new winning story takes over an upvoted story, the hotness
value will be near the losing one.
2015-12-31 09:14:09 -06:00
joshua stein
9e238647e0 print any meta tags in @meta_tags in layout, add twitter ones for story pages 2015-12-31 09:13:34 -06:00
joshua stein
5129733b04 when showing another user's threads, don't include story threads 2015-12-18 10:51:01 -06:00
J. Ryan Stinnett
4c3c6094d0 Remove white background from .legend 2015-12-18 09:33:48 -06:00
joshua stein
ec92478bc9 use time_ago_in_words_label to show missing 'ago' part
pr #252
2015-12-16 12:36:23 -06:00
joshua stein
ce8a148cbe Story: don't count comments towards hotness when tag hotness mods < 0 2015-12-15 12:35:18 -06:00
joshua stein
de176d80dd story tags: sort by exact tag matches first, then description matches
select2 has sortResults in newer versions but so much crap changed
there that it's easier to just hack in support for this here

fixes #251
2015-12-14 10:44:28 -06:00
joshua stein
46ebed367d Comment, Story: crank MAX_EDIT_MINS to 6 hours 2015-12-09 11:52:48 -06:00
joshua stein
b21f96cb1a story submission: make tag select box match tag description too
fixes #247
2015-12-09 11:51:15 -06:00
joshua stein
850131873b link to /chat when talking about requesting invites
issue #244
2015-12-07 13:17:11 -06:00
joshua stein
6b636ac8c5 add setting to show threads on a user's submitted stories in 'Your Threads'
closes #231
2015-12-07 12:27:09 -06:00
joshua stein
3850fa7d54 Story: reduce suggestion quorum to 3 2015-12-07 12:27:09 -06:00
joshua stein
9f9e608fc8 fix fetched_attributes fallout 2015-12-03 14:57:33 -06:00
joshua stein
4e94bc9e29 Comment: for emailed comments, show that in the message id used for mailing list 2015-12-02 13:46:19 -06:00
joshua stein
5d8c7f7167 make time_ago_in_words_label use a custom time_ago_in_words
"36 hours ago" is more useful than "1 day ago", so tweak the times
used to jump to the next divisor
2015-12-02 13:46:19 -06:00
joshua stein
c05f526a57 make story description icon a link to the story page, revert c1d1a44472
i don't like showing "discuss" to logged out users, and now that we
have a story description icon that can link to the story text, back
out the change that made logged out users see discuss when they
can't discuss it.
2015-12-02 13:46:19 -06:00
joshua stein
45b63935af Story: move fetched_* stuff into a single fetched_attributes 2015-12-02 13:46:19 -06:00
joshua stein
c354485916 when a non-banned, deleted user logs in, reactivate their account 2015-11-18 12:08:45 -06:00
joshua stein
77e2000cb3 comment: put merge icon before avatar 2015-11-18 11:35:34 -06:00
joshua stein
ee363e3635 filters: link to /tags 2015-11-13 15:53:38 -06:00
joshua stein
80311fa978 message view: fix double 'ago' 2015-11-13 15:53:22 -06:00
joshua stein
8edc8b926f css: all this time i had no idea we didn't have a white background 2015-11-13 15:53:06 -06:00
Andrew Gwozdziewycz
760e2a3f36 Update by line for non-authored submissions.
- Use 'via' for credit instead of 'by', which implies creation.
2015-11-13 01:28:32 -08:00
joshua stein
97dac71389 tags: set @title
tweak @title of filters controller
2015-11-09 10:01:43 -06:00
joshua stein
09fd14dd93 add a tag cloud thingy
closes #236
2015-11-09 09:52:32 -06:00
David Stygstra
c1d1a44472 Show comments link even if there are no comments
For stories with both text and a link that have no comments, the only
way to view the text is to either log in (no account :( ) or view the
page source and find the story ID. This commit fixes that by always
showing the comments link.
2015-11-08 12:23:52 -05:00
joshua stein
e4a23f74ca change character for additional story text, add tip text 2015-11-06 08:56:28 -06:00
joshua stein
70a3b60f04 embolden story description character 2015-11-05 11:58:34 -06:00
joshua stein
6bebed996e make description present character an actual html entity
issue #227
2015-11-05 11:58:34 -06:00
joshua stein
9d79f2c76b include both urls in srcset, use 1x/2x instead of image width
seems to work better in firefox
2015-11-05 11:58:34 -06:00
joshua stein
72fc702abe Merge pull request #227 from pushcx/patch-1
Indicate if a story has a description
2015-11-05 11:50:15 -06:00
Peter Harkins
f1f09face1 move before tags, use different symbol
Pilcrow is ugly. Alternates: *, †, ‡, §
2015-11-04 10:52:27 -06:00
joshua stein
1e6b892005 show hidpi images for avatars, site load icon, and favicon 2015-11-01 19:56:30 -06:00
joshua stein
37994c0306 story editing: consolidate auto tag application, add audio for soundcloud 2015-10-26 10:39:40 -05:00
joshua stein
d4f375ce11 story submission bookmarklet: open to lobste.rs in a new tab 2015-10-24 18:25:07 -05:00
Peter Harkins
d95619ce69 I meant markeddown_description 2015-10-20 07:57:50 -05:00
joshua stein
73342e7d45 settings: pushover has used subscriptions for a while, not a manual key 2015-10-19 19:13:34 -05:00
joshua stein
d44d43e551 fix dup/clone confusion 2015-10-18 15:09:39 -05:00
joshua stein
77568760a2 don't show suggestion flash if user didn't do anything 2015-10-17 10:43:11 -05:00
joshua stein
a337ee850e take suggestions on moderator stories, just not those with privileged tags
also allow moderators to make tag suggestions, we're people too
2015-10-17 10:38:48 -05:00
joshua stein
1d30378877 clone, not dup 2015-10-17 08:03:33 -05:00
joshua stein
a4e3f04d2d Story: do automatic user suggestion promotion for story titles too
It's much less likely that users will all agree on an exact title
name, but try it anyway.
2015-10-16 18:28:57 -05:00
joshua stein
800aea1ca9 always show downvote summary if score is <= 0, else it's confusing
improves on 9c40023
2015-10-16 17:03:54 -05:00
joshua stein
14bf26f339 for story comments by author of story, color blue as well 2015-10-16 13:08:05 -05:00
joshua stein
3439b93b12 when editing a story, show suggested titles and tags 2015-10-15 10:23:25 -05:00