joshua stein
870d2b10fa
Merge pull request #240 from apg/authored-by-or-via
...
Update byline for non-authored submissions.
2015-11-13 15:52:43 -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
joshua stein
4fb0e7deb5
Merge pull request #237 from stygstra/unconditional-comments
...
Show comments link even if there are no comments
2015-11-08 12:37:01 -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
2ee262fe8a
StoryCacher: cope with failed diffbot fetches
2015-10-19 19:13:15 -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
joshua stein
e3c881b81a
implement automatic tag changing in response to user suggestions
...
Right now it's just a simple check for SUGGESTION_QUORUM (currently
4) number of users agreeing on a set of new tags.
Log a moderation to the story submitter when this happens, and allow
moderations to be done by a non-specific user.
Issue #207
2015-10-15 10:04:23 -05:00
joshua stein
2ca2c94ef6
allow messages to come from system instead of a user
2015-10-15 10:01:42 -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
21927eccbe
Story: always recalculate hotness after saving changes
2015-10-14 21:17:54 -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
joshua stein
700c63b936
Story: extend MAX_EDIT_MINS to 3 hours
2015-10-14 18:23:06 -05:00
joshua stein
1c789fbae0
add /chat page
2015-10-11 13:04:16 -05:00
joshua stein
677da599f2
login: if user password hash is not at current rounds, re-encrypt it
2015-10-11 13:04:16 -05:00
joshua stein
80f7d5b095
remove or fix failing tests
...
Many of these fail because they were written with fancy rspec
features that don't work properly anymore and I don't care enough
about testing everything to update them.
See issue #228
2015-10-11 13:00:34 -05:00
joshua stein
696e669f60
mobile css: fix upvote/unvote/upvote still showing red arrow
...
closes #230
2015-10-10 20:36:48 -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
22ac65d224
Merge pull request #224 from ABorgna/comment_folding
...
Implement comment folding in pure css
2015-09-23 13:19:16 -05:00
Agustin Borgna
803a036a26
Implement comment folding in pure css
2015-09-23 00:44:46 -03:00
joshua stein
5567bb0b7e
when resetting a password, if user is deleted but not banned, undelete
...
Also mention on the login screen that a deleted account can be
recovered this way.
Closes #221
2015-09-06 15:00:20 -05:00
joshua stein
5a86c0a506
rename comments/index.rss to reflect that it's an erb template
2015-09-06 15:00:20 -05:00
joshua stein
a73d19d667
always show vote summary for mods
2015-09-06 15:00:20 -05:00
joshua stein
cbf14021ac
pass :strict to RDiscount
...
Gives up the ability to use particular formatting inside of words in
order to prevent turning everything into a list that shouldn't be,
like a single "K." comment.
Closes #217
2015-08-12 09:25:51 -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
5ce8976ba3
make 'authored by' link color to less bright blue
2015-08-12 09:25:51 -05:00
joshua stein
7d1231cec3
remove css hack
2015-08-12 09:25:51 -05:00
joshua stein
957e137e1f
Merge pull request #216 from basiliothecat/fix_story_domain
...
Story: don't strip www\d* if it looks like the domain
2015-08-10 13:19:59 -05:00
Basilio the cat
3743a41868
Keep the www\d* domain for some stories
...
When extracting story domain, keep the facing `www\d*` domain in cases
where it's the only non top level domain (e.g. www31337.tld).
2015-08-09 22:21:22 +02:00
joshua stein
ed021d4975
add conditional link to /bbs
2015-08-04 09:59:21 -05:00