Commit graph

1123 commits

Author SHA1 Message Date
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
joshua stein c2206f46cd fix appearance of other tags when viewing single tag
don't just pull taggings where the tag id matches, pull all stories
where the id is in the list of stories tagged with that tag
2012-08-24 11:41:36 -05:00
joshua stein 2ba78cc10e downcase vote reasons 2012-08-24 11:41:36 -05:00
joshua stein 361a689b13 link to invited user profile 2012-08-24 11:41:36 -05:00
joshua stein 43aa0047e9 simplify markdown help link 2012-08-24 11:41:36 -05:00
joshua stein 9f6a1a7e4a try to collect some about info from the new user 2012-08-24 11:41:36 -05:00
joshua stein c17ea7b638 while we're slow, allow upvoted stories to stick around longer 2012-08-24 11:41:36 -05:00
joshua stein b9c8f1d371 oops, confidence desc 2012-08-24 11:41:36 -05:00
joshua stein db10cd115f explain text field better 2012-08-24 11:41:36 -05:00
joshua stein f664734a40 fix markdown links that have trailing punctuation inside the url 2012-08-24 11:41:36 -05:00
joshua stein be578454a9 taller line-height too 2012-08-24 11:41:36 -05:00
joshua stein f8b1cc0443 tweak comment spacing a bit 2012-08-24 11:41:36 -05:00
joshua stein 10faafc8af no need to say that 2012-08-24 11:41:36 -05:00
joshua stein 2a5b60fbb1 color root too 2012-08-24 11:41:36 -05:00
joshua stein 758d62304a move l.png to data uri 2012-08-24 11:41:36 -05:00
joshua stein a407bad2d6 better tree style 2012-08-24 11:41:36 -05:00
joshua stein 543f5c12bc user tree 2012-08-24 11:41:35 -05:00
joshua stein 9f4e7db9a8 we're precompiling in production 2012-08-24 11:41:35 -05:00
joshua stein 54af096f60 tweak spacing a bit 2012-08-24 11:41:35 -05:00
joshua stein b86dae0331 ditch the comment vertical lines for now 2012-08-24 11:41:35 -05:00
joshua stein 038d33bf8b prevent <pre> from taking over the page, fix blockquote example in markdown help 2012-08-24 11:41:35 -05:00
joshua stein e453ba8b81 add meta tag for short story url 2012-08-24 11:41:35 -05:00
joshua stein 911bc2d088 only rstrip comments to preserve leading spaces for <pre> wrapping 2012-08-24 11:41:35 -05:00
joshua stein 40bc2003ab fit more on a page 2012-08-24 11:41:35 -05:00
joshua stein c63d35a65d use a common class for rdiscount options, filter out <h#> tags, add rel=nofollow 2012-08-24 11:41:35 -05:00
joshua stein 9913566b6f that as => tag was needed afterall 2012-08-24 11:41:35 -05:00
joshua stein 6e17272e9d story pagination 2012-08-24 11:41:35 -05:00
joshua stein b128c818c9 add indexes on things that are searched by 2012-08-24 11:41:35 -05:00
joshua stein 342d6ff911 move markeddown html into sql so it doesn't have to be generated every time
it's unlikely to change and if it does, we can just re-generate
everything in sql at once
2012-08-24 11:41:35 -05:00
joshua stein d170d36fd0 only show a description if there is a body 2012-08-24 11:41:35 -05:00
joshua stein 08fade9e9d may as well not render the footer while there's nothing there 2012-08-24 11:41:35 -05:00
joshua stein f8dd75fde4 comment editing, looks weird for now but it works 2012-08-24 11:41:35 -05:00
joshua stein cd568eaa38 fix deleting/undeleting stories for users and moderators 2012-08-24 11:41:35 -05:00