joshua stein
e6c74e8251
add moderation logging
...
- add users.is_moderator and look at that for most things, not
is_admin
- make default user in readme be a moderator
- log moderator actions in story edits, comment
deletions/undeletions (and later, user disabling).
- remove ability for moderators to edit comments, there's really no
reason to.
2012-09-02 12:18:52 -05:00
joshua stein
4692cf63ea
explain how to create an initial user and tag
2012-09-02 09:34:39 -05:00
joshua stein
3bd2e6b8a7
show traffic value in link title
2012-09-01 22:56:07 -05:00
joshua stein
88894a66fc
catch sphinx errors
2012-09-01 22:56:07 -05:00
joshua stein
a428dc31e7
add 3-clause bsd license
2012-08-30 02:56:32 -05:00
joshua stein
d6255916e8
fix story hiding when downvoted; don't count comment votes
2012-08-29 08:48:57 -05:00
joshua stein
29c6bdec47
i hate markdown
2012-08-24 11:52:21 -05:00
joshua stein
a921d3eeb5
add readme, do some cleanup before open sourcing
2012-08-24 11:42:23 -05:00
joshua stein
6fb3e5ebd8
only hide submission guidelines when the user has more than 2 submissions
2012-08-24 11:42:23 -05:00
joshua stein
a016086b44
increase line-height of comments to match textarea, color links gray
2012-08-24 11:42:23 -05:00
joshua stein
41b6d7620a
add some post guidelines
2012-08-24 11:42:23 -05:00
joshua stein
fc1f7fe5ee
move header into layout, no need for another file
2012-08-24 11:42:23 -05:00
joshua stein
3e7cdbe253
tweak traffic decay to be a little slower
2012-08-24 11:42:23 -05:00
joshua stein
aef2ccefba
empty robots for now, let everyone in
2012-08-24 11:42:23 -05:00
joshua stein
7a18f4c282
close socket
2012-08-24 11:42:23 -05:00
joshua stein
43444f179b
implement traffic counter that adjusts redness of lobsters logo
2012-08-24 11:42:23 -05:00
joshua stein
342ede4d4c
reload user's tag filters after modifying, before showing again
2012-08-24 11:42:23 -05:00
joshua stein
9a51d7d1f8
raw the memo, we don't need xss protection here
2012-08-24 11:42:23 -05:00
joshua stein
f34ad51891
log some more things on countinual
2012-08-24 11:42:23 -05:00
joshua stein
49c6e64aac
count user creation on countinual
2012-08-24 11:42:20 -05:00
joshua stein
776bf89dea
implement /comments.rss
2012-08-24 11:41:37 -05:00
joshua stein
f6b252e456
a tiny bit taller textareas
2012-08-24 11:41:37 -05:00
joshua stein
f541d4118c
fix
2012-08-24 11:41:37 -05:00
joshua stein
0c0aa465bb
make /comments show latest comments
2012-08-24 11:41:37 -05:00
joshua stein
c34abddc3d
pre overflow auto
2012-08-24 11:41:37 -05:00
joshua stein
edcee1bddd
<< strikes again
2012-08-24 11:41:37 -05:00
joshua stein
c945f29040
add similar-url check for www\d*\., rewrite checker to be simpler
2012-08-24 11:41:37 -05:00
joshua stein
70db7a5879
short ids in urls should be case insensitive, so make them that way anyway
2012-08-24 11:41:37 -05:00
joshua stein
33e6eee4e0
don't count deleted comments for stories, update comment counts after comment del/undel
2012-08-24 11:41:37 -05:00
joshua stein
c685e03628
sync production sphinx config
2012-08-24 11:41:37 -05:00
joshua stein
3640e1e7a3
comment deleting and undeleting
2012-08-24 11:41:37 -05:00
joshua stein
7dd4b99ac2
escape slashes in search queries
2012-08-24 11:41:37 -05:00
joshua stein
208e1832d6
use @title
2012-08-24 11:41:37 -05:00
joshua stein
fd8ec36608
story previews
2012-08-24 11:41:37 -05:00
joshua stein
d01e5e1be5
set min_infix_len to 2
2012-08-24 11:41:37 -05:00
joshua stein
bc0d934d5e
focus search box if there is no search yet
2012-08-24 11:41:37 -05:00
joshua stein
f7fcd843a7
startup script for searchd in production
2012-08-24 11:41:37 -05:00
joshua stein
b8b3d97718
not used
2012-08-24 11:41:36 -05:00
joshua stein
abb8392c16
search engine!
2012-08-24 11:41:36 -05:00
joshua stein
b01f9e9027
fixup header current page stuff
2012-08-24 11:41:36 -05:00
joshua stein
dd9966c0a3
color pdf tags purpleish
2012-08-24 11:41:36 -05:00
joshua stein
bd9d2aa3c4
put tags in alpha order, but put pdf first
2012-08-24 11:41:36 -05:00
joshua stein
82ae95f8ca
disable trimming threads to our own reply for now, it's busted
2012-08-24 11:41:36 -05:00
joshua stein
e0da3a7039
little spacing tweaks
2012-08-24 11:41:36 -05:00
joshua stein
a51147b5d0
fix bug; don't show downvote reason for stories
2012-08-24 11:41:36 -05:00
joshua stein
389b4c61ec
do better at finding near-similar urls already posted recently
...
http -> https, trailing slash, etc.
2012-08-24 11:41:36 -05:00
joshua stein
6f3f018598
fix back link to page 1
2012-08-24 11:41:36 -05:00
joshua stein
da5c04504a
fix voting on stories where the user previously commented on
2012-08-24 11:41:36 -05:00
joshua stein
88f01210d3
enable activerecord attribute whitelisting just in case
2012-08-24 11:41:36 -05:00
joshua stein
75f026b182
do some short caching for guest views of story indexes
2012-08-24 11:41:36 -05:00