Commit graph

1036 commits

Author SHA1 Message Date
joshua stein 24ed0e1f6f only count downvotes in downvote summary 2012-10-09 11:04:53 -05:00
joshua stein 468a0cbe60 no need to make a delta for seconds, just use created_at 2012-10-09 11:04:53 -05:00
joshua stein c4f1a5e756 we're not doing comment flagging, remove 2012-10-09 11:04:43 -05:00
joshua stein c0ba39834b only do new tag check for new stories 2012-10-07 01:44:33 -05:00
joshua stein b8ec2daabe only apply light link color to story list, not story detail page 2012-09-25 10:54:25 -05:00
joshua stein 8af36b2280 make visited story links a lighter blue
closes #24
2012-09-25 10:51:10 -05:00
joshua stein 8f54529fac Merge pull request #26 from SamHasler/master
Highlight video tags like pdf tags
2012-09-25 08:36:50 -07:00
Sam Hasler eb24304686 Highlight video tags like pdf tags 2012-09-25 17:18:34 +02:00
joshua stein b04f3dfe51 rss: set isPermaLink="false" on guid because google reader is stupid
closes #25
2012-09-20 19:00:14 -05:00
joshua stein 6cb466bc83 shrink story hotness window down to 24 hours as we are growing 2012-09-20 11:00:11 -05:00
joshua stein a05421082c don't set @heading, there's already a navbar link for filters 2012-09-20 10:56:54 -05:00
joshua stein 058cf16863 don't allow privileged tags to be filtered 2012-09-20 10:56:31 -05:00
joshua stein 39bb9b77de minor cleanup 2012-09-20 10:53:11 -05:00
joshua stein 78a000a0b8 bring back selected tags for editing existing stories 2012-09-20 10:50:19 -05:00
joshua stein 52836803f4 Merge pull request #23 from rjsamson/private-tags
Modify tags to allow for admin / mod specific tags (like 'announcements')
2012-09-20 08:49:59 -07:00
Robert J Samson 45d87069dd Check that user has appropriate permissions on tags before_save 2012-09-19 22:13:20 -04:00
Robert J Samson f3eb44972b Check to make sure a user isn't improperly using a privileged tag when saving a Story. 2012-09-19 20:57:45 -04:00
Robert J Samson 7fd75a7f3a More descriptive method and attribute names 2012-09-19 20:28:09 -04:00
Robert J Samson 5ada55f10d Add a 'private' attribute to tags to allow for admin / mod specific tags
Private tags would allow admins to create tags that only admins could
use, and that regular users could not filter. The best example use case
for this is an 'announements' tag for site announements that all users
should see.
2012-09-19 16:44:57 -04:00
joshua stein 64c6949edf paginate /comments 2012-09-19 13:40:02 -05:00
joshua stein 2c6eeeca1b link to /comments in the header 2012-09-19 13:32:52 -05:00
joshua stein d9bd724c1d button_to_function is deprecated 2012-09-19 12:37:42 -05:00
joshua stein 0663ea0fed show how many users are filtering each tag 2012-09-19 12:25:11 -05:00
joshua stein b2315a5728 add private rss feeds for logged-out users by passing a token
create a random rss_token for each user and append it to the rss
urls.  when adding the user-specific feed url to a feed reader, the
user's tag filters will be applied before generating the rss view,
giving the same list of stories that the user sees while logged in.
2012-09-18 10:43:05 -05:00
joshua stein 7c8db7269d wrap 2012-09-18 10:22:59 -05:00
joshua stein 3dcf040b98 add contributing file 2012-09-18 10:15:43 -05:00
joshua stein 95bad5f46b wrap at 80 2012-09-18 10:13:25 -05:00
joshua stein d5cf5bc4f5 use autofocus attribute for text boxes instead of javascript 2012-09-18 09:44:22 -05:00
joshua stein 42150c8a56 fix karma adjustment when not upvoting 2012-09-17 19:24:33 -05:00
joshua stein 40a5f3f8b8 fix back link to page 2, fixes #21 2012-09-17 14:30:41 -05:00
joshua stein b7e5447c1d allow embedded images in story text, but still not in comments 2012-09-17 13:24:29 -05:00
joshua stein cb5e05c461 minor cleanups after last merge 2012-09-16 15:51:25 -05:00
joshua stein 17d8213bc7 merge @username mentions and notifications from @rjsamson 2012-09-16 15:41:21 -05:00
joshua stein dae138cddd show in a user profile who the user was invited by 2012-09-16 15:16:32 -05:00
joshua stein 857f2964d7 issue#18: show admin/moderator status on user tree 2012-09-16 15:14:05 -05:00
joshua stein 7b1ec6fc3d some mobile css fixes 2012-09-16 15:05:48 -05:00
joshua stein ad1d925c61 prevent double clicking of the post comment button from creating two comments 2012-09-14 16:17:45 -05:00
joshua stein 45a498ea51 comments have an initial upvote of 1, which has a non-zero confidence 2012-09-14 15:54:45 -05:00
joshua stein a51ca8c533 set editor_user_id unconditionally in delete 2012-09-10 15:46:52 -05:00
joshua stein 66917339cc automatically assign the video tag for youtube.com urls 2012-09-10 13:57:08 -05:00
Robert J Samson ec1bcb9704 Added mentions in comments using @username convention. @username is linked to user profile in comment text, and notifications are available via email and pushover (with notification preferences) when a user is mention. 2012-09-10 13:40:33 -04:00
joshua stein 600b1c2b93 pushover messages can only be 512 characters long 2012-09-09 16:58:30 -05:00
joshua stein 09508f3ad6 don't hardcode lobste.rs url (which wasn't using ssl anyway), use root_url 2012-09-09 11:56:10 -05:00
joshua stein 0abe41bd6d mention that profile e-mail addresses are gravatarized 2012-09-08 19:37:30 -05:00
joshua stein 729c38d4c7 how did those tabs get there 2012-09-08 19:37:21 -05:00
joshua stein e8d34910a6 put faces to names 2012-09-08 19:32:21 -05:00
joshua stein af5b00572c whenever a story/comment is moderated, send a message to the user 2012-09-08 18:32:56 -05:00
joshua stein 0752ebf1f3 disable markdown images 2012-09-07 17:21:39 -05:00
joshua stein ec7389d9a0 Merge pull request #15 from rjsamson/avg-karma
show average karma in user profile
2012-09-07 11:06:26 -07:00
Robert J Samson b15710d107 Show average karma in parentheses 2012-09-07 13:56:26 -04:00