joshua stein
f05cb03b0c
Merge pull request #283 from pushcx/chat-default
...
Don't 500 if someone hasn't added a chat template
2016-04-13 10:00:30 -05:00
Peter Bhat Harkins
01f1a71a18
Remove unused assets
2016-04-13 09:10:06 -05:00
Peter Bhat Harkins
bfe7a67156
Don't 500 if someone hasn't added a chat template
2016-04-12 21:34:04 -05:00
joshua stein
239379ea51
shrink TRAFFIC_DECREMENTER
2016-04-12 11:49:36 -05:00
joshua stein
94ce8cbcc0
clarify hat rules
2016-04-12 11:49:10 -05:00
joshua stein
a7d426581d
Story: shrink hotness window to 22 hours
2016-04-12 11:48:47 -05:00
joshua stein
3b14a9ba54
hats: sort hat groups without case sensitivity
2016-04-06 19:20:25 -05:00
joshua stein
a694b2a499
css: nowrap on hats, splitting/wrapping them looks very weird
2016-04-06 19:15:45 -05:00
joshua stein
92117e9947
hats: clear button
2016-04-06 19:15:31 -05:00
joshua stein
2e1f8d9f33
hats: don't require a logged-in user to browse hats
...
closes #282
2016-04-06 15:23:22 -05:00
joshua stein
1fb6eb6eb2
drop SUGGESTION_QUORUM to 2
2016-04-06 13:22:46 -05:00
joshua stein
d88b03b4b3
add some more bot UAs
2016-04-06 13:22:37 -05:00
joshua stein
a5928b675d
implement hats list and request/approval system
...
closes #281
2016-04-06 13:19:46 -05:00
joshua stein
e3750172c6
Revert "Prettier messaging"
...
This reverts commit c6d6413ff7
.
I don't really like this.
2016-04-05 19:31:13 -05:00
wally
fa39374d30
Fixes #272 . Add runSelect2 method to call after previewStory.
...
The select2 code failed to run after previewing a story
submission. This fix creates a new method that can be called upon
completion of the previewStory load() call.
2016-04-05 16:10:31 -04:00
crertel
c6d6413ff7
Prettier messaging
...
Put compose message at the top
2016-04-01 21:20:21 -05:00
joshua stein
8a62b530aa
apply a basic style to #l_holder
...
lobste.rs is overriding this in local.css but at least other sites
can get a basic thing there.
mention in README that local css should go into a directory.
2016-03-31 14:24:57 -05:00
joshua stein
c77f1d7269
rm a css file that was only for the fake hn interface years ago
2016-03-29 09:44:15 -05:00
joshua stein
e85afa2425
StoryRepository: simplify
2016-03-28 17:14:55 -05:00
joshua stein
437124da4e
StoryRepository: make positive_ranked honest
2016-03-28 17:14:43 -05:00
joshua stein
7b5aad85d6
css: move some lobsters-specific things to local
2016-03-24 15:13:50 -05:00
joshua stein
d9ff6eb188
bring in stylesheets/local/* which are ignored in git
2016-03-24 15:08:10 -05:00
joshua stein
41ba0b20dd
Hat: add css class of hat_(actual_hat_name)
2016-03-24 14:58:06 -05:00
joshua stein
84394c5de6
when comments are -1, just collapse them
...
avoids piling on and engaging with trolls
2016-03-24 13:55:25 -05:00
joshua stein
d54427df21
make 'link' on comments use very short url
2016-03-24 13:19:26 -05:00
joshua stein
e515caaea1
don't increase traffic for tor users
2016-03-22 14:07:39 -05:00
joshua stein
bd1ffe171b
settings: link to /threads, put delete at bottom, fix typo
2016-03-09 10:00:14 -06:00
joshua stein
2e1cf36ee0
css: apparently safari still doesn't support min-resolution
...
add webkit-specific thing to show high-res L logo
closes #267
2016-03-02 09:41:52 -06:00
joshua stein
192a6c8a02
give up on "discuss"
...
closes issue #265
2016-02-21 09:43:17 -06:00
joshua stein
869f83e285
fix @user vs @showing_user in unban section
2016-02-11 09:59:05 -06:00
joshua stein
2b5ba63087
Comment: if user is banned, make gone text reflect that
2016-02-10 16:12:11 -06:00
joshua stein
d66648ff68
moderations: show comment username to avoid a click through
2016-02-10 16:11:34 -06:00
joshua stein
28bbc9c8f7
moderators have to provide a reason for deleting others' comments
2016-02-10 08:57:38 -06:00
joshua stein
3afe1538f8
stories: show archive link to archive.is
2016-02-10 08:39:42 -06:00
joshua stein
c3b62cc166
User#grant_moderatorship_by_user!
2016-02-10 08:39:10 -06:00
joshua stein
e0b7c25758
comments: show usernames in vote summaries to moderators
2016-02-10 08:38:28 -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
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