Commit graph

137 commits

Author SHA1 Message Date
Carl Chenet 517f62c886 stories: show edit link for merged stories - merged with i18nx 2017-05-23 13:42:02 +02:00
Carl Chenet 1cc5ee6c52 Story: move archive URL to model, escape URL in case it has query params - merged with i18n 2017-05-20 15:18:56 +02:00
Carl Chenet 5dc024568a don't disable autocomplete on free-text fields - merged with i18n 2017-05-20 15:11:35 +02:00
Carl Chenet d975593aed Story: show a snippet instead of just Additional text - merged with i18n 2017-05-20 14:48:33 +02:00
Carl Chenet 9ae80b1e9e factor out avatar <img> code to show 2x version everywhere 2017-05-19 14:06:09 +02:00
Carl Chenet a702fae66a highlight stories to their authors that have suggestions - merged with i18n 2017-05-18 19:02:21 +02:00
Carl Chenet 6b20a3a913 point archive links back to archive.is - merged with i18n 2017-05-17 19:21:23 +02:00
Carl Chenet 82a8a7155a here be dragons - merged with i18n 2017-05-17 10:23:25 +02:00
Carl Chenet 412b93babd merged 734e28776ga19c8ac9c7c176f857237788d33c71 with i18n 2017-05-16 18:58:36 +02:00
Carl Chenet 6ae0051062 fix previous discussion message 2017-02-08 08:03:08 +01:00
Carl Chenet 58ddd6cc27 Fix missing translation for markdown. fixes #11 2016-11-24 14:45:39 +01:00
Carl Chenet 8ad2ab80da fix missing translation. fixes #27 2016-11-24 11:20:51 +01:00
Carl Chenet fac9efc706 translate suggest view and controller. fixes #6 2016-11-21 11:59:38 +01:00
Carl Chenet 26d909e58f i18n of stories/edit 2016-11-10 12:10:21 +01:00
Carl Chenet ef03140149 i18n of stories/listdetail view 2016-11-10 11:47:41 +01:00
Carl Chenet 06c58f136b i18n of stories/_form view 2016-11-09 15:50:22 +01:00
Carl Chenet c751792f9f i18n of stories/new view 2016-11-09 11:36:01 +01:00
joshua stein ba8a39ee93 new story: re-order guidelines in order that i have to deal with them 2016-06-01 14:36:09 -05:00
joshua stein 647d7d5da8 new story: make bookmarklet look less like a button
closes #276
2016-06-01 14:36:09 -05:00
joshua stein 192a6c8a02 give up on "discuss"
closes issue #265
2016-02-21 09:43:17 -06:00
joshua stein 3afe1538f8 stories: show archive link to archive.is 2016-02-10 08:39:42 -06:00
joshua stein 61b08c7dee story list detail: flip flop again, show 'no comments' for non-users
I've changed this a few times because I didn't want to show
"discuss" to non-users, but they at least need a link to the story
to copy, so show a link with "no comments" to them.
2016-02-02 11:56:10 -06:00
joshua stein 0ec9c3a2ac turn on avatars by default 2016-01-21 11:59:06 -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 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 b21f96cb1a story submission: make tag select box match tag description too
fixes #247
2015-12-09 11:51:15 -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
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
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 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 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 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 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
joshua stein 7974ab4090 don't take suggestions on moderator stories
This should probably only apply to stories with restricted tags,
though.
2015-10-15 09:38:26 -05:00
joshua stein e940601a2f start on automated story title and tagging suggestions
Rather than keep "poorly titled" and "poorly tagged" as reasons for
flagging, make the user do the work of suggesting new ones.

At some point, suggested taggings will flip to real taggings once
they reach a certain count (to be determined later).  This also has
to take into account tagging sets that don't contain current tags,
for when they need to be removed.

For titles, I'm not yet sure how to handle this in an automated
fashion except for the (probably rare) case of multiple users
submitting the same exact thing, but at least collect them for now.

Issue #207
2015-10-14 20:32:24 -05:00
Peter Harkins df96fd8a0f Indicate if a story has a description
To encourage folks to write story descriptions on links, let's mark stories with descriptions so that folks know to click through.

The pilcrow is a little visually heavy, but it seemed better than an arbitrary symbol.
2015-10-03 08:41:25 -05:00
joshua stein 2a30511117 time_ago_in_words_label: put "ago" in the text since it's used everywhere
closes #222
2015-09-23 13:24:47 -05:00
joshua stein a73d19d667 always show vote summary for mods 2015-09-06 15:00:20 -05:00
joshua stein 9c4002323d don't show story downvotes unless there are at least 3
people seem to freak out over one or two users being stupid, so make
them not stand out
2015-08-12 09:25:51 -05:00
joshua stein 3f425a7abc make story/comment avatars link to user profile 2015-07-31 13:10:44 -05:00
joshua stein 117aaaf3db move avatars to the far left 2015-07-31 10:51:33 -05:00
joshua stein 09f65774c2 Story#description_or_story_cache: handle truncation properly 2015-07-30 18:12:57 -05:00